From 9f853b0eeab506b393f4ceeca3001874baf917a9 Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Wed, 2 Aug 2023 16:29:44 +0200 Subject: [PATCH] Update UI static files --- pkg/apiserver-impl/ui/index.html | 2 +- pkg/apiserver-impl/ui/main.a562f09a5f00f55f.js | 1 - pkg/apiserver-impl/ui/main.dd0e1235ced21a10.js | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 pkg/apiserver-impl/ui/main.a562f09a5f00f55f.js create mode 100644 pkg/apiserver-impl/ui/main.dd0e1235ced21a10.js diff --git a/pkg/apiserver-impl/ui/index.html b/pkg/apiserver-impl/ui/index.html index 5c78d3faff9..540be9a1764 100644 --- a/pkg/apiserver-impl/ui/index.html +++ b/pkg/apiserver-impl/ui/index.html @@ -11,6 +11,6 @@
Loading, please wait...
- + \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/main.a562f09a5f00f55f.js b/pkg/apiserver-impl/ui/main.a562f09a5f00f55f.js deleted file mode 100644 index ce591f11023..00000000000 --- a/pkg/apiserver-impl/ui/main.a562f09a5f00f55f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[179],{6780:(Jt,Ie)=>{"use strict";Ie.N=void 0;var q=/^([^\w]*)(javascript|data|vbscript)/im,de=/&#(\w+)(^\w|;)?/g,re=/&(newline|tab);/gi,J=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,ne=/^.+(:|:)/gim,je=[".","/"];Ie.N=function le(K){var ce=function B(K){return K.replace(de,function(ce,kt){return String.fromCharCode(kt)})}(K||"").replace(re,"").replace(J,"").trim();if(!ce)return"about:blank";if(function Ye(K){return je.indexOf(K[0])>-1}(ce))return ce;var kt=ce.match(ne);return kt&&q.test(kt[0])?"about:blank":ce}},1026:(Jt,Ie,O)=>{"use strict";function q(n){return"function"==typeof n}function de(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const re=de(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function J(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class ne{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(q(i))try{i()}catch(o){t=o instanceof re?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{B(o)}catch(a){t=t??[],a instanceof re?t=[...t,...a.errors]:t.push(a)}}if(t)throw new re(t)}}add(t){var e;if(t&&t!==this)if(this.closed)B(t);else{if(t instanceof ne){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&J(e,t)}remove(t){const{_finalizers:e}=this;e&&J(e,t),t instanceof ne&&t._removeParent(this)}}ne.EMPTY=(()=>{const n=new ne;return n.closed=!0,n})();const je=ne.EMPTY;function Ye(n){return n instanceof ne||n&&"closed"in n&&q(n.remove)&&q(n.add)&&q(n.unsubscribe)}function B(n){q(n)?n():n.unsubscribe()}const le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},K={setTimeout(n,t,...e){const{delegate:i}=K;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=K;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function ce(n){K.setTimeout(()=>{const{onUnhandledError:t}=le;if(!t)throw n;t(n)})}function kt(){}const qt=Me("C",void 0,void 0);function Me(n,t,e){return{kind:n,value:t,error:e}}let pe=null;function yt(n){if(le.useDeprecatedSynchronousErrorHandling){const t=!pe;if(t&&(pe={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=pe;if(pe=null,e)throw i}}else n()}class pt extends ne{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ye(t)&&t.add(this)):this.destination=Ce}static create(t,e,i){return new nn(t,e,i)}next(t){this.isStopped?Ue(function X(n){return Me("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ue(function ke(n){return Me("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ue(qt,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Vt=Function.prototype.bind;function Ht(n,t){return Vt.call(n,t)}class at{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Xn(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Xn(i)}else Xn(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Xn(e)}}}class nn extends pt{constructor(t,e,i){let r;if(super(),q(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&le.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Ht(t.next,o),error:t.error&&Ht(t.error,o),complete:t.complete&&Ht(t.complete,o)}):r=t}this.destination=new at(r)}}function Xn(n){le.useDeprecatedSynchronousErrorHandling?function Tt(n){le.useDeprecatedSynchronousErrorHandling&&pe&&(pe.errorThrown=!0,pe.error=n)}(n):ce(n)}function Ue(n,t){const{onStoppedNotification:e}=le;e&&K.setTimeout(()=>e(n,t))}const Ce={closed:!0,next:kt,error:function wt(n){throw n},complete:kt},Ze="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ve(n){return n}let be=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function an(n){return n&&n instanceof pt||function bn(n){return n&&q(n.next)&&q(n.error)&&q(n.complete)}(n)&&Ye(n)}(e)?e:new nn(e,i,r);return yt(()=>{const{operator:a,source:c}=this;o.add(a?a.call(o,c):c?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=wn(i))((r,o)=>{const a=new nn({next:c=>{try{e(c)}catch(d){o(d),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Ze](){return this}pipe(...e){return function ut(n){return 0===n.length?Ve:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=wn(e))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return n.create=t=>new n(t),n})();function wn(n){var t;return null!==(t=n??le.Promise)&&void 0!==t?t:Promise}const di=de(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ee=(()=>{class n extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Gi(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new di}next(e){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?je:(this.currentObservers=null,o.push(e),new ne(()=>{this.currentObservers=null,J(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new be;return e.source=this,e}}return n.create=(t,e)=>new Gi(t,e),n})();class Gi extends Ee{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:je}}function qe(n){return t=>{if(function _t(n){return q(n?.lift)}(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function It(n,t,e,i,r){return new Qn(n,t,e,i,r)}class Qn extends pt{constructor(t,e,i,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(c){try{e(c)}catch(d){t.error(d)}}:super._next,this._error=r?function(c){try{r(c)}catch(d){t.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Pn(n,t){return qe((e,i)=>{let r=0;e.subscribe(It(i,o=>{i.next(n.call(t,o,r++))}))})}function yi(n){return this instanceof yi?(this.v=n,this):new yi(n)}function pi(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function Ke(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(a){return new Promise(function(c,d){!function r(o,a,c,d){Promise.resolve(d).then(function(h){o({value:h,done:c})},a)}(c,d,(a=n[o](a)).done,a.value)})}}}const P=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Se(n){return q(n?.then)}function ht(n){return q(n[Ze])}function gi(n){return Symbol.asyncIterator&&q(n?.[Symbol.asyncIterator])}function Cn(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const ro=function is(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function oo(n){return q(n?.[ro])}function wa(n){return function Yi(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(D){i[D]&&(r[D]=function(S){return new Promise(function(R,$){o.push([D,S,R,$])>1||c(D,S)})})}function c(D,S){try{!function d(D){D.value instanceof yi?Promise.resolve(D.value.v).then(h,p):_(o[0][2],D)}(i[D](S))}catch(R){_(o[0][3],R)}}function h(D){c("next",D)}function p(D){c("throw",D)}function _(D,S){D(S),o.shift(),o.length&&c(o[0][0],o[0][1])}}(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield yi(e.read());if(r)return yield yi(void 0);yield yield yi(i)}}finally{e.releaseLock()}})}function Us(n){return q(n?.getReader)}function vi(n){if(n instanceof be)return n;if(null!=n){if(ht(n))return function rs(n){return new be(t=>{const e=n[Ze]();if(q(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(P(n))return function Eo(n){return new be(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,ce)})}(n);if(gi(n))return ko(n);if(oo(n))return function To(n){return new be(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(Us(n))return function vs(n){return ko(wa(n))}(n)}throw Cn(n)}function ko(n){return new be(t=>{(function xr(n,t){var e,i,r,o;return function es(n,t,e,i){return new(e||(e=Promise))(function(o,a){function c(p){try{h(i.next(p))}catch(_){a(_)}}function d(p){try{h(i.throw(p))}catch(_){a(_)}}function h(p){p.done?o(p.value):function r(o){return o instanceof e?o:new e(function(a){a(o)})}(p.value).then(c,d)}h((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=pi(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function Zi(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function So(n,t,e=1/0){return q(t)?So((i,r)=>Pn((o,a)=>t(i,o,r,a))(vi(n(i,r))),e):("number"==typeof t&&(e=t),qe((i,r)=>function Da(n,t,e,i,r,o,a,c){const d=[];let h=0,p=0,_=!1;const D=()=>{_&&!d.length&&!h&&t.complete()},S=$=>h{o&&t.next($),h++;let Q=!1;vi(e($,p++)).subscribe(It(t,ae=>{r?.(ae),o?S(ae):t.next(ae)},()=>{Q=!0},void 0,()=>{if(Q)try{for(h--;d.length&&hR(ae)):R(ae)}D()}catch(ae){t.error(ae)}}))};return n.subscribe(It(t,S,()=>{_=!0,D()})),()=>{c?.()}}(i,r,n,e)))}function Io(n=1/0){return So(Ve,n)}const Yn=new be(n=>n.complete());function Xa(n){return n&&q(n.schedule)}function ri(n){return n[n.length-1]}function Ao(n){return q(ri(n))?n.pop():void 0}function Fo(n){return Xa(ri(n))?n.pop():void 0}function Ws(n,t=0){return qe((e,i)=>{e.subscribe(It(i,r=>Zi(i,n,()=>i.next(r),t),()=>Zi(i,n,()=>i.complete(),t),r=>Zi(i,n,()=>i.error(r),t)))})}function rr(n,t=0){return qe((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function Ro(n,t){if(!n)throw new Error("Iterable cannot be null");return new be(e=>{Zi(e,t,()=>{const i=n[Symbol.asyncIterator]();Zi(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function os(n,t){return t?function Gs(n,t){if(null!=n){if(ht(n))return function qi(n,t){return vi(n).pipe(rr(t),Ws(t))}(n,t);if(P(n))return function Oo(n,t){return new be(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(Se(n))return function Ci(n,t){return vi(n).pipe(rr(t),Ws(t))}(n,t);if(gi(n))return Ro(n,t);if(oo(n))return function Ja(n,t){return new be(e=>{let i;return Zi(e,t,()=>{i=n[ro](),Zi(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){return void e.error(a)}o?e.complete():e.next(r)},0,!0)}),()=>q(i?.return)&&i.return()})}(n,t);if(Us(n))return function Cs(n,t){return Ro(wa(n),t)}(n,t)}throw Cn(n)}(n,t):vi(n)}function oi(...n){const t=Fo(n),e=function Qa(n,t){return"number"==typeof ri(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?vi(i[0]):Io(e)(os(i,t)):Yn}function Ys(n={}){const{connector:t=(()=>new Ee),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let a,c,d,h=0,p=!1,_=!1;const D=()=>{c?.unsubscribe(),c=void 0},S=()=>{D(),a=d=void 0,p=_=!1},R=()=>{const $=a;S(),$?.unsubscribe()};return qe(($,Q)=>{h++,!_&&!p&&D();const ae=d=d??t();Q.add(()=>{h--,0===h&&!_&&!p&&(c=wr(R,r))}),ae.subscribe(Q),!a&&h>0&&(a=new nn({next:Be=>ae.next(Be),error:Be=>{_=!0,D(),c=wr(S,e,Be),ae.error(Be)},complete:()=>{p=!0,D(),c=wr(S,i),ae.complete()}}),vi($).subscribe(a))})(o)}}function wr(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new nn({next:()=>{i.unsubscribe(),n()}});return vi(t(...e)).subscribe(i)}function Fn(n){for(let t in n)if(n[t]===Fn)return t;throw Error("Could not find renamed property on target object.")}function so(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function He(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(He).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Yr(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const wi=Fn({__forward_ref__:Fn});function fn(n){return n.__forward_ref__=fn,n.toString=function(){return He(this())},n}function Nt(n){return or(n)?n():n}function or(n){return"function"==typeof n&&n.hasOwnProperty(wi)&&n.__forward_ref__===fn}function ao(n){return n&&!!n.\u0275providers}const Si="https://g.co/ng/security#xss";class ge extends Error{constructor(t,e){super(xs(t,e)),this.code=t}}function xs(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}function Yt(n){return"string"==typeof n?n:null==n?"":String(n)}function ui(n,t){throw new ge(-201,!1)}function Ki(n,t){null==n&&function On(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function nt(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Zt(n){return{providers:n.providers||[],imports:n.imports||[]}}function Ds(n){return U(n,Di)||U(n,An)}function U(n,t){return n.hasOwnProperty(t)?n[t]:null}function Dn(n){return n&&(n.hasOwnProperty(zn)||n.hasOwnProperty(ss))?n[zn]:null}const Di=Fn({\u0275prov:Fn}),zn=Fn({\u0275inj:Fn}),An=Fn({ngInjectableDef:Fn}),ss=Fn({ngInjectorDef:Fn});var bt=(()=>((bt=bt||{})[bt.Default=0]="Default",bt[bt.Host=1]="Host",bt[bt.Self=2]="Self",bt[bt.SkipSelf=4]="SkipSelf",bt[bt.Optional=8]="Optional",bt))();let Lo;function $i(n){const t=Lo;return Lo=n,t}function No(n,t,e){const i=Ds(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&bt.Optional?null:void 0!==t?t:void ui(He(n))}const $n=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ta={},ka="__NG_DI_FLAG__",tc="ngTempTokenPath",od="ngTokenPath",pl=/\n/gm,Sc="\u0275",Ms="__source";let as;function zr(n){const t=as;return as=n,t}function cs(n,t=bt.Default){if(void 0===as)throw new ge(-203,!1);return null===as?No(n,void 0,t):as.get(n,t&bt.Optional?null:void 0,t)}function te(n,t=bt.Default){return(function Xi(){return Lo}()||cs)(Nt(n),t)}function _i(n,t=bt.Default){return te(n,Mr(t))}function Mr(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function nc(n){const t=[];for(let e=0;e((uo=uo||{})[uo.OnPush=0]="OnPush",uo[uo.Default=1]="Default",uo))(),Er=(()=>{return(n=Er||(Er={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",Er;var n})();const ho={},Rn=[],Vo=Fn({\u0275cmp:Fn}),Ts=Fn({\u0275dir:Fn}),Ho=Fn({\u0275pipe:Fn}),Qs=Fn({\u0275mod:Fn}),$r=Fn({\u0275fac:Fn}),Zr=Fn({__NG_ELEMENT_ID__:Fn});let ks=0;function k(n){return Bo(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===uo.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Rn,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||Er.Emulated,id:"c"+ks++,styles:n.styles||Rn,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=n.dependencies,a=n.features;return r.inputs=g(n.inputs,i),r.outputs=g(n.outputs),a&&a.forEach(c=>c(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(De).filter(et):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(V).filter(et):null,r})}function De(n){return I(n)||z(n)}function et(n){return null!==n}function Re(n){return Bo(()=>({type:n.type,bootstrap:n.bootstrap||Rn,declarations:n.declarations||Rn,imports:n.imports||Rn,exports:n.exports||Rn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function g(n,t){if(null==n)return ho;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const y=k;function A(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function I(n){return n[Vo]||null}function z(n){return n[Ts]||null}function V(n){return n[Ho]||null}const Pe=0,ie=1,me=2,ot=3,ze=4,Rt=5,rn=6,Mn=7,zt=8,Dt=9,Ac=10,En=11,Yd=12,Js=13,gl=14,rc=15,cr=16,fo=17,Sa=18,mo=19,qr=20,zm=21,xi=22,Eh=1,$m=2,Zd=7,qd=8,_l=9,Kr=10;function zo(n){return Array.isArray(n)&&"object"==typeof n[Eh]}function Ss(n){return Array.isArray(n)&&!0===n[Eh]}function Th(n){return 0!=(4&n.flags)}function ad(n){return n.componentOffset>-1}function Kd(n){return 1==(1&n.flags)}function Is(n){return null!==n.template}function Cb(n){return 0!=(256&n[me])}function Fc(n,t){return n.hasOwnProperty($r)?n[$r]:null}class Db{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function jr(){return Um}function Um(n){return n.type.prototype.ngOnChanges&&(n.setInput=Eb),Mb}function Mb(){const n=Gm(this),t=n?.current;if(t){const e=n.previous;if(e===ho)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function Eb(n,t,e,i){const r=this.declaredInputs[e],o=Gm(n)||function Tb(n,t){return n[Wm]=t}(n,{previous:ho,current:null}),a=o.current||(o.current={}),c=o.previous,d=c[r];a[r]=new Db(d&&d.currentValue,t,c===ho),n[i]=t}jr.ngInherit=!0;const Wm="__ngSimpleChanges__";function Gm(n){return n[Wm]||null}const ls=function(n,t,e){},ea="svg";function lr(n){for(;Array.isArray(n);)n=n[Pe];return n}function Ih(n,t){return lr(t[n])}function ds(n,t){return lr(t[n.index])}function Zm(n,t){return n.data[t]}function bl(n,t){return n[t]}function $o(n,t){const e=t[n];return zo(e)?e:e[Pe]}function yl(n){return 64==(64&n[me])}function jo(n,t){return null==t?null:n[t]}function Ah(n){n[Sa]=0}function dr(n,t){n[Rt]+=t;let e=n,i=n[ot];for(;null!==i&&(1===t&&1===e[Rt]||-1===t&&0===e[Rt]);)i[Rt]+=t,e=i,i=i[ot]}const Lt={lFrame:Ob(null),bindingsEnabled:!0};function ta(){return Lt.bindingsEnabled}function Te(){return Lt.lFrame.lView}function Nn(){return Lt.lFrame.tView}function Xt(n){return Lt.lFrame.contextLView=n,n[zt]}function mn(n){return Lt.lFrame.contextLView=null,n}function Tr(){let n=Jm();for(;null!==n&&64===n.type;)n=n.parent;return n}function Jm(){return Lt.lFrame.currentTNode}function na(n,t){const e=Lt.lFrame;e.currentTNode=n,e.isParent=t}function ep(){return Lt.lFrame.isParent}function tp(){Lt.lFrame.isParent=!1}function Xr(){const n=Lt.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function cd(){return Lt.lFrame.bindingIndex++}function oc(n){const t=Lt.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function Fb(n,t){const e=Lt.lFrame;e.bindingIndex=e.bindingRootIndex=n,nu(t)}function nu(n){Lt.lFrame.currentDirectiveIndex=n}function iu(n){const t=Lt.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function Oh(){return Lt.lFrame.currentQueryIndex}function ru(n){Lt.lFrame.currentQueryIndex=n}function Cl(n){const t=n[ie];return 2===t.type?t.declTNode:1===t.type?n[rn]:null}function Rh(n,t,e){if(e&bt.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&bt.Host||(r=Cl(o),null===r||(o=o[rc],10&r.type))););if(null===r)return!1;t=r,n=o}const i=Lt.lFrame=Lh();return i.currentTNode=t,i.lView=n,!0}function Ph(n){const t=Lh(),e=n[ie];Lt.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Lh(){const n=Lt.lFrame,t=null===n?null:n.child;return null===t?Ob(n):t}function Ob(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function ip(){const n=Lt.lFrame;return Lt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const us=ip;function ld(){const n=ip();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function kr(){return Lt.lFrame.selectedIndex}function sc(n){Lt.lFrame.selectedIndex=n}function Fi(){const n=Lt.lFrame;return Zm(n.tView,n.selectedIndex)}function ac(){Lt.lFrame.currentNamespace=ea}function ou(){!function rp(){Lt.lFrame.currentNamespace=null}()}function su(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[d]<0&&(n[Sa]+=65536),(c>11>16&&(3&n[me])===t){n[me]+=2048,ls(4,c,o);try{o.call(c)}finally{ls(5,c,o)}}}else{ls(4,c,o);try{o.call(c)}finally{ls(5,c,o)}}}const cc=-1;class lc{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function cp(n,t,e){let i=0;for(;it){a=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[rc],e--;return i}let zh=!0;function du(n){const t=zh;return zh=n,t}const $h=255,Rc=5;let jh=0;const ra={};function uu(n,t){const e=hp(n,t);if(-1!==e)return e;const i=t[ie];i.firstCreatePass&&(n.injectorIndex=t.length,hu(i.data,n),hu(t,null),hu(i.blueprint,null));const r=fu(n,t),o=n.injectorIndex;if(up(r)){const a=lu(r),c=Dl(r,t),d=c[ie].data;for(let h=0;h<8;h++)t[o+h]=c[a+h]|d[a+h]}return t[o+8]=r,o}function hu(n,t){n.push(0,0,0,0,0,0,0,0,t)}function hp(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function fu(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=Uh(r),null===i)return cc;if(e++,r=r[rc],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return cc}function dd(n,t,e){!function Bb(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Zr)&&(i=e[Zr]),null==i&&(i=e[Zr]=jh++);const r=i&$h;t.data[n+(r>>Rc)]|=1<=0?t&$h:Hb:t}(e);if("function"==typeof o){if(!Rh(t,n,i))return i&bt.Host?fp(r,0,i):ud(t,e,i,r);try{const a=o(i);if(null!=a||i&bt.Optional)return a;ui()}finally{us()}}else if("number"==typeof o){let a=null,c=hp(n,t),d=cc,h=i&bt.Host?t[cr][rn]:null;for((-1===c||i&bt.SkipSelf)&&(d=-1===c?fu(n,t):t[c+8],d!==cc&&gp(i,!1)?(a=t[ie],c=lu(d),t=Dl(d,t)):c=-1);-1!==c;){const p=t[ie];if(pp(o,c,p.data)){const _=pu(c,t,e,a,i,h);if(_!==ra)return _}d=t[c+8],d!==cc&&gp(i,t[ie].data[c+8]===h)&&pp(o,c,t)?(a=p,c=lu(d),t=Dl(d,t)):c=-1}}return r}function pu(n,t,e,i,r,o){const a=t[ie],c=a.data[n+8],p=Fa(c,a,e,null==i?ad(c)&&zh:i!=a&&0!=(3&c.type),r&bt.Host&&o===c);return null!==p?Pc(t,a,p,c):ra}function Fa(n,t,e,i,r){const o=n.providerIndexes,a=t.data,c=1048575&o,d=n.directiveStart,p=o>>20,D=r?c+p:n.directiveEnd;for(let S=i?c:c+p;S=d&&R.type===e)return S}if(r){const S=a[d];if(S&&Is(S)&&S.type===e)return d}return null}function Pc(n,t,e,i){let r=n[e];const o=t.data;if(function Pb(n){return n instanceof lc}(r)){const a=r;a.resolving&&function Dr(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new ge(-200,`Circular dependency in DI detected for ${n}${e}`)}(function In(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Yt(n)}(o[e]));const c=du(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?$i(a.injectImpl):null;Rh(n,i,bt.Default);try{r=n[e]=a.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function Ux(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const a=Um(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,a)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==d&&$i(d),du(c),a.resolving=!1,us()}}return r}function pp(n,t,e){return!!(e[t+(n>>Rc)]&1<{const t=n.prototype.constructor,e=t[$r]||gu(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[$r]||gu(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function gu(n){return or(n)?()=>{const t=gu(Nt(n));return t&&t()}:Fc(n)}function Uh(n){const t=n[ie],e=t.type;return 2===e?t.declTNode:1===e?n[rn]:null}function As(n){return function qx(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function Gh(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return c.annotation=a,c;function c(d,h,p){const _=d.hasOwnProperty(Oa)?d[Oa]:Object.defineProperty(d,Oa,{value:[]})[Oa];for(;_.length<=p;)_.push(null);return(_[p]=_[p]||[]).push(a),d}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class xe{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=nt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ra(n,t){n.forEach(e=>Array.isArray(e)?Ra(e,t):t(e))}function _u(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function kl(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Ii(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function Sl(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function yp(n,t){const e=Bc(n,t);if(e>=0)return n[1|e]}function Bc(n,t){return function hd(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),a=n[o<t?r=o:i=o+1}return~(r<({token:n})),-1),po=Xs(El("Optional"),8),uc=Xs(El("SkipSelf"),4);var Wr=(()=>((Wr=Wr||{})[Wr.Important=1]="Important",Wr[Wr.DashCase=2]="DashCase",Wr))();const Xh=new Map;let iy=0;const Jh="__ngContext__";function Sr(n,t){zo(t)?(n[Jh]=t[qr],function ry(n){Xh.set(n[qr],n)}(t)):n[Jh]=t}let nf;function rf(n,t){return nf(n,t)}function Rl(n){const t=n[ot];return Ss(t)?t[ot]:t}function sf(n){return Lp(n[Js])}function Du(n){return Lp(n[ze])}function Lp(n){for(;null!==n&&!Ss(n);)n=n[ze];return n}function Pl(n,t,e,i,r){if(null!=i){let o,a=!1;Ss(i)?o=i:zo(i)&&(a=!0,i=i[Pe]);const c=lr(i);0===n&&null!==e?null==r?$p(t,e,c):zc(t,e,c,r||null,!0):1===n&&null!==e?zc(t,e,c,r||null,!0):2===n?function Iu(n,t,e){const i=Eu(n,t);i&&function xy(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,c,a):3===n&&t.destroyNode(c),null!=o&&function wy(n,t,e,i,r){const o=e[Zd];o!==lr(e)&&Pl(t,n,i,o,r);for(let c=Kr;c0&&(n[e-1][ze]=i[ze]);const o=kl(n,Kr+t);!function Bp(n,t){sa(n,t,t[En],2,null,null),t[Pe]=null,t[rn]=null}(i[ie],i);const a=o[mo];null!==a&&a.detachView(o[ie]),i[ot]=null,i[ze]=null,i[me]&=-65}return i}function Hp(n,t){if(!(128&t[me])){const e=t[En];e.destroyNode&&sa(n,t,e,3,null,null),function _y(n){let t=n[Js];if(!t)return Mu(n[ie],n);for(;t;){let e=null;if(zo(t))e=t[Js];else{const i=t[Kr];i&&(e=i)}if(!e){for(;t&&!t[ze]&&t!==n;)zo(t)&&Mu(t[ie],t),t=t[ot];null===t&&(t=n),zo(t)&&Mu(t[ie],t),e=t&&t[ze]}t=e}}(t)}}function Mu(n,t){if(!(128&t[me])){t[me]&=-65,t[me]|=128,function Cy(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=a]():i[r=-a].unsubscribe(),o+=2}else{const a=i[r=e[o+1]];e[o].call(a)}if(null!==i){for(let o=r+1;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===Er.None||o===Er.Emulated)return null}return ds(i,e)}}(n,t.parent,e)}function zc(n,t,e,i,r){n.insertBefore(t,e,i,r)}function $p(n,t,e){n.appendChild(t,e)}function jp(n,t,e,i,r){null!==i?zc(n,t,e,i,r):$p(n,t,e)}function Eu(n,t){return n.parentNode(t)}function Wp(n,t,e){return Yp(n,t,e)}let uf,Fu,ur,Nl,Yp=function Gp(n,t,e){return 40&n.type?ds(n,e):null};function Tu(n,t,e,i){const r=zp(n,i,t),o=t[En],c=Wp(i.parent||t[rn],i,t);if(null!=r)if(Array.isArray(e))for(let d=0;dn,createScript:n=>n,createScriptURL:n=>n})}catch{}return Fu}()?.createHTML(n)||n}function jc(n){return function hs(){if(void 0===Nl&&(Nl=null,$n.trustedTypes))try{Nl=$n.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Nl}()?.createHTML(n)||n}class aa{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Si})`}}class Ru extends aa{getTypeName(){return"HTML"}}class ky extends aa{getTypeName(){return"Style"}}class tg extends aa{getTypeName(){return"Script"}}class ff extends aa{getTypeName(){return"URL"}}class mf extends aa{getTypeName(){return"ResourceURL"}}function Ji(n){return n instanceof aa?n.changingThisBreaksApplicationSecurity:n}function ca(n,t){const e=function ng(n){return n instanceof aa&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${Si})`)}return e===t}class Ay{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Ll(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class Fy{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Ll(t),e}}const Ry=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Lu(n){return(n=String(n)).match(Ry)?n:"unsafe:"+n}function fs(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function _d(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const Py=fs("area,br,col,hr,img,wbr"),pf=fs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gf=fs("rp,rt"),_f=_d(Py,_d(pf,fs("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")),_d(gf,fs("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")),_d(gf,pf)),bf=fs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),La=_d(bf,fs("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"),fs("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")),Nu=fs("script,style,template");class Bu{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!_f.hasOwnProperty(e))return this.sanitizedSomething=!0,!Nu.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();_f.hasOwnProperty(e)&&!Py.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(sg(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Ny=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,og=/([^\#-~ |!])/g;function sg(n){return n.replace(/&/g,"&").replace(Ny,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(og,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let bd;function ag(n,t){let e=null;try{bd=bd||function rg(n){const t=new Fy(n);return function Oy(){try{return!!(new window.DOMParser).parseFromString(Ll(""),"text/html")}catch{return!1}}()?new Ay(t):t}(n);let i=t?String(t):"";e=bd.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=bd.getInertBodyElement(i)}while(i!==o);return Ll((new Bu).sanitizeChildren(Vu(e)||e))}finally{if(e){const i=Vu(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Vu(n){return"content"in n&&function By(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Zn=(()=>((Zn=Zn||{})[Zn.NONE=0]="NONE",Zn[Zn.HTML=1]="HTML",Zn[Zn.STYLE=2]="STYLE",Zn[Zn.SCRIPT=3]="SCRIPT",Zn[Zn.URL=4]="URL",Zn[Zn.RESOURCE_URL=5]="RESOURCE_URL",Zn))();function cg(n){const t=function Uc(){const n=Te();return n&&n[Yd]}();return t?jc(t.sanitize(Zn.HTML,n)||""):ca(n,"HTML")?jc(Ji(n)):ag(function eg(){return void 0!==ur?ur:typeof document<"u"?document:void 0}(),Yt(n))}const xf=new xe("ENVIRONMENT_INITIALIZER"),ug=new xe("INJECTOR",-1),wf=new xe("INJECTOR_DEF_TYPES");class hg{get(t,e=Ta){if(e===Ta){const i=new Error(`NullInjectorError: No provider for ${He(t)}!`);throw i.name="NullInjectorError",i}return e}}function zy(...n){return{\u0275providers:Df(0,n),\u0275fromNgModule:!0}}function Df(n,...t){const e=[],i=new Set;let r;return Ra(t,o=>{const a=o;zu(a,e,[],i)&&(r||(r=[]),r.push(a))}),void 0!==r&&mg(r,e),e}function mg(n,t){for(let e=0;e{t.push(o)})}}function zu(n,t,e,i){if(!(n=Nt(n)))return!1;let r=null,o=Dn(n);const a=!o&&I(n);if(o||a){if(a&&!a.standalone)return!1;r=n}else{const d=n.ngModule;if(o=Dn(d),!o)return!1;r=d}const c=i.has(r);if(a){if(c)return!1;if(i.add(r),a.dependencies){const d="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const h of d)zu(h,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!c){let h;i.add(r);try{Ra(o.imports,p=>{zu(p,t,e,i)&&(h||(h=[]),h.push(p))})}finally{}void 0!==h&&mg(h,t)}if(!c){const h=Fc(r)||(()=>new r);t.push({provide:r,useFactory:h,deps:Rn},{provide:wf,useValue:r,multi:!0},{provide:xf,useValue:()=>te(r),multi:!0})}const d=o.providers;null==d||c||$u(d,p=>{t.push(p)})}}return r!==n&&void 0!==n.providers}function $u(n,t){for(let e of n)ao(e)&&(e=e.\u0275providers),Array.isArray(e)?$u(e,t):t(e)}const Mf=Fn({provide:String,useValue:Fn});function Vl(n){return null!==n&&"object"==typeof n&&Mf in n}function Wc(n){return"function"==typeof n}const ju=new xe("Set Injector scope."),yd={},Uy={};let Hl;function Uu(){return void 0===Hl&&(Hl=new hg),Hl}class Gc{}class pg extends Gc{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,kf(t,a=>this.processProvider(a)),this.records.set(ug,zl(void 0,this)),r.has("environment")&&this.records.set(Gc,zl(void 0,this));const o=this.records.get(ju);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(wf.multi,Rn,bt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=zr(this),i=$i(void 0);try{return t()}finally{zr(e),$i(i)}}get(t,e=Ta,i=bt.Default){this.assertNotDestroyed(),i=Mr(i);const r=zr(this),o=$i(void 0);try{if(!(i&bt.SkipSelf)){let c=this.records.get(t);if(void 0===c){const d=function Zy(n){return"function"==typeof n||"object"==typeof n&&n instanceof xe}(t)&&Ds(t);c=d&&this.injectableDefInScope(d)?zl(fc(t),yd):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(i&bt.Self?Uu():this.parent).get(t,e=i&bt.Optional&&e===Ta?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[tc]=a[tc]||[]).unshift(He(t)),r)throw a;return function sd(n,t,e,i){const r=n[tc];throw t[Ms]&&r.unshift(t[Ms]),n.message=function Ic(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&n.charAt(1)==Sc?n.slice(2):n;let r=He(t);if(Array.isArray(t))r=t.map(He).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];o.push(a+":"+("string"==typeof c?JSON.stringify(c):He(c)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(pl,"\n ")}`}("\n"+n.message,r,e,i),n[od]=r,n[tc]=null,n}(a,t,"R3InjectorError",this.source)}throw a}finally{$i(o),zr(r)}}resolveInjectorInitializers(){const t=zr(this),e=$i(void 0);try{const i=this.get(xf.multi,Rn,bt.Self);for(const r of i)r()}finally{zr(t),$i(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(He(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ge(205,!1)}processProvider(t){let e=Wc(t=Nt(t))?t:Nt(t&&t.provide);const i=function Gy(n){return Vl(n)?zl(void 0,n.useValue):zl(gg(n),yd)}(t);if(Wc(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=zl(void 0,yd,!0),r.factory=()=>nc(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===yd&&(e.value=Uy,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Yy(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Nt(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function fc(n){const t=Ds(n),e=null!==t?t.factory:Fc(n);if(null!==e)return e;if(n instanceof xe)throw new ge(204,!1);if(n instanceof Function)return function Wy(n){const t=n.length;if(t>0)throw Ii(t,"?"),new ge(204,!1);const e=function Oe(n){const t=n&&(n[Di]||n[An]);return t?(function tt(n){if(n.hasOwnProperty("name"))return n.name;(""+n).match(/^function\s*([^\s(]+)/)}(n),t):null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new ge(204,!1)}function gg(n,t,e){let i;if(Wc(n)){const r=Nt(n);return Fc(r)||fc(r)}if(Vl(n))i=()=>Nt(n.useValue);else if(function Tf(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...nc(n.deps||[]));else if(function Ef(n){return!(!n||!n.useExisting)}(n))i=()=>te(Nt(n.useExisting));else{const r=Nt(n&&(n.useClass||n.provide));if(!function _g(n){return!!n.deps}(n))return Fc(r)||fc(r);i=()=>new r(...nc(n.deps))}return i}function zl(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function kf(n,t){for(const e of n)Array.isArray(e)?kf(e,t):e&&ao(e)?kf(e.\u0275providers,t):t(e)}class fw{}class s{}class b{resolveComponentFactory(t){throw function l(n){const t=Error(`No component factory found for ${He(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let v=(()=>{class n{}return n.NULL=new b,n})();function C(){return M(Tr(),Te())}function M(n,t){return new E(ds(n,t))}let E=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=C,n})();function F(n){return n instanceof E?n.nativeElement:n}class L{}let ee=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function Y(){const n=Te(),e=$o(Tr().index,n);return(zo(e)?e:n)[En]}(),n})(),se=(()=>{class n{}return n.\u0275prov=nt({token:n,providedIn:"root",factory:()=>null}),n})();class lt{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Bt=new lt("15.2.2"),ye={},ue="ngOriginalError";function Ae(n){return n[ue]}class Xe{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Ae(t);for(;e&&Ae(e);)e=Ae(e);return e||null}}function Ot(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const Wt="ng-template";function on(n,t,e){let i=0;for(;io?"":r[_+1].toLowerCase();const S=8&i?D:null;if(S&&-1!==Ot(S,h,0)||2&i&&h!==D){if(ni(i))return!1;a=!0}}}}else{if(!a&&!ni(i)&&!ni(d))return!1;if(a&&ni(d))continue;a=!1,i=d|1&i}}return ni(i)||a}function ni(n){return 0==(1&n)}function Un(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+c+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!ni(a)&&(t+=Ai(o,r),r=""),i=a,o=o||!ni(i);e++}return""!==r&&(t+=Ai(o,r)),t}const Ne={};function N(n){$l(Nn(),Te(),kr()+n,!1)}function $l(n,t,e,i){if(!i)if(3==(3&t[me])){const o=n.preOrderCheckHooks;null!==o&&au(t,o,e)}else{const o=n.preOrderHooks;null!==o&&cu(t,o,0,e)}sc(e)}function gw(n,t=null,e=null,i){const r=_w(n,t,e,i);return r.resolveInjectorInitializers(),r}function _w(n,t=null,e=null,i,r=new Set){const o=[e||Rn,zy(n)];return i=i||("object"==typeof n?void 0:He(n)),new pg(o,t||Uu(),i||null,r)}let Go=(()=>{class n{static create(e,i){if(Array.isArray(e))return gw({name:""},i,e,"");{const r=e.name??"";return gw({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=Ta,n.NULL=new hg,n.\u0275prov=nt({token:n,providedIn:"any",factory:()=>te(ug)}),n.__NG_ELEMENT_ID__=-1,n})();function x(n,t=bt.Default){const e=Te();return null===e?te(n,t):mu(Tr(),e,Nt(n),t)}function Gu(){throw new Error("invalid")}function Dw(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;ixi&&$l(n,t,xi,!1),ls(a?2:0,r),e(i,r)}finally{sc(o),ls(a?3:1,r)}}function tv(n,t,e){if(Th(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=c&&a.push(c),a.push(e,i,o)}}(n,t,i,Sf(n,e,r.hostVars,Ne),r)}function mc(n,t,e,i,r,o){const a=ds(n,t);!function av(n,t,e,i,r,o,a){if(null==o)n.removeAttribute(t,r,e);else{const c=null==a?Yt(o):a(o,i||"",r);n.setAttribute(t,r,c,e)}}(t[En],a,o,n.value,e,i,r)}function TF(n,t,e,i,r,o){const a=o[t];if(null!==a){const c=i.setInput;for(let d=0;d0&&cv(e)}}function cv(n){for(let i=sf(n);null!==i;i=Du(i))for(let r=Kr;r0&&cv(o)}const e=n[ie].components;if(null!==e)for(let i=0;i0&&cv(r)}}function FF(n,t){const e=$o(t,n),i=e[ie];(function OF(n,t){for(let e=t.length;e-1&&(lf(t,i),kl(e,i))}this._attachedToViewContainer=!1}Hp(this._lView[ie],this._lView)}onDestroy(t){Tw(this._lView[ie],this._lView,null,t)}markForCheck(){lv(this._cdRefInjectingView||this._lView)}detach(){this._lView[me]&=-65}reattach(){this._lView[me]|=64}detectChanges(){xg(this._lView[ie],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function gy(n,t){sa(n,t,t[En],2,null,null)}(this._lView[ie],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ge(902,!1);this._appRef=t}}class RF extends If{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;xg(t[ie],t,t[zt],!1)}checkNoChanges(){}get context(){return null}}class Bw extends v{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=I(t);return new Af(e,this.ngModule)}}function Vw(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class LF{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=Mr(i);const r=this.injector.get(t,ye,i);return r!==ye||e===ye?r:this.parentInjector.get(t,e,i)}}class Af extends s{get inputs(){return Vw(this.componentDef.inputs)}get outputs(){return Vw(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function Qr(n){return n.map(ai).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof Gc?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new LF(t,o):t,c=a.get(L,null);if(null===c)throw new ge(407,!1);const d=a.get(se,null),h=c.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",_=i?function hF(n,t,e){return n.selectRootElement(t,e===Er.ShadowDom)}(h,i,this.componentDef.encapsulation):cf(h,p,function PF(n){const t=n.toLowerCase();return"svg"===t?ea:"math"===t?"math":null}(p)),D=this.componentDef.onPush?288:272,S=rv(0,null,null,1,0,null,null,null,null,null),R=yg(null,S,null,D,null,null,c,h,d,a,null);let $,Q;Ph(R);try{const ae=this.componentDef;let Be,fe=null;ae.findHostDirectiveDefs?(Be=[],fe=new Map,ae.findHostDirectiveDefs(ae,Be,fe),Be.push(ae)):Be=[ae];const xt=function BF(n,t){const e=n[ie],i=xi;return n[i]=t,Yu(e,i,2,"#host",null)}(R,_),Gn=function VF(n,t,e,i,r,o,a,c){const d=r[ie];!function HF(n,t,e,i){for(const r of n)t.mergedAttrs=wl(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(wg(t,t.mergedAttrs,!0),null!==e&&Qp(i,e,t))}(i,n,t,a);const h=o.createRenderer(t,e),p=yg(r,Ew(e),null,e.onPush?32:16,r[n.index],n,o,h,c||null,null,null);return d.firstCreatePass&&sv(d,n,i.length-1),Cg(r,p),r[n.index]=p}(xt,_,ae,Be,R,c,h);Q=Zm(S,xi),_&&function $F(n,t,e,i){if(i)cp(n,e,["ng-version",Bt.full]);else{const{attrs:r,classes:o}=function Jr(n){const t=[],e=[];let i=1,r=2;for(;i0&&Xp(n,e,o.join(" "))}}(h,ae,_,i),void 0!==e&&function jF(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=wl(r.hostAttrs,e=wl(e,r.hostAttrs))}}(i)}function hv(n){return n===ho?{}:n===Rn?[]:n}function GF(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function YF(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function ZF(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}function Mg(n){return!!fv(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function fv(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function pc(n,t,e){return n[t]=e}function _o(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function ln(n,t,e,i){const r=Te();return _o(r,cd(),t)&&(Nn(),mc(Fi(),r,n,t,e,i)),ln}function qu(n,t,e,i){return _o(n,cd(),e)?t+Yt(e)+i:Ne}function ve(n,t,e,i,r,o,a,c){const d=Te(),h=Nn(),p=n+xi,_=h.firstCreatePass?function rO(n,t,e,i,r,o,a,c,d){const h=t.consts,p=Yu(t,n,4,a||null,jo(h,c));ov(t,e,p,jo(h,d)),su(t,p);const _=p.tView=rv(2,p,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,h);return null!==t.queries&&(t.queries.template(t,p),_.queries=t.queries.embeddedTView(p)),p}(p,h,d,t,e,i,r,o,a):h.data[p];na(_,!1);const D=d[En].createComment("");Tu(h,d,D,_),Sr(D,d),Cg(d,d[p]=Ow(D,d,D,_)),Kd(_)&&nv(h,d,_),null!=a&&iv(d,_,c)}function Yo(n){return bl(function jx(){return Lt.lFrame.contextLView}(),xi+n)}function W(n,t,e){const i=Te();return _o(i,cd(),t)&&Os(Nn(),Fi(),i,n,t,i[En],e,!1),W}function mv(n,t,e,i,r){const a=r?"class":"style";uv(n,e,t.inputs[a],a,i)}function T(n,t,e,i){const r=Te(),o=Nn(),a=xi+n,c=r[En],d=o.firstCreatePass?function sO(n,t,e,i,r,o){const a=t.consts,d=Yu(t,n,2,i,jo(a,r));return ov(t,e,d,jo(a,o)),null!==d.attrs&&wg(d,d.attrs,!1),null!==d.mergedAttrs&&wg(d,d.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,d),d}(a,o,r,t,e,i):o.data[a],h=r[a]=cf(c,t,function Rb(){return Lt.lFrame.currentNamespace}()),p=Kd(d);return na(d,!0),Qp(c,h,d),32!=(32&d.flags)&&Tu(o,r,h,d),0===function Xd(){return Lt.lFrame.elementDepthCount}()&&Sr(h,r),function Qd(){Lt.lFrame.elementDepthCount++}(),p&&(nv(o,r,d),tv(o,d,r)),null!==i&&iv(r,d),T}function w(){let n=Tr();ep()?tp():(n=n.parent,na(n,!1));const t=n;!function Ib(){Lt.lFrame.elementDepthCount--}();const e=Nn();return e.firstCreatePass&&(su(e,n),Th(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function Gx(n){return 0!=(8&n.flags)}(t)&&mv(e,t,Te(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ap(n){return 0!=(16&n.flags)}(t)&&mv(e,t,Te(),t.stylesWithoutHost,!1),w}function Ge(n,t,e,i){return T(n,t,e,i),w(),Ge}function Zo(n,t,e){const i=Te(),r=Nn(),o=n+xi,a=r.firstCreatePass?function aO(n,t,e,i,r){const o=t.consts,a=jo(o,i),c=Yu(t,n,8,"ng-container",a);return null!==a&&wg(c,a,!0),ov(t,e,c,jo(o,r)),null!==t.queries&&t.queries.elementStart(t,c),c}(o,r,i,t,e):r.data[o];na(a,!0);const c=i[o]=i[En].createComment("");return Tu(r,i,c,a),Sr(c,i),Kd(a)&&(nv(r,i,a),tv(r,a,i)),null!=e&&iv(i,a),Zo}function qo(){let n=Tr();const t=Nn();return ep()?tp():(n=n.parent,na(n,!1)),t.firstCreatePass&&(su(t,n),Th(n)&&t.queries.elementEnd(n)),qo}function Bn(){return Te()}function Tg(n){return!!n&&"function"==typeof n.then}function e1(n){return!!n&&"function"==typeof n.subscribe}const t1=e1;function we(n,t,e,i){const r=Te(),o=Nn(),a=Tr();return n1(o,r,r[En],a,n,t,i),we}function pv(n,t){const e=Tr(),i=Te(),r=Nn();return n1(r,i,Lw(iu(r.data),e,i),e,n,t),pv}function n1(n,t,e,i,r,o,a){const c=Kd(i),h=n.firstCreatePass&&Pw(n),p=t[zt],_=Rw(t);let D=!0;if(3&i.type||a){const $=ds(i,t),Q=a?a($):$,ae=_.length,Be=a?xt=>a(lr(xt[i.index])):i.index;let fe=null;if(!a&&c&&(fe=function cO(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;od?c[d]:null}"string"==typeof a&&(o+=2)}return null}(n,t,r,i.index)),null!==fe)(fe.__ngLastListenerFn__||fe).__ngNextListenerFn__=o,fe.__ngLastListenerFn__=o,D=!1;else{o=o1(i,t,p,o,!1);const xt=e.listen(Q,r,o);_.push(o,xt),h&&h.push(r,Be,ae,ae+1)}}else o=o1(i,t,p,o,!1);const S=i.outputs;let R;if(D&&null!==S&&(R=S[r])){const $=R.length;if($)for(let Q=0;Q<$;Q+=2){const Gn=t[R[Q]][R[Q+1]].subscribe(o),ii=_.length;_.push(o,Gn),h&&h.push(r,i.index,ii,-(ii+1))}}}function r1(n,t,e,i){try{return ls(6,t,e),!1!==e(i)}catch(r){return Nw(n,r),!1}finally{ls(7,t,e)}}function o1(n,t,e,i,r){return function o(a){if(a===Function)return i;lv(n.componentOffset>-1?$o(n.index,t):t);let d=r1(t,e,i,a),h=o.__ngNextListenerFn__;for(;h;)d=r1(t,e,h,a)&&d,h=h.__ngNextListenerFn__;return r&&!1===d&&(a.preventDefault(),a.returnValue=!1),d}}function Fe(n=1){return function Nh(n){return(Lt.lFrame.contextLView=function Bh(n,t){for(;n>0;)t=t[rc],n--;return t}(n,Lt.lFrame.contextLView))[zt]}(n)}function lO(n,t){let e=null;const i=function mt(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function _v(n){return 2|n}function Cd(n){return(131068&n)>>2}function bv(n,t){return-131069&n|t<<2}function yv(n){return 1|n}function m1(n,t,e,i,r){const o=n[e+1],a=null===t;let c=i?jl(o):Cd(o),d=!1;for(;0!==c&&(!1===d||a);){const p=n[c+1];pO(n[c],t)&&(d=!0,n[c+1]=i?yv(p):_v(p)),c=i?jl(p):Cd(p)}d&&(n[e+1]=i?_v(o):yv(o))}function pO(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&Bc(n,t)>=0}const Ar={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p1(n){return n.substring(Ar.key,Ar.keyEnd)}function g1(n,t){const e=Ar.textEnd;return e===t?-1:(t=Ar.keyEnd=function yO(n,t,e){for(;t32;)t++;return t}(n,Ar.key=t,e),ih(n,t,e))}function ih(n,t,e){for(;t=0;e=g1(t,e))Ur(n,p1(t),!0)}function Ba(n,t,e,i){const r=Te(),o=Nn(),a=oc(2);o.firstUpdatePass&&x1(o,n,a,i),t!==Ne&&_o(r,a,t)&&D1(o,o.data[kr()],r,r[En],n,r[a+1]=function IO(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=He(Ji(n)))),n}(t,e),i,a)}function C1(n,t){return t>=n.expandoStartIndex}function x1(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[kr()],a=C1(n,e);E1(o,i)&&null===t&&!a&&(t=!1),t=function DO(n,t,e,i){const r=iu(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=Rf(e=vv(null,n,t,e,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||n[a]!==r)if(e=vv(r,n,t,e,i),null===o){let d=function MO(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Cd(i))return n[jl(i)]}(n,t,i);void 0!==d&&Array.isArray(d)&&(d=vv(null,n,t,d[1],i),d=Rf(d,t.attrs,i),function EO(n,t,e,i){n[jl(e?t.classBindings:t.styleBindings)]=i}(n,t,i,d))}else o=function TO(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(h=!0)):p=e,r)if(0!==d){const D=jl(n[c+1]);n[i+1]=Sg(D,c),0!==D&&(n[D+1]=bv(n[D+1],i)),n[c+1]=function uO(n,t){return 131071&n|t<<17}(n[c+1],i)}else n[i+1]=Sg(c,0),0!==c&&(n[c+1]=bv(n[c+1],i)),c=i;else n[i+1]=Sg(d,0),0===c?c=i:n[d+1]=bv(n[d+1],i),d=i;h&&(n[i+1]=_v(n[i+1])),m1(n,p,i,!0),m1(n,p,i,!1),function mO(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&Bc(o,t)>=0&&(e[i+1]=yv(e[i+1]))}(t,p,n,i,o),a=Sg(c,d),o?t.classBindings=a:t.styleBindings=a}(r,o,t,e,a,i)}}function vv(n,t,e,i,r){let o=null;const a=e.directiveEnd;let c=e.directiveStylingLast;for(-1===c?c=e.directiveStart:c++;c0;){const d=n[r],h=Array.isArray(d),p=h?d[1]:d,_=null===p;let D=e[r+1];D===Ne&&(D=_?Rn:void 0);let S=_?yp(D,i):p===i?D:void 0;if(h&&!Ig(S)&&(S=yp(d,i)),Ig(S)&&(c=S,a))return c;const R=n[r+1];r=a?jl(R):Cd(R)}if(null!==t){let d=o?t.residualClasses:t.residualStyles;null!=d&&(c=yp(d,i))}return c}function Ig(n){return void 0!==n}function E1(n,t){return 0!=(n.flags&(t?8:16))}function H(n,t=""){const e=Te(),i=Nn(),r=n+xi,o=i.firstCreatePass?Yu(i,r,1,t,null):i.data[r],a=e[r]=function af(n,t){return n.createText(t)}(e[En],t);Tu(i,e,a,o),na(o,!1)}function Tn(n){return Ri("",n,""),Tn}function Ri(n,t,e){const i=Te(),r=qu(i,n,t,e);return r!==Ne&&function Yc(n,t,e){const i=Ih(t,n);!function Np(n,t,e){n.setValue(t,e)}(n[En],i,e)}(i,kr(),r),Ri}function P1(n,t,e){!function Va(n,t,e,i){const r=Nn(),o=oc(2);r.firstUpdatePass&&x1(r,null,o,i);const a=Te();if(e!==Ne&&_o(a,o,e)){const c=r.data[kr()];if(E1(c,i)&&!C1(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;null!==d&&(e=Yr(d,e||"")),mv(r,c,a,e,i)}else!function SO(n,t,e,i,r,o,a,c){r===Ne&&(r=Rn);let d=0,h=0,p=0>20;if(Wc(n)||!n.multi){const S=new lc(d,r,x),R=Ev(c,t,r?p:p+D,_);-1===R?(dd(uu(h,a),o,c),Mv(o,n,t.length),t.push(c),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(S),a.push(S)):(e[R]=S,a[R]=S)}else{const S=Ev(c,t,p+D,_),R=Ev(c,t,p,p+D),Q=R>=0&&e[R];if(r&&!Q||!r&&!(S>=0&&e[S])){dd(uu(h,a),o,c);const ae=function YR(n,t,e,i,r){const o=new lc(n,e,x);return o.multi=[],o.index=t,o.componentProviders=0,bD(o,r,i&&!e),o}(r?GR:WR,e.length,r,i,d);!r&&Q&&(e[R].providerFactory=ae),Mv(o,n,t.length,0),t.push(c),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(ae),a.push(ae)}else Mv(o,n,S>-1?S:R,bD(e[r?R:S],d,!r&&i));!r&&i&&Q&&e[R].componentProviders++}}}function Mv(n,t,e,i){const r=Wc(t),o=function jy(n){return!!n.useClass}(t);if(r||o){const d=(o?Nt(t.useClass):t).prototype.ngOnDestroy;if(d){const h=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const p=h.indexOf(e);-1===p?h.push(e,[i,d]):h[p+1].push(i,d)}else h.push(e,d)}}}function bD(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Ev(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function UR(n,t,e){const i=Nn();if(i.firstCreatePass){const r=Is(n);Dv(e,i.data,i.blueprint,r,!0),Dv(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class sh{}class ZR{}class yD extends sh{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Bw(this);const i=function he(n,t){const e=n[Qs]||null;if(!e&&!0===t)throw new Error(`Type ${He(n)} does not have '\u0275mod' property.`);return e}(t);this._bootstrapComponents=function We(n){return n instanceof Function?n():n}(i.bootstrap),this._r3Injector=_w(t,e,[{provide:sh,useValue:this},{provide:v,useValue:this.componentFactoryResolver}],He(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class kv extends ZR{constructor(t){super(),this.moduleType=t}create(t){return new yD(this.moduleType,t)}}class KR extends sh{constructor(t,e,i){super(),this.componentFactoryResolver=new Bw(this),this.instance=null;const r=new pg([...t,{provide:sh,useValue:this},{provide:v,useValue:this.componentFactoryResolver}],e||Uu(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let XR=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=Df(0,e.type),r=i.length>0?function vD(n,t,e=null){return new KR(n,t,e).injector}([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=nt({token:n,providedIn:"environment",factory:()=>new n(te(Gc))}),n})();function CD(n){n.getStandaloneInjector=t=>t.get(XR).getOrCreateStandaloneInjector(n)}function Zc(n,t,e){const i=Xr()+n,r=Te();return r[i]===Ne?pc(r,i,e?t.call(e):t()):function Ff(n,t){return n[t]}(r,i)}function SD(n,t,e,i,r){return function AD(n,t,e,i,r,o,a){const c=t+e;return function vd(n,t,e,i){const r=_o(n,t,e);return _o(n,t+1,i)||r}(n,c,r,o)?pc(n,c+2,a?i.call(a,r,o):i(r,o)):Hf(n,c+2)}(Te(),Xr(),n,t,e,i,r)}function Hf(n,t){const e=n[t];return e===Ne?void 0:e}function ID(n,t,e,i,r,o){const a=t+e;return _o(n,a,r)?pc(n,a+1,o?i.call(o,r):i(r)):Hf(n,a+1)}function LD(n,t,e){const i=n+xi,r=Te(),o=bl(r,i);return function zf(n,t){return n[ie].data[t].pure}(r,i)?ID(r,Xr(),t,o.transform,e,o):o.transform(e)}function Iv(n){return t=>{setTimeout(n,void 0,t)}}const rt=class bP extends Ee{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),a=i;if(t&&"object"==typeof t){const d=t;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=Iv(o),r&&(r=Iv(r)),a&&(a=Iv(a)));const c=super.subscribe({next:r,error:o,complete:a});return t instanceof ne&&t.add(c),c}};function yP(){return this._results[Symbol.iterator]()}class Ul{get changes(){return this._changes||(this._changes=new rt)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ul.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=yP)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=function Wo(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Yh(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=xP,n})();const vP=hr,CP=class extends vP{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tView,r=yg(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[fo]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[mo];return null!==a&&(r[mo]=a.createEmbeddedView(i)),ev(i,r,t),new If(r)}};function xP(){return Pg(Tr(),Te())}function Pg(n,t){return 4&n.type?new CP(t,n,M(n,t)):null}let fr=(()=>{class n{}return n.__NG_ELEMENT_ID__=wP,n})();function wP(){return VD(Tr(),Te())}const DP=fr,ND=class extends DP{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return M(this._hostTNode,this._hostLView)}get injector(){return new Lc(this._hostTNode,this._hostLView)}get parentInjector(){const t=fu(this._hostTNode,this._hostLView);if(up(t)){const e=Dl(t,this._hostLView),i=lu(t);return new Lc(e[ie].data[i+8],e)}return new Lc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=BD(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Kr}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=t.createEmbeddedView(e||{},o);return this.insert(a,r),a}createComponent(t,e,i,r,o){const a=t&&!function Uo(n){return"function"==typeof n}(t);let c;if(a)c=e;else{const _=e||{};c=_.index,i=_.injector,r=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef}const d=a?t:new Af(I(t)),h=i||this.parentInjector;if(!o&&null==d.ngModule){const D=(a?h:this.parentInjector).get(Gc,null);D&&(o=D)}const p=d.create(h,r,void 0,o);return this.insert(p.hostView,c),p}insert(t,e){const i=t._lView,r=i[ie];if(function vl(n){return Ss(n[ot])}(i)){const p=this.indexOf(t);if(-1!==p)this.detach(p);else{const _=i[ot],D=new ND(_,_[rn],_[ot]);D.detach(D.indexOf(t))}}const o=this._adjustIndex(e),a=this._lContainer;!function by(n,t,e,i){const r=Kr+i,o=e.length;i>0&&(e[r-1][ze]=t),i0)i.push(a[c/2]);else{const h=o[c+1],p=t[-d];for(let _=Kr;_{class n{constructor(e){this.appInits=e,this.resolve=Bg,this.reject=Bg,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:c,error:d})});e.push(a)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(te(lM,8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const lh=new xe("AppId",{providedIn:"root",factory:function dM(){return`${zv()}${zv()}${zv()}`}});function zv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const uM=new xe("Platform Initializer"),jf=new xe("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),mr=new xe("AnimationModuleType"),bc=new xe("LocaleId",{providedIn:"root",factory:()=>_i(bc,bt.Optional|bt.SkipSelf)||function KP(){return typeof $localize<"u"&&$localize.locale||oh}()}),t2=(()=>Promise.resolve(0))();function $v(n){typeof Zone>"u"?t2.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class $t{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new rt(!1),this.onMicrotaskEmpty=new rt(!1),this.onStable=new rt(!1),this.onError=new rt(!1),typeof Zone>"u")throw new ge(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function n2(){let n=$n.requestAnimationFrame,t=$n.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function s2(n){const t=()=>{!function o2(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call($n,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Uv(n),n.isCheckStableRunning=!0,jv(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Uv(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,a,c)=>{try{return mM(n),e.invokeTask(r,o,a,c)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),pM(n)}},onInvoke:(e,i,r,o,a,c,d)=>{try{return mM(n),e.invoke(r,o,a,c,d)}finally{n.shouldCoalesceRunChangeDetection&&t(),pM(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,Uv(n),jv(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$t.isInAngularZone())throw new ge(909,!1)}static assertNotInAngularZone(){if($t.isInAngularZone())throw new ge(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,r2,Bg,Bg);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const r2={};function jv(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Uv(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function mM(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function pM(n){n._nesting--,jv(n)}class a2{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new rt,this.onMicrotaskEmpty=new rt,this.onStable=new rt,this.onError=new rt}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const gM=new xe(""),Hg=new xe("");let Yv,Wv=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Yv||(function c2(n){Yv=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{$t.assertNotInAngularZone(),$v(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())$v(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(te($t),te(Gv),te(Hg))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})(),Gv=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Yv?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const qc=!1;let Wl=null;const _M=new xe("AllowMultipleToken"),Zv=new xe("PlatformDestroyListeners"),l2=new xe("appBootstrapListener");function yM(n,t,e=[]){const i=`Platform: ${t}`,r=new xe(i);return(o=[])=>{let a=qv();if(!a||a.injector.get(_M,!1)){const c=[...e,...o,{provide:r,useValue:!0}];n?n(c):function h2(n){if(Wl&&!Wl.get(_M,!1))throw new ge(400,!1);Wl=n;const t=n.get(CM);(function bM(n){const t=n.get(uM,null);t&&t.forEach(e=>e())})(n)}(function vM(n=[],t){return Go.create({name:t,providers:[{provide:ju,useValue:"platform"},{provide:Zv,useValue:new Set([()=>Wl=null])},...n]})}(c,i))}return function m2(n){const t=qv();if(!t)throw new ge(401,!1);return t}()}}function qv(){return Wl?.get(CM)??null}let CM=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function wM(n,t){let e;return e="noop"===n?new a2:("zone.js"===n?void 0:n)||new $t(t),e}(i?.ngZone,function xM(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:$t,useValue:r}];return r.run(()=>{const a=Go.create({providers:o,parent:this.injector,name:e.moduleType.name}),c=e.create(a),d=c.injector.get(Xe,null);if(!d)throw new ge(402,!1);return r.runOutsideAngular(()=>{const h=r.onError.subscribe({next:p=>{d.handleError(p)}});c.onDestroy(()=>{zg(this._modules,c),h.unsubscribe()})}),function DM(n,t,e){try{const i=e();return Tg(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(d,r,()=>{const h=c.injector.get(Vg);return h.runInitializers(),h.donePromise.then(()=>(function Z1(n){Ki(n,"Expected localeId to be defined"),"string"==typeof n&&(Y1=n.toLowerCase().replace(/_/g,"-"))}(c.injector.get(bc,oh)||oh),this._moduleDoBootstrap(c),c))})})}bootstrapModule(e,i=[]){const r=MM({},i);return function d2(n,t,e){const i=new kv(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Uf);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new ge(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ge(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Zv,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(te(Go))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function MM(n,t){return Array.isArray(t)?t.reduce(MM,n):{...n,...t}}let Uf=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new be(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),a=new be(c=>{let d;this._zone.runOutsideAngular(()=>{d=this._zone.onStable.subscribe(()=>{$t.assertNotInAngularZone(),$v(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const h=this._zone.onUnstable.subscribe(()=>{$t.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{d.unsubscribe(),h.unsubscribe()}});this.isStable=oi(o,a.pipe(Ys()))}bootstrap(e,i){const r=e instanceof s;if(!this._injector.get(Vg).done){!r&&function oe(n){const t=I(n)||z(n)||V(n);return null!==t&&t.standalone}(e);throw new ge(405,qc)}let a;a=r?e:this._injector.get(v).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const c=function u2(n){return n.isBoundToModule}(a)?void 0:this._injector.get(sh),h=a.create(Go.NULL,[],i||a.selector,c),p=h.location.nativeElement,_=h.injector.get(gM,null);return _?.registerApplication(p),h.onDestroy(()=>{this.detachView(h.hostView),zg(this.components,h),_?.unregisterApplication(p)}),this._loadComponent(h),h}tick(){if(this._runningTick)throw new ge(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;zg(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(l2,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>zg(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ge(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(te($t),te(Gc),te(Xe))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function zg(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let ci=(()=>{class n{}return n.__NG_ELEMENT_ID__=g2,n})();function g2(n){return function _2(n,t,e){if(ad(n)&&!e){const i=$o(n.index,t);return new If(i,i)}return 47&n.type?new If(t[cr],t):null}(Tr(),Te(),16==(16&n))}class IM{constructor(){}supports(t){return Mg(t)}create(t){return new w2(t)}}const x2=(n,t)=>t;class w2{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||x2}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(r,c),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,c,a,r)),Object.is(e.item,c)||this._addIdentityChange(e,c)):(e=this._mismatch(e,c,a,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new D2(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new AM),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new AM),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class D2{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class M2{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class AM{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new M2,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function FM(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new T2(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class T2{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function RM(){return new Ug([new IM])}let Ug=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||RM()),deps:[[n,new uc,new po]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new ge(901,!1)}}return n.\u0275prov=nt({token:n,providedIn:"root",factory:RM}),n})();function PM(){return new Wf([new OM])}let Wf=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||PM()),deps:[[n,new uc,new po]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new ge(901,!1)}}return n.\u0275prov=nt({token:n,providedIn:"root",factory:PM}),n})();const I2=yM(null,"core",[]);let A2=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(te(Uf))},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({}),n})();let t0=null;function Kc(){return t0}class R2{}const sn=new xe("DocumentToken");let LM=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:function(){return function P2(){return te(NM)}()},providedIn:"platform"}),n})(),NM=(()=>{class n extends LM{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kc().getBaseHref(this._doc)}onPopState(e){const i=Kc().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Kc().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){BM()?this._history.pushState(e,i,r):this._location.hash=r}replaceState(e,i,r){BM()?this._history.replaceState(e,i,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(te(sn))},n.\u0275prov=nt({token:n,factory:function(){return function L2(){return new NM(te(sn))}()},providedIn:"platform"}),n})();function BM(){return!!window.history.pushState}function VM(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function HM(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Dd(n){return n&&"?"!==n[0]?"?"+n:n}let n0=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:function(){return _i(B2)},providedIn:"root"}),n})();const N2=new xe("appBaseHref");let B2=(()=>{class n extends n0{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??_i(sn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return VM(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Dd(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const a=this.prepareExternalUrl(r+Dd(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){const a=this.prepareExternalUrl(r+Dd(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(te(LM),te(N2,8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zM=(()=>{class n{constructor(e){this._subject=new rt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function z2(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(HM($M(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Dd(i))}normalize(e){return n.stripTrailingSlash(function H2(n,t){if(!n||!t.startsWith(n))return t;const e=t.substring(n.length);return""===e||["/",";","?","#"].includes(e[0])?e:t}(this._basePath,$M(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Dd(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Dd(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Dd,n.joinWithSlash=VM,n.stripTrailingSlash=HM,n.\u0275fac=function(e){return new(e||n)(te(n0))},n.\u0275prov=nt({token:n,factory:function(){return function V2(){return new zM(te(n0))}()},providedIn:"root"}),n})();function $M(n){return n.replace(/\/index.html$/,"")}function XM(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const f0=/\s+/,QM=[];let dh=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=QM,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(f0):QM}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(f0):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,Boolean(e[i]));this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(f0).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(x(Ug),x(Wf),x(E),x(ee))},n.\u0275dir=y({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class ML{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let yc=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,a)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new ML(r.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const c=i.get(o);i.move(c,a),tE(c,r)}});for(let r=0,o=i.length;r{tE(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(x(fr),x(hr),x(Ug))},n.\u0275dir=y({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function tE(n,t){n.context.$implicit=t.item}let Hi=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new TL,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){nE("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){nE("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(x(fr),x(hr))},n.\u0275dir=y({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class TL{constructor(){this.$implicit=null,this.ngIf=null}}function nE(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${He(t)}'.`)}class m0{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let uh=(()=>{class n{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),e_=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new m0(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(x(fr),x(hr),x(uh,9))},n.\u0275dir=y({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),iE=(()=>{class n{constructor(e,i,r){r._addDefault(new m0(e,i))}}return n.\u0275fac=function(e){return new(e||n)(x(fr),x(hr),x(uh,9))},n.\u0275dir=y({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),oE=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(r,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(x(fr))},n.\u0275dir=y({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[jr]}),n})();class IL{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class AL{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const FL=new AL,OL=new IL;let sE=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Tg(e))return FL;if(e1(e))return OL;throw function $a(n,t){return new ge(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(x(ci,16))},n.\u0275pipe=A({name:"async",type:n,pure:!1,standalone:!0}),n})(),ha=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({}),n})();const cE="browser";function lE(n){return n===cE}class uE{}class TN extends R2{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class y0 extends TN{static makeCurrent(){!function O2(n){t0||(t0=n)}(new y0)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function kN(){return qf=qf||document.querySelector("base"),qf?qf.getAttribute("href"):null}();return null==e?null:function SN(n){i_=i_||document.createElement("a"),i_.setAttribute("href",n);const t=i_.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){qf=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return XM(document.cookie,t)}}let i_,qf=null;const gE=new xe("TRANSITION_ID"),AN=[{provide:lM,useFactory:function IN(n,t,e){return()=>{e.get(Vg).donePromise.then(()=>{const i=Kc(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();const r_=new xe("EventManagerPlugins");let o_=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this.usageCount=new Map}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)0===this.changeUsageCount(i,-1)&&this.onStyleRemoved(i)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,i){const r=this.usageCount;let o=r.get(e)??0;return o+=i,o>0?r.set(e,o):r.delete(e),o}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})(),Kf=(()=>{class n extends bE{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.forEach(o=>o.remove()),i.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,i){const r=this.doc.createElement("style");r.textContent=i,e.appendChild(r);const o=this.styleRef.get(i);o?o.push(r):this.styleRef.set(i,[r])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return n.\u0275fac=function(e){return new(e||n)(te(sn))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();const v0={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/"},C0=/%COMP%/g,CE=new xe("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function xE(n,t){return t.flat(100).map(e=>e.replace(C0,n))}function wE(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let s_=(()=>{class n{constructor(e,i,r,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.rendererByCompId=new Map,this.defaultRenderer=new x0(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,i);return r instanceof EE?r.applyToHost(e):r instanceof w0&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const a=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestory;switch(i.encapsulation){case Er.Emulated:o=new EE(a,c,i,this.appId,d);break;case Er.ShadowDom:return new HN(a,c,e,i);default:o=new w0(a,c,i,d)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(te(o_),te(Kf),te(lh),te(CE))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();class x0{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(v0[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(ME(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(ME(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=v0[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=v0[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Wr.DashCase|Wr.Important)?t.style.setProperty(e,i,r&Wr.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Wr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,wE(i)):this.eventManager.addEventListener(t,e,wE(i))}}function ME(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class HN extends x0{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=xE(r.id,r.styles);for(const a of o){const c=document.createElement("style");c.textContent=a,this.shadowRoot.appendChild(c)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class w0 extends x0{constructor(t,e,i,r,o=i.id){super(t),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=xE(o,i.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class EE extends w0{constructor(t,e,i,r,o){const a=r+"-"+i.id;super(t,e,i,o,a),this.contentAttr=function NN(n){return"_ngcontent-%COMP%".replace(C0,n)}(a),this.hostAttr=function BN(n){return"_nghost-%COMP%".replace(C0,n)}(a)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}let zN=(()=>{class n extends _E{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(te(sn))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();const TE=["alt","control","meta","shift"],$N={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},jN={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let UN=(()=>{class n extends _E{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),a=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kc().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),TE.forEach(h=>{const p=i.indexOf(h);p>-1&&(i.splice(p,1),a+=h+".")}),a+=o,0!=i.length||0===o.length)return null;const d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(e,i){let r=$N[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),TE.forEach(a=>{a!==r&&(0,jN[a])(e)&&(o+=a+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(te(sn))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();const ZN=yM(I2,"browser",[{provide:jf,useValue:cE},{provide:uM,useValue:function WN(){y0.makeCurrent()},multi:!0},{provide:sn,useFactory:function YN(){return function $c(n){ur=n}(document),document},deps:[]}]),IE=new xe(""),AE=[{provide:Hg,useClass:class FN{addToWindow(t){$n.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},$n.getAllAngularTestabilities=()=>t.getAllTestabilities(),$n.getAllAngularRootElements=()=>t.getAllRootElements(),$n.frameworkStabilizers||($n.frameworkStabilizers=[]),$n.frameworkStabilizers.push(i=>{const r=$n.getAllAngularTestabilities();let o=r.length,a=!1;const c=function(d){a=a||d,o--,0==o&&i(a)};r.forEach(function(d){d.whenStable(c)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Kc().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:gM,useClass:Wv,deps:[$t,Gv,Hg]},{provide:Wv,useClass:Wv,deps:[$t,Gv,Hg]}],FE=[{provide:ju,useValue:"root"},{provide:Xe,useFactory:function GN(){return new Xe},deps:[]},{provide:r_,useClass:zN,multi:!0,deps:[sn,$t,jf]},{provide:r_,useClass:UN,multi:!0,deps:[sn]},{provide:s_,useClass:s_,deps:[o_,Kf,lh,CE]},{provide:L,useExisting:s_},{provide:bE,useExisting:Kf},{provide:Kf,useClass:Kf,deps:[sn]},{provide:o_,useClass:o_,deps:[r_,$t]},{provide:uE,useClass:ON,deps:[]},[]];let OE=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:lh,useValue:e.appId},{provide:gE,useExisting:lh},AN]}}}return n.\u0275fac=function(e){return new(e||n)(te(IE,12))},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[...FE,...AE],imports:[ha,A2]}),n})();typeof window<"u"&&window;let a_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:function(e){let i=null;return i=e?new(e||n):te(LE),i},providedIn:"root"}),n})(),LE=(()=>{class n extends a_{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Zn.NONE:return i;case Zn.HTML:return ca(i,"HTML")?Ji(i):ag(this._doc,String(i)).toString();case Zn.STYLE:return ca(i,"Style")?Ji(i):i;case Zn.SCRIPT:if(ca(i,"Script"))return Ji(i);throw new Error("unsafe value used in a script context");case Zn.URL:return ca(i,"URL")?Ji(i):Lu(String(i));case Zn.RESOURCE_URL:if(ca(i,"ResourceURL"))return Ji(i);throw new Error(`unsafe value used in a resource URL context (see ${Si})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${Si})`)}}bypassSecurityTrustHtml(e){return function Sy(n){return new Ru(n)}(e)}bypassSecurityTrustStyle(e){return function Pu(n){return new ky(n)}(e)}bypassSecurityTrustScript(e){return function Iy(n){return new tg(n)}(e)}bypassSecurityTrustUrl(e){return function sw(n){return new ff(n)}(e)}bypassSecurityTrustResourceUrl(e){return function ig(n){return new mf(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(te(sn))},n.\u0275prov=nt({token:n,factory:function(e){let i=null;return i=e?new e:function tB(n){return new LE(n.get(sn))}(te(Go)),i},providedIn:"root"}),n})();class NE{}class nB{}const Qc="*";function Jc(n,t){return{type:7,name:n,definitions:t,options:{}}}function bo(n,t=null){return{type:4,styles:t,timings:n}}function iB(n,t=null){return{type:3,steps:n,options:t}}function BE(n,t=null){return{type:2,steps:n,options:t}}function Ei(n){return{type:6,styles:n,offset:null}}function fa(n,t,e){return{type:0,name:n,styles:t,options:e}}function yo(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function rB(n=null){return{type:9,options:n}}function oB(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function VE(n){Promise.resolve().then(n)}class Xf{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){VE(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class HE{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?VE(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,c)=>Math.max(a,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const E0="!";function zE(n){return new ge(3e3,!1)}function HB(){return typeof window<"u"&&typeof window.document<"u"}function T0(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Yl(n){switch(n.length){case 0:return new Xf;case 1:return n[0];default:return new HE(n)}}function $E(n,t,e,i,r=new Map,o=new Map){const a=[],c=[];let d=-1,h=null;if(i.forEach(p=>{const _=p.get("offset"),D=_==d,S=D&&h||new Map;p.forEach((R,$)=>{let Q=$,ae=R;if("offset"!==$)switch(Q=t.normalizePropertyName(Q,a),ae){case E0:ae=r.get($);break;case Qc:ae=o.get($);break;default:ae=t.normalizeStyleValue($,Q,ae,a)}S.set(Q,ae)}),D||c.push(S),h=S,d=_}),a.length)throw function kB(n){return new ge(3502,!1)}();return c}function k0(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&S0(e,"start",n)));break;case"done":n.onDone(()=>i(e&&S0(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&S0(e,"destroy",n)))}}function S0(n,t,e){const o=I0(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),a=n._data;return null!=a&&(o._data=a),o}function I0(n,t,e,i,r="",o=0,a){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Ps(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function jE(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let A0=(n,t)=>!1,UE=(n,t,e)=>[],WE=null;function F0(n){const t=n.parentNode||n.host;return t===WE?null:t}(T0()||typeof Element<"u")&&(HB()?(WE=(()=>document.documentElement)(),A0=(n,t)=>{for(;t;){if(t===n)return!0;t=F0(t)}return!1}):A0=(n,t)=>n.contains(t),UE=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let Md=null,GE=!1;const YE=A0,ZE=UE;let qE=(()=>{class n{validateStyleProperty(e){return function $B(n){Md||(Md=function jB(){return typeof document<"u"?document.body:null}()||{},GE=!!Md.style&&"WebkitAppearance"in Md.style);let t=!0;return Md.style&&!function zB(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in Md.style,!t&&GE&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Md.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return YE(e,i)}getParentElement(e){return F0(e)}query(e,i,r){return ZE(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,c=[],d){return new Xf(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})(),O0=(()=>{class n{}return n.NOOP=new qE,n})();const UB=1e3,R0="ng-enter",c_="ng-leave",l_="ng-trigger",d_=".ng-trigger",XE="ng-animating",P0=".ng-animating";function el(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:L0(parseFloat(t[1]),t[2])}function L0(n,t){return"s"===t?n*UB:n}function u_(n,t,e){return n.hasOwnProperty("duration")?n:function GB(n,t,e){let r,o=0,a="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return t.push(zE()),{duration:0,delay:0,easing:""};r=L0(parseFloat(c[1]),c[2]);const d=c[3];null!=d&&(o=L0(parseFloat(d),c[4]));const h=c[5];h&&(a=h)}else r=n;if(!e){let c=!1,d=t.length;r<0&&(t.push(function sB(){return new ge(3100,!1)}()),c=!0),o<0&&(t.push(function aB(){return new ge(3101,!1)}()),c=!0),c&&t.splice(d,0,zE())}return{duration:r,delay:o,easing:a}}(n,t,e)}function Qf(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function QE(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Zl(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function eT(n,t,e){return e?t+":"+e+";":""}function tT(n){let t="";for(let e=0;e{const o=B0(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),T0()&&tT(n))}function Ed(n,t){n.style&&(t.forEach((e,i)=>{const r=B0(i);n.style[r]=""}),T0()&&tT(n))}function Jf(n){return Array.isArray(n)?1==n.length?n[0]:BE(n):n}const N0=new RegExp("{{\\s*(.+?)\\s*}}","g");function nT(n){let t=[];if("string"==typeof n){let e;for(;e=N0.exec(n);)t.push(e[1]);N0.lastIndex=0}return t}function em(n,t,e){const i=n.toString(),r=i.replace(N0,(o,a)=>{let c=t[a];return null==c&&(e.push(function lB(n){return new ge(3003,!1)}()),c=""),c.toString()});return r==i?n:r}function h_(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const qB=/-+([a-z0-9])/g;function B0(n){return n.replace(qB,(...t)=>t[1].toUpperCase())}function KB(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ls(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function dB(n){return new ge(3004,!1)}()}}function iT(n,t){return window.getComputedStyle(n)[t]}const p_="*";function n3(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function r3(n,t,e){if(":"==n[0]){const d=function o3(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof d)return void t.push(d);n=d}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function wB(n){return new ge(3015,!1)}()),t;const r=i[1],o=i[2],a=i[3];t.push(rT(r,a));"<"==o[0]&&!(r==p_&&a==p_)&&t.push(rT(a,r))}(i,e,t)):e.push(n),e}const g_=new Set(["true","1"]),__=new Set(["false","0"]);function rT(n,t){const e=g_.has(n)||__.has(n),i=g_.has(t)||__.has(t);return(r,o)=>{let a=n==p_||n==r,c=t==p_||t==o;return!a&&e&&"boolean"==typeof r&&(a=r?g_.has(n):__.has(n)),!c&&i&&"boolean"==typeof o&&(c=o?g_.has(t):__.has(t)),a&&c}}const s3=new RegExp("s*:selfs*,?","g");function V0(n,t,e,i){return new a3(n).build(t,e,i)}class a3{constructor(t){this._driver=t}build(t,e,i){const r=new d3(e);return this._resetContextStyleTimingState(r),Ls(this,Jf(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push(function hB(){return new ge(3006,!1)}()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const d=c,h=d.name;h.toString().split(/\s*,\s*/).forEach(p=>{d.name=p,o.push(this.visitState(d,e))}),d.name=h}else if(1==c.type){const d=this.visitTransition(c,e);i+=d.queryCount,r+=d.depCount,a.push(d)}else e.errors.push(function fB(){return new ge(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=r||{};i.styles.forEach(c=>{c instanceof Map&&c.forEach(d=>{nT(d).forEach(h=>{a.hasOwnProperty(h)||o.add(h)})})}),o.size&&(h_(o.values()),e.errors.push(function mB(n,t){return new ge(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Ls(this,Jf(t.animation),e);return{type:1,matchers:n3(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Td(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Ls(this,i,e)),options:Td(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(a=>{e.currentTime=i;const c=Ls(this,a,e);return r=Math.max(r,e.currentTime),c});return e.currentTime=r,{type:3,steps:o,options:Td(t.options)}}visitAnimate(t,e){const i=function h3(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return H0(u_(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=H0(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=u_(e,t);return H0(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:Ei({});if(5==o.type)r=this.visitKeyframes(o,e);else{let a=t.styles,c=!1;if(!a){c=!0;const h={};i.easing&&(h.easing=i.easing),a=Ei(h)}e.currentTime+=i.duration+i.delay;const d=this.visitStyle(a,e);d.isEmptyStep=c,r=d}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of r)"string"==typeof c?c===Qc?i.push(c):e.errors.push(new ge(3002,!1)):i.push(QE(c));let o=!1,a=null;return i.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(a=c.get("easing"),c.delete("easing")),!o))for(let d of c.values())if(d.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:a,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(a=>{"string"!=typeof a&&a.forEach((c,d)=>{const h=e.collectedStyles.get(e.currentQuerySelector),p=h.get(d);let _=!0;p&&(o!=r&&o>=p.startTime&&r<=p.endTime&&(e.errors.push(function gB(n,t,e,i,r){return new ge(3010,!1)}()),_=!1),o=p.startTime),_&&h.set(d,{startTime:o,endTime:r}),e.options&&function ZB(n,t,e){const i=t.params||{},r=nT(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function cB(n){return new ge(3001,!1)}())})}(c,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function _B(){return new ge(3011,!1)}()),i;let o=0;const a=[];let c=!1,d=!1,h=0;const p=t.steps.map(ae=>{const Be=this._makeStyleAst(ae,e);let fe=null!=Be.offset?Be.offset:function u3(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(Be.styles),xt=0;return null!=fe&&(o++,xt=Be.offset=fe),d=d||xt<0||xt>1,c=c||xt0&&o<_?e.errors.push(function vB(){return new ge(3202,!1)}()):0==o&&(D=1/(_-1));const S=_-1,R=e.currentTime,$=e.currentAnimateTimings,Q=$.duration;return p.forEach((ae,Be)=>{const fe=D>0?Be==S?1:D*Be:a[Be],xt=fe*Q;e.currentTime=R+$.delay+xt,$.duration=xt,this._validateStyleAst(ae,e),ae.offset=fe,i.styles.push(ae)}),i}visitReference(t,e){return{type:8,animation:Ls(this,Jf(t.animation),e),options:Td(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Td(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Td(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,a]=function c3(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(s3,"")),n=n.replace(/@\*/g,d_).replace(/@\w+/g,e=>d_+"-"+e.slice(1)).replace(/:animating/g,P0),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Ps(e.collectedStyles,e.currentQuerySelector,new Map);const c=Ls(this,Jf(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:c,originalSelector:t.selector,options:Td(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function CB(){return new ge(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:u_(t.timings,e.errors,!0);return{type:12,animation:Ls(this,Jf(t.animation),e),timings:i,options:null}}}class d3{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Td(n){return n?(n=Qf(n)).params&&(n.params=function l3(n){return n?Qf(n):null}(n.params)):n={},n}function H0(n,t,e){return{duration:n,delay:t,easing:e}}function z0(n,t,e,i,r,o,a=null,c=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:c}}class b_{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const p3=new RegExp(":enter","g"),_3=new RegExp(":leave","g");function $0(n,t,e,i,r,o=new Map,a=new Map,c,d,h=[]){return(new b3).buildKeyframes(n,t,e,i,r,o,a,c,d,h)}class b3{buildKeyframes(t,e,i,r,o,a,c,d,h,p=[]){h=h||new b_;const _=new j0(t,e,h,r,o,p,[]);_.options=d;const D=d.delay?el(d.delay):0;_.currentTimeline.delayNextStep(D),_.currentTimeline.setStyles([a],null,_.errors,d),Ls(this,i,_);const S=_.timelines.filter(R=>R.containsAnimation());if(S.length&&c.size){let R;for(let $=S.length-1;$>=0;$--){const Q=S[$];if(Q.element===e){R=Q;break}}R&&!R.allowOnlyTimelineStyles()&&R.setStyles([c],null,_.errors,d)}return S.length?S.map(R=>R.buildKeyframes()):[z0(e,[],[],[],0,D,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const a="number"==typeof o?o:el(em(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?el(i.duration):null,c=null!=i.delay?el(i.delay):null;return 0!==a&&t.forEach(d=>{const h=e.appendInstructionToTimeline(d,a,c);o=Math.max(o,h.duration+h.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Ls(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=y_);const a=el(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(a=>Ls(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?el(t.options.delay):0;t.steps.forEach(a=>{const c=e.createSubContext(t.options);o&&c.delayNextStep(o),Ls(this,a,c),r=Math.max(r,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return u_(e.params?em(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,t.styles.forEach(d=>{c.forwardTime((d.offset||0)*o),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?el(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=y_);let a=i;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((h,p)=>{e.currentQueryIndex=p;const _=e.createSubContext(t.options,h);o&&_.delayNextStep(o),h===e.element&&(d=_.currentTimeline),Ls(this,t.animation,_),_.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,_.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,a=Math.abs(o.duration),c=a*(e.currentQueryTotal-1);let d=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":d=c-d;break;case"full":d=i.currentStaggerTime}const p=e.currentTimeline;d&&p.delayNextStep(d);const _=p.currentTime;Ls(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-_+(r.startTime-i.currentTimeline.startTime)}}const y_={};class j0{constructor(t,e,i,r,o,a,c,d){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=y_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new v_(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=el(i.duration)),null!=i.delay&&(r.delay=el(i.delay));const o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(c=>{(!e||!a.hasOwnProperty(c))&&(a[c]=em(o[c],a,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new j0(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=y_,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new y3(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,a){let c=[];if(r&&c.push(this.element),t.length>0){t=(t=t.replace(p3,"."+this._enterClassName)).replace(_3,"."+this._leaveClassName);let h=this._driver.query(this.element,t,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),c.push(...h)}return!o&&0==c.length&&a.push(function xB(n){return new ge(3014,!1)}()),c}}class v_{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new v_(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Qc),this._currentKeyframe.set(e,Qc);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},a=function v3(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,Qc)}else Zl(r,e)}),e}(t,this._globalTimelineStyles);for(let[c,d]of a){const h=em(d,o,i);this._pendingStyles.set(c,h),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Qc),this._updateStyle(c,h)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((c,d)=>{const h=Zl(c,new Map,this._backFill);h.forEach((p,_)=>{p===E0?t.add(_):p===Qc&&e.add(_)}),i||h.set("offset",d/this.duration),r.push(h)});const o=t.size?h_(t.values()):[],a=e.size?h_(e.values()):[];if(i){const c=r[0],d=new Map(c);c.set("offset",0),d.set("offset",1),r=[c,d]}return z0(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class y3 extends v_{constructor(t,e,i,r,o,a,c=!1){super(t,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=c,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,c=e/a,d=Zl(t[0]);d.set("offset",0),o.push(d);const h=Zl(t[0]);h.set("offset",aT(c)),o.push(h);const p=t.length-1;for(let _=1;_<=p;_++){let D=Zl(t[_]);const S=D.get("offset");D.set("offset",aT((e+S*i)/a)),o.push(D)}i=a,e=0,r="",t=o}return z0(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function aT(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class U0{}const C3=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class x3 extends U0{normalizePropertyName(t,e){return B0(t)}normalizeStyleValue(t,e,i,r){let o="";const a=i.toString().trim();if(C3.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const c=i.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&r.push(function uB(n,t){return new ge(3005,!1)}())}return a+o}}function cT(n,t,e,i,r,o,a,c,d,h,p,_,D){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:c,queriedElements:d,preStyleProps:h,postStyleProps:p,totalTime:_,errors:D}}const W0={};class lT{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function w3(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,a,c,d,h,p){const _=[],D=this.ast.options&&this.ast.options.params||W0,R=this.buildStyles(i,c&&c.params||W0,_),$=d&&d.params||W0,Q=this.buildStyles(r,$,_),ae=new Set,Be=new Map,fe=new Map,xt="void"===r,Gn={params:D3($,D),delay:this.ast.options?.delay},ii=p?[]:$0(t,e,this.ast.animation,o,a,R,Q,Gn,h,_);let Co=0;if(ii.forEach(cl=>{Co=Math.max(cl.duration+cl.delay,Co)}),_.length)return cT(e,this._triggerName,i,r,xt,R,Q,[],[],Be,fe,Co,_);ii.forEach(cl=>{const ll=cl.element,TA=Ps(Be,ll,new Set);cl.preStyleProps.forEach(Ud=>TA.add(Ud));const Hm=Ps(fe,ll,new Set);cl.postStyleProps.forEach(Ud=>Hm.add(Ud)),ll!==e&&ae.add(ll)});const al=h_(ae.values());return cT(e,this._triggerName,i,r,xt,R,Q,ii,al,Be,fe,Co)}}function D3(n,t){const e=Qf(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class M3{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Qf(this.defaultParams);return Object.keys(t).forEach(o=>{const a=t[o];null!==a&&(r[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,c)=>{a&&(a=em(a,r,e));const d=this.normalizer.normalizePropertyName(c,e);a=this.normalizer.normalizeStyleValue(c,d,a,e),i.set(c,a)})}),i}}class T3{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new M3(r.style,r.options&&r.options.params||{},i))}),dT(this.states,"true","1"),dT(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new lT(t,r,this.states))}),this.fallbackTransition=function k3(n,t,e){return new lT(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,c)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(a=>a.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function dT(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const S3=new b_;class I3{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],r=[],o=V0(this._driver,e,i,r);if(i.length)throw function SB(n){return new ge(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=$E(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let a;const c=new Map;if(o?(a=$0(this._driver,e,o,R0,c_,new Map,new Map,i,S3,r),a.forEach(p=>{const _=Ps(c,p.element,new Map);p.postStyleProps.forEach(D=>_.set(D,null))})):(r.push(function IB(){return new ge(3300,!1)}()),a=[]),r.length)throw function AB(n){return new ge(3504,!1)}();c.forEach((p,_)=>{p.forEach((D,S)=>{p.set(S,this._driver.computeStyle(_,S,Qc))})});const h=Yl(a.map(p=>{const _=c.get(p.element);return this._buildPlayer(p,new Map,_)}));return this._playersById.set(t,h),h.onDestroy(()=>this.destroy(t)),this.players.push(h),h}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function FB(n){return new ge(3301,!1)}();return e}listen(t,e,i,r){const o=I0(e,"","","");return k0(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const uT="ng-animate-queued",G0="ng-animate-disabled",P3=[],hT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},L3={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ma="__ng_removed";class Y0{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function H3(n){return n??null}(i?t.value:t),i){const o=Qf(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const tm="void",Z0=new Y0(tm);class N3{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,pa(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function OB(n,t){return new ge(3302,!1)}();if(null==i||0==i.length)throw function RB(n){return new ge(3303,!1)}();if(!function z3(n){return"start"==n||"done"==n}(i))throw function PB(n,t){return new ge(3400,!1)}();const o=Ps(this._elementListeners,t,[]),a={name:e,phase:i,callback:r};o.push(a);const c=Ps(this._engine.statesByElement,t,new Map);return c.has(e)||(pa(t,l_),pa(t,l_+"-"+e),c.set(e,Z0)),()=>{this._engine.afterFlush(()=>{const d=o.indexOf(a);d>=0&&o.splice(d,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function LB(n){return new ge(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),a=new q0(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(pa(t,l_),pa(t,l_+"-"+e),this._engine.statesByElement.set(t,c=new Map));let d=c.get(e);const h=new Y0(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),c.set(e,h),d||(d=Z0),h.value!==tm&&d.value===h.value){if(!function U3(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{Ed(t,Q),vc(t,ae)})}return}const D=Ps(this._engine.playersByElement,t,[]);D.forEach($=>{$.namespaceId==this.id&&$.triggerName==e&&$.queued&&$.destroy()});let S=o.matchTransition(d.value,h.value,t,h.params),R=!1;if(!S){if(!r)return;S=o.fallbackTransition,R=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:S,fromState:d,toState:h,player:a,isFallbackTransition:R}),R||(pa(t,uT),a.onStart(()=>{hh(t,uT)})),a.onDone(()=>{let $=this.players.indexOf(a);$>=0&&this.players.splice($,1);const Q=this._engine.playersByElement.get(t);if(Q){let ae=Q.indexOf(a);ae>=0&&Q.splice(ae,1)}}),this.players.push(a),D.push(a),a}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,d_,!0);i.forEach(r=>{if(r[ma])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),a=new Map;if(o){const c=[];if(o.forEach((d,h)=>{if(a.set(h,d.value),this._triggers.has(h)){const p=this.trigger(t,h,tm,r);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,a),i&&Yl(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const d=this._triggers.get(a).fallbackTransition,h=i.get(a)||Z0,p=new Y0(tm),_=new q0(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:d,fromState:h,toState:p,player:_,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let a=t;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[ma];(!o||o===hT)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){pa(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(c=>{if(c.name==i.triggerName){const d=I0(o,i.triggerName,i.fromState.value,i.toState.value);d._data=t,k0(i.player,c.phase,d,c.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class B3{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new N3(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,c=this.driver.getParentElement(e);for(;c;){const d=r.get(c);if(d){const h=i.indexOf(d);i.splice(h+1,0,t),a=!0;break}c=this.driver.getParentElement(c)}a||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(C_(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!C_(e))return;const o=e[ma];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){const a=this._fetchNamespace(t);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),pa(t,G0)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),hh(t,G0))}removeNode(t,e,i,r){if(C_(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[ma]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return C_(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,d_,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,P0,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Yl(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[ma];if(e&&e.setForRemoval){if(t[ma]=hT,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(G0)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Yl(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function NB(n){return new ge(3402,!1)}()}_flushAnimations(t,e){const i=new b_,r=[],o=new Map,a=[],c=new Map,d=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(Pt=>{p.add(Pt);const Kt=this.driver.query(Pt,".ng-animate-queued",!0);for(let un=0;un{const un=R0+$++;R.set(Kt,un),Pt.forEach(Kn=>pa(Kn,un))});const Q=[],ae=new Set,Be=new Set;for(let Pt=0;Ptae.add(Kn)):Be.add(Kt))}const fe=new Map,xt=pT(D,Array.from(ae));xt.forEach((Pt,Kt)=>{const un=c_+$++;fe.set(Kt,un),Pt.forEach(Kn=>pa(Kn,un))}),t.push(()=>{S.forEach((Pt,Kt)=>{const un=R.get(Kt);Pt.forEach(Kn=>hh(Kn,un))}),xt.forEach((Pt,Kt)=>{const un=fe.get(Kt);Pt.forEach(Kn=>hh(Kn,un))}),Q.forEach(Pt=>{this.processLeaveNode(Pt)})});const Gn=[],ii=[];for(let Pt=this._namespaceList.length-1;Pt>=0;Pt--)this._namespaceList[Pt].drainQueuedTransitions(e).forEach(un=>{const Kn=un.player,Gr=un.element;if(Gn.push(Kn),this.collectedEnterElements.length){const xo=Gr[ma];if(xo&&xo.setForMove){if(xo.previousTriggersValues&&xo.previousTriggersValues.has(un.triggerName)){const Wd=xo.previousTriggersValues.get(un.triggerName),ya=this.statesByElement.get(un.element);if(ya&&ya.has(un.triggerName)){const vb=ya.get(un.triggerName);vb.value=Wd,ya.set(un.triggerName,vb)}}return void Kn.destroy()}}const Ec=!_||!this.driver.containsElement(_,Gr),$s=fe.get(Gr),id=R.get(Gr),zi=this._buildInstruction(un,i,id,$s,Ec);if(zi.errors&&zi.errors.length)return void ii.push(zi);if(Ec)return Kn.onStart(()=>Ed(Gr,zi.fromStyles)),Kn.onDestroy(()=>vc(Gr,zi.toStyles)),void r.push(Kn);if(un.isFallbackTransition)return Kn.onStart(()=>Ed(Gr,zi.fromStyles)),Kn.onDestroy(()=>vc(Gr,zi.toStyles)),void r.push(Kn);const IA=[];zi.timelines.forEach(xo=>{xo.stretchStartingKeyframe=!0,this.disabledNodes.has(xo.element)||IA.push(xo)}),zi.timelines=IA,i.append(Gr,zi.timelines),a.push({instruction:zi,player:Kn,element:Gr}),zi.queriedElements.forEach(xo=>Ps(c,xo,[]).push(Kn)),zi.preStyleProps.forEach((xo,Wd)=>{if(xo.size){let ya=d.get(Wd);ya||d.set(Wd,ya=new Set),xo.forEach((vb,Dx)=>ya.add(Dx))}}),zi.postStyleProps.forEach((xo,Wd)=>{let ya=h.get(Wd);ya||h.set(Wd,ya=new Set),xo.forEach((vb,Dx)=>ya.add(Dx))})});if(ii.length){const Pt=[];ii.forEach(Kt=>{Pt.push(function BB(n,t){return new ge(3505,!1)}())}),Gn.forEach(Kt=>Kt.destroy()),this.reportError(Pt)}const Co=new Map,al=new Map;a.forEach(Pt=>{const Kt=Pt.element;i.has(Kt)&&(al.set(Kt,Kt),this._beforeAnimationBuild(Pt.player.namespaceId,Pt.instruction,Co))}),r.forEach(Pt=>{const Kt=Pt.element;this._getPreviousPlayers(Kt,!1,Pt.namespaceId,Pt.triggerName,null).forEach(Kn=>{Ps(Co,Kt,[]).push(Kn),Kn.destroy()})});const cl=Q.filter(Pt=>_T(Pt,d,h)),ll=new Map;mT(ll,this.driver,Be,h,Qc).forEach(Pt=>{_T(Pt,d,h)&&cl.push(Pt)});const Hm=new Map;S.forEach((Pt,Kt)=>{mT(Hm,this.driver,new Set(Pt),d,E0)}),cl.forEach(Pt=>{const Kt=ll.get(Pt),un=Hm.get(Pt);ll.set(Pt,new Map([...Array.from(Kt?.entries()??[]),...Array.from(un?.entries()??[])]))});const Ud=[],kA=[],SA={};a.forEach(Pt=>{const{element:Kt,player:un,instruction:Kn}=Pt;if(i.has(Kt)){if(p.has(Kt))return un.onDestroy(()=>vc(Kt,Kn.toStyles)),un.disabled=!0,un.overrideTotalTime(Kn.totalTime),void r.push(un);let Gr=SA;if(al.size>1){let $s=Kt;const id=[];for(;$s=$s.parentNode;){const zi=al.get($s);if(zi){Gr=zi;break}id.push($s)}id.forEach(zi=>al.set(zi,Gr))}const Ec=this._buildAnimation(un.namespaceId,Kn,Co,o,Hm,ll);if(un.setRealPlayer(Ec),Gr===SA)Ud.push(un);else{const $s=this.playersByElement.get(Gr);$s&&$s.length&&(un.parentPlayer=Yl($s)),r.push(un)}}else Ed(Kt,Kn.fromStyles),un.onDestroy(()=>vc(Kt,Kn.toStyles)),kA.push(un),p.has(Kt)&&r.push(un)}),kA.forEach(Pt=>{const Kt=o.get(Pt.element);if(Kt&&Kt.length){const un=Yl(Kt);Pt.setRealPlayer(un)}}),r.forEach(Pt=>{Pt.parentPlayer?Pt.syncPlayerEvents(Pt.parentPlayer):Pt.destroy()});for(let Pt=0;Pt!Ec.destroyed);Gr.length?$3(this,Kt,Gr):this.processLeaveNode(Kt)}return Q.length=0,Ud.forEach(Pt=>{this.players.push(Pt),Pt.onDone(()=>{Pt.destroy();const Kt=this.players.indexOf(Pt);this.players.splice(Kt,1)}),Pt.play()}),Ud}elementContainsData(t,e){let i=!1;const r=e[ma];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let a=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(a=c)}else{const c=this.playersByElement.get(t);if(c){const d=!o||o==tm;c.forEach(h=>{h.queued||!d&&h.triggerName!=r||a.push(h)})}}return(i||r)&&(a=a.filter(c=>!(i&&i!=c.namespaceId||r&&r!=c.triggerName))),a}_beforeAnimationBuild(t,e,i){const o=e.element,a=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,p=h!==o,_=Ps(i,h,[]);this._getPreviousPlayers(h,p,a,c,e.toState).forEach(S=>{const R=S.getRealPlayer();R.beforeDestroy&&R.beforeDestroy(),S.destroy(),_.push(S)})}Ed(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,a){const c=e.triggerName,d=e.element,h=[],p=new Set,_=new Set,D=e.timelines.map(R=>{const $=R.element;p.add($);const Q=$[ma];if(Q&&Q.removedBeforeQueried)return new Xf(R.duration,R.delay);const ae=$!==d,Be=function j3(n){const t=[];return gT(n,t),t}((i.get($)||P3).map(Co=>Co.getRealPlayer())).filter(Co=>!!Co.element&&Co.element===$),fe=o.get($),xt=a.get($),Gn=$E(0,this._normalizer,0,R.keyframes,fe,xt),ii=this._buildPlayer(R,Gn,Be);if(R.subTimeline&&r&&_.add($),ae){const Co=new q0(t,c,$);Co.setRealPlayer(ii),h.push(Co)}return ii});h.forEach(R=>{Ps(this.playersByQueriedElement,R.element,[]).push(R),R.onDone(()=>function V3(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,R.element,R))}),p.forEach(R=>pa(R,XE));const S=Yl(D);return S.onDestroy(()=>{p.forEach(R=>hh(R,XE)),vc(d,e.toStyles)}),_.forEach(R=>{Ps(r,R,[]).push(S)}),S}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Xf(t.duration,t.delay)}}class q0{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Xf,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(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>k0(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Ps(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function C_(n){return n&&1===n.nodeType}function fT(n,t){const e=n.style.display;return n.style.display=t??"none",e}function mT(n,t,e,i,r){const o=[];e.forEach(d=>o.push(fT(d)));const a=[];i.forEach((d,h)=>{const p=new Map;d.forEach(_=>{const D=t.computeStyle(h,_,r);p.set(_,D),(!D||0==D.length)&&(h[ma]=L3,a.push(h))}),n.set(h,p)});let c=0;return e.forEach(d=>fT(d,o[c++])),a}function pT(n,t){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==t.length)return e;const i=1,r=new Set(t),o=new Map;function a(c){if(!c)return i;let d=o.get(c);if(d)return d;const h=c.parentNode;return d=e.has(h)?h:r.has(h)?i:a(h),o.set(c,d),d}return t.forEach(c=>{const d=a(c);d!==i&&e.get(d).push(c)}),e}function pa(n,t){n.classList?.add(t)}function hh(n,t){n.classList?.remove(t)}function $3(n,t,e){Yl(e).onDone(()=>n.processLeaveNode(t))}function gT(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class x_{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new B3(t,e,i),this._timelineEngine=new I3(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const a=t+"-"+r;let c=this._triggerCache[a];if(!c){const d=[],h=[],p=V0(this._driver,o,d,h);if(d.length)throw function TB(n,t){return new ge(3404,!1)}();c=function E3(n,t,e){return new T3(n,t,e)}(r,p,this._normalizer),this._triggerCache[a]=c}this._transitionEngine.registerTrigger(e,r,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,a]=jE(i);this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[a,c]=jE(i);return this._timelineEngine.listen(a,e,c,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let G3=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&vc(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(vc(this._element,this._initialStyles),this._endStyles&&(vc(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ed(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ed(this._element,this._endStyles),this._endStyles=null),vc(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function K0(n){let t=null;return n.forEach((e,i)=>{(function Y3(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class bT{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:iT(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Z3{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return YE(t,e)}getParentElement(t){return F0(t)}query(t,e,i){return ZE(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,a=[]){const d={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(d.easing=o);const h=new Map,p=a.filter(S=>S instanceof bT);(function XB(n,t){return 0===n||0===t})(i,r)&&p.forEach(S=>{S.currentSnapshot.forEach((R,$)=>h.set($,R))});let _=function YB(n){return n.length?n[0]instanceof Map?n:n.map(t=>QE(t)):[]}(e).map(S=>Zl(S));_=function QB(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;oa.set(c,iT(n,c)))}}return t}(t,_,h);const D=function W3(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=K0(t[0]),t.length>1&&(i=K0(t[t.length-1]))):t instanceof Map&&(e=K0(t)),e||i?new G3(n,e,i):null}(t,_);return new bT(t,_,d,D)}}let q3=(()=>{class n extends NE{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Er.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?BE(e):e;return yT(this._renderer,null,i,"register",[r]),new K3(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(te(L),te(sn))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();class K3 extends nB{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new X3(this._id,t,e||{},this._renderer)}}class X3{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return yT(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function yT(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const vT="@.disabled";let Q3=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,a)=>{const c=a?.parentNode(o);c&&a.removeChild(c,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let p=this._rendererCache.get(o);return p||(p=new CT("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,p)),p}const a=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=p=>{Array.isArray(p)?p.forEach(d):this.engine.registerTrigger(a,c,e,p.name,p)};return i.data.animation.forEach(d),new J3(this,c,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,c]=o;a(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(te(L),te(x_),te($t))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();class CT{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==vT?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class J3 extends CT{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==vT?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function e5(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function t5(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,a,c=>{this.factory.scheduleListenerCallback(c._data||-1,i,c)})}return this.delegate.listen(t,e,i)}}const xT=[{provide:NE,useClass:q3},{provide:U0,useFactory:function r5(){return new x3}},{provide:x_,useClass:(()=>{class n extends x_{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(te(sn),te(O0),te(U0),te(Uf))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})()},{provide:L,useFactory:function o5(n,t,e){return new Q3(n,t,e)},deps:[s_,x_,$t]}],X0=[{provide:O0,useFactory:()=>new Z3},{provide:mr,useValue:"BrowserAnimations"},...xT],wT=[{provide:O0,useClass:qE},{provide:mr,useValue:"NoopAnimations"},...xT];let s5=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?wT:X0}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:X0,imports:[OE]}),n})();const{isArray:a5}=Array,{getPrototypeOf:c5,prototype:l5,keys:d5}=Object;function DT(n){if(1===n.length){const t=n[0];if(a5(t))return{args:t,keys:null};if(function u5(n){return n&&"object"==typeof n&&c5(n)===l5}(t)){const e=d5(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:h5}=Array;function Q0(n){return Pn(t=>function f5(n,t){return h5(t)?n(...t):n(t)}(n,t))}function MT(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function ET(...n){const t=Ao(n),{args:e,keys:i}=DT(n),r=new be(o=>{const{length:a}=e;if(!a)return void o.complete();const c=new Array(a);let d=a,h=a;for(let p=0;p{_||(_=!0,h--),c[p]=D},()=>d--,void 0,()=>{(!d||!_)&&(h||o.next(i?MT(i,c):c),o.complete())}))}});return t?r.pipe(Q0(t)):r}let TT=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(x(ee),x(E))},n.\u0275dir=y({type:n}),n})(),kd=(()=>{class n extends TT{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=si(n)))(i||n)}}(),n.\u0275dir=y({type:n,features:[ct]}),n})();const eo=new xe("NgValueAccessor"),p5={provide:eo,useExisting:fn(()=>ga),multi:!0},_5=new xe("CompositionEventMode");let ga=(()=>{class n extends TT{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function g5(){const n=Kc()?Kc().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(x(ee),x(E),x(_5,8))},n.\u0275dir=y({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&we("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[Gt([p5]),ct]}),n})();const b5=!1;function ql(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function ST(n){return null!=n&&"number"==typeof n.length}const to=new xe("NgValidators"),Kl=new xe("NgAsyncValidators"),y5=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class li{static min(t){return function IT(n){return t=>{if(ql(t.value)||ql(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(ql(t.value)||ql(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function FT(n){return ql(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function OT(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function RT(n){return ql(n.value)||y5.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function PT(n){return t=>ql(t.value)||!ST(t.value)?null:t.value.lengthST(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function NT(n){if(!n)return D_;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(ql(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return jT(t)}static composeAsync(t){return UT(t)}}function D_(n){return null}function BT(n){return null!=n}function VT(n){const t=Tg(n)?os(n):n;if(b5&&!t1(t)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof n&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new ge(-1101,e)}return t}function HT(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function zT(n,t){return t.map(e=>e(n))}function $T(n){return n.map(t=>function v5(n){return!n.validate}(t)?t:e=>t.validate(e))}function jT(n){if(!n)return null;const t=n.filter(BT);return 0==t.length?null:function(e){return HT(zT(e,t))}}function J0(n){return null!=n?jT($T(n)):null}function UT(n){if(!n)return null;const t=n.filter(BT);return 0==t.length?null:function(e){return ET(zT(e,t).map(VT)).pipe(Pn(HT))}}function eC(n){return null!=n?UT($T(n)):null}function WT(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function GT(n){return n._rawValidators}function YT(n){return n._rawAsyncValidators}function tC(n){return n?Array.isArray(n)?n:[n]:[]}function M_(n,t){return Array.isArray(n)?n.includes(t):n===t}function ZT(n,t){const e=tC(t);return tC(n).forEach(r=>{M_(e,r)||e.push(r)}),e}function qT(n,t){return tC(t).filter(e=>!M_(n,e))}class KT{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=J0(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=eC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Qo extends KT{get formDirective(){return null}get path(){return null}}class ja extends KT{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class XT{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ua=(()=>{class n extends XT{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(x(ja,2))},n.\u0275dir=y({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Qt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[ct]}),n})(),tl=(()=>{class n extends XT{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(x(Qo,10))},n.\u0275dir=y({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Qt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[ct]}),n})();function QT(n,t){return n?`with name: '${t}'`:`at index: ${t}`}const rC=!1,nm="VALID",T_="INVALID",fh="PENDING",im="DISABLED";function oC(n){return(k_(n)?n.validators:n)||null}function sC(n,t){return(k_(t)?t.asyncValidators:n)||null}function k_(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class tk{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===nm}get invalid(){return this.status===T_}get pending(){return this.status==fh}get disabled(){return this.status===im}get enabled(){return this.status!==im}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(ZT(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ZT(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(qT(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(qT(t,this._rawAsyncValidators))}hasValidator(t){return M_(this._rawValidators,t)}hasAsyncValidator(t){return M_(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=fh,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=im,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=nm,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nm||this.status===fh)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?im:nm}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=fh,this._hasOwnPendingAsyncValidator=!0;const e=VT(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new rt,this.statusChanges=new rt}_calculateStatus(){return this._allControlsDisabled()?im:this.errors?T_:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(fh)?fh:this._anyControlsHaveStatus(T_)?T_:nm}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){k_(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function T5(n){return Array.isArray(n)?J0(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function k5(n){return Array.isArray(n)?eC(n):n||null}(this._rawAsyncValidators)}}class Wa extends tk{constructor(t,e,i){super(oC(e),sC(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){(function ek(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new ge(1002,rC?function E5(n,t){return`Must supply a value for form control ${QT(n,t)}`}(t,r):"")})})(this,!0,t),Object.keys(t).forEach(i=>{(function JT(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new ge(1e3,rC?function D5(n){return`\n There are no form controls registered with this ${n?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(t):"");if(!i[e])throw new ge(1001,rC?function M5(n,t){return`Cannot find form control ${QT(n,t)}`}(t,e):"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Sd=new xe("CallSetDisabledState",{providedIn:"root",factory:()=>rm}),rm="always";function S_(n,t){return[...t.path,n]}function om(n,t,e=rm){aC(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function A5(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&nk(n,t)})}(n,t),function O5(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function F5(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&nk(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function I5(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function I_(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),F_(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function A_(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function aC(n,t){const e=GT(n);null!==t.validator?n.setValidators(WT(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=YT(n);null!==t.asyncValidator?n.setAsyncValidators(WT(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();A_(t._rawValidators,r),A_(t._rawAsyncValidators,r)}function F_(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=GT(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=YT(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return A_(t._rawValidators,i),A_(t._rawAsyncValidators,i),e}function nk(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function ik(n,t){aC(n,t)}function lC(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function rk(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function dC(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===ga?e=o:function L5(n){return Object.getPrototypeOf(n.constructor)===kd}(o)?i=o:r=o}),r||i||e||null}const B5={provide:Qo,useExisting:fn(()=>mh)},sm=(()=>Promise.resolve())();let mh=(()=>{class n extends Qo{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new rt,this.form=new Wa({},J0(e),eC(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){sm.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),om(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){sm.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){sm.then(()=>{const i=this._findContainer(e.path),r=new Wa({});ik(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){sm.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){sm.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,rk(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(x(to,10),x(Kl,10),x(Sd,8))},n.\u0275dir=y({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&we("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Gt([B5]),ct]}),n})();function ok(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function sk(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const yn=class extends tk{constructor(t=null,e,i){super(oC(e),sC(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),k_(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=sk(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ok(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ok(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){sk(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},z5={provide:ja,useExisting:fn(()=>uC)},lk=(()=>Promise.resolve())();let uC=(()=>{class n extends ja{constructor(e,i,r,o,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new yn,this._registered=!1,this.update=new rt,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=dC(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),lC(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){om(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){lk.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function e0(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(i);lk.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?S_(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(x(Qo,9),x(to,10),x(Kl,10),x(eo,10),x(ci,8),x(Sd,8))},n.\u0275dir=y({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Gt([z5]),ct,jr]}),n})(),nl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),uk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({}),n})();const hC=new xe("NgModelWithFormControlWarning"),G5={provide:ja,useExisting:fn(()=>fC)};let fC=(()=>{class n extends ja{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new rt,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=dC(0,r)}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&I_(i,this,!1),om(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}lC(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&I_(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(x(to,10),x(Kl,10),x(eo,10),x(hC,8),x(Sd,8))},n.\u0275dir=y({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Gt([G5]),ct,jr]}),n})();const Y5={provide:Qo,useExisting:fn(()=>ps)};let ps=(()=>{class n extends Qo{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new rt,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(F_(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return om(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){I_(e.control||null,e,!1),function N5(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,rk(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(I_(i||null,e),(n=>n instanceof yn)(r)&&(om(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);ik(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function R5(n,t){return F_(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){aC(this.form,this),this._oldForm&&F_(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(x(to,10),x(Kl,10),x(Sd,8))},n.\u0275dir=y({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&we("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Gt([Y5]),ct,jr]}),n})();const K5={provide:ja,useExisting:fn(()=>Cc)};let Cc=(()=>{class n extends ja{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.update=new rt,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=dC(0,o)}ngOnChanges(e){this._added||this._setUpControl(),lC(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return S_(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(x(Qo,13),x(to,10),x(Kl,10),x(eo,10),x(hC,8))},n.\u0275dir=y({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Gt([K5]),ct,jr]}),n})(),Mk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[uk]}),n})(),hV=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Sd,useValue:e.callSetDisabledState??rm}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Mk]}),n})(),fV=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:hC,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Sd,useValue:e.callSetDisabledState??rm}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Mk]}),n})();function gs(...n){return os(n,Fo(n))}function _s(n,t){return qe((e,i)=>{let r=0;e.subscribe(It(i,o=>n.call(t,o,r++)&&i.next(o)))})}class O_{}class vC{}class il{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof il?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new il;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof il?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(c=>-1===o.indexOf(c)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class pV{encodeKey(t){return Ek(t)}encodeValue(t){return Ek(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const _V=/%(\d[a-f0-9])/gi,bV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ek(n){return encodeURIComponent(n).replace(_V,(t,e)=>bV[e]??t)}function R_(n){return`${n}`}class Xl{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new pV,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function gV(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,c]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],d=e.get(a)||[];d.push(c),e.set(a,d)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(R_):[R_(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Xl({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(R_(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(R_(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class yV{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Tk(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function kk(n){return typeof Blob<"u"&&n instanceof Blob}function Sk(n){return typeof FormData<"u"&&n instanceof FormData}class am{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function vV(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new il),this.context||(this.context=new yV),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const c=e.indexOf("?");this.urlWithParams=e+(-1===c?"?":c_.set(D,t.setHeaders[D]),d)),t.setParams&&(h=Object.keys(t.setParams).reduce((_,D)=>_.set(D,t.setParams[D]),h)),new am(e,i,o,{params:h,headers:d,context:p,reportProgress:c,responseType:r,withCredentials:a})}}var _r=(()=>((_r=_r||{})[_r.Sent=0]="Sent",_r[_r.UploadProgress=1]="UploadProgress",_r[_r.ResponseHeader=2]="ResponseHeader",_r[_r.DownloadProgress=3]="DownloadProgress",_r[_r.Response=4]="Response",_r[_r.User=5]="User",_r))();class CC{constructor(t,e=200,i="OK"){this.headers=t.headers||new il,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class xC extends CC{constructor(t={}){super(t),this.type=_r.ResponseHeader}clone(t={}){return new xC({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class P_ extends CC{constructor(t={}){super(t),this.type=_r.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new P_({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ik extends CC{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function wC(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let cm=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof am)o=e;else{let d,h;d=r.headers instanceof il?r.headers:new il(r.headers),r.params&&(h=r.params instanceof Xl?r.params:new Xl({fromObject:r.params})),o=new am(e,i,void 0!==r.body?r.body:null,{headers:d,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const a=gs(o).pipe(function mV(n,t){return q(t)?So(n,t,1):So(n,1)}(d=>this.handler.handle(d)));if(e instanceof am||"events"===r.observe)return a;const c=a.pipe(_s(d=>d instanceof P_));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(Pn(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return c.pipe(Pn(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return c.pipe(Pn(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return c.pipe(Pn(d=>d.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Xl).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,wC(r,i))}post(e,i,r={}){return this.request("POST",e,wC(r,i))}put(e,i,r={}){return this.request("PUT",e,wC(r,i))}}return n.\u0275fac=function(e){return new(e||n)(te(O_))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();function Ak(n,t){return t(n)}function xV(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}const DV=new xe("HTTP_INTERCEPTORS"),lm=new xe("HTTP_INTERCEPTOR_FNS");function MV(){let n=null;return(t,e)=>(null===n&&(n=(_i(DV,{optional:!0})??[]).reduceRight(xV,Ak)),n(t,e))}let Fk=(()=>{class n extends O_{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set(this.injector.get(lm)));this.chain=i.reduceRight((r,o)=>function wV(n,t,e){return(i,r)=>e.runInContext(()=>t(i,o=>n(o,r)))}(r,o,this.injector),Ak)}return this.chain(e,i=>this.backend.handle(i))}}return n.\u0275fac=function(e){return new(e||n)(te(vC),te(Gc))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();const SV=/^\)\]\}',?\n/;let Rk=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new be(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((S,R)=>r.setRequestHeader(S,R.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const S=e.detectContentTypeHeader();null!==S&&r.setRequestHeader("Content-Type",S)}if(e.responseType){const S=e.responseType.toLowerCase();r.responseType="json"!==S?S:"text"}const o=e.serializeBody();let a=null;const c=()=>{if(null!==a)return a;const S=r.statusText||"OK",R=new il(r.getAllResponseHeaders()),$=function IV(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new xC({headers:R,status:r.status,statusText:S,url:$}),a},d=()=>{let{headers:S,status:R,statusText:$,url:Q}=c(),ae=null;204!==R&&(ae=typeof r.response>"u"?r.responseText:r.response),0===R&&(R=ae?200:0);let Be=R>=200&&R<300;if("json"===e.responseType&&"string"==typeof ae){const fe=ae;ae=ae.replace(SV,"");try{ae=""!==ae?JSON.parse(ae):null}catch(xt){ae=fe,Be&&(Be=!1,ae={error:xt,text:ae})}}Be?(i.next(new P_({body:ae,headers:S,status:R,statusText:$,url:Q||void 0})),i.complete()):i.error(new Ik({error:ae,headers:S,status:R,statusText:$,url:Q||void 0}))},h=S=>{const{url:R}=c(),$=new Ik({error:S,status:r.status||0,statusText:r.statusText||"Unknown Error",url:R||void 0});i.error($)};let p=!1;const _=S=>{p||(i.next(c()),p=!0);let R={type:_r.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),"text"===e.responseType&&r.responseText&&(R.partialText=r.responseText),i.next(R)},D=S=>{let R={type:_r.UploadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),i.next(R)};return r.addEventListener("load",d),r.addEventListener("error",h),r.addEventListener("timeout",h),r.addEventListener("abort",h),e.reportProgress&&(r.addEventListener("progress",_),null!==o&&r.upload&&r.upload.addEventListener("progress",D)),r.send(o),i.next({type:_r.Sent}),()=>{r.removeEventListener("error",h),r.removeEventListener("abort",h),r.removeEventListener("load",d),r.removeEventListener("timeout",h),e.reportProgress&&(r.removeEventListener("progress",_),null!==o&&r.upload&&r.upload.removeEventListener("progress",D)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(te(uE))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();const DC=new xe("XSRF_ENABLED"),Pk=new xe("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Lk=new xe("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Nk{}let OV=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=XM(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(te(sn),te(jf),te(Pk))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})();function RV(n,t){const e=n.url.toLowerCase();if(!_i(DC)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=_i(Nk).getToken(),r=_i(Lk);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}var nr=(()=>((nr=nr||{})[nr.Interceptors=0]="Interceptors",nr[nr.LegacyInterceptors=1]="LegacyInterceptors",nr[nr.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",nr[nr.NoXsrfProtection=3]="NoXsrfProtection",nr[nr.JsonpSupport=4]="JsonpSupport",nr[nr.RequestsMadeViaParent=5]="RequestsMadeViaParent",nr))();function ph(n,t){return{\u0275kind:n,\u0275providers:t}}function PV(...n){const t=[cm,Rk,Fk,{provide:O_,useExisting:Fk},{provide:vC,useExisting:Rk},{provide:lm,useValue:RV,multi:!0},{provide:DC,useValue:!0},{provide:Nk,useClass:OV}];for(const e of n)t.push(...e.\u0275providers);return function fg(n){return{\u0275providers:n}}(t)}const Bk=new xe("LEGACY_INTERCEPTOR_FN");let NV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[PV(ph(nr.LegacyInterceptors,[{provide:Bk,useFactory:MV},{provide:lm,useExisting:Bk,multi:!0}]))]}),n})();function St(n){return null!=n&&"false"!=`${n}`}function xc(n,t=0){return function BV(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function dm(n){return Array.isArray(n)?n:[n]}function br(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Wi(n){return n instanceof E?n.nativeElement:n}const HV=["addListener","removeListener"],zV=["addEventListener","removeEventListener"],$V=["on","off"];function wc(n,t,e,i){if(q(e)&&(i=e,e=void 0),i)return wc(n,t,e).pipe(Q0(i));const[r,o]=function WV(n){return q(n.addEventListener)&&q(n.removeEventListener)}(n)?zV.map(a=>c=>n[a](t,c,e)):function jV(n){return q(n.addListener)&&q(n.removeListener)}(n)?HV.map(Vk(n,t)):function UV(n){return q(n.on)&&q(n.off)}(n)?$V.map(Vk(n,t)):[];if(!r&&P(n))return So(a=>wc(a,t,e))(vi(n));if(!r)throw new TypeError("Invalid event target");return new be(a=>{const c=(...d)=>a.next(1o(c)})}function Vk(n,t){return e=>i=>n[e](t,i)}class GV extends ne{constructor(t,e){super()}schedule(t,e=0){return this}}const L_={setInterval(n,t,...e){const{delegate:i}=L_;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=L_;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class MC extends GV{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return L_.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&L_.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,J(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const um={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=um;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new ne(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=um;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=um;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0},Hk={now:()=>(Hk.delegate||Date).now(),delegate:void 0};class hm{constructor(t,e=hm.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}hm.now=Hk.now;class EC extends hm{constructor(t,e=hm.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const zk=new class ZV extends EC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class YV extends MC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=um.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(um.cancelAnimationFrame(e),t._scheduled=void 0)}});let TC,qV=1;const N_={};function $k(n){return n in N_&&(delete N_[n],!0)}const KV={setImmediate(n){const t=qV++;return N_[t]=!0,TC||(TC=Promise.resolve()),TC.then(()=>$k(t)&&n()),t},clearImmediate(n){$k(n)}},{setImmediate:XV,clearImmediate:QV}=KV,B_={setImmediate(...n){const{delegate:t}=B_;return(t?.setImmediate||XV)(...n)},clearImmediate(n){const{delegate:t}=B_;return(t?.clearImmediate||QV)(n)},delegate:void 0},kC=new class e4 extends EC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class JV extends MC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=B_.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(B_.clearImmediate(e),t._scheduled=void 0)}}),fm=new EC(MC),t4=fm;function V_(n=0,t,e=t4){let i=-1;return null!=t&&(Xa(t)?e=t:i=t),new be(r=>{let o=function r4(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function SC(n,t=fm){return function n4(n){return qe((t,e)=>{let i=!1,r=null,o=null,a=!1;const c=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const h=r;r=null,e.next(h)}a&&e.complete()},d=()=>{o=null,a&&e.complete()};t.subscribe(It(e,h=>{i=!0,r=h,o||vi(n(h)).subscribe(o=It(e,c,d))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>V_(n,t))}function vn(n){return qe((t,e)=>{vi(n).subscribe(It(e,()=>e.complete(),kt)),!e.closed&&t.subscribe(e)})}function H_(...n){return function o4(){return Io(1)}()(os(n,Fo(n)))}function Or(...n){const t=Fo(n);return qe((e,i)=>{(t?H_(n,e,t):H_(n,e)).subscribe(i)})}let IC;try{IC=typeof Intl<"u"&&Intl.v8BreakIterator}catch{IC=!1}let gh,Ti=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?lE(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!IC)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(te(jf))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const jk=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Uk(){if(gh)return gh;if("object"!=typeof document||!document)return gh=new Set(jk),gh;let n=document.createElement("input");return gh=new Set(jk.filter(t=>(n.setAttribute("type",t),n.type===t))),gh}let mm,z_,Ad,AC;function Ga(n){return function s4(){if(null==mm&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>mm=!0}))}finally{mm=mm||!1}return mm}()?n:!!n.capture}function Wk(){if(null==Ad){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ad=!1,Ad;if("scrollBehavior"in document.documentElement.style)Ad=!0;else{const n=Element.prototype.scrollTo;Ad=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Ad}function pm(){if("object"!=typeof document||!document)return 0;if(null==z_){const n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),z_=0,0===n.scrollLeft&&(n.scrollLeft=1,z_=0===n.scrollLeft?1:2),n.remove()}return z_}function FC(n){if(function a4(){if(null==AC){const n=typeof document<"u"?document.head:null;AC=!(!n||!n.createShadowRoot&&!n.attachShadow)}return AC}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Ns(n){return n.composedPath?n.composedPath()[0]:n.target}function OC(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const c4=new xe("cdk-dir-doc",{providedIn:"root",factory:function l4(){return _i(sn)}}),d4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Rr=(()=>{class n{constructor(e){this.value="ltr",this.change=new rt,e&&(this.value=function u4(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?d4.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(te(c4,8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({}),n})();const h4=["contentWrapper"],f4=["*"],m4=new xe("VIRTUAL_SCROLL_STRATEGY");let _h=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new Ee,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new be(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(SC(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):gs()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(_s(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Wi(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>wc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(te($t),te(Ti),te(sn,8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gk=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new Ee,this._elementScrolled=new be(a=>this.ngZone.runOutsideAngular(()=>wc(this.elementRef.nativeElement,"scroll").pipe(vn(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=pm()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==pm()?e.left=e.right:1==pm()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;Wk()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?r:i:"end"==e&&(e=a?i:r),a&&2==pm()?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&1==pm()?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(_h),x($t),x(Rr,8))},n.\u0275dir=y({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),n})(),rl=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new Ee,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(SC(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(te(Ti),te($t),te(sn,8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Yk=new xe("VIRTUAL_SCROLLABLE");let _4=(()=>{class n extends Gk{constructor(e,i,r,o){super(e,i,r,o)}measureViewportSize(e){const i=this.elementRef.nativeElement;return"horizontal"===e?i.clientWidth:i.clientHeight}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(_h),x($t),x(Rr,8))},n.\u0275dir=y({type:n,features:[ct]}),n})();const y4=typeof requestAnimationFrame<"u"?zk:kC;let v4=(()=>{class n extends _4{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=St(e)}constructor(e,i,r,o,a,c,d,h){super(e,c,r,a),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=o,this.scrollable=h,this._platform=_i(Ti),this._detachedSubject=new Ee,this._renderedRangeSubject=new Ee,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new be(p=>this._scrollStrategy.scrolledIndexChange.subscribe(_=>Promise.resolve().then(()=>this.ngZone.run(()=>p.next(_))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=ne.EMPTY,this._viewportChanges=d.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Or(null),SC(0,y4)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(vn(this._detachedSubject)).subscribe(i=>{const r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function b4(n,t){return n.start==t.start&&n.end==t.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&"to-start"===i?0:e;const o="horizontal"==this.orientation,a=o?"X":"Y";let d=`translate${a}(${Number((o&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===i&&(d+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=d&&(this._renderedContentTransform=d,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){const r={behavior:i};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return i=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i;const r="left",o="right",a="rtl"==this.dir?.value;i="start"==e?a?o:r:"end"==e?a?r:o:e||("horizontal"===this.orientation?"left":"top");const c=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-c}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const i of e)i()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x($t),x(m4,8),x(Rr,8),x(_h),x(rl),x(Yk,8))},n.\u0275cmp=k({type:n,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,i){if(1&e&&Vn(h4,7),2&e){let r;Mt(r=Et())&&(i._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,i){2&e&&Qt("cdk-virtual-scroll-orientation-horizontal","horizontal"===i.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==i.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Gt([{provide:Gk,useFactory:(t,e)=>t||e,deps:[[new po,new qh(Yk)],n]}]),ct,CD],ngContentSelectors:f4,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,i){1&e&&(bi(),T(0,"div",0,1),Ut(2),w(),Ge(3,"div",2)),2&e&&(N(3),Of("width",i._totalContentWidth)("height",i._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),n})(),Fd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({}),n})(),Zk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[gm,Fd,v4,gm,Fd]}),n})();class qk extends Ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function Bs(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function yh(n,t,e){const i=q(n)||t||e?{next:n,error:t,complete:e}:n;return i?qe((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let c=!0;r.subscribe(It(o,d=>{var h;null===(h=i.next)||void 0===h||h.call(i,d),o.next(d)},()=>{var d;c=!1,null===(d=i.complete)||void 0===d||d.call(i),o.complete()},d=>{var h;c=!1,null===(h=i.error)||void 0===h||h.call(i,d),o.error(d)},()=>{var d,h;c&&(null===(d=i.unsubscribe)||void 0===d||d.call(i)),null===(h=i.finalize)||void 0===h||h.call(i)}))}):Ve}function PC(n,t=fm){return qe((e,i)=>{let r=null,o=null,a=null;const c=()=>{if(r){r.unsubscribe(),r=null;const h=o;o=null,i.next(h)}};function d(){const h=a+n,p=t.now();if(p{o=h,a=t.now(),r||(r=t.schedule(d,n),i.add(r))},()=>{c(),i.complete()},void 0,()=>{o=r=null}))})}function LC(n){return _s((t,e)=>n<=e)}function NC(n,t=Ve){return n=n??P4,qe((e,i)=>{let r,o=!0;e.subscribe(It(i,a=>{const c=t(a);(o||!n(r,c))&&(o=!1,r=c,i.next(a))}))})}function P4(n,t){return n===t}let Xk=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),L4=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Wi(e);return new be(r=>{const a=this._observeElement(i).subscribe(r);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new Ee,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(te(Xk))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qk=(()=>{class n{get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=xc(e),this._subscribe()}constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new rt,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(PC(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(L4),x(E),x($t))},n.\u0275dir=y({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),BC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[Xk]}),n})();function Jk(n,t,e){n?Zi(e,n,t):t()}function Pr(n){return n<=0?()=>Yn:qe((t,e)=>{let i=0;t.subscribe(It(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}const eS=new Set;let vh,V4=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):z4}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function H4(n){if(!eS.has(n))try{vh||(vh=document.createElement("style"),vh.setAttribute("type","text/css"),document.head.appendChild(vh)),vh.sheet&&(vh.sheet.insertRule(`@media ${n} {body{ }}`,0),eS.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(te(Ti))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function z4(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let VC=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new Ee}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return tS(dm(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=function N4(...n){const t=Fo(n),e=Ao(n),{args:i,keys:r}=DT(n);if(0===i.length)return os([],t);const o=new be(function B4(n,t,e=Ve){return i=>{Jk(t,()=>{const{length:r}=n,o=new Array(r);let a=r,c=r;for(let d=0;d{const h=os(n[d],t);let p=!1;h.subscribe(It(i,_=>{o[d]=_,p||(p=!0,c--),c||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,t,r?a=>MT(r,a):Ve));return e?o.pipe(Q0(e)):o}(tS(dm(e)).map(a=>this._registerQuery(a).observable));return o=H_(o.pipe(Pr(1)),o.pipe(LC(1),PC(0))),o.pipe(Pn(a=>{const c={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new be(a=>{const c=d=>this._zone.run(()=>a.next(d));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Or(i),Pn(({matches:a})=>({query:e,matches:a})),vn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(te(V4),te($t))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function tS(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function W_(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const iS="cdk-describedby-message",G_="cdk-describedby-host";let HC=0,W4=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+HC++,this._document=e,this._id=_i(lh)+"-"+HC++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=zC(i,r);"string"!=typeof i?(rS(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=zC(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${G_}="${this._id}"]`);for(let i=0;i0!=r.indexOf(iS));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function j4(n,t,e){const i=W_(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(G_,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function U4(n,t,e){const r=W_(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(G_)}_isElementDescribedByMessage(e,i){const r=W_(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&-1!=r.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(te(sn),te(Ti))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function zC(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function rS(n,t){n.id||(n.id=`${iS}-${t}-${HC++}`)}class oS{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ee,this._typeaheadSubscription=ne.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ee,this.change=new Ee,t instanceof Ul&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(yh(e=>this._pressedLetters.push(e)),PC(t),_s(()=>this._pressedLetters.length>0),Pn(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Ul?this._items.toArray():this._items}}class sS extends oS{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class $C extends oS{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}function Y_(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function Z_(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const X4=new xe("cdk-input-modality-detector-options"),Q4={ignoreKeys:[18,17,224,91,16]},Ch=Ga({passive:!0,capture:!0});let J4=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new qk(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ns(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Y_(a)?"keyboard":"mouse"),this._mostRecentTarget=Ns(a))},this._onTouchstart=a=>{Z_(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ns(a))},this._options={...Q4,...o},this.modalityDetected=this._modality.pipe(LC(1)),this.modalityChanged=this.modalityDetected.pipe(NC()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ch),r.addEventListener("mousedown",this._onMousedown,Ch),r.addEventListener("touchstart",this._onTouchstart,Ch)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ch),document.removeEventListener("mousedown",this._onMousedown,Ch),document.removeEventListener("touchstart",this._onTouchstart,Ch))}}return n.\u0275fac=function(e){return new(e||n)(te(Ti),te($t),te(sn),te(X4,8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const e8=new xe("liveAnnouncerElement",{providedIn:"root",factory:function t8(){return null}}),n8=new xe("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let i8=0,jC=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==a&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(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(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class n{constructor(e,i,r,o,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ee,this._rootNodeFocusAndBlurListener=c=>{for(let h=Ns(c);h;h=h.parentElement)"focus"===c.type?this._onFocus(c,h):this._onBlur(c,h)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const r=Wi(e);if(!this._platform.isBrowser||1!==r.nodeType)return gs(null);const o=FC(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;const c={checkChildren:i,subject:new Ee,rootNode:o};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const i=Wi(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Wi(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([c,d])=>this._originChanged(c,i,d)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=Ns(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,q_),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,q_)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(vn(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,q_),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,q_),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a{class n{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new rt}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ql))},n.\u0275dir=y({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),n})();const lS="cdk-high-contrast-black-on-white",dS="cdk-high-contrast-white-on-black",UC="cdk-high-contrast-active";let uS=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=_i(VC).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(UC,lS,dS),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(UC,lS):2===i&&e.add(UC,dS)}}}return n.\u0275fac=function(e){return new(e||n)(te(Ti),te(sn))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hS=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(te(uS))},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[BC]}),n})();function Dc(n,t){return qe((e,i)=>{let r=null,o=0,a=!1;const c=()=>a&&!r&&i.complete();e.subscribe(It(i,d=>{r?.unsubscribe();let h=0;const p=o++;vi(n(d,p)).subscribe(r=It(i,_=>i.next(t?t(d,_,p,h++):_),()=>{r=null,c()}))},()=>{a=!0,c()}))})}function WC(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];r?n.setProperty(i,r,e?.has(i)?"important":""):n.removeProperty(i)}return n}function xh(n,t){const e=t?"":"none";WC(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function fS(n,t,e){WC(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function K_(n,t){return t&&"none"!=t?n+" "+t:n}function mS(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function GC(n,t){return n.getPropertyValue(t).split(",").map(i=>i.trim())}function YC(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function ZC(n,t,e){const{top:i,bottom:r,left:o,right:a}=n;return e>=i&&e<=r&&t>=o&&t<=a}function ym(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function pS(n,t,e,i){const{top:r,right:o,bottom:a,left:c,width:d,height:h}=n,p=d*t,_=h*t;return i>r-_&&ic-p&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:YC(e)})})}handleScroll(t){const e=Ns(t),i=this.positions.get(e);if(!i)return null;const r=i.scrollPosition;let o,a;if(e===this._document){const h=this.getViewportScrollPosition();o=h.top,a=h.left}else o=e.scrollTop,a=e.scrollLeft;const c=r.top-o,d=r.left-a;return this.positions.forEach((h,p)=>{h.clientRect&&e!==p&&e.contains(p)&&ym(h.clientRect,c,d)}),r.top=o,r.left=a,{top:c,left:d}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function _S(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();t.removeAttribute("id");for(let r=0;rxh(i,e)))}constructor(t,e,i,r,o,a){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new Ee,this._pointerMoveSubscription=ne.EMPTY,this._pointerUpSubscription=ne.EMPTY,this._scrollSubscription=ne.EMPTY,this._resizeSubscription=ne.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new Ee,this.started=new Ee,this.released=new Ee,this.ended=new Ee,this.entered=new Ee,this.exited=new Ee,this.dropped=new Ee,this.moved=this._moveEvents,this._pointerDown=c=>{if(this.beforeStarted.next(),this._handles.length){const d=this._getTargetHandle(c);d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const d=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const S=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),R=this._dropContainer;if(!S)return void this._endDragSequence(c);(!R||!R.isDragging()&&!R.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}c.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const p=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,_=this._activeTransform;_.x=h.x-p.x+this._passiveTransform.x,_.y=h.y-p.y+this._passiveTransform.y,this._applyRootElementTransform(_.x,_.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this._nativeDragStart=c=>{if(this._handles.length){const d=this._getTargetHandle(c);d&&!this._disabledHandles.has(d)&&!this.disabled&&c.preventDefault()}else this.disabled||c.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new gS(i),a.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>Wi(i)),this._handles.forEach(i=>xh(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Wi(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,X_),e.addEventListener("touchstart",this._pointerDown,CS),e.addEventListener("dragstart",this._nativeDragStart,X_)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Wi(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),xh(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),xh(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){vm(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,r=i.parentNode,o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();r.insertBefore(a,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),fS(i,!1,qC),this._document.body.appendChild(r.replaceChild(o,i)),this._getPreviewInsertionPoint(r,c).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),r=vm(e),o=!r&&0!==e.button,a=this._rootElement,c=Ns(e),d=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=r?Z_(e):Y_(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),i||o||d||h)return;if(this._handles.length){const D=a.style;this._rootElementTapHighlight=D.webkitTapHighlightColor||"",D.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(D=>this._updateOnScroll(D)),this._boundaryElement&&(this._boundaryRect=YC(this._boundaryElement));const p=this._previewTemplate;this._pickupPositionInElement=p&&p.template&&!p.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const _=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:_.x,y:_.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){fS(this._rootElement,!0,qC),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(t),o=this._getDragDistance(r),a=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,a,o,r,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,t,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let r;if(i&&t){const o=t.matchSize?this._initialClientRect:null,a=t.viewContainer.createEmbeddedView(i,t.context);a.detectChanges(),r=wS(a,this._document),this._previewRef=a,t.matchSize?DS(r,o):r.style.transform=Q_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=_S(this._rootElement),DS(r,this._initialClientRect),this._initialTransform&&(r.style.transform=this._initialTransform);return WC(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},qC),xh(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>r.classList.add(o)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function a8(n){const t=getComputedStyle(n),e=GC(t,"transition-property"),i=e.find(c=>"transform"===c||"all"===c);if(!i)return 0;const r=e.indexOf(i),o=GC(t,"transition-duration"),a=GC(t,"transition-delay");return mS(o[r])+mS(a[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const r=a=>{(!a||Ns(a)===this._preview&&"transform"===a.propertyName)&&(this._preview?.removeEventListener("transitionend",r),i(),clearTimeout(o))},o=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=wS(this._placeholderRef,this._document)):i=_S(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e,i){const r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():t,a=vm(i)?i.targetTouches[0]:i,c=this._getViewportScrollPosition();return{x:o.left-t.left+(a.pageX-o.left-c.left),y:o.top-t.top+(a.pageY-o.top-c.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=vm(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,r=i.pageX-e.left,o=i.pageY-e.top;if(this._ownerSVGElement){const a=this._ownerSVGElement.getScreenCTM();if(a){const c=this._ownerSVGElement.createSVGPoint();return c.x=r,c.y=o,c.matrixTransform(a.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:a}=this._pickupPositionInElement,c=this._boundaryRect,{width:d,height:h}=this._getPreviewRect(),p=c.top+a,_=c.bottom-(h-a);i=xS(i,c.left+o,c.right-(d-o)),r=xS(r,p,_)}return{x:i,y:r}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-o.x),c=Math.abs(i-o.y);return a>this._config.pointerDirectionChangeThreshold&&(r.x=e>o.x?1:-1,o.x=e),c>this._config.pointerDirectionChangeThreshold&&(r.y=i>o.y?1:-1,o.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,xh(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,X_),t.removeEventListener("touchstart",this._pointerDown,CS),t.removeEventListener("dragstart",this._nativeDragStart,X_)}_applyRootElementTransform(t,e){const i=Q_(t,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=K_(i,this._initialTransform)}_applyPreviewTransform(t,e){const i=this._previewTemplate?.template?void 0:this._initialTransform,r=Q_(t,e);this._preview.style.transform=K_(r,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===i.width&&0===i.height)return;const o=r.left-i.left,a=i.right-r.right,c=r.top-i.top,d=i.bottom-r.bottom;r.width>i.width?(o>0&&(t+=o),a>0&&(t-=a)):t=0,r.height>i.height?(c>0&&(e+=c),d>0&&(e-=d)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:vm(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=Ns(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&ym(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=FC(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Wi(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function Q_(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function xS(n,t,e){return Math.max(t,Math.min(e,n))}function vm(n){return"t"===n.type[0]}function wS(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function DS(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=Q_(t.left,t.top)}function Cm(n,t){return Math.max(0,Math.min(t,n))}class h8{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,r){const o=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,i,r);if(-1===a&&o.length>0)return null;const c="horizontal"===this.orientation,d=o.findIndex(Q=>Q.drag===t),h=o[a],_=h.clientRect,D=d>a?1:-1,S=this._getItemOffsetPx(o[d].clientRect,_,D),R=this._getSiblingOffsetPx(d,o,D),$=o.slice();return function u8(n,t,e){const i=Cm(t,n.length-1),r=Cm(e,n.length-1);if(i===r)return;const o=n[i],a=r{if($[ae]===Q)return;const Be=Q.drag===t,fe=Be?S:R,xt=Be?t.getPlaceholderElement():Q.drag.getRootElement();Q.offset+=fe,c?(xt.style.transform=K_(`translate3d(${Math.round(Q.offset)}px, 0, 0)`,Q.initialTransform),ym(Q.clientRect,0,fe)):(xt.style.transform=K_(`translate3d(0, ${Math.round(Q.offset)}px, 0)`,Q.initialTransform),ym(Q.clientRect,fe,0))}),this._previousSwap.overlaps=ZC(_,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?r.x:r.y,{previousIndex:d,currentIndex:a}}enter(t,e,i,r){const o=null==r||r<0?this._getItemIndexFromPointerPosition(t,e,i):r,a=this._activeDraggables,c=a.indexOf(t),d=t.getPlaceholderElement();let h=a[o];if(h===t&&(h=a[o+1]),!h&&(null==o||-1===o||o-1&&a.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const p=h.getRootElement();p.parentElement.insertBefore(d,p),a.splice(o,0,t)}else Wi(this._element).appendChild(d),a.push(t);d.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){const i=this._itemPositions.find(r=>r.drag===t)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:i})=>{ym(i,t,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:YC(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(t,e,i){const r="horizontal"===this.orientation;let o=r?e.left-t.left:e.top-t.top;return-1===i&&(o+=r?e.width-t.width:e.height-t.height),o}_getSiblingOffsetPx(t,e,i){const r="horizontal"===this.orientation,o=e[t].clientRect,a=e[t+-1*i];let c=o[r?"width":"height"]*i;if(a){const d=r?"left":"top",h=r?"right":"bottom";-1===i?c-=a.clientRect[d]-o[h]:c+=o[d]-a.clientRect[h]}return c}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const a=i[i.length-1].clientRect;return r?t>=a.right:e>=a.bottom}{const a=i[0].clientRect;return r?t<=a.left:e<=a.top}}_getItemIndexFromPointerPosition(t,e,i,r){const o="horizontal"===this.orientation,a=this._itemPositions.findIndex(({drag:c,clientRect:d})=>c!==t&&((!r||c!==this._previousSwap.drag||!this._previousSwap.overlaps||(o?r.x:r.y)!==this._previousSwap.delta)&&(o?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&i!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ee,this.entered=new Ee,this.exited=new Ee,this.dropped=new Ee,this.sorted=new Ee,this.receivingStarted=new Ee,this.receivingStopped=new Ee,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=ne.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ee,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function s8(n=0,t=fm){return n<0&&(n=0),V_(n,n,t)}(0,zk).pipe(vn(this._stopScrollTimers)).subscribe(()=>{const a=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?a.scrollBy(0,-c):2===this._verticalScrollDirection&&a.scrollBy(0,c),1===this._horizontalScrollDirection?a.scrollBy(-c,0):2===this._horizontalScrollDirection&&a.scrollBy(c,0)})},this.element=Wi(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new gS(i),this._sortStrategy=new h8(this.element,e),this._sortStrategy.withSortPredicate((a,c)=>this.sortPredicate(a,c,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,r){this._draggingStarted(),null==r&&this.sortingDisabled&&(r=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,r,o,a,c,d={}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:o,distance:a,dropPoint:c,event:d})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===t.indexOf(r))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._sortStrategy.direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._sortStrategy.orientation=t,this}withScrollableParents(t){const e=Wi(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,r){if(this.sortingDisabled||!this._clientRect||!pS(this._clientRect,.05,e,i))return;const o=this._sortStrategy.sort(t,e,i,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,r=0,o=0;if(this._parentPositions.positions.forEach((a,c)=>{c===this._document||!a.clientRect||i||pS(a.clientRect,.05,t,e)&&([r,o]=function m8(n,t,e,i){const r=TS(t,i),o=kS(t,e);let a=0,c=0;if(r){const d=n.scrollTop;1===r?d>0&&(a=1):n.scrollHeight-d>n.clientHeight&&(a=2)}if(o){const d=n.scrollLeft;1===o?d>0&&(c=1):n.scrollWidth-d>n.clientWidth&&(c=2)}return[a,c]}(c,a.clientRect,t,e),(r||o)&&(i=c))}),!r&&!o){const{width:a,height:c}=this._viewportRuler.getViewportSize(),d={width:a,height:c,top:0,right:a,bottom:c,left:0};r=TS(d,e),o=kS(d,t),i=window}i&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Wi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Wi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=Wi(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&ZC(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(r=>r._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!ZC(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,i);if(!r)return!1;const o=Wi(this.element);return r===o||o.contains(r)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:e}))}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=FC(Wi(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function TS(n,t){const{top:e,bottom:i,height:r}=n,o=r*ES;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}function kS(n,t){const{left:e,right:i,width:r}=n,o=r*ES;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}const J_=Ga({passive:!1,capture:!0});let p8=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new Ee,this.pointerUp=new Ee,this.scroll=new Ee,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,J_)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,J_)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:J_}),r||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:J_}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,a)=>{this._document.addEventListener(a,o.handler,o.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new be(r=>this._ngZone.runOutsideAngular(()=>{const a=c=>{this._activeDragInstances.length&&r.next(c)};return e.addEventListener("scroll",a,!0),()=>{e.removeEventListener("scroll",a,!0)}}))),oi(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(te($t),te(sn))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const g8={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let KC=(()=>{class n{constructor(e,i,r,o){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=o}createDrag(e,i=g8){return new d8(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new f8(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(te(sn),te($t),te(rl),te(p8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const XC=new xe("CDK_DRAG_PARENT"),QC=new xe("CdkDropListGroup");let SS=(()=>{class n{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=St(e)}ngOnDestroy(){this._items.clear()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Gt([{provide:QC,useExisting:n}])]}),n})();const IS=new xe("CDK_DRAG_CONFIG");let _8=0;const AS=new xe("CdkDropList");let FS=(()=>{class n{get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=St(e)}constructor(e,i,r,o,a,c,d){this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=o,this._dir=a,this._group=c,this._destroyed=new Ee,this.connectedTo=[],this.id="cdk-drop-list-"+_8++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new rt,this.entered=new rt,this.exited=new rt,this.sorted=new rt,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,d&&this._assignDefaults(d),this._dropListRef.enterPredicate=(h,p)=>this.enterPredicate(h.data,p.data),this._dropListRef.sortPredicate=(h,p,_)=>this.sortPredicate(h,p.data,_.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),c&&c._items.add(this)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=n._dropLists.indexOf(this);e>-1&&n._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Or(this._dir.value),vn(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{const i=dm(this.connectedTo).map(r=>"string"==typeof r?n._dropLists.find(a=>a.id===r):r);if(this._group&&this._group._items.forEach(r=>{-1===i.indexOf(r)&&i.push(r)}),!this._scrollableParentsResolved){const r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(o=>o.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=St(this.sortingDisabled),e.autoScrollDisabled=St(this.autoScrollDisabled),e.autoScrollStep=xc(this.autoScrollStep,2),e.connectedTo(i.filter(r=>r&&r!==this).map(r=>r._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),oi(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){const{lockAxis:i,draggingDisabled:r,sortingDisabled:o,listAutoScrollDisabled:a,listOrientation:c}=e;this.disabled=r??!1,this.sortingDisabled=o??!1,this.autoScrollDisabled=a??!1,this.orientation=c||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return n._dropLists=[],n.\u0275fac=function(e){return new(e||n)(x(E),x(KC),x(ci),x(_h),x(Rr,8),x(QC,12),x(IS,8))},n.\u0275dir=y({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,i){2&e&&(ln("id",i.id),Qt("cdk-drop-list-disabled",i.disabled)("cdk-drop-list-dragging",i._dropListRef.isDragging())("cdk-drop-list-receiving",i._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Gt([{provide:QC,useValue:void 0},{provide:AS,useExisting:n}])]}),n})();const JC=new xe("CdkDragHandle"),OS=new xe("CdkDragPlaceholder"),RS=new xe("CdkDragPreview");let PS=(()=>{class n{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=St(e),this._dragRef.disabled=this._disabled}constructor(e,i,r,o,a,c,d,h,p,_,D){this.element=e,this.dropContainer=i,this._ngZone=o,this._viewContainerRef=a,this._dir=d,this._changeDetectorRef=p,this._selfHandle=_,this._parentDrag=D,this._destroyed=new Ee,this.started=new rt,this.released=new rt,this.ended=new rt,this.entered=new rt,this.exited=new rt,this.dropped=new rt,this.moved=new be(S=>{const R=this._dragRef.moved.pipe(Pn($=>({source:this,pointerPosition:$.pointerPosition,event:$.event,delta:$.delta,distance:$.distance}))).subscribe(S);return()=>{R.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Pr(1),vn(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const i=e.rootElementSelector,r=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let i=e;this.rootElementSelector&&(i=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):Wi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const i=this._dir,r=this.dragStartDelay,o=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof r&&r?r:xc(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(a).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe(Pr(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains("cdk-drag")){e.withParent(n._dragInstances.find(r=>r.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){const{lockAxis:i,dragStartDelay:r,constrainPosition:o,previewClass:a,boundaryElement:c,draggingDisabled:d,rootElementSelector:h,previewContainer:p}=e;this.disabled=d??!1,this.dragStartDelay=r||0,i&&(this.lockAxis=i),o&&(this.constrainPosition=o),a&&(this.previewClass=a),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),p&&(this.previewContainer=p)}_setupHandlesListener(){this._handles.changes.pipe(Or(this._handles),yh(e=>{const i=e.filter(r=>r._parentDrag===this).map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),Dc(e=>oi(...e.map(i=>i._stateChanges.pipe(Or(i))))),vn(this._destroyed)).subscribe(e=>{const i=this._dragRef,r=e.element.nativeElement;e.disabled?i.disableHandle(r):i.enableHandle(r)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(x(E),x(AS,12),x(sn),x($t),x(fr),x(IS,8),x(Rr,8),x(KC),x(ci),x(JC,10),x(XC,12))},n.\u0275dir=y({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,i,r){if(1&e&&(Hn(r,RS,5),Hn(r,OS,5),Hn(r,JC,5)),2&e){let o;Mt(o=Et())&&(i._previewTemplate=o.first),Mt(o=Et())&&(i._placeholderTemplate=o.first),Mt(o=Et())&&(i._handles=o)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,i){2&e&&Qt("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Gt([{provide:XC,useExisting:n}]),jr]}),n})(),x8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[KC],imports:[Fd]}),n})();const w8=["text"];function D8(n,t){if(1&n&&Ge(0,"mat-pseudo-checkbox",6),2&n){const e=Fe();W("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function M8(n,t){1&n&&Ge(0,"mat-pseudo-checkbox",7),2&n&&W("disabled",Fe().disabled)}function E8(n,t){if(1&n&&(T(0,"span",8),H(1),w()),2&n){const e=Fe();N(1),Ri("(",e.group.label,")")}}const T8=[[["mat-icon"]],"*"],k8=["mat-icon","*"],I8=new xe("mat-sanity-checks",{providedIn:"root",factory:function S8(){return!0}});let Wn=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!OC()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(te(uS),te(I8,8),te(sn))},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[gm,gm]}),n})();function Rd(n){return class extends n{get disabled(){return this._disabled}set disabled(t){this._disabled=St(t)}constructor(...t){super(...t),this._disabled=!1}}}function wh(n,t){return class extends n{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=t,this.color=t}}}function Jl(n){return class extends n{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=St(t)}constructor(...t){super(...t),this._disableRipple=!1}}}function xm(n,t=0){return class extends n{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?xc(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}}}function ex(n){return class extends n{updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}constructor(...t){super(...t),this.errorState=!1}}}let eb=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class F8{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const BS=Ga({passive:!0,capture:!0});class O8{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=Ns(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,i,r){const o=this._events.get(e);if(o){const a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,BS)})}removeHandler(t,e,i){const r=this._events.get(t);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,BS)))}}const VS={enterDuration:225,exitDuration:150},HS=Ga({passive:!0,capture:!0}),zS=["mousedown","touchstart"],$S=["mouseup","mouseleave","touchend","touchcancel"];class Dm{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Wi(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...VS,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const a=i.radius||function P8(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),c=t-r.left,d=e-r.top,h=o.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=c-a+"px",p.style.top=d-a+"px",p.style.height=2*a+"px",p.style.width=2*a+"px",null!=i.color&&(p.style.backgroundColor=i.color),p.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(p);const _=window.getComputedStyle(p),S=_.transitionDuration,R="none"===_.transitionProperty||"0s"===S||"0s, 0s"===S||0===r.width&&0===r.height,$=new F8(this,p,i,R);p.style.transform="scale3d(1, 1, 1)",$.state=0,i.persistent||(this._mostRecentTransientRipple=$);let Q=null;return!R&&(h||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ae=()=>this._finishRippleTransition($),Be=()=>this._destroyRipple($);p.addEventListener("transitionend",ae),p.addEventListener("transitioncancel",Be),Q={onTransitionEnd:ae,onTransitionCancel:Be}}),this._activeRipples.set($,Q),(R||!h)&&this._finishRippleTransition($),$}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...VS,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Wi(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,zS.forEach(i=>{Dm._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$S.forEach(e=>{this._triggerElement.addEventListener(e,this,HS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=Y_(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(zS.forEach(e=>Dm._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&$S.forEach(e=>t.removeEventListener(e,this,HS)))}}Dm._eventManager=new O8;const tx=new xe("mat-ripple-global-options");let vo=(()=>{class n{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Dm(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(x(E),x($t),x(Ti),x(tx,8),x(mr,8))},n.\u0275dir=y({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Qt("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),Pd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn,Wn]}),n})(),L8=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return n.\u0275fac=function(e){return new(e||n)(x(mr,8))},n.\u0275cmp=k({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&Qt("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal","minimal"===i.appearance)("mat-pseudo-checkbox-full","full"===i.appearance)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,i){},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-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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}),n})(),N8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn]}),n})();const nx=new xe("MAT_OPTION_PARENT_COMPONENT"),ix=new xe("MatOptgroup");let B8=0;class jS{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let V8=(()=>{class n{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=St(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+B8++,this.onSelectionChange=new rt,this._stateChanges=new Ee}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Bs(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new jS(this,e))}}return n.\u0275fac=function(e){Gu()},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&Vn(w8,7),2&e){let r;Mt(r=Et())&&(i._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Mm=(()=>{class n extends V8{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x(nx,8),x(ix,8))},n.\u0275cmp=k({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,i){1&e&&we("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Rs("id",i.id),ln("tabindex",i._getTabIndex())("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),Qt("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},exportAs:["matOption"],features:[ct],ngContentSelectors:k8,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(bi(T8),ve(0,D8,1,2,"mat-pseudo-checkbox",0),Ut(1),T(2,"span",1,2),Ut(4,1),w(),ve(5,M8,1,1,"mat-pseudo-checkbox",3),ve(6,E8,2,1,"span",4),Ge(7,"div",5)),2&e&&(W("ngIf",i.multiple),N(5),W("ngIf",!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator),N(1),W("ngIf",i.group&&i.group._inert),N(1),W("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[vo,Hi,L8],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-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-active::before{content:""}'],encapsulation:2,changeDetection:0}),n})();function US(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let a=0;ae+i?Math.max(0,n-i+t):e}let tb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Pd,ha,Wn,N8]}),n})();class rx{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class nb extends rx{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class Ld extends rx{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class H8 extends rx{constructor(t){super(),this.element=t instanceof E?t.nativeElement:t}}class ox{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof nb?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Ld?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof H8?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class z8 extends ox{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=a=>{const c=a.element,d=this._document.createComment("dom-portal");c.parentNode.insertBefore(d,c),this.outletElement.appendChild(c),this._attachedPortal=a,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Go.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let $8=(()=>{class n extends Ld{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(x(hr),x(fr))},n.\u0275dir=y({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ct]}),n})(),Em=(()=>{class n extends ox{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new rt,this.attachDomPortal=o=>{const a=o.element,c=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(c,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(x(v),x(fr),x(sn))},n.\u0275dir=y({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ct]}),n})(),sx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({}),n})();const GS=Wk();class U8{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=br(-this._previousScrollPosition.left),t.style.top=br(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),GS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),GS&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class W8{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class YS{enable(){}disable(){}attach(){}}function ax(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function ZS(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class G8{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();ax(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Y8=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new YS,this.close=a=>new W8(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new U8(this._viewportRuler,this._document),this.reposition=a=>new G8(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(te(_h),te(rl),te($t),te(sn))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Tm{constructor(t){if(this.scrollStrategy=new YS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class Z8{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let qS=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(te(sn))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),q8=(()=>{class n extends qS{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const c=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(r)):c.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(te(sn),te($t,8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),K8=(()=>{class n extends qS{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ns(o)},this._clickListener=o=>{const a=Ns(o),c="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const d=this._attachedOverlays.slice();for(let h=d.length-1;h>-1;h--){const p=d[h];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(a)||p.overlayElement.contains(c))break;const _=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>_.next(o)):_.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(te(sn),te(Ti),te($t,8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KS=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||OC()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(_),this._backdropTransitionendHandler=_=>{this._disposeBackdrop(_.target)},this._keydownEvents=new Ee,this._outsidePointerEvents=new Ee,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Pr(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=br(this._config.width),t.height=br(this._config.height),t.minWidth=br(this._config.minWidth),t.minHeight=br(this._config.minHeight),t.maxWidth=br(this._config.maxWidth),t.maxHeight=br(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=dm(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(vn(oi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const XS="cdk-overlay-connected-position-bounding-box",Q8=/([A-Za-z%]+)$/;class J8{get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ee,this._resizeSubscription=ne.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(XS),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let a;for(let c of this._preferredPositions){let d=this._getOriginPoint(t,r,c),h=this._getOverlayPoint(d,e,c),p=this._getOverlayFit(h,e,i,c);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,d);this._canFitWithFlexibleDimensions(p,h,i)?o.push({position:c,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,c)}):(!a||a.overlayFit.visibleAread&&(d=p,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Nd(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(XS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;r="start"==i.originX?a:c}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=JS(e);let{x:a,y:c}=t,d=this._getOffset(r,"x"),h=this._getOffset(r,"y");d&&(a+=d),h&&(c+=h);let D=0-c,S=c+o.height-i.height,R=this._subtractOverflows(o.width,0-a,a+o.width-i.width),$=this._subtractOverflows(o.height,D,S),Q=R*$;return{visibleArea:Q,isCompletelyWithinViewport:o.width*o.height===Q,fitsInViewportVertically:$===o.height,fitsInViewportHorizontally:R==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,a=QS(this._overlayRef.getConfig().minHeight),c=QS(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=a&&a<=r)&&(t.fitsInViewportHorizontally||null!=c&&c<=o)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=JS(e),o=this._viewportRect,a=Math.max(t.x+r.width-o.width,0),c=Math.max(t.y+r.height-o.height,0),d=Math.max(o.top-i.top-t.y,0),h=Math.max(o.left-i.left-t.x,0);let p=0,_=0;return p=r.width<=o.width?h||-a:t.xR&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-R/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)D=i.width-t.x+this._viewportMargin,p=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)_=t.x,p=i.right-t.x;else{const S=Math.min(i.right-t.x+i.left,t.x),R=this._lastBoundingBoxSize.width;p=2*S,_=t.x-S,p>R&&!this._isInitialRender&&!this._growAfterOpen&&(_=t.x-R/2)}return{top:a,left:_,bottom:c,right:D,width:p,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=br(i.height),r.top=br(i.top),r.bottom=br(i.bottom),r.width=br(i.width),r.left=br(i.left),r.right=br(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=br(o)),a&&(r.maxWidth=br(a))}this._lastBoundingBoxSize=i,Nd(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Nd(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Nd(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const p=this._viewportRuler.getViewportScrollPosition();Nd(i,this._getExactOverlayY(e,t,p)),Nd(i,this._getExactOverlayX(e,t,p))}else i.position="static";let c="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(c+=`translateX(${d}px) `),h&&(c+=`translateY(${h}px)`),i.transform=c.trim(),a.maxHeight&&(r?i.maxHeight=br(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=br(a.maxWidth):o&&(i.maxWidth="")),Nd(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=br(o.y),r}_getExactOverlayX(t,e,i){let a,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=br(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ZS(t,i),isOriginOutsideView:ax(t,i),isOverlayClipped:ZS(e,i),isOverlayOutsideView:ax(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&dm(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof E)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function Nd(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function QS(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(Q8);return e&&"px"!==e?null:parseFloat(t)}return n||null}function JS(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const eI="cdk-global-overlay-wrapper";class eH{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(eI),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:c}=i,d=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),h=!("100%"!==o&&"100vh"!==o||c&&"100%"!==c&&"100vh"!==c),p=this._xPosition,_=this._xOffset,D="rtl"===this._overlayRef.getConfig().direction;let S="",R="",$="";d?$="flex-start":"center"===p?($="center",D?R=_:S=_):D?"left"===p||"end"===p?($="flex-end",S=_):("right"===p||"start"===p)&&($="flex-start",R=_):"left"===p||"start"===p?($="flex-start",S=_):("right"===p||"end"===p)&&($="flex-end",R=_),t.position=this._cssPosition,t.marginLeft=d?"0":S,t.marginTop=h?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=d?"0":R,e.justifyContent=$,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(eI),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let tH=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new eH}flexibleConnectedTo(e){return new J8(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(te(rl),te(sn),te(Ti),te(KS))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nH=0,_a=(()=>{class n{constructor(e,i,r,o,a,c,d,h,p,_,D,S){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=c,this._ngZone=d,this._document=h,this._directionality=p,this._location=_,this._outsideClickDispatcher=D,this._animationsModuleType=S}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),a=new Tm(e);return a.direction=a.direction||this._directionality.value,new X8(o,i,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+nH++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Uf)),new z8(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(te(Y8),te(KS),te(v),te(tH),te(q8),te(Go),te($t),te(sn),te(Rr),te(zM),te(K8),te(mr,8))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const iH=[{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"}],tI=new xe("cdk-connected-overlay-scroll-strategy");let cx=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(x(E))},n.\u0275dir=y({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),n})(),nI=(()=>{class n{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=St(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=St(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=St(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=St(e)}get push(){return this._push}set push(e){this._push=St(e)}constructor(e,i,r,o,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ne.EMPTY,this._attachSubscription=ne.EMPTY,this._detachSubscription=ne.EMPTY,this._positionSubscription=ne.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new rt,this.positionChange=new rt,this.attach=new rt,this.detach=new rt,this.overlayKeydown=new rt,this.overlayOutsideClick=new rt,this._templatePortal=new Ld(i,r),this._scrollStrategyFactory=o,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(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=iH);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Bs(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Tm({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof cx?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function j8(n,t=!1){return qe((e,i)=>{let r=0;e.subscribe(It(i,o=>{const a=n(o,r++);(a||t)&&i.next(o),!a&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(_a),x(hr),x(fr),x(tI),x(Rr,8))},n.\u0275dir=y({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[jr]}),n})();const oH={provide:tI,deps:[_a],useFactory:function rH(n){return()=>n.scrollStrategies.reposition()}};let km=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[_a,oH],imports:[gm,sx,Zk,Zk]}),n})();function iI(n){return new be(t=>{vi(n()).subscribe(t)})}const sH=["matFormFieldNotchedOutline",""],aH=["*"],cH=["textField"],lH=["iconPrefixContainer"],dH=["textPrefixContainer"];function uH(n,t){1&n&&Ge(0,"span",19)}function hH(n,t){if(1&n){const e=Bn();T(0,"label",17),we("cdkObserveContent",function(){return Xt(e),mn(Fe(2)._refreshOutlineNotchWidth())}),Ut(1,1),ve(2,uH,1,0,"span",18),w()}if(2&n){const e=Fe(2);W("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),ln("for",e._control.id)("aria-owns",e._control.id),N(2),W("ngIf",!e.hideRequiredMarker&&e._control.required)}}function fH(n,t){1&n&&ve(0,hH,3,6,"label",16),2&n&&W("ngIf",Fe()._hasFloatingLabel())}function mH(n,t){1&n&&Ge(0,"div",20)}function pH(n,t){}function gH(n,t){1&n&&ve(0,pH,0,0,"ng-template",22),2&n&&(Fe(2),W("ngTemplateOutlet",Yo(1)))}function _H(n,t){if(1&n&&(T(0,"div",21),ve(1,gH,1,1,"ng-template",9),w()),2&n){const e=Fe();W("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),N(1),W("ngIf",!e._forceDisplayInfixLabel())}}function bH(n,t){1&n&&(T(0,"div",23,24),Ut(2,2),w())}function yH(n,t){1&n&&(T(0,"div",25,26),Ut(2,3),w())}function vH(n,t){}function CH(n,t){1&n&&ve(0,vH,0,0,"ng-template",22),2&n&&(Fe(),W("ngTemplateOutlet",Yo(1)))}function xH(n,t){1&n&&(T(0,"div",27),Ut(1,4),w())}function wH(n,t){1&n&&(T(0,"div",28),Ut(1,5),w())}function DH(n,t){1&n&&Ge(0,"div",29)}function MH(n,t){1&n&&(T(0,"div",30),Ut(1,6),w()),2&n&&W("@transitionMessages",Fe()._subscriptAnimationState)}function EH(n,t){if(1&n&&(T(0,"mat-hint",34),H(1),w()),2&n){const e=Fe(2);W("id",e._hintLabelId),N(1),Tn(e.hintLabel)}}function TH(n,t){if(1&n&&(T(0,"div",31),ve(1,EH,2,2,"mat-hint",32),Ut(2,7),Ge(3,"div",33),Ut(4,8),w()),2&n){const e=Fe();W("@transitionMessages",e._subscriptAnimationState),N(1),W("ngIf",e.hintLabel)}}const kH=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],SH=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let bs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-label"]]}),n})(),IH=0;const rI=new xe("MatError");let ed=(()=>{class n{constructor(e,i){this.id="mat-mdc-error-"+IH++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(As("aria-live"),x(E))},n.\u0275dir=y({type:n,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,i){2&e&&Rs("id",i.id)},inputs:{id:"id"},features:[Gt([{provide:rI,useExisting:n}])]}),n})(),AH=0,oI=(()=>{class n{constructor(){this.align="start",this.id="mat-mdc-hint-"+AH++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&(Rs("id",i.id),ln("align",null),Qt("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),n})();const FH=new xe("MatPrefix"),OH=new xe("MatSuffix");let sI=(()=>{class n{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function RH(n){if(null!==n.offsetParent)return n.scrollWidth;const e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(x(E))},n.\u0275dir=y({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&Qt("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating"}}),n})();const aI="mdc-line-ripple--active",ib="mdc-line-ripple--deactivating";let cI=(()=>{class n{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,a=o.contains(ib);"opacity"===r.propertyName&&a&&o.remove(aI,ib)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(ib),e.add(aI)}deactivate(){this._elementRef.nativeElement.classList.add(ib)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x($t))},n.\u0275dir=y({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),n})(),lI=(()=>{class n{constructor(e,i){this._elementRef=e,this._ngZone=i,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return n.\u0275fac=function(e){return new(e||n)(x(E),x($t))},n.\u0275cmp=k({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&Qt("mdc-notched-outline--notched",i.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:sH,ngContentSelectors:aH,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(bi(),Ge(0,"div",0),T(1,"div",1),Ut(2),w(),Ge(3,"div",2)),2&e&&(N(1),Of("width",i._getNotchWidth()))},encapsulation:2,changeDetection:0}),n})();const PH={transitionMessages:Jc("transitionMessages",[fa("enter",Ei({opacity:1,transform:"translateY(0%)"})),yo("void => enter",[Ei({opacity:0,transform:"translateY(-5px)"}),bo("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let rb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n}),n})();const Sm=new xe("MatFormField"),LH=new xe("MAT_FORM_FIELD_DEFAULT_OPTIONS");let dI=0,Vs=(()=>{class n{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=St(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,o,a,c,d,h){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=a,this._defaults=c,this._animationMode=d,this._document=h,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+dI++,this._hintLabelId="mat-mdc-hint-"+dI++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new Ee,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=Boolean(c?.hideRequiredMarker),c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(vn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),oi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(vn(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(vn(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,a=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+a}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x($t),x(Rr),x(Ti),x(LH,8),x(mr,8),x(sn))},n.\u0275cmp=k({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(Hn(r,bs,5),Hn(r,bs,7),Hn(r,rb,5),Hn(r,FH,5),Hn(r,OH,5),Hn(r,rI,5),Hn(r,oI,5)),2&e){let o;Mt(o=Et())&&(i._labelChildNonStatic=o.first),Mt(o=Et())&&(i._labelChildStatic=o.first),Mt(o=Et())&&(i._formFieldControl=o.first),Mt(o=Et())&&(i._prefixChildren=o),Mt(o=Et())&&(i._suffixChildren=o),Mt(o=Et())&&(i._errorChildren=o),Mt(o=Et())&&(i._hintChildren=o)}},viewQuery:function(e,i){if(1&e&&(Vn(cH,5),Vn(lH,5),Vn(dH,5),Vn(sI,5),Vn(lI,5),Vn(cI,5)),2&e){let r;Mt(r=Et())&&(i._textField=r.first),Mt(r=Et())&&(i._iconPrefixContainer=r.first),Mt(r=Et())&&(i._textPrefixContainer=r.first),Mt(r=Et())&&(i._floatingLabel=r.first),Mt(r=Et())&&(i._notchedOutline=r.first),Mt(r=Et())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&Qt("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Gt([{provide:Sm,useExisting:n}])],ngContentSelectors:SH,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(bi(kH),ve(0,fH,1,1,"ng-template",null,0,Lg),T(2,"div",1,2),we("click",function(o){return i._control.onContainerClick&&i._control.onContainerClick(o)}),ve(4,mH,1,0,"div",3),T(5,"div",4),ve(6,_H,2,3,"div",5),ve(7,bH,3,0,"div",6),ve(8,yH,3,0,"div",7),T(9,"div",8),ve(10,CH,1,1,"ng-template",9),Ut(11),w(),ve(12,xH,2,0,"div",10),ve(13,wH,2,0,"div",11),w(),ve(14,DH,1,0,"div",12),w(),T(15,"div",13),ve(16,MH,2,1,"div",14),ve(17,TH,5,2,"div",15),w()),2&e&&(N(2),Qt("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),N(2),W("ngIf",!i._hasOutline()&&!i._control.disabled),N(2),W("ngIf",i._hasOutline()),N(1),W("ngIf",i._hasIconPrefix),N(1),W("ngIf",i._hasTextPrefix),N(2),W("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),N(2),W("ngIf",i._hasTextSuffix),N(1),W("ngIf",i._hasIconSuffix),N(1),W("ngIf",!i._hasOutline()),N(1),Qt("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),W("ngSwitch",i._getDisplayedMessages()),N(1),W("ngSwitchCase","error"),N(1),W("ngSwitchCase","hint"))},dependencies:[Hi,oE,uh,e_,Qk,oI,sI,lI,cI],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required: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-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[PH.transitionMessages]},changeDetection:0}),n})(),ob=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn,ha,BC,Wn]}),n})();function fI(n,t){return t?e=>H_(t.pipe(Pr(1),function VH(){return qe((n,t)=>{n.subscribe(It(t,kt))})}()),e.pipe(fI(n))):So((e,i)=>vi(n(e,i)).pipe(Pr(1),function HH(n){return Pn(()=>n)}(e)))}function lx(n,t=fm){const e=V_(n,t);return fI(()=>e)}const zH=["panel"];function $H(n,t){if(1&n&&(T(0,"div",0,1),Ut(2),w()),2&n){const e=t.id,i=Fe();W("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),ln("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const jH=["*"],UH=Jc("panelAnimation",[fa("void, hidden",Ei({opacity:0,transform:"scaleY(0.8)"})),yo(":enter, hidden => visible",[iB([bo("0.03s linear",Ei({opacity:1})),bo("0.12s cubic-bezier(0, 0, 0.2, 1)",Ei({transform:"scaleY(1)"}))])]),yo(":leave, visible => hidden",[bo("0.075s linear",Ei({opacity:0}))])]);let WH=0;class GH{constructor(t,e){this.source=t,this.option=e}}const YH=Jl(class{}),mI=new xe("mat-autocomplete-default-options",{providedIn:"root",factory:function ZH(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let qH=(()=>{class n extends YH{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=St(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=St(e)}set classList(e){this._classList=e&&e.length?function VV(n,t=/\s+/){const e=[];if(null!=n){const i=Array.isArray(n)?n:`${n}`.split(t);for(const r of i){const o=`${r}`.trim();o&&e.push(o)}}return e}(e).reduce((i,r)=>(i[r]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,i,r,o){super(),this._changeDetectorRef=e,this._elementRef=i,this._defaults=r,this._activeOptionChanges=ne.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new rt,this.opened=new rt,this.closed=new rt,this.optionActivated=new rt,this._classList={},this.id="mat-autocomplete-"+WH++,this.inertGroups=o?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new sS(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new GH(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}}return n.\u0275fac=function(e){return new(e||n)(x(ci),x(E),x(mI),x(Ti))},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&(Vn(hr,7),Vn(zH,5)),2&e){let r;Mt(r=Et())&&(i.template=r.first),Mt(r=Et())&&(i.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[ct]}),n})(),KH=(()=>{class n extends qH{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=St(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=si(n)))(i||n)}}(),n.\u0275cmp=k({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,r){if(1&e&&(Hn(r,ix,5),Hn(r,Mm,5)),2&e){let o;Mt(o=Et())&&(i.optionGroups=o),Mt(o=Et())&&(i.options=o)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Gt([{provide:nx,useExisting:n}]),ct],ngContentSelectors:jH,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(bi(),ve(0,$H,3,5,"ng-template"))},dependencies:[dh],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[UH]},changeDetection:0}),n})();const XH={provide:eo,useExisting:fn(()=>gI),multi:!0},pI=new xe("mat-autocomplete-scroll-strategy"),JH={provide:pI,deps:[_a],useFactory:function QH(n){return()=>n.scrollStrategies.reposition()}};let e6=(()=>{class n{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=St(e)}constructor(e,i,r,o,a,c,d,h,p,_,D){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=d,this._formField=h,this._document=p,this._viewportRuler=_,this._defaults=D,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=ne.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ee,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=iI(()=>{const S=this.autocomplete?this.autocomplete.options:null;return S?S.changes.pipe(Or(S),Dc(()=>oi(...S.map(R=>R.onSelectionChange)))):this._zone.onStable.pipe(Pr(1),Dc(()=>this.optionSelections))}),this._scrollStrategy=c}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return oi(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(_s(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(_s(()=>this._overlayAttached)):gs()).pipe(Pn(e=>e instanceof jS?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return oi(wc(this._document,"click"),wc(this._document,"auxclick"),wc(this._document,"touchend")).pipe(_s(e=>{const i=Ns(e),r=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!o||!o.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,r=Bs(e);if(27===i&&!r&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const o=this.autocomplete._keyManager.activeItem,a=38===i||40===i;9===i||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;"number"===i.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return oi(this._zone.onStable.pipe(Pr(1)),this.autocomplete.options.changes.pipe(yh(()=>this._positionStrategy.reapplyLastPosition()),lx(0))).pipe(Dc(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),Pr(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=e?e.source:this._pendingAutoselectedOption;i&&(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),this.autocomplete._emitSelectEvent(i),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Ld(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Tm({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let a;a="above"===this.position?o:"below"===this.position?i:[...i,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const i=this.autocomplete,r=US(e,i.options,i.optionGroups);if(0===e&&1===r)i._setScrollTop(0);else if(i.panel){const o=i.options.toArray()[e];if(o){const a=o._getHostElement(),c=WS(a.offsetTop,a.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(c)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(i=>{(27===i.keyCode&&!Bs(i)||38===i.keyCode&&Bs(i,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),e.outsidePointerEvents().subscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(_a),x(fr),x($t),x(ci),x(pI),x(Rr,8),x(Sm,9),x(sn,8),x(rl),x(mI,8))},n.\u0275dir=y({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[jr]}),n})(),gI=(()=>{class n extends e6{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=si(n)))(i||n)}}(),n.\u0275dir=y({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&we("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(o){return i._handleInput(o)})("keydown",function(o){return i._handleKeydown(o)})("click",function(){return i._handleClick()}),2&e&&ln("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-owns",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Gt([XH]),ct]}),n})(),t6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[JH],imports:[km,tb,Wn,ha,Fd,tb,Wn]}),n})();const n6=["mat-button",""],dx=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ux=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],_I=".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}",i6=["mat-fab",""],bI=["mat-icon-button",""],r6=["*"],s6=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],a6=wh(Rd(Jl(class{constructor(n){this._elementRef=n}})));let sb=(()=>{class n extends a6{constructor(e,i,r,o){super(e),this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=_i(Ql),this._isFab=!1;const a=e.nativeElement.classList;for(const c of s6)this._hasHostAttributes(c.selector)&&c.mdcClasses.forEach(d=>{a.add(d)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return n.\u0275fac=function(e){Gu()},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&Vn(vo,5),2&e){let r;Mt(r=Et())&&(i.ripple=r.first)}},features:[ct]}),n})(),l6=(()=>{class n extends sb{constructor(e,i,r,o){super(e,i,r,o),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return n.\u0275fac=function(e){Gu()},n.\u0275dir=y({type:n,features:[ct]}),n})(),no=(()=>{class n extends sb{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ti),x($t),x(mr,8))},n.\u0275cmp=k({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(ln("disabled",i.disabled||null),Qt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ct],attrs:n6,ngContentSelectors:ux,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(dx),Ge(0,"span",0),Ut(1),T(2,"span",1),Ut(3,1),w(),Ut(4,2),Ge(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Qt("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),N(6),W("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[vo],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})();const d6=new xe("mat-mdc-fab-default-options",{providedIn:"root",factory:yI});function yI(){return{color:"accent"}}const vI=yI();let ab=(()=>{class n extends sb{get extended(){return this._extended}set extended(e){this._extended=St(e)}constructor(e,i,r,o,a){super(e,i,r,o),this._options=a,this._isFab=!0,this._options=this._options||vI,this.color=this.defaultColor=this._options.color||vI.color}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ti),x($t),x(mr,8),x(d6,8))},n.\u0275cmp=k({type:n,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(e,i){2&e&&(ln("disabled",i.disabled||null),Qt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0)("mdc-fab--extended",i.extended)("mat-mdc-extended-fab",i.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[ct],attrs:i6,ngContentSelectors:ux,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(dx),Ge(0,"span",0),Ut(1),T(2,"span",1),Ut(3,1),w(),Ut(4,2),Ge(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Qt("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),N(6),W("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[vo],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::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-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),n})(),CI=(()=>{class n extends sb{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ti),x($t),x(mr,8))},n.\u0275cmp=k({type:n,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(ln("disabled",i.disabled||null),Qt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ct],attrs:bI,ngContentSelectors:r6,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(),Ge(0,"span",0),Ut(1),Ge(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&(N(3),W("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[vo],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',_I],encapsulation:2,changeDetection:0}),n})(),u6=(()=>{class n extends l6{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ti),x($t),x(mr,8))},n.\u0275cmp=k({type:n,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(e,i){2&e&&(ln("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString()),Qt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[ct],attrs:bI,ngContentSelectors:ux,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(dx),Ge(0,"span",0),Ut(1),T(2,"span",1),Ut(3,1),w(),Ut(4,2),Ge(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Qt("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),N(6),W("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[vo],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',_I],encapsulation:2,changeDetection:0}),n})(),xI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn,Pd,Wn]}),n})();class wI{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ee,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let e of this._selection)if(this.compareWith(t,e))return e;return t}return t}}const h6=["button"],f6=["*"],DI=new xe("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),MI=new xe("MatButtonToggleGroup"),m6={provide:eo,useExisting:fn(()=>kI),multi:!0};let EI=0;class TI{constructor(t,e){this.source=t,this.value=e}}let kI=(()=>{class n{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=St(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(i=>i.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=St(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this._markButtonsForCheck()}constructor(e,i){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+EI++,this.valueChange=new rt,this.change=new rt,this.appearance=i&&i.appearance?i.appearance:"standard"}ngOnInit(){this._selectionModel=new wI(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const i=new TI(e,this.value);this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,o=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):o=!0,o?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>null!=e.value&&i===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(i=>this._selectValue(i))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const i=this._buttonToggles.find(r=>null!=r.value&&r.value===e);i&&(i.checked=!0,this._selectionModel.select(i))}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(x(ci),x(DI,8))},n.\u0275dir=y({type:n,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,i,r){if(1&e&&Hn(r,SI,5),2&e){let o;Mt(o=Et())&&(i._buttonToggles=o)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,i){2&e&&(ln("aria-disabled",i.disabled),Qt("mat-button-toggle-vertical",i.vertical)("mat-button-toggle-group-appearance-standard","standard"===i.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Gt([m6,{provide:MI,useExisting:n}])]}),n})();const p6=Jl(class{});let SI=(()=>{class n extends p6{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const i=St(e);i!==this._checked&&(this._checked=i,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=St(e)}constructor(e,i,r,o,a,c){super(),this._changeDetectorRef=i,this._elementRef=r,this._focusMonitor=o,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new rt;const d=Number(a);this.tabIndex=d||0===d?d:null,this.buttonToggleGroup=e,this.appearance=c&&c.appearance?c.appearance:"standard"}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+EI++,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new TI(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return n.\u0275fac=function(e){return new(e||n)(x(MI,8),x(ci),x(E),x(Ql),As("tabindex"),x(DI,8))},n.\u0275cmp=k({type:n,selectors:[["mat-button-toggle"]],viewQuery:function(e,i){if(1&e&&Vn(h6,5),2&e){let r;Mt(r=Et())&&(i._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,i){1&e&&we("focus",function(){return i.focus()}),2&e&&(ln("aria-label",null)("aria-labelledby",null)("id",i.id)("name",null),Qt("mat-button-toggle-standalone",!i.buttonToggleGroup)("mat-button-toggle-checked",i.checked)("mat-button-toggle-disabled",i.disabled)("mat-button-toggle-appearance-standard","standard"===i.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[ct],ngContentSelectors:f6,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,i){if(1&e&&(bi(),T(0,"button",0,1),we("click",function(){return i._onButtonClick()}),T(2,"span",2),Ut(3),w()(),Ge(4,"span",3)(5,"span",4)),2&e){const r=Yo(1);W("id",i.buttonId)("disabled",i.disabled||null),ln("tabindex",i.disabled?-1:i.tabIndex)("aria-pressed",i.checked)("name",i._getButtonName())("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby),N(5),W("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)}},dependencies:[vo],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),n})(),g6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn,Pd,Wn]}),n})();const _6=["*"],v6=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],C6=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],x6=new xe("MAT_CARD_CONFIG");let Im=(()=>{class n{constructor(e){this.appearance=e?.appearance||"raised"}}return n.\u0275fac=function(e){return new(e||n)(x(x6,8))},n.\u0275cmp=k({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(e,i){2&e&&Qt("mat-mdc-card-outlined","outlined"===i.appearance)("mdc-card--outlined","outlined"===i.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:_6,decls:1,vars:0,template:function(e,i){1&e&&(bi(),Ut(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),n})(),Am=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),n})(),Fm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),n})(),Om=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),n})(),Rm=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(e,i){2&e&&Qt("mat-mdc-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),Pm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:C6,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(e,i){1&e&&(bi(v6),Ut(0),T(1,"div",0),Ut(2,1),w(),Ut(3,2))},encapsulation:2,changeDetection:0}),n})(),A6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn,ha,Wn]}),n})();const F6=["input"],O6=["label"],R6=["*"],P6=new xe("mat-checkbox-default-options",{providedIn:"root",factory:II});function II(){return{color:"accent",clickAction:"check-indeterminate"}}const L6={provide:eo,useExisting:fn(()=>Dh),multi:!0};class N6{}let B6=0;const AI=II(),V6=xm(wh(Jl(Rd(class{constructor(n){this._elementRef=n}}))));let H6=(()=>{class n extends V6{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=St(e)}constructor(e,i,r,o,a,c,d){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=c,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new rt,this.indeterminateChange=new rt,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||AI,this.color=this.defaultColor=this._options.color||AI.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++B6}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=St(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=St(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=St(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){Gu()},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&(Vn(F6,5),Vn(O6,5),Vn(vo,5)),2&e){let r;Mt(r=Et())&&(i._inputElement=r.first),Mt(r=Et())&&(i._labelElement=r.first),Mt(r=Et())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[ct]}),n})(),Dh=(()=>{class n extends H6{constructor(e,i,r,o,a,c){super("mat-mdc-checkbox-",e,i,r,o,a,c),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new N6;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x($t),As("tabindex"),x(mr,8),x(P6,8))},n.\u0275cmp=k({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(Rs("id",i.id),ln("tabindex",null)("aria-label",null)("aria-labelledby",null),Qt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Gt([L6]),ct],ngContentSelectors:R6,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(e,i){if(1&e&&(bi(),T(0,"div",0),we("click",function(o){return i._preventBubblingFromLabel(o)}),T(1,"div",1,2)(3,"div",3),we("click",function(){return i._onTouchTargetClick()}),w(),T(4,"input",4,5),we("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(o){return i._onInteractionEvent(o)}),w(),Ge(6,"div",6),T(7,"div",7),ac(),T(8,"svg",8),Ge(9,"path",9),w(),ou(),Ge(10,"div",10),w(),Ge(11,"div",11),w(),T(12,"label",12,13),Ut(14),w()()),2&e){const r=Yo(2);Qt("mdc-form-field--align-end","before"==i.labelPosition),N(4),Qt("mdc-checkbox--selected",i.checked),W("checked",i.checked)("disabled",i.disabled)("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex),ln("aria-checked",i._getAriaChecked())("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("name",i.name)("value",i.value),N(7),W("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),N(1),W("for",i.inputId)}},dependencies:[vo],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),FI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({}),n})(),j6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn,Pd,FI,Wn,FI]}),n})();function U6(n,t){1&n&&(T(0,"span",8),Ut(1,1),w())}function W6(n,t){1&n&&(T(0,"span",9),Ut(1,2),w())}const OI=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],RI=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Z6(n,t){if(1&n&&(Zo(0),Ge(1,"span",9)(2,"span",10),qo()),2&n){const e=Fe();N(1),W("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e._isRippleCentered)("matRippleTrigger",e._elementRef.nativeElement)}}function q6(n,t){1&n&&(T(0,"span",11),Ut(1),w())}function K6(n,t){1&n&&(Zo(0),Ut(1,1),qo())}function X6(n,t){1&n&&Ut(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function Q6(n,t){1&n&&Ge(0,"span",14)}function J6(n,t){if(1&n&&(Zo(0),ve(1,X6,1,0,"ng-content",12),ve(2,Q6,1,0,"ng-template",null,13,Lg),qo()),2&n){const e=Yo(3),i=Fe();N(1),W("ngIf",i.contentEditInput)("ngIfElse",e)}}function ez(n,t){1&n&&(T(0,"span",15),Ut(1,3),w())}const tz=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],nz=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],hx=["*"],cb=new xe("mat-chips-default-options"),fx=new xe("MatChipAvatar"),mx=new xe("MatChipTrailingIcon"),px=new xe("MatChipRemove"),lb=new xe("MatChip");class iz{}const rz=xm(iz,-1);let Mh=(()=>{class n extends rz{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=St(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,i){super(),this._elementRef=e,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(lb))},n.\u0275dir=y({type:n,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,i){1&e&&we("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(ln("tabindex",i._getTabindex())("disabled",i._getDisabledAttribute())("aria-disabled",i.disabled),Qt("mdc-evolution-chip__action--primary",i._isPrimary)("mdc-evolution-chip__action--presentational",!i.isInteractive)("mdc-evolution-chip__action--trailing",!i._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[ct]}),n})(),NI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[Gt([{provide:fx,useExisting:n}])]}),n})(),BI=(()=>{class n extends Mh{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=si(n)))(i||n)}}(),n.\u0275dir=y({type:n,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,i){2&e&&ln("aria-hidden",null)},features:[Gt([{provide:px,useExisting:n}]),ct]}),n})(),sz=0;const az=xm(wh(Jl(Rd(class{constructor(n){this._elementRef=n}})),"primary"),-1);let Bd=(()=>{class n extends az{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=St(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=St(e)}constructor(e,i,r,o,a,c,d,h){super(i),this._changeDetectorRef=e,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=d,this._isRippleCentered=!1,this._onFocus=new Ee,this._onBlur=new Ee,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+sz++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new rt,this.destroyed=new rt,this.basicChipAttrName="mat-basic-chip";const p=i.nativeElement;this._document=a,this._animationsDisabled="NoopAnimations"===c,this._isBasicChip=p.hasAttribute(this.basicChipAttrName)||p.tagName.toLowerCase()===this.basicChipAttrName,null!=h&&(this.tabIndex=parseInt(h)??this.defaultTabIndex),this._monitorFocus()}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=oi(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{const r=i._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=null!==e;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(Pr(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return n.\u0275fac=function(e){return new(e||n)(x(ci),x(E),x($t),x(Ql),x(sn),x(mr,8),x(tx,8),As("tabindex"))},n.\u0275cmp=k({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,i,r){if(1&e&&(Hn(r,fx,5),Hn(r,mx,5),Hn(r,px,5),Hn(r,fx,5),Hn(r,mx,5),Hn(r,px,5)),2&e){let o;Mt(o=Et())&&(i.leadingIcon=o.first),Mt(o=Et())&&(i.trailingIcon=o.first),Mt(o=Et())&&(i.removeIcon=o.first),Mt(o=Et())&&(i._allLeadingIcons=o),Mt(o=Et())&&(i._allTrailingIcons=o),Mt(o=Et())&&(i._allRemoveIcons=o)}},viewQuery:function(e,i){if(1&e&&(Vn(vo,5),Vn(Mh,5)),2&e){let r;Mt(r=Et())&&(i.ripple=r.first),Mt(r=Et())&&(i.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,i){1&e&&we("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Rs("id",i.id),ln("role",i.role)("tabindex",i.role?i.tabIndex:null)("aria-label",i.ariaLabel),Qt("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-basic-chip",i._isBasicChip)("mat-mdc-standard-chip",!i._isBasicChip)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon())("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Gt([{provide:lb,useExisting:n}]),ct],ngContentSelectors:RI,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(bi(OI),Ge(0,"span",0)(1,"span",1),T(2,"span",2)(3,"span",3),ve(4,U6,2,0,"span",4),T(5,"span",5),Ut(6),Ge(7,"span",6),w()()(),ve(8,W6,2,0,"span",7)),2&e&&(W("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i._isRippleCentered)("matRippleTrigger",i._elementRef.nativeElement),N(3),W("isInteractive",!1),N(1),W("ngIf",i.leadingIcon),N(4),W("ngIf",i._hasTrailingIcon()))},dependencies:[Hi,vo,Mh],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),db=(()=>{class n{constructor(e,i){this._elementRef=e,this._document=i}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const i=window.getSelection();i.removeAllRanges(),i.addRange(e)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(sn))},n.\u0275dir=y({type:n,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),n})(),gx=(()=>{class n extends Bd{constructor(e,i,r,o,a,c,d,h){super(e,i,r,o,a,c,d,h),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new rt,this._isEditing=!1,this.role="row",this._onBlur.pipe(vn(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(e){this._isEditing||(this.disabled||this.focus(),e.preventDefault())}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_doubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const i=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(i),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return n.\u0275fac=function(e){return new(e||n)(x(ci),x(E),x($t),x(Ql),x(sn),x(mr,8),x(tx,8),As("tabindex"))},n.\u0275cmp=k({type:n,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(e,i,r){if(1&e&&Hn(r,db,5),2&e){let o;Mt(o=Et())&&(i.contentEditInput=o.first)}},viewQuery:function(e,i){if(1&e&&Vn(db,5),2&e){let r;Mt(r=Et())&&(i.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(e,i){1&e&&we("mousedown",function(o){return i._mousedown(o)})("dblclick",function(o){return i._doubleclick(o)}),2&e&&(Rs("id",i.id),ln("tabindex",null)("aria-label",null)("aria-description",null)("role",i.role),Qt("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-chip-editing",i._isEditing)("mat-mdc-chip-editable",i.editable)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Gt([{provide:Bd,useExisting:n},{provide:lb,useExisting:n}]),ct],ngContentSelectors:nz,decls:11,vars:13,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(bi(tz),ve(0,Z6,3,3,"ng-container",0),T(1,"span",1)(2,"span",2),ve(3,q6,2,0,"span",3),T(4,"span",4),ve(5,K6,2,0,"ng-container",5),ve(6,J6,4,2,"ng-container",5),Ge(7,"span",6),w()()(),ve(8,ez,2,0,"span",7),T(9,"span",8),H(10),w()),2&e&&(W("ngIf",!i._isEditing),N(2),W("tabIndex",i.tabIndex)("disabled",i.disabled),ln("role",i.editable?"button":null)("aria-label",i.ariaLabel)("aria-describedby",i._ariaDescriptionId),N(1),W("ngIf",i.leadingIcon),N(1),W("ngSwitch",i._isEditing),N(1),W("ngSwitchCase",!1),N(1),W("ngSwitchCase",!0),N(2),W("ngIf",i._hasTrailingIcon()),N(1),W("id",i._ariaDescriptionId),N(1),Tn(i.ariaDescription))},dependencies:[Hi,uh,e_,vo,Mh,db],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();class cz{constructor(t){}}const lz=xm(cz);let ub=(()=>{class n extends lz{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,i,r){super(e),this._elementRef=e,this._changeDetectorRef=i,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new Ee,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new Ul}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(Or(null),Dc(()=>oi(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList&&i.classList.contains("mdc-evolution-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Or(this._chips)).subscribe(e=>{const i=[];e.forEach(r=>r._getActions().forEach(o=>i.push(o))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new $C(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(vn(this._destroyed)).subscribe(({chip:e})=>{const i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(vn(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Or(null),vn(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(vn(this._destroyed)).subscribe(e=>{const r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x(Rr,8))},n.\u0275cmp=k({type:n,selectors:[["mat-chip-set"]],contentQueries:function(e,i,r){if(1&e&&Hn(r,Bd,5),2&e){let o;Mt(o=Et())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,i){1&e&&we("keydown",function(o){return i._handleKeydown(o)}),2&e&&ln("role",i.role)},inputs:{disabled:"disabled",role:"role"},features:[ct],ngContentSelectors:hx,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(bi(),T(0,"div",0),Ut(1),w())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})();class hz{constructor(t,e){this.source=t,this.value=e}}class fz extends ub{constructor(t,e,i,r,o,a,c){super(t,e,i),this._defaultErrorStateMatcher=r,this._parentForm=o,this._parentFormGroup=a,this.ngControl=c,this.stateChanges=new Ee}}const mz=ex(fz);let zI=(()=>{class n extends mz{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=St(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(li.required)??!1}set required(e){this._required=St(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}constructor(e,i,r,o,a,c,d){super(e,i,r,c,o,a,d),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new rt,this.valueChange=new rt,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(vn(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),oi(this.chipFocusChanges,this._chips.changes).pipe(vn(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&Bs(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(i=>i.value):[];this._value=e,this.change.emit(new hz(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x(Rr,8),x(mh,8),x(ps,8),x(eb),x(ja,10))},n.\u0275cmp=k({type:n,selectors:[["mat-chip-grid"]],contentQueries:function(e,i,r){if(1&e&&Hn(r,gx,5),2&e){let o;Mt(o=Et())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(e,i){1&e&&we("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&e&&(Rs("tabIndex",i._chips&&0===i._chips.length?-1:i.tabIndex),ln("role",i.role)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState),Qt("mat-mdc-chip-list-disabled",i.disabled)("mat-mdc-chip-list-invalid",i.errorState)("mat-mdc-chip-list-required",i.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Gt([{provide:rb,useExisting:n}]),ct],ngContentSelectors:hx,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(bi(),T(0,"div",0),Ut(1),w())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})(),pz=0,$I=(()=>{class n{set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=St(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=St(e)}get empty(){return!this.inputElement.value}constructor(e,i,r){this._elementRef=e,this._defaultOptions=i,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new rt,this.placeholder="",this.id="mat-mdc-chip-list-input-"+pz++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Bs(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(cb),x(Sm,8))},n.\u0275dir=y({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(e,i){1&e&&we("keydown",function(o){return i._keydown(o)})("keyup",function(o){return i._keyup(o)})("blur",function(){return i._blur()})("focus",function(){return i._focus()})("input",function(){return i._onInput()}),2&e&&(Rs("id",i.id),ln("disabled",i.disabled||null)("placeholder",i.placeholder||null)("aria-invalid",i._chipGrid&&i._chipGrid.ngControl?i._chipGrid.ngControl.invalid:null)("aria-required",i._chipGrid&&i._chipGrid.required||null)("required",i._chipGrid&&i._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[jr]}),n})(),gz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[eb,{provide:cb,useValue:{separatorKeyCodes:[13]}}],imports:[Wn,ha,Pd,Wn]}),n})();function _x(n){return qe((t,e)=>{let o,i=null,r=!1;i=t.subscribe(It(e,void 0,void 0,a=>{o=vi(n(a,_x(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}const yz=["*"];let hb;function Lm(n){return function vz(){if(void 0===hb&&(hb=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(hb=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return hb}()?.createHTML(n)||n}function jI(n){return Error(`Unable to find icon with the name "${n}"`)}function UI(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function WI(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Vd{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let Nm=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Vd(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const a=this._sanitizer.sanitize(Zn.HTML,r);if(!a)throw WI(r);const c=Lm(a);return this._addSvgIconConfig(e,i,new Vd("",c,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Vd(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(Zn.HTML,i);if(!o)throw WI(i);const a=Lm(o);return this._addSvgIconSetConfig(e,new Vd("",a,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(Zn.RESOURCE_URL,e);if(!i)throw UI(e);const r=this._cachedIconsByUrl.get(i);return r?gs(fb(r)):this._loadSvgIconFromConfig(new Vd(e,null)).pipe(yh(o=>this._cachedIconsByUrl.set(i,o)),Pn(o=>fb(o)))}getNamedSvgIcon(e,i=""){const r=GI(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):function _z(n,t){const e=q(n)?n:()=>n,i=r=>r.error(e());return new be(t?r=>t.schedule(i,0,r):i)}(jI(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?gs(fb(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Pn(i=>fb(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?gs(r):ET(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(_x(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(Zn.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),gs(null)})))).pipe(Pn(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw jI(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),c=this._extractSvgIconFromSet(a,e,o.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(yh(i=>e.svgText=i),Pn(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?gs(null):this._fetchIcon(e).pipe(yh(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,r);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),r);const c=this._svgElementFromString(Lm(""));return c.appendChild(a),this._setSvgAttributes(c,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(Lm("")),r=e.attributes;for(let o=0;oLm(h)),function bz(n){return qe((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}(()=>this._inProgressUrlFetches.delete(a)),Ys());return this._inProgressUrlFetches.set(a,d),d}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(GI(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),YI=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],kz=YI.map(n=>`[${n}]`).join(", "),Sz=/^url\(['"]?#(.*?)['"]?\)$/;let ol=(()=>{class n extends Dz{get inline(){return this._inline}set inline(e){this._inline=St(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,o,a,c){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ne.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(kz),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const c=i[o],d=c.getAttribute(a),h=d?d.match(Sz):null;if(h){let p=r.get(c);p||(p=[],r.set(c,p)),p.push({name:a,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Pr(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Nm),As("aria-hidden"),x(Ez),x(Xe),x(Mz,8))},n.\u0275cmp=k({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(ln("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Qt("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[ct],ngContentSelectors:yz,decls:1,vars:0,template:function(e,i){1&e&&(bi(),Ut(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),Iz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn,Wn]}),n})();const ZI=Ga({passive:!0});let Az=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Yn;const i=Wi(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new Ee,a="cdk-text-field-autofilled",c=d=>{"cdk-text-field-autofill-start"!==d.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===d.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:d.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>o.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",c,ZI),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",c,ZI)}}),o}stopMonitoring(e){const i=Wi(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(te(Ti),te($t))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({}),n})();const Oz=new xe("MAT_INPUT_VALUE_ACCESSOR"),Rz=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Pz=0;const Lz=ex(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new Ee}});let Mc=(()=>{class n extends Lz{get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(li.required)??!1}set required(e){this._required=St(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Uk().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=St(e)}constructor(e,i,r,o,a,c,d,h,p,_){super(c,o,a,r),this._elementRef=e,this._platform=i,this._autofillMonitor=h,this._formField=_,this._uid="mat-input-"+Pz++,this.focused=!1,this.stateChanges=new Ee,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(R=>Uk().has(R)),this._iOSKeyupListener=R=>{const $=R.target;!$.value&&0===$.selectionStart&&0===$.selectionEnd&&($.setSelectionRange(1,1),$.setSelectionRange(0,0))};const D=this._elementRef.nativeElement,S=D.nodeName.toLowerCase();this._inputValueAccessor=d||D,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===S,this._isTextarea="textarea"===S,this._isInFormField=!!_,this._isNativeSelect&&(this.controlType=D.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Rz.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ti),x(ja,10),x(mh,8),x(ps,8),x(eb),x(Oz,10),x(Az),x($t),x(Sm,8))},n.\u0275dir=y({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,i){1&e&&we("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Rs("id",i.id)("disabled",i.disabled)("required",i.required),ln("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),Qt("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Gt([{provide:rb,useExisting:n}]),ct,jr]}),n})(),Nz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn,ob,ob,Fz,Wn]}),n})();const Bz=["mat-menu-item",""];function Vz(n,t){1&n&&(ac(),T(0,"svg",3),Ge(1,"polygon",4),w())}const Hz=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],zz=["mat-icon, [matMenuItemIcon]","*"];function $z(n,t){if(1&n){const e=Bn();T(0,"div",0),we("keydown",function(r){return Xt(e),mn(Fe()._handleKeydown(r))})("click",function(){return Xt(e),mn(Fe().closed.emit("click"))})("@transformMenu.start",function(r){return Xt(e),mn(Fe()._onAnimationStart(r))})("@transformMenu.done",function(r){return Xt(e),mn(Fe()._onAnimationDone(r))}),T(1,"div",1),Ut(2),w()()}if(2&n){const e=Fe();W("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),ln("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const jz=["*"],bx=new xe("MAT_MENU_PANEL"),Uz=Jl(Rd(class{}));let mb=(()=>{class n extends Uz{constructor(e,i,r,o,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new Ee,this._focused=new Ee,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",bo("120ms cubic-bezier(0, 0, 0.2, 1)",Ei({opacity:1,transform:"scale(1)"}))),yo("* => void",bo("100ms 25ms linear",Ei({opacity:0})))]),fadeInItems:Jc("fadeInItems",[fa("showing",Ei({opacity:1})),yo("void => *",[Ei({opacity:0}),bo("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Gz=0;const qI=new xe("mat-menu-default-options",{providedIn:"root",factory:function Yz(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Bm=(()=>{class n{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=St(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=St(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Ul,this._classList={},this._panelAnimationState="void",this._animationDone=new Ee,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new rt,this.close=this.closed,this.panelId="mat-menu-panel-"+Gz++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new $C(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Or(this._directDescendantItems),Dc(e=>oi(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Or(this._directDescendantItems),Dc(i=>oi(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:Bs(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Pr(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===i,r["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Or(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(x(E),x($t),x(qI),x(ci))},n.\u0275dir=y({type:n,contentQueries:function(e,i,r){if(1&e&&(Hn(r,Wz,5),Hn(r,mb,5),Hn(r,mb,4)),2&e){let o;Mt(o=Et())&&(i.lazyContent=o.first),Mt(o=Et())&&(i._allItems=o),Mt(o=Et())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&Vn(hr,5),2&e){let r;Mt(r=Et())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Zz=(()=>{class n extends Bm{constructor(e,i,r,o){super(e,i,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return n.\u0275fac=function(e){return new(e||n)(x(E),x($t),x(qI),x(ci))},n.\u0275cmp=k({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&ln("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Gt([{provide:bx,useExisting:n}]),ct],ngContentSelectors:jz,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,i){1&e&&(bi(),ve(0,$z,3,6,"ng-template"))},dependencies:[dh],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[pb.transformMenu,pb.fadeInItems]},changeDetection:0}),n})();const KI=new xe("mat-menu-scroll-strategy"),Kz={provide:KI,deps:[_a],useFactory:function qz(n){return()=>n.scrollStrategies.reposition()}},XI=Ga({passive:!0});let Xz=(()=>{class n{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,r,o,a,c,d,h,p){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=c,this._dir=d,this._focusMonitor=h,this._ngZone=p,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=ne.EMPTY,this._hoverSubscription=ne.EMPTY,this._menuCloseSubscription=ne.EMPTY,this._changeDetectorRef=_i(ci),this._handleTouchStart=_=>{Z_(_)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new rt,this.onMenuOpen=this.menuOpened,this.menuClosed=new rt,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof Bm?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,XI)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,XI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Bm&&(e._startAnimation(),e._directDescendantItems.changes.pipe(vn(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Bm?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(_s(r=>"void"===r.toState),Pr(1),vn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,r=e.parentMenu;for(;r;)i++,r=r.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Tm({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{const o="start"===r.connectionPair.overlayX?"after":"before",a="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,i){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,c]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[d,h]=[a,c],[p,_]=[r,o],D=0;if(this.triggersSubmenu()){if(_=r="before"===e.xPosition?"start":"end",o=p="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const S=this._parentMaterialMenu.items.first;this._parentInnerPadding=S?S._getHostElement().offsetTop:0}D="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(d="top"===a?"bottom":"top",h="top"===c?"bottom":"top");i.withPositions([{originX:r,originY:d,overlayX:p,overlayY:a,offsetY:D},{originX:o,originY:d,overlayX:_,overlayY:a,offsetY:D},{originX:r,originY:h,overlayX:p,overlayY:c,offsetY:-D},{originX:o,originY:h,overlayX:_,overlayY:c,offsetY:-D}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return oi(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:gs(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(_s(a=>a!==this._menuItemInstance),_s(()=>this._menuOpen)):gs(),i)}_handleMousedown(e){Y_(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(_s(e=>e===this._menuItemInstance&&!e.disabled),lx(0,kC)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Bm&&this.menu._isAnimating?this.menu._animationDone.pipe(Pr(1),lx(0,kC),vn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Ld(e.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(x(_a),x(E),x(fr),x(KI),x(bx,8),x(mb,10),x(Rr,8),x(Ql),x($t))},n.\u0275dir=y({type:n,hostVars:3,hostBindings:function(e,i){1&e&&we("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&ln("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),Qz=(()=>{class n extends Xz{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=si(n)))(i||n)}}(),n.\u0275dir=y({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[ct]}),n})(),Jz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[Kz],imports:[ha,Pd,Wn,km,Fd,Wn]}),n})();const e$=["trigger"],t$=["panel"];function n$(n,t){if(1&n&&(T(0,"span",10),H(1),w()),2&n){const e=Fe();N(1),Tn(e.placeholder)}}function i$(n,t){if(1&n&&(T(0,"span",14),H(1),w()),2&n){const e=Fe(2);N(1),Tn(e.triggerValue)}}function r$(n,t){1&n&&Ut(0,0,["*ngSwitchCase","true"])}function o$(n,t){1&n&&(T(0,"span",11),ve(1,i$,2,1,"span",12),ve(2,r$,1,0,"ng-content",13),w()),2&n&&(W("ngSwitch",!!Fe().customTrigger),N(2),W("ngSwitchCase",!0))}function s$(n,t){if(1&n){const e=Bn();ac(),ou(),T(0,"div",15,16),we("@transformPanel.done",function(r){return Xt(e),mn(Fe()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return Xt(e),mn(Fe()._handleKeydown(r))}),Ut(2,1),w()}if(2&n){const e=Fe();P1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),W("ngClass",e.panelClass)("@transformPanel","showing"),ln("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const a$=[[["mat-select-trigger"]],"*"],c$=["mat-select-trigger","*"],l$={transformPanelWrap:Jc("transformPanelWrap",[yo("* => void",oB("@transformPanel",[rB()],{optional:!0}))]),transformPanel:Jc("transformPanel",[fa("void",Ei({opacity:0,transform:"scale(1, 0.8)"})),yo("void => showing",bo("120ms cubic-bezier(0, 0, 0.2, 1)",Ei({opacity:1,transform:"scale(1, 1)"}))),yo("* => void",bo("100ms linear",Ei({opacity:0})))])};let QI=0;const JI=new xe("mat-select-scroll-strategy"),u$=new xe("MAT_SELECT_CONFIG"),h$={provide:JI,deps:[_a],useFactory:function d$(n){return()=>n.scrollStrategies.reposition()}},f$=new xe("MatSelectTrigger");class m${constructor(t,e){this.source=t,this.value=e}}const p$=Jl(xm(Rd(ex(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new Ee}}))));let g$=(()=>{class n extends p${get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(li.required)??!1}set required(e){this._required=St(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=St(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=St(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=xc(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,r,o,a,c,d,h,p,_,D,S,R,$){super(a,o,d,h,_),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=c,this._parentFormField=p,this._liveAnnouncer=R,this._defaultOptions=$,this._panelOpen=!1,this._compareWith=(Q,ae)=>Q===ae,this._uid="mat-select-"+QI++,this._triggerAriaLabelledBy=null,this._destroy=new Ee,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+QI++,this._panelDoneAnimatingStream=new Ee,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=iI(()=>{const Q=this.options;return Q?Q.changes.pipe(Or(Q),Dc(()=>oi(...Q.map(ae=>ae.onSelectionChange)))):this._ngZone.onStable.pipe(Pr(1),Dc(()=>this.optionSelectionChanges))}),this.openedChange=new rt,this._openedStream=this.openedChange.pipe(_s(Q=>Q),Pn(()=>{})),this._closedStream=this.openedChange.pipe(_s(Q=>!Q),Pn(()=>{})),this.selectionChange=new rt,this.valueChange=new rt,this.ngControl&&(this.ngControl.valueAccessor=this),null!=$?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=$.typeaheadDebounceInterval),this._scrollStrategyFactory=S,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(D)||0,this.id=this.id}ngOnInit(){this._selectionModel=new wI(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(NC(),vn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(vn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Or(null),vn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&o&&!Bs(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;a.onKeydown(e);const d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(a||13!==r&&32!==r||!i.activeItem||Bs(e))if(!a&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{const c=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==c&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Pr(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new sS(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=oi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(vn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),oi(...this.options.map(i=>i._stateChanges)).pipe(vn(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(x(rl),x(ci),x($t),x(eb),x(E),x(Rr,8),x(mh,8),x(ps,8),x(Sm,8),x(ja,10),As("tabindex"),x(JI),x(jC),x(u$,8))},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&(Vn(e$,5),Vn(t$,5),Vn(nI,5)),2&e){let r;Mt(r=Et())&&(i.trigger=r.first),Mt(r=Et())&&(i.panel=r.first),Mt(r=Et())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[ct,jr]}),n})(),eA=(()=>{class n extends g${constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(vn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const r=this.panel.nativeElement,o=US(e,this.options,this.optionGroups),a=i._getHostElement();r.scrollTop=0===e&&1===o?0:WS(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new m$(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof cx?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=St(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=si(n)))(i||n)}}(),n.\u0275cmp=k({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Hn(r,f$,5),Hn(r,Mm,5),Hn(r,ix,5)),2&e){let o;Mt(o=Et())&&(i.customTrigger=o.first),Mt(o=Et())&&(i.options=o),Mt(o=Et())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,i){1&e&&we("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(ln("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Qt("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Gt([{provide:rb,useExisting:n},{provide:nx,useExisting:n}]),ct],ngContentSelectors:c$,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(bi(a$),T(0,"div",0,1),we("click",function(){return i.toggle()}),T(3,"div",2),ve(4,n$,2,1,"span",3),ve(5,o$,3,2,"span",4),w(),T(6,"div",5)(7,"div",6),ac(),T(8,"svg",7),Ge(9,"path",8),w()()()(),ve(10,s$,3,9,"ng-template",9),we("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=Yo(1);ln("aria-owns",i.panelOpen?i.id+"-panel":null),N(3),W("ngSwitch",i.empty),ln("id",i._valueId),N(1),W("ngSwitchCase",!0),N(1),W("ngSwitchCase",!1),N(5),W("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[dh,uh,e_,iE,nI,cx],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[l$.transformPanel]},changeDetection:0}),n})(),_$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[h$],imports:[ha,km,tb,Wn,Fd,ob,tb,Wn]}),n})();function b$(n,t){if(1&n){const e=Bn();T(0,"div",2)(1,"button",3),we("click",function(){return Xt(e),mn(Fe().action())}),H(2),w()()}if(2&n){const e=Fe();N(2),Ri(" ",e.data.action," ")}}const y$=["label"];function v$(n,t){}const C$=Math.pow(2,31)-1;class gb{constructor(t,e){this._overlayRef=e,this._afterDismissed=new Ee,this._afterOpened=new Ee,this._onAction=new Ee,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,C$))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const yx=new xe("MatSnackBarData");class _b{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let x$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),n})(),w$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),n})(),D$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),n})(),M$=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(x(gb),x(yx))},n.\u0275cmp=k({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0),H(1),w(),ve(2,b$,3,1,"div",1)),2&e&&(N(1),Ri(" ",i.data.message,"\n"),N(1),W("ngIf",i.hasAction))},dependencies:[Hi,no,x$,w$,D$],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),n})();const E$={snackBarState:Jc("state",[fa("void, hidden",Ei({transform:"scale(0.8)",opacity:0})),fa("visible",Ei({transform:"scale(1)",opacity:1})),yo("* => visible",bo("150ms cubic-bezier(0, 0, 0.2, 1)")),yo("* => void, * => hidden",bo("75ms cubic-bezier(0.4, 0.0, 1, 1)",Ei({opacity:0})))])};let T$=0,k$=(()=>{class n extends ox{constructor(e,i,r,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=a,this._document=_i(sn),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new Ee,this._onExit=new Ee,this._onEnter=new Ee,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+T$++,this.attachDomPortal=c=>{this._assertNotAttached();const d=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),d},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Pr(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{const i=e.getAttribute("aria-owns");if(i){const r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return n.\u0275fac=function(e){return new(e||n)(x($t),x(E),x(ci),x(Ti),x(_b))},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&Vn(Em,7),2&e){let r;Mt(r=Et())&&(i._portalOutlet=r.first)}},features:[ct]}),n})(),S$=(()=>{class n extends k${_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=si(n)))(i||n)}}(),n.\u0275cmp=k({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,i){if(1&e&&Vn(y$,7),2&e){let r;Mt(r=Et())&&(i._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,i){1&e&&pv("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&Cv("@state",i._animationState)},features:[ct],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1,2)(3,"div",3),ve(4,v$,0,0,"ng-template",4),w(),Ge(5,"div"),w()()),2&e&&(N(5),ln("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Em],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__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-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px));height:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[E$.snackBarState]}}),n})(),tA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[km,sx,ha,xI,Wn,Wn]}),n})();const nA=new xe("mat-snack-bar-default-options",{providedIn:"root",factory:function I$(){return new _b}});let A$=(()=>{class n{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,r,o,a,c){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=c,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const o={...this._defaultConfig,...r};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Go.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:_b,useValue:i}]}),a=new nb(this.snackBarContainerComponent,i.viewContainerRef,o),c=e.attach(a);return c.instance.snackBarConfig=i,c.instance}_attach(e,i){const r={...new _b,...this._defaultConfig,...i},o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),c=new gb(a,o);if(e instanceof hr){const d=new Ld(e,null,{$implicit:r.data,snackBarRef:c});c.instance=a.attachTemplatePortal(d)}else{const d=this._createInjector(r,c),h=new nb(e,void 0,d),p=a.attachComponentPortal(h);c.instance=p.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(vn(o.detachments())).subscribe(d=>{o.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Tm;i.direction=e.direction;let r=this._overlay.position().global();const o="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,c=!a&&"center"!==e.horizontalPosition;return a?r.left("0"):c?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return Go.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:gb,useValue:i},{provide:yx,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(te(_a),te(jC),te(Go),te(VC),te(n,12),te(nA))},n.\u0275prov=nt({token:n,factory:n.\u0275fac}),n})(),F$=(()=>{class n extends A${constructor(e,i,r,o,a,c){super(e,i,r,o,a,c),this.simpleSnackBarComponent=M$,this.snackBarContainerComponent=S$,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(te(_a),te(jC),te(Go),te(VC),te(n,12),te(nA))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:tA}),n})();function O$(n,t){}const R$=function(n){return{animationDuration:n}},P$=function(n,t){return{value:n,params:t}};function L$(n,t){1&n&&Ut(0)}const iA=["*"],N$=["tabListContainer"],B$=["tabList"],V$=["tabListInner"],H$=["nextPaginator"],z$=["previousPaginator"],$$=["tabBodyWrapper"],j$=["tabHeader"];function U$(n,t){}function W$(n,t){1&n&&ve(0,U$,0,0,"ng-template",14),2&n&&W("cdkPortalOutlet",Fe().$implicit.templateLabel)}function G$(n,t){1&n&&H(0),2&n&&Tn(Fe().$implicit.textLabel)}function Y$(n,t){if(1&n){const e=Bn();T(0,"div",6,7),we("click",function(){const r=Xt(e),o=r.$implicit,a=r.index,c=Fe(),d=Yo(1);return mn(c._handleClick(o,d,a))})("cdkFocusChange",function(r){const a=Xt(e).index;return mn(Fe()._tabFocusChanged(r,a))}),Ge(2,"span",8)(3,"div",9),T(4,"span",10)(5,"span",11),ve(6,W$,1,1,"ng-template",12),ve(7,G$,1,1,"ng-template",null,13,Lg),w()()()}if(2&n){const e=t.$implicit,i=t.index,r=Yo(1),o=Yo(8),a=Fe();Qt("mdc-tab--active",a.selectedIndex===i),W("id",a._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),ln("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),N(3),W("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),N(3),W("ngIf",e.templateLabel)("ngIfElse",o)}}function Z$(n,t){if(1&n){const e=Bn();T(0,"mat-tab-body",15),we("_onCentered",function(){return Xt(e),mn(Fe()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return Xt(e),mn(Fe()._setTabBodyWrapperHeight(r))}),w()}if(2&n){const e=t.$implicit,i=t.index,r=Fe();Qt("mat-mdc-tab-body-active",r.selectedIndex===i),W("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),ln("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const q$={translateTab:Jc("translateTab",[fa("center, void, left-origin-center, right-origin-center",Ei({transform:"none"})),fa("left",Ei({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),fa("right",Ei({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),yo("* => left, * => right, left => center, right => center",bo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),yo("void => left-origin-center",[Ei({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),bo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),yo("void => right-origin-center",[Ei({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),bo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let K$=(()=>{class n extends Em{constructor(e,i,r,o){super(e,i,o),this._host=r,this._centeringSub=ne.EMPTY,this._leavingSub=ne.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Or(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(x(v),x(fr),x(fn(()=>rA)),x(sn))},n.\u0275dir=y({type:n,selectors:[["","matTabBodyHost",""]],features:[ct]}),n})(),X$=(()=>{class n{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=ne.EMPTY,this._translateTabComplete=new Ee,this._onCentering=new rt,this._beforeCentering=new rt,this._afterLeavingCenter=new rt,this._onCentered=new rt(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(NC((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Rr,8),x(ci))},n.\u0275dir=y({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),rA=(()=>{class n extends X${constructor(e,i,r){super(e,i,r)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Rr,8),x(ci))},n.\u0275cmp=k({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&Vn(Em,5),2&e){let r;Mt(r=Et())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[ct],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(T(0,"div",0,1),we("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),ve(2,O$,0,0,"ng-template",2),w()),2&e&&W("@translateTab",SD(3,P$,i._position,function kD(n,t,e,i){return ID(Te(),Xr(),n,t,e,i)}(1,R$,i.animationDuration)))},dependencies:[K$],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[q$.translateTab]}}),n})();const Q$=new xe("MatTabContent");let J$=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(x(hr))},n.\u0275dir=y({type:n,selectors:[["","matTabContent",""]],features:[Gt([{provide:Q$,useExisting:n}])]}),n})();const ej=new xe("MatTabLabel"),oA=new xe("MAT_TAB");let sA=(()=>{class n extends $8{constructor(e,i,r){super(e,i),this._closestTab=r}}return n.\u0275fac=function(e){return new(e||n)(x(hr),x(fr),x(oA,8))},n.\u0275dir=y({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Gt([{provide:ej,useExisting:n}]),ct]}),n})();const vx="mdc-tab-indicator--active",aA="mdc-tab-indicator--no-transition";class tj{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){const e=this._items.find(r=>r.elementRef.nativeElement===t),i=this._currentItem;if(i?.deactivateInkBar(),e){const r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}}function nj(n){return class extends n{constructor(...t){super(...t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){const e=St(t);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){const e=this.elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(vx);const i=e.getBoundingClientRect(),r=t.width/i.width,o=t.left-i.left;e.classList.add(aA),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${r})`),e.getBoundingClientRect(),e.classList.remove(aA),e.classList.add(vx),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(vx)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=t.createElement("span"),this._inkBarContentElement=t.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const rj=Rd(class{}),oj=nj((()=>{class n extends rj{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(x(E))},n.\u0275dir=y({type:n,features:[ct]}),n})());let cA=(()=>{class n extends oj{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=si(n)))(i||n)}}(),n.\u0275dir=y({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(ln("aria-disabled",!!i.disabled),Qt("mat-mdc-tab-disabled",i.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[ct]}),n})();const sj=Rd(class{}),lA=new xe("MAT_TAB_GROUP");let aj=(()=>{class n extends sj{get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new Ee,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Ld(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(x(fr),x(lA,8))},n.\u0275dir=y({type:n,viewQuery:function(e,i){if(1&e&&Vn(hr,7),2&e){let r;Mt(r=Et())&&(i._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[ct,jr]}),n})(),dA=(()=>{class n extends aj{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=si(n)))(i||n)}}(),n.\u0275cmp=k({type:n,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(Hn(r,J$,7,hr),Hn(r,sA,5)),2&e){let o;Mt(o=Et())&&(i._explicitContent=o.first),Mt(o=Et())&&(i.templateLabel=o.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Gt([{provide:oA,useExisting:n}]),ct],ngContentSelectors:iA,decls:1,vars:0,template:function(e,i){1&e&&(bi(),ve(0,L$,1,0,"ng-template"))},encapsulation:2}),n})();const uA=Ga({passive:!0});let dj=(()=>{class n{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=St(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=xc(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,r,o,a,c,d){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ee,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ee,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new rt,this.indexFocused=new rt,a.runOutsideAngular(()=>{wc(e.nativeElement,"mouseleave").pipe(vn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){wc(this._previousPaginator.nativeElement,"touchstart",uA).pipe(vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),wc(this._nextPaginator.nativeElement,"touchstart",uA).pipe(vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:gs("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new $C(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Pr(1)).subscribe(r),oi(e,i,this._items.changes,this._itemsResized()).pipe(vn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?Yn:this._items.changes.pipe(Or(this._items),Dc(e=>new be(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),LC(1),_s(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Bs(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement;let c,d;"ltr"==this._getLayoutDirection()?(c=o,d=c+a):(d=this._tabListInner.nativeElement.offsetWidth-o,c=d-a);const h=this.scrollDistance,p=this.scrollDistance+r;cp&&(this.scrollDistance+=d-p+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),V_(650,100).pipe(vn(oi(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(0===o||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x(rl),x(Rr,8),x($t),x(Ti),x(mr,8))},n.\u0275dir=y({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),uj=(()=>{class n extends dj{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=St(e)}constructor(e,i,r,o,a,c,d){super(e,i,r,o,a,c,d),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x(rl),x(Rr,8),x($t),x(Ti),x(mr,8))},n.\u0275dir=y({type:n,inputs:{disableRipple:"disableRipple"},features:[ct]}),n})(),hj=(()=>{class n extends uj{constructor(e,i,r,o,a,c,d){super(e,i,r,o,a,c,d)}ngAfterContentInit(){this._inkBar=new tj(this._items),super.ngAfterContentInit()}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x(rl),x(Rr,8),x($t),x(Ti),x(mr,8))},n.\u0275cmp=k({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&Hn(r,cA,4),2&e){let o;Mt(o=Et())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(Vn(N$,7),Vn(B$,7),Vn(V$,7),Vn(H$,5),Vn(z$,5)),2&e){let r;Mt(r=Et())&&(i._tabListContainer=r.first),Mt(r=Et())&&(i._tabList=r.first),Mt(r=Et())&&(i._tabListInner=r.first),Mt(r=Et())&&(i._nextPaginator=r.first),Mt(r=Et())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&Qt("mat-mdc-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ct],ngContentSelectors:iA,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(bi(),T(0,"button",0,1),we("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),Ge(2,"div",2),w(),T(3,"div",3,4),we("keydown",function(o){return i._handleKeydown(o)}),T(5,"div",5,6),we("cdkObserveContent",function(){return i._onContentChanges()}),T(7,"div",7,8),Ut(9),w()()(),T(10,"button",9,10),we("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),Ge(12,"div",2),w()),2&e&&(Qt("mat-mdc-tab-header-pagination-disabled",i._disableScrollBefore),W("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),N(3),Qt("_mat-animation-noopable","NoopAnimations"===i._animationMode),N(7),Qt("mat-mdc-tab-header-pagination-disabled",i._disableScrollAfter),W("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[vo,Qk],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),n})();const fA=new xe("MAT_TABS_CONFIG");let fj=0;const mj=wh(Jl(class{constructor(n){this._elementRef=n}}),"primary");let pj=(()=>{class n extends mj{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=St(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=xc(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=xc(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=St(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=St(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,r,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new Ul,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=ne.EMPTY,this._tabLabelSubscription=ne.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new rt,this.focusChange=new rt,this.animationDone=new rt,this.selectedTabChange=new rt(!0),this._groupId=fj++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Or(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new _j;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=oi(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x(fA,8),x(mr,8))},n.\u0275dir=y({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[ct]}),n})(),gj=(()=>{class n extends pj{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=St(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=St(e)}constructor(e,i,r,o){super(e,i,r,o),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(ci),x(fA,8),x(mr,8))},n.\u0275cmp=k({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&Hn(r,dA,5),2&e){let o;Mt(o=Et())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(Vn($$,5),Vn(j$,5)),2&e){let r;Mt(r=Et())&&(i._tabBodyWrapper=r.first),Mt(r=Et())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,i){2&e&&Qt("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===i.headerPosition)("mat-mdc-tab-group-stretch-tabs",i.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[Gt([{provide:lA,useExisting:n}]),ct],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(T(0,"mat-tab-header",0,1),we("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),ve(2,Y$,9,17,"div",2),w(),T(3,"div",3,4),ve(5,Z$,1,11,"mat-tab-body",5),w()),2&e&&(W("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),N(2),W("ngForOf",i._tabs),N(1),Qt("_mat-animation-noopable","NoopAnimations"===i._animationMode),N(2),W("ngForOf",i._tabs))},dependencies:[dh,yc,Hi,Em,vo,o8,rA,cA,hj],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),n})();class _j{}let bj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[ha,Wn,sx,Pd,BC,hS,Wn]}),n})();const yj=["*",[["mat-toolbar-row"]]],vj=["*","mat-toolbar-row"],Cj=wh(class{constructor(n){this._elementRef=n}});let xj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=y({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),wj=(()=>{class n extends Cj{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(x(E),x(Ti),x(sn))},n.\u0275cmp=k({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&Hn(r,xj,5),2&e){let o;Mt(o=Et())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&Qt("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[ct],ngContentSelectors:vj,decls:2,vars:0,template:function(e,i){1&e&&(bi(yj),Ut(0),Ut(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),n})(),Dj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({imports:[Wn,Wn]}),n})();const Mj=["tooltip"],mA=new xe("mat-tooltip-scroll-strategy"),kj={provide:mA,deps:[_a],useFactory:function Tj(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},Ij=new xe("mat-tooltip-default-options",{providedIn:"root",factory:function Sj(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),pA="tooltip-panel",gA=Ga({passive:!0});let Lj=(()=>{class n{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=St(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=St(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=xc(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=xc(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,r,o,a,c,d,h,p,_,D,S){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=c,this._ariaDescriber=d,this._focusMonitor=h,this._dir=_,this._defaultOptions=D,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ee,this._scrollStrategy=p,this._document=S,D&&(D.position&&(this.position=D.position),D.positionAtOrigin&&(this.positionAtOrigin=D.positionAtOrigin),D.touchGestures&&(this.touchGestures=D.touchGestures)),_.change.pipe(vn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(vn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,gA)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new nb(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(vn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof E)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(vn(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${pA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(vn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(vn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(vn(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Bs(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Pr(1),vn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",a!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${pA}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,gA)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Gu()},n.\u0275dir=y({type:n,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),td=(()=>{class n extends Lj{constructor(e,i,r,o,a,c,d,h,p,_,D,S){super(e,i,r,o,a,c,d,h,p,_,D,S),this._tooltipComponent=Bj,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return n.\u0275fac=function(e){return new(e||n)(x(_a),x(E),x(_h),x(fr),x($t),x(Ti),x(W4),x(Ql),x(mA),x(Rr,8),x(Ij,8),x(sn))},n.\u0275dir=y({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[ct]}),n})(),Nj=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ee,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(x(ci),x(mr,8))},n.\u0275dir=y({type:n}),n})(),Bj=(()=>{class n extends Nj{constructor(e,i,r){super(e,r),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return n.\u0275fac=function(e){return new(e||n)(x(ci),x(E),x(mr,8))},n.\u0275cmp=k({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&Vn(Mj,7),2&e){let r;Mt(r=Et())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&we("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&Of("zoom",i.isVisible()?1:null)},features:[ct],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,i){1&e&&(T(0,"div",0,1),we("animationend",function(o){return i._handleAnimationEnd(o)}),T(2,"div",2),H(3),w()()),2&e&&(Qt("mdc-tooltip--multiline",i._isMultiline),W("ngClass",i.tooltipClass),N(3),Tn(i.message))},dependencies:[dh],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),n})(),Vj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Zt({providers:[kj],imports:[hS,ha,km,Wn,Wn,Fd]}),n})();function Vm(n){return(Vm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function Za(n,t,e){return(t=function zj(n){var t=function Hj(n,t){if("object"!==Vm(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==Vm(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"===Vm(t)?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const _A=new xe("ngx-segment-analytics.config"),$j={debug:!1,loadOnInitialization:!0,segmentHost:"cdn.segment.com",segmentUri:"/analytics.js/v1/$API_KEY$/analytics.min.js",plugins:[]};class Hd{constructor(){Za(this,"analytics",void 0)}}Za(Hd,"\u0275fac",function(t){return new(t||Hd)}),Za(Hd,"\u0275prov",nt({token:Hd,factory:Hd.\u0275fac}));class zd{constructor(t,e,i){if(Za(this,"_w",void 0),Za(this,"_doc",void 0),Za(this,"_config",void 0),this._w=t,this._doc=e,this._config={...$j,...i},this._config.loadOnInitialization&&(typeof this._config.apiKey>"u"||""===this._config.apiKey))console.error("The API Key cannot be an empty string if Segment must be loaded on initialization.");else if(typeof this._w.analytics>"u"||typeof this._w.analytics.initialize>"u"||!1===this._w.analytics.initialize){if(typeof this._w.analytics<"u"&&!0===this._w.analytics.invoked)return void console.error("Segment snippet included twice.");!0===this._config.debug&&console.log("Segment initialization..."),this._w.analytics=[],this._w.analytics.invoked=!0,this._w.analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware","register"],this._w.analytics.factory=r=>(...o)=>(o.unshift(r),this._w.analytics.push(o),this._w.analytics),this._w.analytics.methods.forEach(r=>{this._w.analytics[r]=this._w.analytics.factory(r)}),this._w.analytics.load=(r,o)=>{const a=this._doc.createElement("script");a.type="text/javascript",a.async=!0,a.src="https://"+this._config.segmentHost+this._config.segmentUri.replace("$API_KEY$",r);const c=this._doc.getElementsByTagName("script")[0];c.parentNode.insertBefore(a,c),this._w.analytics._loadOptions=o},this._w.analytics._writeKey=this._config.apiKey,this._w.analytics.SNIPPET_VERSION="4.15.3",this._config.loadOnInitialization&&this.load(this._config.apiKey)}}load(t,e){this._w.analytics.load(t,e),!0===this._config.debug&&console.log("Segment initialized"),this.debug(this._config.debug)}identify(t,e,i){return new Promise(r=>{this._w.analytics.identify(t,e,i,o=>r(this))})}track(t,e,i){return new Promise(r=>{this._w.analytics.track(t,e,i,o=>r(this))})}page(t,e,i,r){return new Promise(o=>{this._w.analytics.page(t,e,i,r,a=>o(this))})}group(t,e){return new Promise(i=>{this._w.analytics.group(t,e,r=>i(this))})}alias(t,e,i){return new Promise(r=>{this._w.analytics.alias(t,e,i,o=>r(this))})}ready(){return new Promise(t=>{this._w.analytics.ready(e=>t(this))})}user(){return this._w.analytics.user()}id(){return this._w.analytics.id()}setAnonymousId(t){this._w.analytics.setAnonymousId(t)}traits(){return this._w.analytics.user().traits()}reset(){this._w.analytics.reset()}debug(t){this._w.analytics.debug(t)}on(t,e){this._w.analytics.on(t,e)}trackLink(t,e,i){this._w.analytics.trackLink(t,e,i)}trackForm(t,e,i){this._w.analytics.trackForm(t,e,i)}timeout(t){this._w.analytics.timeout(t)}addSourceMiddleware(t){this._w.analytics.addSourceMiddleware(t)}addDestinationMiddleware(t,e){this._w.analytics.addDestinationMiddleware(t,e)}register(...t){return this._w.analytics.register(...t)}get plugins(){return this._w.analytics.plugins}}Za(zd,"\u0275fac",function(t){return new(t||zd)(te(Hd),te(sn),te(_A))}),Za(zd,"\u0275prov",nt({token:zd,factory:zd.\u0275fac,providedIn:"root"}));class sl{static forRoot(t){return{ngModule:sl,providers:[{provide:_A,useValue:t},zd]}}constructor(t){if(t)throw new Error("SegmentModule is already loaded. Import it in the AppModule only")}}Za(sl,"\u0275fac",function(t){return new(t||sl)(te(sl,12))}),Za(sl,"\u0275mod",Re({type:sl})),Za(sl,"\u0275inj",Zt({providers:[{provide:Hd,useFactory:function jj(n){return lE(n)?window:{}},deps:[jf]}],imports:[ha]}));var Lr=O(5861);let Uj=(()=>{class n{constructor(e,i){this.snackbarRef=e,this.message=i.message,this.noLabel=i.noLabel,this.yesLabel=i.yesLabel}doNo(){this.snackbarRef.dismiss()}doYes(){this.snackbarRef.dismissWithAction()}}return n.\u0275fac=function(e){return new(e||n)(x(gb),x(yx))},n.\u0275cmp=k({type:n,selectors:[["app-confirm"]],decls:6,vars:3,consts:[["data-cy","confirm-no","mat-raised-button","",3,"click"],["data-cy","confirm-yes","mat-raised-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"p"),H(1),w(),T(2,"button",0),we("click",function(){return i.doNo()}),H(3),w(),T(4,"button",1),we("click",function(){return i.doYes()}),H(5),w()),2&e&&(N(1),Tn(i.message),N(2),Ri("",i.noLabel," "),N(2),Tn(i.yesLabel))},dependencies:[no]}),n})(),Hs=(()=>{class n{constructor(e){this.http=e,this.base="/api/v1/devstate"}addContainer(e){return this.http.post(this.base+"/container",{name:e.name,image:e.image,command:e.command,args:e.args,memReq:e.memoryRequest,memLimit:e.memoryLimit,cpuReq:e.cpuRequest,cpuLimit:e.cpuLimit})}addImage(e){return this.http.post(this.base+"/image",{name:e.name,imageName:e.imageName,args:e.args,buildContext:e.buildContext,rootRequired:e.rootRequired,uri:e.uri})}addResource(e){return this.http.post(this.base+"/resource",{name:e.name,inlined:e.inlined,uri:e.uri})}addExecCommand(e,i){return this.http.post(this.base+"/execCommand",{name:e,component:i.component,commandLine:i.commandLine,workingDir:i.workingDir,hotReloadCapable:i.hotReloadCapable})}addApplyCommand(e,i){return this.http.post(this.base+"/applyCommand",{name:e,component:i.component})}addCompositeCommand(e,i){return this.http.post(this.base+"/compositeCommand",{name:e,parallel:i.parallel,commands:i.commands})}getFlowChart(){return this.http.get(this.base+"/chart")}setDevfileContent(e){return this.http.put(this.base+"/devfile",{content:e})}getDevfileContent(){return this.http.get(this.base+"/devfile")}clearDevfileContent(){return this.http.delete(this.base+"/devfile")}setMetadata(e){return this.http.put(this.base+"/metadata",{name:e.name,version:e.version,displayName:e.displayName,description:e.description,tags:e.tags,architectures:e.architectures,icon:e.icon,globalMemoryLimit:e.globalMemoryLimit,projectType:e.projectType,language:e.language,website:e.website,provider:e.provider,supportUrl:e.supportUrl})}moveCommand(e,i,r,o){return this.http.post(this.base+"/command/0/move",{fromGroup:e,fromIndex:r,toGroup:i,toIndex:o})}setDefaultCommand(e,i){return this.http.post(this.base+"/command/"+e+"/setDefault",{group:i})}unsetDefaultCommand(e){return this.http.post(this.base+"/command/"+e+"/unsetDefault",{})}deleteCommand(e){return this.http.delete(this.base+"/command/"+e)}deleteContainer(e){return this.http.delete(this.base+"/container/"+e)}deleteImage(e){return this.http.delete(this.base+"/image/"+e)}deleteResource(e){return this.http.delete(this.base+"/resource/"+e)}updateEvents(e,i){return this.http.put(this.base+"/events",{eventName:e,commands:i})}isQuantityValid(e){return this.http.post(this.base+"/quantityValid",{quantity:e})}}return n.\u0275fac=function(e){return new(e||n)(te(cm))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wj=(()=>{class n{constructor(e){this.http=e,this.base="/api/v1"}getDevfile(){return this.http.get(this.base+"/devfile")}saveDevfile(e){return this.http.put(this.base+"/devfile",{content:e})}telemetry(){return this.http.get(this.base+"/telemetry")}}return n.\u0275fac=function(e){return new(e||n)(te(cm))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Yj=function Gj(n){for(var t=[],e=1;e{zs.l.warn(n),(0,$d.i)(n)?(e&&e(n.str,n.hash),t.push({...n,message:n.str,error:n})):(e&&e(n),n instanceof Error&&t.push({str:n.message,message:n.message,hash:n.name,error:n}))},bA=function(){var n=(0,Lr.Z)(function*(t={querySelector:".mermaid"}){try{yield qj(t)}catch(e){if((0,$d.i)(e)&&zs.l.error(e.str),qa.parseError&&qa.parseError(e),!t.suppressErrors)throw zs.l.error("Use the suppressErrors option to suppress these errors"),e}});return function(){return n.apply(this,arguments)}}(),qj=function(){var n=(0,Lr.Z)(function*({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){const r=jd.m.getConfig();let o;if(zs.l.debug((t?"":"No ")+"Callback function found"),i)o=i;else{if(!e)throw new Error("Nodes and querySelector are both undefined");o=document.querySelectorAll(e)}zs.l.debug(`Found ${o.length} diagrams`),void 0!==r?.startOnLoad&&(zs.l.debug("Start On Load: "+r?.startOnLoad),jd.m.updateSiteConfig({startOnLoad:r?.startOnLoad}));const a=new $d.u.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let c;const d=[];for(const h of Array.from(o)){if(zs.l.info("Rendering diagram: "+h.id),h.getAttribute("data-processed"))continue;h.setAttribute("data-processed","true");const p=`mermaid-${a.next()}`;c=h.innerHTML,c=Yj($d.u.entityDecode(c)).trim().replace(//gi,"
");const _=$d.u.detectInit(c);_&&zs.l.debug("Detected early reinit: ",_);try{const{svg:D,bindFunctions:S}=yield xA(p,c,h);h.innerHTML=D,t&&(yield t(p)),S&&S(h)}catch(D){Zj(D,d,qa.parseError)}}if(d.length>0)throw d[0]});return function(){return n.apply(this,arguments)}}(),yA=function(n){jd.m.initialize(n)},Kj=function(){var n=(0,Lr.Z)(function*(t,e,i){zs.l.warn("mermaid.init is deprecated. Please use run instead."),t&&yA(t);const r={postRenderCallback:i,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(r.nodes=e instanceof HTMLElement?[e]:e),yield bA(r)});return function(e,i,r){return n.apply(this,arguments)}}(),Xj=function(){var n=(0,Lr.Z)(function*(t,{lazyLoad:e=!0}={}){(0,$d.r)(...t),!1===e&&(yield(0,$d.l)())});return function(e){return n.apply(this,arguments)}}(),vA=function(){if(qa.startOnLoad){const{startOnLoad:n}=jd.m.getConfig();n&&qa.run().catch(t=>zs.l.error("Mermaid failed to initialize",t))}};typeof document<"u"&&window.addEventListener("load",vA,!1);const bb=[];let Cx=!1;const CA=function(){var n=(0,Lr.Z)(function*(){if(!Cx){for(Cx=!0;bb.length>0;){const t=bb.shift();if(t)try{yield t()}catch(e){zs.l.error("Error executing queue",e)}}Cx=!1}});return function(){return n.apply(this,arguments)}}(),Jj=function(){var n=(0,Lr.Z)(function*(t,e){return new Promise((i,r)=>{bb.push(()=>new Promise((a,c)=>{jd.m.parse(t,e).then(d=>{a(d),i(d)},d=>{var h;zs.l.error("Error parsing",d),null==(h=qa.parseError)||h.call(qa,d),c(d),r(d)})})),CA().catch(r)})});return function(e,i){return n.apply(this,arguments)}}(),xA=(n,t,e)=>new Promise((i,r)=>{bb.push(()=>new Promise((a,c)=>{jd.m.render(n,t,e).then(d=>{a(d),i(d)},d=>{var h;zs.l.error("Error parsing",d),null==(h=qa.parseError)||h.call(qa,d),c(d),r(d)})})),CA().catch(r)}),qa={startOnLoad:!0,mermaidAPI:jd.m,parse:Jj,render:xA,init:Kj,run:bA,registerExternalDiagrams:Xj,initialize:yA,parseError:void 0,contentLoaded:vA,setParseErrorHandler:function(n){qa.parseError=n}};let eU=(()=>{class n{constructor(){}getMermaidAsSVG(e){return(0,Lr.Z)(function*(){const{svg:i}=yield qa.render("rendered",e);return i})()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ba=(()=>{class n{constructor(){this._state=new qk(null),this.state=this._state.asObservable()}changeDevfileYaml(e){this._state.next(e)}getDragAndDropEnabled(){return"true"==localStorage.getItem("dragAndDropEnabled")}saveDragAndDropEnabled(e){return localStorage.setItem("dragAndDropEnabled",e?"true":"false")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tU=(()=>{class n{constructor(){this.base="/api/v1",this.evtSource=new EventSource(this.base+"/notifications")}subscribeTo(e){return new be(i=>{e.forEach(r=>{this.evtSource.addEventListener(r,o=>{i.next(o)})}),this.evtSource.onerror=r=>{i.error(r)}})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ka=(()=>{class n{constructor(e){this.segment=e,this.options={context:{ip:"0.0.0.0"}}}init(e,i){this.segment.identify(i,{},this.options),this.segment.load(e),this.segment.setAnonymousId(i)}track(e){this.segment.track(e,{},this.options)}}return n.\u0275fac=function(e){return new(e||n)(te(zd))},n.\u0275prov=nt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),iU=(()=>{class n{constructor(e,i,r){this.devstate=e,this.state=i,this.telemetry=r,this.form=new Wa({name:new yn(""),version:new yn("",li.pattern("^([0-9]+)\\.([0-9]+)\\.([0-9]+)(\\-[0-9a-z-]+(\\.[0-9a-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$")),displayName:new yn(""),description:new yn(""),tags:new yn(""),architectures:new yn(""),icon:new yn(""),globalMemoryLimit:new yn(""),projectType:new yn(""),language:new yn(""),website:new yn(""),provider:new yn(""),supportUrl:new yn("")})}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,Lr.Z)(function*(r){const o=r?.metadata;null!=o&&e.form.patchValue(o)});return function(r){return i.apply(this,arguments)}}())}onSave(){this.telemetry.track("[ui] apply metadata"),this.devstate.setMetadata(this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(x(Hs),x(ba),x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-metadata"]],decls:58,vars:2,consts:[[1,"main"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["data-cy","metadata-name","placeholder","Unique name to identify the devfile","matInput","","formControlName","name"],["placeholder","Version of the devfile, semver-compatible","matInput","","formControlName","version"],["appearance","outline",1,"full-width"],["placeholder","Name to display instead of the unique name","matInput","","formControlName","displayName"],["matInput","","formControlName","description","rows","4"],["placeholder","Tags to help find the devfile in a registry","matInput","","formControlName","tags"],["placeholder","Ex: amd64,arm64,ppc64le,s390x","matInput","","formControlName","architectures"],["placeholder","Can be a URI or a relative path in the project","matInput","","formControlName","icon"],["placeholder","Informative limit of memory used by the devfile. Ex: 1Gi","matInput","","formControlName","globalMemoryLimit"],["placeholder","Ex: Framework of the project","matInput","","formControlName","projectType"],["placeholder","Language of the project","matInput","","formControlName","language"],["placeholder","Official website of the devfile","matInput","","formControlName","website"],["placeholder","Information about the provider of the devfile","matInput","","formControlName","provider"],["placeholder","Link to a page providing support information","matInput","","formControlName","supportUrl"],["mat-flat-button","","color","primary",3,"disabled","click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"form",1)(2,"mat-form-field",2)(3,"mat-label"),H(4,"Name"),w(),Ge(5,"input",3),w(),T(6,"mat-form-field",2)(7,"mat-label"),H(8,"Version"),w(),T(9,"mat-error"),H(10,"Examples: 1.0.4, 1.4.7-alpha1"),w(),Ge(11,"input",4),w(),T(12,"mat-form-field",5)(13,"mat-label"),H(14,"Display Name"),w(),Ge(15,"input",6),w(),T(16,"mat-form-field",5)(17,"mat-label"),H(18,"Description"),w(),Ge(19,"textarea",7),w(),T(20,"mat-form-field",2)(21,"mat-label"),H(22,"Tags (comma-speparated)"),w(),Ge(23,"input",8),w(),T(24,"mat-form-field",2)(25,"mat-label"),H(26,"Architectures (comma-separated)"),w(),Ge(27,"input",9),w(),T(28,"mat-form-field",2)(29,"mat-label"),H(30,"Icon"),w(),Ge(31,"input",10),w(),T(32,"mat-form-field",2)(33,"mat-label"),H(34,"Global Memory Limit"),w(),Ge(35,"input",11),w(),T(36,"mat-form-field",2)(37,"mat-label"),H(38,"Project Type"),w(),Ge(39,"input",12),w(),T(40,"mat-form-field",2)(41,"mat-label"),H(42,"Language"),w(),Ge(43,"input",13),w(),T(44,"mat-form-field",2)(45,"mat-label"),H(46,"Website"),w(),Ge(47,"input",14),w(),T(48,"mat-form-field",2)(49,"mat-label"),H(50,"Provider"),w(),Ge(51,"input",15),w(),T(52,"mat-form-field",5)(53,"mat-label"),H(54,"Support URL"),w(),Ge(55,"input",16),w()(),T(56,"button",17),we("click",function(){return i.onSave()}),H(57,"Apply"),w()()),2&e&&(N(1),W("formGroup",i.form),N(55),W("disabled",i.form.invalid))},dependencies:[nl,ga,Ua,tl,ps,Cc,no,Vs,bs,ed,Mc],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();const yb="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",xx="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";function rU(n,t){if(1&n){const e=Bn();T(0,"span")(1,"mat-form-field",4)(2,"mat-label")(3,"span"),H(4),w()(),T(5,"input",5),we("change",function(r){const a=Xt(e).index;return mn(Fe().onTextChange(a,r))}),w()()()}if(2&n){const e=t.$implicit,i=Fe();N(4),Tn(i.label),N(1),W("value",e)}}function oU(n,t){if(1&n){const e=Bn();T(0,"button",6),we("click",function(){return Xt(e),mn(Fe().addText())}),T(1,"mat-icon",7),H(2,"add"),w()()}}function sU(n,t){if(1&n){const e=Bn();T(0,"button",8),we("click",function(){return Xt(e),mn(Fe().addText())}),H(1),w()}if(2&n){const e=Fe();N(1),Tn(e.addLabel)}}let wA=(()=>{class n{constructor(){this.label="",this.addLabel="",this.title="",this.onChange=e=>{},this.texts=[]}writeValue(e){this.texts=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){}addText(){this.texts.push(""),this.onChange(this.texts)}onTextChange(e,i){this.texts[e]=i.target.value,this.onChange(this.texts)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["app-multi-text"]],inputs:{label:"label",addLabel:"addLabel",title:"title"},features:[Gt([{provide:eo,multi:!0,useExisting:n}])],decls:6,vars:4,consts:[[1,"group"],[4,"ngFor","ngForOf"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["appearance","outline",1,"inline"],["matInput","",3,"value","change"],["mat-icon-button","",3,"click"],[1,"tab-icon","material-icons-outlined"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"h3"),H(1),w(),T(2,"div",0),ve(3,rU,6,2,"span",1),ve(4,oU,3,0,"button",2),ve(5,sU,2,1,"button",3),w()),2&e&&(N(1),Tn(i.title),N(2),W("ngForOf",i.texts),N(1),W("ngIf",i.texts.length>0),N(1),W("ngIf",0==i.texts.length))},dependencies:[yc,Hi,no,CI,Vs,bs,ol,Mc],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}"]}),n})();function aU(n,t){if(1&n){const e=Bn();T(0,"button",14),we("click",function(){return Xt(e),mn(Fe().cancel())}),H(1,"Cancel"),w()}}let DA=(()=>{class n{constructor(e,i){this.devstate=e,this.telemetry=i,this.cancelable=!1,this.canceled=new rt,this.created=new rt,this.quantityErrMsgMemory="Numeric value, with optional unit Ki, Mi, Gi, Ti, Pi, Ei",this.quantityErrMsgCPU="Numeric value, with optional unit m, k, M, G, T, P, E",this.form=new Wa({name:new yn("",[li.required,li.pattern(xx)]),image:new yn("",[li.required]),command:new yn([]),args:new yn([]),memoryRequest:new yn("",null,[this.isQuantity()]),memoryLimit:new yn("",null,[this.isQuantity()]),cpuRequest:new yn("",null,[this.isQuantity()]),cpuLimit:new yn("",null,[this.isQuantity()])})}create(){this.telemetry.track("[ui] create container"),this.created.emit(this.form.value)}cancel(){this.canceled.emit()}isQuantity(){return e=>{const i=e.value;return""==i?gs(null):this.devstate.isQuantityValid(i).pipe(Pn(()=>null),_x(()=>gs({isQuantity:!1})))}}}return n.\u0275fac=function(e){return new(e||n)(x(Hs),x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-container"]],inputs:{cancelable:"cancelable"},outputs:{canceled:"canceled",created:"created"},decls:51,vars:7,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the container","data-cy","container-name","matInput","","formControlName","name"],["placeholder","Image to start the container","data-cy","container-image","matInput","","formControlName","image"],["formControlName","command","title","Command","label","Command","addLabel","Add command"],["formControlName","args","title","Arguments to command","label","Arg","addLabel","Add arg"],["placeholder","memory requested for the container. Ex: 1Gi","data-cy","container-memory-request","matInput","","formControlName","memoryRequest"],["placeholder","memory limit for the container. Ex: 1Gi","data-cy","container-memory-limit","matInput","","formControlName","memoryLimit"],["placeholder","CPU requested for the container. Ex: 500m","data-cy","container-cpu-request","matInput","","formControlName","cpuRequest"],["placeholder","CPU limit for the container. Ex: 1","data-cy","container-cpu-limit","matInput","","formControlName","cpuLimit"],["data-cy","container-create","mat-flat-button","","color","primary","matTooltip","create new container",3,"disabled","click"],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add a new container"),w(),T(3,"div",1),H(4,"A Container is used to execute shell commands into a specific environment. The entrypoint of the container must be a non-terminating command. You can use an image pulled from a registry or an image built by an Image command."),w(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),w()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-container"),w(),Ge(12,"input",4),w(),T(13,"mat-form-field",3)(14,"mat-label")(15,"span"),H(16,"Image"),w()(),Ge(17,"input",5),w(),Ge(18,"app-multi-text",6)(19,"app-multi-text",7),T(20,"mat-form-field",3)(21,"mat-label")(22,"span"),H(23,"Memory Request"),w()(),T(24,"mat-error"),H(25),w(),Ge(26,"input",8),w(),T(27,"mat-form-field",3)(28,"mat-label")(29,"span"),H(30,"Memory Limit"),w()(),T(31,"mat-error"),H(32),w(),Ge(33,"input",9),w(),T(34,"mat-form-field",3)(35,"mat-label")(36,"span"),H(37,"CPU Request"),w()(),T(38,"mat-error"),H(39),w(),Ge(40,"input",10),w(),T(41,"mat-form-field",3)(42,"mat-label")(43,"span"),H(44,"CPU Limit"),w()(),T(45,"mat-error"),H(46),w(),Ge(47,"input",11),w()(),T(48,"button",12),we("click",function(){return i.create()}),H(49,"Create"),w(),ve(50,aU,2,0,"button",13),w()),2&e&&(N(5),W("formGroup",i.form),N(20),Tn(i.quantityErrMsgMemory),N(7),Tn(i.quantityErrMsgMemory),N(7),Tn(i.quantityErrMsgCPU),N(7),Tn(i.quantityErrMsgCPU),N(2),W("disabled",i.form.invalid),N(2),W("ngIf",i.cancelable))},dependencies:[Hi,nl,ga,Ua,tl,ps,Cc,no,Vs,bs,ed,Mc,td,wA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function cU(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Command:"),w(),T(3,"td")(4,"code"),H(5),w()()()),2&n){const e=Fe().$implicit;N(5),Tn(e.command.join(" "))}}function lU(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Args:"),w(),T(3,"td")(4,"code"),H(5),w()()()),2&n){const e=Fe().$implicit;N(5),Tn(e.args.join(" "))}}function dU(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Memory Request:"),w(),T(3,"td")(4,"code"),H(5),w()()()),2&n){const e=Fe().$implicit;N(5),Tn(e.memoryRequest)}}function uU(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Memory Limit:"),w(),T(3,"td")(4,"code"),H(5),w()()()),2&n){const e=Fe().$implicit;N(5),Tn(e.memoryLimit)}}function hU(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"CPU Request:"),w(),T(3,"td")(4,"code"),H(5),w()()()),2&n){const e=Fe().$implicit;N(5),Tn(e.cpuRequest)}}function fU(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"CPU Limit:"),w(),T(3,"td")(4,"code"),H(5),w()()()),2&n){const e=Fe().$implicit;N(5),Tn(e.cpuLimit)}}function mU(n,t){if(1&n){const e=Bn();T(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),H(3),w(),T(4,"mat-card-subtitle"),H(5,"Container"),w()(),T(6,"mat-card-content")(7,"table",6)(8,"tr")(9,"td"),H(10,"Image:"),w(),T(11,"td")(12,"code"),H(13),w()()(),ve(14,cU,6,1,"tr",3),ve(15,lU,6,1,"tr",3),ve(16,dU,6,1,"tr",3),ve(17,uU,6,1,"tr",3),ve(18,hU,6,1,"tr",3),ve(19,fU,6,1,"tr",3),w()(),T(20,"mat-card-actions")(21,"button",7),we("click",function(){const o=Xt(e).$implicit;return mn(Fe().delete(o.name))}),H(22,"Delete"),w()()()}if(2&n){const e=t.$implicit;N(3),Tn(e.name),N(10),Tn(e.image),N(1),W("ngIf",null!=e.command&&e.command.length>0),N(1),W("ngIf",null!=e.args&&e.args.length>0),N(1),W("ngIf",null!=e.memoryRequest&&e.memoryRequest.length>0),N(1),W("ngIf",null!=e.memoryLimit&&e.memoryLimit.length>0),N(1),W("ngIf",null!=e.cpuRequest&&e.cpuRequest.length>0),N(1),W("ngIf",null!=e.cpuLimit&&e.cpuLimit.length>0)}}function pU(n,t){if(1&n){const e=Bn();T(0,"app-container",8),we("canceled",function(){return Xt(e),mn(Fe().undisplayAddForm())})("created",function(r){return Xt(e),mn(Fe().onCreated(r))}),w()}2&n&&W("cancelable",Fe().forceDisplayAdd)}function gU(n,t){if(1&n){const e=Bn();Zo(0),T(1,"button",9),we("click",function(){return Xt(e),mn(Fe().displayAddForm())}),T(2,"mat-icon",10),H(3,"add"),w()(),qo()}}let _U=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayAdd=!1,this.containers=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,Lr.Z)(function*(o){i.containers=o?.containers,null!=e.containers&&(i.forceDisplayAdd=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.forceDisplayAdd=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayAdd=!1}delete(e){confirm('You will delete the container "'+e+'". Continue?')&&this.devstate.deleteContainer(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onCreated(e){this.devstate.addContainer(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(x(ba),x(Hs))},n.\u0275cmp=k({type:n,selectors:[["app-containers"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","container-info",4,"ngFor","ngForOf"],[3,"cancelable","canceled","created",4,"ngIf"],[4,"ngIf"],["data-cy","container-info"],[1,"colored-title"],[1,"aligned"],["mat-button","","color","warn",3,"click"],[3,"cancelable","canceled","created"],["data-cy","add","mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(T(0,"div",0),ve(1,mU,23,8,"mat-card",1),ve(2,pU,1,1,"app-container",2),w(),ve(3,gU,4,0,"ng-container",3)),2&e&&(N(1),W("ngForOf",i.containers),N(1),W("ngIf",i.forceDisplayAdd||null==i.containers||0==i.containers.length),N(1),W("ngIf",!i.forceDisplayAdd&&null!=i.containers&&i.containers.length>0))},dependencies:[yc,Hi,no,ab,Im,Rm,Fm,Pm,Om,Am,ol,DA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function bU(n,t){if(1&n&&(T(0,"mat-option",4),H(1),w()),2&n){const e=t.$implicit;W("value",e),N(1),Tn(e)}}let wx=(()=>{class n{constructor(){this.containers=[],this.label="",this.createNew=new rt,this.container="",this.onChange=e=>{}}writeValue(e){this.container=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){}onSelectChange(e){"!"!=e&&this.onChange(e),this.createNew.emit("!"==e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["app-select-container"]],inputs:{containers:"containers",label:"label"},outputs:{createNew:"createNew"},features:[Gt([{provide:eo,multi:!0,useExisting:n}])],decls:7,vars:4,consts:[["appearance","fill"],["data-cy","select-container",3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["value","!"],[3,"value"]],template:function(e,i){1&e&&(T(0,"mat-form-field",0)(1,"mat-label"),H(2),w(),T(3,"mat-select",1),we("selectionChange",function(o){return i.onSelectChange(o.value)}),ve(4,bU,2,2,"mat-option",2),T(5,"mat-option",3),H(6),w()()()),2&e&&(N(2),Tn(i.label),N(1),W("value",i.container),N(1),W("ngForOf",i.containers),N(2),Ri("(New ",i.label,")"))},dependencies:[yc,Mm,Vs,bs,eA]}),n})();function yU(n,t){if(1&n){const e=Bn();T(0,"app-container",13),we("created",function(r){return Xt(e),mn(Fe().onNewContainerCreated(r))}),w()}}let vU=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new rt,this.containerList=[],this.showNewContainer=!1,this.containerToCreate=null,this.form=new Wa({name:new yn("",[li.required,li.pattern(yb)]),component:new yn("",[li.required]),commandLine:new yn("",[li.required]),workingDir:new yn("",[li.required]),hotReloadCapable:new yn(!1)}),this.state.state.subscribe(function(){var a=(0,Lr.Z)(function*(c){const d=c?.containers;null!=d&&(o.containerList=d.map(h=>h.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create exec command");const e=()=>{this.devstate.addExecCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.containerToCreate&&this.containerToCreate?.name==this.form.controls.component.value?this.devstate.addContainer(this.containerToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onProjectsRoot(){this.form.controls.workingDir.setValue("${PROJECTS_ROOT}")}onCreateNewContainer(e){this.showNewContainer=e}onNewContainerCreated(e){this.containerList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewContainer=!1,this.containerToCreate=e}}return n.\u0275fac=function(e){return new(e||n)(x(Hs),x(ba),x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-command-exec"]],outputs:{canceled:"canceled"},decls:35,vars:4,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["formControlName","hotReloadCapable"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-exec-name","matInput","","formControlName","name"],["placeholder","command line passed to the shell","data-cy","command-exec-command-line","matInput","","formControlName","commandLine"],["placeholder","Working directory of the command","data-cy","command-exec-working-dir","matInput","","formControlName","workingDir"],["data-cy","command-exec-projects-root","mat-button","",3,"click"],["formControlName","component","label","Container",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-exec-create","mat-flat-button","","color","primary","matTooltip","create new Exec Command",3,"disabled","click"],["mat-flat-button","",3,"click"],[3,"created"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add an Exec Command"),w(),T(3,"div",1),H(4,"An Exec command is a shell command executed into a container."),w(),T(5,"form",2)(6,"div")(7,"mat-checkbox",3),H(8,"Hot Reload Capable"),w()(),T(9,"mat-form-field",4)(10,"mat-label")(11,"span"),H(12,"Name"),w()(),T(13,"mat-error"),H(14,"Lowercase words separated by dashes. Ex: my-command"),w(),Ge(15,"input",5),w(),T(16,"mat-form-field",4)(17,"mat-label")(18,"span"),H(19,"Command Line"),w()(),Ge(20,"input",6),w(),T(21,"mat-form-field",4)(22,"mat-label")(23,"span"),H(24,"Working Dir"),w()(),Ge(25,"input",7),w(),T(26,"button",8),we("click",function(){return i.onProjectsRoot()}),H(27,"Work on Project's Root Directory"),w(),T(28,"div")(29,"app-select-container",9),we("createNew",function(o){return i.onCreateNewContainer(o)}),w()()(),ve(30,yU,1,0,"app-container",10),T(31,"button",11),we("click",function(){return i.create()}),H(32,"Create"),w(),T(33,"button",12),we("click",function(){return i.cancel()}),H(34,"Cancel"),w()()),2&e&&(N(5),W("formGroup",i.form),N(24),W("containers",i.containerList),N(1),W("ngIf",i.showNewContainer),N(1),W("disabled",i.form.invalid))},dependencies:[Hi,nl,ga,Ua,tl,ps,Cc,no,Dh,Vs,bs,ed,Mc,td,DA,wx],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function CU(n,t){1&n&&(T(0,"mat-form-field",12)(1,"mat-label")(2,"span"),H(3,"URI"),w()(),Ge(4,"input",13),w())}function xU(n,t){1&n&&(T(0,"mat-form-field",12)(1,"mat-label"),H(2,"YAML Manifest"),w(),Ge(3,"textarea",14),w())}function wU(n,t){if(1&n){const e=Bn();T(0,"button",15),we("click",function(){return Xt(e),mn(Fe().cancel())}),H(1,"Cancel"),w()}}let MA=(()=>{class n{constructor(e){this.telemetry=e,this.cancelable=!1,this.canceled=new rt,this.created=new rt,this.uriOrInlined="uri",this.form=new Wa({name:new yn("",[li.required,li.pattern(xx)]),uri:new yn("",[li.required]),inlined:new yn("",[])})}changeUriOrInlined(e){this.uriOrInlined=e,"uri"==this.uriOrInlined?(this.form.controls.inlined.removeValidators(li.required),this.form.controls.inlined.setValue(""),this.form.controls.uri?.addValidators(li.required)):"inlined"==this.uriOrInlined&&(this.form.controls.uri?.removeValidators(li.required),this.form.controls.uri.setValue(""),this.form.controls.inlined?.setValidators(li.required)),this.form.controls.uri.updateValueAndValidity(),this.form.controls.inlined.updateValueAndValidity()}create(){this.telemetry.track("[ui] create resource"),this.created.emit(this.form.value)}cancel(){this.canceled.emit()}}return n.\u0275fac=function(e){return new(e||n)(x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-resource"]],inputs:{cancelable:"cancelable"},outputs:{canceled:"canceled",created:"created"},decls:24,vars:5,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the resource","data-cy","resource-name","matInput","","formControlName","name"],[1,"toggleUriInlined"],[3,"change"],["data-cy","resource-toogle-uri","value","uri","checked",""],["data-cy","resource-toggle-inlined","value","inlined"],["appearance","outline","class","full-width",4,"ngIf"],["data-cy","resource-create","mat-flat-button","","color","primary","matTooltip","create new resource",3,"disabled","click"],["mat-flat-button","",3,"click",4,"ngIf"],["appearance","outline",1,"full-width"],["placeholder","Reference to a YAML manifest","data-cy","resource-uri","matInput","","formControlName","uri"],["data-cy","resource-manifest","matInput","","formControlName","inlined","rows","8"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add a new resource"),w(),T(3,"div",1),H(4,"A Resource defines a Kubernetes resource. Its definition can be given either by a URI pointing to a manifest file or by an inlined YAML manifest."),w(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),w()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-resource"),w(),Ge(12,"input",4),w(),T(13,"span",5)(14,"mat-button-toggle-group",6),we("change",function(o){return i.changeUriOrInlined(o.value)}),T(15,"mat-button-toggle",7),H(16,"Specify URI"),w(),T(17,"mat-button-toggle",8),H(18,"Inlined content"),w()()(),ve(19,CU,5,0,"mat-form-field",9),ve(20,xU,4,0,"mat-form-field",9),w(),T(21,"button",10),we("click",function(){return i.create()}),H(22,"Create"),w(),ve(23,wU,2,0,"button",11),w()),2&e&&(N(5),W("formGroup",i.form),N(14),W("ngIf","uri"==i.uriOrInlined),N(1),W("ngIf","inlined"==i.uriOrInlined),N(1),W("disabled",i.form.invalid),N(2),W("ngIf",i.cancelable))},dependencies:[Hi,nl,ga,Ua,tl,ps,Cc,no,kI,SI,Vs,bs,ed,Mc,td],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}span.toggleUriInlined[_ngcontent-%COMP%]{margin-left:16px}"]}),n})();function DU(n,t){if(1&n){const e=Bn();T(0,"app-resource",9),we("created",function(r){return Xt(e),mn(Fe().onNewResourceCreated(r))}),w()}}let MU=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new rt,this.resourceList=[],this.showNewResource=!1,this.resourceToCreate=null,this.form=new Wa({name:new yn("",[li.required,li.pattern(yb)]),component:new yn("",[li.required])}),this.state.state.subscribe(function(){var a=(0,Lr.Z)(function*(c){const d=c?.resources;null!=d&&(o.resourceList=d.map(h=>h.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create apply command");const e=()=>{this.devstate.addApplyCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.resourceToCreate&&this.resourceToCreate?.name==this.form.controls.component.value?this.devstate.addResource(this.resourceToCreate).subscribe({next:r=>{this.state.changeDevfileYaml(r),e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onCreateNewContainer(e){this.showNewResource=e}onNewResourceCreated(e){this.resourceList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewResource=!1,this.resourceToCreate=e}}return n.\u0275fac=function(e){return new(e||n)(x(Hs),x(ba),x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-command-apply"]],outputs:{canceled:"canceled"},decls:22,vars:4,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-apply-name","matInput","","formControlName","name"],["formControlName","component","label","Resource",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-apply-create","mat-flat-button","","color","primary","matTooltip","create new Apply Command",3,"disabled","click"],["mat-flat-button","",3,"click"],[3,"created"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add an Apply Command"),w(),T(3,"div",1),H(4,'An Apply command "applies" a resource to the cluster. Equivalent to '),T(5,"code"),H(6,"kubectl apply -f ..."),w()(),T(7,"form",2)(8,"mat-form-field",3)(9,"mat-label")(10,"span"),H(11,"Name"),w()(),T(12,"mat-error"),H(13,"Lowercase words separated by dashes. Ex: my-command"),w(),Ge(14,"input",4),w(),T(15,"div")(16,"app-select-container",5),we("createNew",function(o){return i.onCreateNewContainer(o)}),w()()(),ve(17,DU,1,0,"app-resource",6),T(18,"button",7),we("click",function(){return i.create()}),H(19,"Create"),w(),T(20,"button",8),we("click",function(){return i.cancel()}),H(21,"Cancel"),w()()),2&e&&(N(7),W("formGroup",i.form),N(9),W("containers",i.resourceList),N(1),W("ngIf",i.showNewResource),N(1),W("disabled",i.form.invalid))},dependencies:[Hi,nl,ga,Ua,tl,ps,Cc,no,Vs,bs,ed,Mc,td,wx,MA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function EU(n,t){if(1&n&&(T(0,"mat-option",7),H(1),w()),2&n){const e=t.$implicit;W("value",e),N(1),Tn(e)}}function TU(n,t){if(1&n){const e=Bn();T(0,"span")(1,"mat-form-field",4)(2,"mat-select",5),we("selectionChange",function(r){const a=Xt(e).index;return mn(Fe().onCommandChange(a,r.value))}),ve(3,EU,2,2,"mat-option",6),w()()()}if(2&n){const e=t.$implicit,i=Fe();N(2),W("value",e),N(1),W("ngForOf",i.commandList)}}function kU(n,t){if(1&n){const e=Bn();T(0,"button",8),we("click",function(){return Xt(e),mn(Fe().addCommand())}),T(1,"mat-icon",9),H(2,"add"),w()()}}function SU(n,t){if(1&n){const e=Bn();T(0,"button",10),we("click",function(){return Xt(e),mn(Fe().addCommand())}),H(1),w()}if(2&n){const e=Fe();N(1),Tn(e.addLabel)}}let IU=(()=>{class n{constructor(){this.addLabel="",this.commandList=[],this.title="",this.onChange=e=>{},this.commands=[]}writeValue(e){this.commands=e}registerOnChange(e){this.onChange=e}registerOnTouched(e){}addCommand(){this.commands.push(""),this.onChange(this.commands)}onCommandChange(e,i){this.commands[e]=i,this.onChange(this.commands)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=k({type:n,selectors:[["app-multi-command"]],inputs:{addLabel:"addLabel",commandList:"commandList",title:"title"},features:[Gt([{provide:eo,multi:!0,useExisting:n}])],decls:6,vars:4,consts:[[1,"group"],[4,"ngFor","ngForOf"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["appearance","fill"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-icon-button","",3,"click"],[1,"tab-icon","material-icons-outlined"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"h3"),H(1),w(),T(2,"div",0),ve(3,TU,4,2,"span",1),ve(4,kU,3,0,"button",2),ve(5,SU,2,1,"button",3),w()),2&e&&(N(1),Tn(i.title),N(2),W("ngForOf",i.commands),N(1),W("ngIf",i.commands.length>0),N(1),W("ngIf",0==i.commands.length))},dependencies:[yc,Hi,Mm,no,CI,Vs,ol,eA],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}"]}),n})(),AU=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new rt,this.commandList=[],this.form=new Wa({name:new yn("",[li.required,li.pattern(yb)]),parallel:new yn(!1),commands:new yn([])}),this.state.state.subscribe(function(){var a=(0,Lr.Z)(function*(c){const d=c?.commands;null!=d&&(o.commandList=d.map(h=>h.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create composite command"),this.devstate.addCompositeCommand(this.form.value.name,this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}cancel(){this.canceled.emit()}}return n.\u0275fac=function(e){return new(e||n)(x(Hs),x(ba),x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-command-composite"]],outputs:{canceled:"canceled"},decls:21,vars:3,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-composite-name","matInput","","formControlName","name"],["formControlName","parallel"],["formControlName","commands","title","Commands","addLabel","Add a command",3,"commandList"],["data-cy","command-composite-create","mat-flat-button","","color","primary","matTooltip","create new Composite Command",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add a Composite Command"),w(),T(3,"div",1),H(4,"A Composite command executes several commands, either serially or in parallel."),w(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),w()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-command"),w(),Ge(12,"input",4),w(),T(13,"div")(14,"mat-checkbox",5),H(15,"Run commands in parallel"),w()(),Ge(16,"app-multi-command",6),w(),T(17,"button",7),we("click",function(){return i.create()}),H(18,"Create"),w(),T(19,"button",8),we("click",function(){return i.cancel()}),H(20,"Cancel"),w()()),2&e&&(N(5),W("formGroup",i.form),N(11),W("commandList",i.commandList),N(1),W("disabled",i.form.invalid))},dependencies:[nl,ga,Ua,tl,ps,Cc,no,Dh,Vs,bs,ed,Mc,td,IU],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function FU(n,t){if(1&n){const e=Bn();T(0,"button",12),we("click",function(){return Xt(e),mn(Fe().cancel())}),H(1,"Cancel"),w()}}let EA=(()=>{class n{constructor(e){this.telemetry=e,this.cancelable=!1,this.canceled=new rt,this.created=new rt,this.form=new Wa({name:new yn("",[li.required,li.pattern(xx)]),imageName:new yn("",[li.required]),args:new yn([]),buildContext:new yn(""),rootRequired:new yn(!1),uri:new yn("",[li.required])})}create(){this.telemetry.track("[ui] create image"),this.created.emit(this.form.value)}cancel(){this.canceled.emit()}}return n.\u0275fac=function(e){return new(e||n)(x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-image"]],inputs:{cancelable:"cancelable"},outputs:{canceled:"canceled",created:"created"},decls:34,vars:3,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the image","data-cy","image-name","matInput","","formControlName","name"],["placeholder","Reference to a container image","data-cy","image-image-name","matInput","","formControlName","imageName"],["formControlName","args","title","Build Args","label","Arg","addLabel","Add Build Arg"],["placeholder","Directory from which the build will be executed","data-cy","image-build-context","matInput","","formControlName","buildContext"],["placeholder","Dockerfile used to build the image","data-cy","image-dockerfile-uri","matInput","","formControlName","uri"],["formControlName","rootRequired"],["data-cy","image-create","mat-flat-button","","color","primary","matTooltip","create new image",3,"disabled","click"],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add a new image"),w(),T(3,"div",1),H(4,"An Image defines how to build a container image."),w(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),w()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-image"),w(),Ge(12,"input",4),w(),T(13,"mat-form-field",3)(14,"mat-label")(15,"span"),H(16,"Image Name"),w()(),Ge(17,"input",5),w(),Ge(18,"app-multi-text",6),T(19,"mat-form-field",3)(20,"mat-label")(21,"span"),H(22,"Build Context"),w()(),Ge(23,"input",7),w(),T(24,"mat-form-field",3)(25,"mat-label")(26,"span"),H(27,"Dockerfile URI"),w()(),Ge(28,"input",8),w(),T(29,"mat-checkbox",9),H(30,"Root Required"),w()(),T(31,"button",10),we("click",function(){return i.create()}),H(32,"Create"),w(),ve(33,FU,2,0,"button",11),w()),2&e&&(N(5),W("formGroup",i.form),N(26),W("disabled",i.form.invalid),N(2),W("ngIf",i.cancelable))},dependencies:[Hi,nl,ga,Ua,tl,ps,Cc,no,Dh,Vs,bs,ed,Mc,td,wA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function OU(n,t){if(1&n){const e=Bn();T(0,"app-image",9),we("created",function(r){return Xt(e),mn(Fe().onNewImageCreated(r))}),w()}}let RU=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new rt,this.imageList=[],this.showNewImage=!1,this.imageToCreate=null,this.form=new Wa({name:new yn("",[li.required,li.pattern(yb)]),component:new yn("",[li.required])}),this.state.state.subscribe(function(){var a=(0,Lr.Z)(function*(c){const d=c?.images;null!=d&&(o.imageList=d.map(h=>h.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create image command");const e=()=>{this.devstate.addApplyCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.imageToCreate&&this.imageToCreate?.name==this.form.controls.component.value?this.devstate.addImage(this.imageToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onCreateNewImage(e){this.showNewImage=e}onNewImageCreated(e){this.imageList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewImage=!1,this.imageToCreate=e}}return n.\u0275fac=function(e){return new(e||n)(x(Hs),x(ba),x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-command-image"]],outputs:{canceled:"canceled"},decls:20,vars:4,consts:[[1,"main"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-image-name","matInput","","formControlName","name"],["formControlName","component","label","Image",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-image-create","mat-flat-button","","color","primary","matTooltip","create new Image Command",3,"disabled","click"],["mat-flat-button","",3,"click"],[3,"created"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"h2"),H(2,"Add an Image Command"),w(),T(3,"div",1),H(4,"An Image command builds a container image and pushes it to a container registry."),w(),T(5,"form",2)(6,"mat-form-field",3)(7,"mat-label")(8,"span"),H(9,"Name"),w()(),T(10,"mat-error"),H(11,"Lowercase words separated by dashes. Ex: my-command"),w(),Ge(12,"input",4),w(),T(13,"div")(14,"app-select-container",5),we("createNew",function(o){return i.onCreateNewImage(o)}),w()()(),ve(15,OU,1,0,"app-image",6),T(16,"button",7),we("click",function(){return i.create()}),H(17,"Create"),w(),T(18,"button",8),we("click",function(){return i.cancel()}),H(19,"Cancel"),w()()),2&e&&(N(5),W("formGroup",i.form),N(9),W("containers",i.imageList),N(1),W("ngIf",i.showNewImage),N(1),W("disabled",i.form.invalid))},dependencies:[Hi,nl,ga,Ua,tl,ps,Cc,no,Vs,bs,ed,Mc,td,wx,EA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function PU(n,t){if(1&n&&(T(0,"div",2),H(1),w()),2&n){const e=Fe();N(1),Ri("No ",e.kind," commands yet. You can create a command then drag&drop it here")}}function LU(n,t){1&n&&(T(0,"div",2),H(1,"No generic commands yet. New commands will appear here"),w())}function NU(n,t){if(1&n){const e=Bn();T(0,"mat-checkbox",10),we("change",function(r){Xt(e);const o=Fe(2).$implicit;return mn(Fe().toggleDefault(r,o.name,o.group))}),H(1),w()}if(2&n){const e=Fe(2).$implicit,i=Fe();W("checked",e._default),N(1),Ri("Default ",i.kind," command")}}function BU(n,t){1&n&&(T(0,"mat-card-subtitle"),H(1,"Exec Command"),w())}function VU(n,t){1&n&&(T(0,"mat-card-subtitle"),H(1,"Apply Command"),w())}function HU(n,t){1&n&&(T(0,"mat-card-subtitle"),H(1,"Image Command"),w())}function zU(n,t){1&n&&(T(0,"mat-card-subtitle"),H(1,"Composite Command"),w())}function $U(n,t){1&n&&(T(0,"span"),H(1,"Yes"),w())}function jU(n,t){1&n&&(T(0,"span"),H(1,"No"),w())}function UU(n,t){if(1&n&&(Zo(0),T(1,"table",11)(2,"tr")(3,"td"),H(4,"Is Hot Reload Capable:"),w(),T(5,"td"),ve(6,$U,2,0,"span",8),ve(7,jU,2,0,"span",8),w()(),T(8,"tr")(9,"td"),H(10,"Command Line:"),w(),T(11,"td")(12,"code"),H(13),w()()(),T(14,"tr")(15,"td"),H(16,"Working Directory:"),w(),T(17,"td")(18,"code"),H(19),w()()(),T(20,"tr")(21,"td"),H(22,"Container:"),w(),T(23,"td")(24,"mat-chip",12)(25,"mat-icon",13),H(26,"width_normal"),w(),H(27),w()()()(),qo()),2&n){const e=Fe(2).$implicit;N(6),W("ngIf",null==e.exec?null:e.exec.hotReloadCapable),N(1),W("ngIf",!(null!=e.exec&&e.exec.hotReloadCapable)),N(6),Tn(null==e.exec?null:e.exec.commandLine),N(6),Tn(null==e.exec?null:e.exec.workingDir),N(8),Ri(" ",null==e.exec?null:e.exec.component," ")}}function WU(n,t){if(1&n&&(Zo(0),T(1,"table",11)(2,"tr")(3,"td"),H(4,"Cluster resource:"),w(),T(5,"td")(6,"mat-chip",12)(7,"mat-icon",13),H(8,"description"),w(),H(9),w()()()(),qo()),2&n){const e=Fe(2).$implicit;N(9),Ri(" ",null==e.apply?null:e.apply.component," ")}}function GU(n,t){if(1&n&&(Zo(0),T(1,"table",11)(2,"tr")(3,"td"),H(4,"Image:"),w(),T(5,"td")(6,"mat-chip",12)(7,"mat-icon",13),H(8,"image"),w(),H(9),w()()()(),qo()),2&n){const e=Fe(2).$implicit;N(9),Ri(" ",null==e.image?null:e.image.component," ")}}function YU(n,t){1&n&&(T(0,"div"),H(1,"Commands executed in parallel"),w())}function ZU(n,t){1&n&&(T(0,"div"),H(1,"Commands executed serially"),w())}function qU(n,t){if(1&n&&(T(0,"mat-chip",12)(1,"mat-icon",13),H(2,"code"),w(),H(3),w()),2&n){const e=t.$implicit;N(3),Ri(" ",e," ")}}function KU(n,t){if(1&n&&(Zo(0),T(1,"table",11)(2,"tr")(3,"td"),H(4,"Scheduling:"),w(),T(5,"td"),ve(6,YU,2,0,"div",8),ve(7,ZU,2,0,"div",8),w()(),T(8,"tr")(9,"td"),H(10,"Commands:"),w(),T(11,"td")(12,"mat-chip-set"),ve(13,qU,4,1,"mat-chip",14),w()()()(),qo()),2&n){const e=Fe(2).$implicit;N(6),W("ngIf",null==e.composite?null:e.composite.parallel),N(1),W("ngIf",!(null!=e.composite&&e.composite.parallel)),N(5),Qt("mat-mdc-chip-set-stacked",null==e.composite?null:e.composite.parallel),N(1),W("ngForOf",null==e.composite?null:e.composite.commands)}}function XU(n,t){if(1&n){const e=Bn();T(0,"mat-card",4)(1,"mat-card-header",5)(2,"div",6)(3,"mat-card-title"),H(4),w(),ve(5,NU,2,2,"mat-checkbox",7),w(),T(6,"div"),ve(7,BU,2,0,"mat-card-subtitle",8),ve(8,VU,2,0,"mat-card-subtitle",8),ve(9,HU,2,0,"mat-card-subtitle",8),ve(10,zU,2,0,"mat-card-subtitle",8),w()(),T(11,"mat-card-content"),ve(12,UU,28,5,"ng-container",8),ve(13,WU,10,1,"ng-container",8),ve(14,GU,10,1,"ng-container",8),ve(15,KU,14,5,"ng-container",8),w(),T(16,"mat-card-actions")(17,"button",9),we("click",function(){Xt(e);const r=Fe().$implicit;return mn(Fe().delete(r.name))}),H(18,"Delete"),w()()()}if(2&n){const e=Fe().$implicit;W("cdkDragDisabled",Fe().dragDisabled),N(4),Ri(" ",e.name," "),N(1),W("ngIf",""!=e.group),N(2),W("ngIf","exec"==e.type),N(1),W("ngIf","apply"==e.type),N(1),W("ngIf","image"==e.type),N(1),W("ngIf","composite"==e.type),N(2),W("ngIf","exec"==e.type),N(1),W("ngIf","apply"==e.type),N(1),W("ngIf","image"==e.type),N(1),W("ngIf","composite"==e.type)}}function QU(n,t){if(1&n&&(Zo(0),ve(1,XU,19,11,"mat-card",3),qo()),2&n){const e=t.$implicit,i=Fe();N(1),W("ngIf",e.group==i.kind)}}let JU=(()=>{class n{constructor(e,i){this.devstate=e,this.state=i,this.kind="",this.dragDisabled=!0}toggleDefault(e,i,r){e.checked?this.setDefault(i,r):this.unsetDefault(i)}setDefault(e,i){this.devstate.setDefaultCommand(e,i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})}unsetDefault(e){this.devstate.unsetDefaultCommand(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}getCommandsByKind(e,i){return e?.filter(r=>r.group==i)}delete(e){confirm('You will delete the command "'+e+'". Continue?')&&this.devstate.deleteCommand(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(x(Hs),x(ba))},n.\u0275cmp=k({type:n,selectors:[["app-commands-list"]],inputs:{commands:"commands",kind:"kind",dragDisabled:"dragDisabled"},decls:3,vars:3,consts:[["class","nothing-here",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"nothing-here"],["data-cy","command-info","cdkDrag","",3,"cdkDragDisabled",4,"ngIf"],["data-cy","command-info","cdkDrag","",3,"cdkDragDisabled"],[1,"with-right-content","colored-title"],[1,"space-between"],[3,"checked","change",4,"ngIf"],[4,"ngIf"],["mat-button","","color","warn",3,"click"],[3,"checked","change"],[1,"aligned"],["disableRipple",""],["matChipAvatar","",1,"material-icons-outlined"],["disableRipple","",4,"ngFor","ngForOf"]],template:function(e,i){if(1&e&&(ve(0,PU,2,1,"div",0),ve(1,LU,2,0,"div",0),ve(2,QU,2,1,"ng-container",1)),2&e){let r,o;W("ngIf",!(null!=(r=i.getCommandsByKind(i.commands,i.kind))&&r.length)&&""!=i.kind),N(1),W("ngIf",!(null!=(o=i.getCommandsByKind(i.commands,i.kind))&&o.length)&&""==i.kind),N(1),W("ngForOf",i.commands)}},dependencies:[yc,Hi,PS,no,Im,Rm,Fm,Pm,Om,Am,Dh,Bd,NI,ub,ol],styles:["mat-card-header.with-right-content[_ngcontent-%COMP%]{display:block}.space-between[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.command[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:4px;background-color:#eee;padding:4px;margin:4px}.parallel-command[_ngcontent-%COMP%]{margin:8px}.serial-commands[_ngcontent-%COMP%]{margin:4px}div.nothing-here[_ngcontent-%COMP%]{margin:0 4px 16px;color:#00000054}"]}),n})();function e7(n,t){if(1&n){const e=Bn();T(0,"app-command-exec",26),we("canceled",function(){return Xt(e),mn(Fe().undisplayExecForm())}),w()}}function t7(n,t){if(1&n){const e=Bn();T(0,"app-command-apply",26),we("canceled",function(){return Xt(e),mn(Fe().undisplayApplyForm())}),w()}}function n7(n,t){if(1&n){const e=Bn();T(0,"app-command-image",26),we("canceled",function(){return Xt(e),mn(Fe().undisplayImageForm())}),w()}}function i7(n,t){if(1&n){const e=Bn();T(0,"app-command-composite",26),we("canceled",function(){return Xt(e),mn(Fe().undisplayCompositeForm())}),w()}}function r7(n,t){if(1&n&&(Zo(0),T(1,"button",27)(2,"mat-icon",28),H(3,"add"),w()(),qo()),2&n){Fe();const e=Yo(48);N(1),W("matMenuTriggerFor",e)}}let o7=(()=>{class n{constructor(e,i,r){this.state=e,this.devstate=i,this.telemetry=r,this.forceDisplayExecForm=!1,this.forceDisplayApplyForm=!1,this.forceDisplayImageForm=!1,this.forceDisplayCompositeForm=!1,this.commands=[],this.enableDragAndDrop=this.state.getDragAndDropEnabled()}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,Lr.Z)(function*(r){e.commands=r?.commands,null!=e.commands&&(e.forceDisplayExecForm=!1,e.forceDisplayApplyForm=!1,e.forceDisplayImageForm=!1,e.forceDisplayCompositeForm=!1)});return function(r){return i.apply(this,arguments)}}())}displayExecForm(){this.telemetry.track("[ui] start create exec command"),this.forceDisplayExecForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayApplyForm(){this.telemetry.track("[ui] start create apply command"),this.forceDisplayApplyForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayImageForm(){this.telemetry.track("[ui] start create image command"),this.forceDisplayImageForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayCompositeForm(){this.telemetry.track("[ui] start create composite command"),this.forceDisplayCompositeForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayExecForm(){this.forceDisplayExecForm=!1}undisplayApplyForm(){this.forceDisplayApplyForm=!1}undisplayImageForm(){this.forceDisplayImageForm=!1}undisplayCompositeForm(){this.forceDisplayCompositeForm=!1}drop(e){this.moveCommand(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex)}moveCommand(e,i,r,o){this.devstate.moveCommand(e,i,r,o).subscribe({next:c=>{this.state.changeDevfileYaml(c)},error:c=>{alert(c.error.message)}})}enableDragAndDropChange(){this.state.saveDragAndDropEnabled(this.enableDragAndDrop)}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(x(ba),x(Hs),x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-commands"]],decls:67,vars:18,consts:[[1,"main"],[1,"align-right"],[3,"ngModel","ngModelChange"],["cdkDropListGroup",""],["cdkDropList","","cdkDropListData","build",3,"cdkDropListDropped"],[1,"description"],["kind","build",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","run",3,"cdkDropListDropped"],["kind","run",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","test",3,"cdkDropListDropped"],["kind","test",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","debug",3,"cdkDropListDropped"],["kind","debug",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","deploy",3,"cdkDropListDropped"],["kind","deploy",3,"dragDisabled","commands"],["cdkDropList","","cdkDropListData","",3,"cdkDropListDropped"],["kind","",3,"dragDisabled","commands"],[3,"canceled",4,"ngIf"],[4,"ngIf"],["yPosition","above","xPosition","before"],["menu","matMenu"],["data-cy","new-command-exec","mat-menu-item","",3,"click"],[1,"tab-icon","material-icons-outlined"],["data-cy","new-command-image","mat-menu-item","",3,"click"],["data-cy","new-command-apply","mat-menu-item","",3,"click"],["data-cy","new-command-composite","mat-menu-item","",3,"click"],[3,"canceled"],["data-cy","add","mat-fab","","color","primary",1,"fab",3,"matMenuTriggerFor"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(T(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),we("ngModelChange",function(o){return i.enableDragAndDrop=o})("ngModelChange",function(){return i.enableDragAndDropChange()}),H(3,"Enable Drag and Drop"),w()(),T(4,"div",3)(5,"div",4),we("cdkDropListDropped",function(o){return i.drop(o)}),T(6,"h2"),H(7,"Build Commands"),w(),T(8,"div",5),H(9,"When using odo, a Build command is the first command executed during the inner loop. The command is expected to terminate after the build is completed."),w(),Ge(10,"app-commands-list",6),w(),T(11,"div",7),we("cdkDropListDropped",function(o){return i.drop(o)}),T(12,"h2"),H(13,"Run Commands"),w(),T(14,"div",5),H(15,"When using odo, a Run command is executed during the inner loop after the Build command terminates. The command is expected to not terminate."),w(),Ge(16,"app-commands-list",8),w(),T(17,"div",9),we("cdkDropListDropped",function(o){return i.drop(o)}),T(18,"h2"),H(19,"Test Commands"),w(),Ge(20,"app-commands-list",10),w(),T(21,"div",11),we("cdkDropListDropped",function(o){return i.drop(o)}),T(22,"h2"),H(23,"Debug Commands"),w(),T(24,"div",5),H(25,"When using odo, a Debug command is executed during the inner loop after the Build command terminates. The command is expected to not terminate."),w(),Ge(26,"app-commands-list",12),w(),T(27,"div",13),we("cdkDropListDropped",function(o){return i.drop(o)}),T(28,"h2"),H(29,"Deploy Commands"),w(),T(30,"div",5),H(31,"When using odo, a Deploy command is executed with "),T(32,"code"),H(33,"odo deploy"),w(),H(34,"."),w(),Ge(35,"app-commands-list",14),w(),T(36,"div",15),we("cdkDropListDropped",function(o){return i.drop(o)}),T(37,"h2"),H(38,"Generic Commands"),w(),T(39,"div",5),H(40,"Generic can be executed manually, or be part of composite commands and events."),w(),Ge(41,"app-commands-list",16),w()(),ve(42,e7,1,0,"app-command-exec",17),ve(43,t7,1,0,"app-command-apply",17),ve(44,n7,1,0,"app-command-image",17),ve(45,i7,1,0,"app-command-composite",17),w(),ve(46,r7,4,1,"ng-container",18),T(47,"mat-menu",19,20)(49,"button",21),we("click",function(){return i.displayExecForm()}),T(50,"mat-icon",22),H(51,"width_normal"),w(),T(52,"span"),H(53,"Exec command"),w()(),T(54,"button",23),we("click",function(){return i.displayImageForm()}),T(55,"mat-icon",22),H(56,"image"),w(),T(57,"span"),H(58,"Image command"),w()(),T(59,"button",24),we("click",function(){return i.displayApplyForm()}),T(60,"mat-icon",22),H(61,"description"),w(),T(62,"span"),H(63,"Apply command"),w()(),T(64,"button",25),we("click",function(){return i.displayCompositeForm()}),T(65,"span"),H(66,"Composite command"),w()()()),2&e&&(N(2),W("ngModel",i.enableDragAndDrop),N(8),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),N(6),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),N(4),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),N(6),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),N(9),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),N(6),W("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),N(1),W("ngIf",i.forceDisplayExecForm),N(1),W("ngIf",i.forceDisplayApplyForm),N(1),W("ngIf",i.forceDisplayImageForm),N(1),W("ngIf",i.forceDisplayCompositeForm),N(1),W("ngIf",!(i.forceDisplayExecForm||i.forceDisplayApplyForm||i.forceDisplayImageForm||i.forceDisplayCompositeForm)))},dependencies:[Hi,Ua,uC,FS,SS,ab,Dh,ol,Zz,mb,Qz,vU,MU,AU,RU,JU],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.command[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:4px;background-color:#eee;padding:4px;margin:4px}.parallel-command[_ngcontent-%COMP%]{margin:8px}.serial-commands[_ngcontent-%COMP%]{margin:4px}h2[_ngcontent-%COMP%]{color:#3f51b5}div.align-right[_ngcontent-%COMP%]{text-align:right}"]}),n})();function s7(n,t){if(1&n&&(T(0,"div"),H(1,"URI: "),T(2,"code"),H(3),w()()),2&n){const e=Fe().$implicit;N(3),Tn(e.uri)}}function a7(n,t){if(1&n&&(T(0,"div")(1,"pre"),H(2),w()()),2&n){const e=Fe().$implicit;N(2),Tn(e.inlined)}}function c7(n,t){if(1&n){const e=Bn();T(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),H(3),w(),T(4,"mat-card-subtitle"),H(5,"Cluster Resource"),w()(),T(6,"mat-card-content"),ve(7,s7,4,1,"div",3),ve(8,a7,3,1,"div",3),w(),T(9,"mat-card-actions")(10,"button",6),we("click",function(){const o=Xt(e).$implicit;return mn(Fe().delete(o.name))}),H(11,"Delete"),w()()()}if(2&n){const e=t.$implicit;N(3),Tn(e.name),N(4),W("ngIf",e.uri),N(1),W("ngIf",e.inlined)}}function l7(n,t){if(1&n){const e=Bn();T(0,"app-resource",7),we("canceled",function(){return Xt(e),mn(Fe().undisplayAddForm())})("created",function(r){return Xt(e),mn(Fe().onCreated(r))}),w()}2&n&&W("cancelable",Fe().forceDisplayAdd)}function d7(n,t){if(1&n){const e=Bn();Zo(0),T(1,"button",8),we("click",function(){return Xt(e),mn(Fe().displayAddForm())}),T(2,"mat-icon",9),H(3,"add"),w()(),qo()}}let u7=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayAdd=!1,this.resources=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,Lr.Z)(function*(o){i.resources=o?.resources,null!=e.resources&&(i.forceDisplayAdd=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.forceDisplayAdd=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayAdd=!1}delete(e){confirm('You will delete the resource "'+e+'". Continue?')&&this.devstate.deleteResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onCreated(e){this.devstate.addResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(x(ba),x(Hs))},n.\u0275cmp=k({type:n,selectors:[["app-resources"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","resource-info",4,"ngFor","ngForOf"],[3,"cancelable","canceled","created",4,"ngIf"],[4,"ngIf"],["data-cy","resource-info"],[1,"colored-title"],["mat-button","","color","warn",3,"click"],[3,"cancelable","canceled","created"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(T(0,"div",0),ve(1,c7,12,3,"mat-card",1),ve(2,l7,1,1,"app-resource",2),w(),ve(3,d7,4,0,"ng-container",3)),2&e&&(N(1),W("ngForOf",i.resources),N(1),W("ngIf",i.forceDisplayAdd||null==i.resources||0==i.resources.length),N(1),W("ngIf",!i.forceDisplayAdd&&null!=i.resources&&i.resources.length>0))},dependencies:[yc,Hi,no,ab,Im,Rm,Fm,Pm,Om,Am,ol,MA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function h7(n,t){if(1&n&&(T(0,"tr")(1,"td"),H(2,"Build Args:"),w(),T(3,"td")(4,"code"),H(5),w()()()),2&n){const e=Fe().$implicit;N(5),Tn(e.args)}}function f7(n,t){if(1&n){const e=Bn();T(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),H(3),w(),T(4,"mat-card-subtitle"),H(5,"Image"),w()(),T(6,"mat-card-content")(7,"table",6)(8,"tr")(9,"td"),H(10,"Image Name:"),w(),T(11,"td")(12,"code"),H(13),w()()(),T(14,"tr")(15,"td"),H(16,"Dockerfile URI:"),w(),T(17,"td")(18,"code"),H(19),w()()(),ve(20,h7,6,1,"tr",3),T(21,"tr")(22,"td"),H(23,"Build Context:"),w(),T(24,"td")(25,"code"),H(26),w()()(),T(27,"tr")(28,"td"),H(29,"Root Required:"),w(),T(30,"td")(31,"code"),H(32),w()()()()(),T(33,"mat-card-actions")(34,"button",7),we("click",function(){const o=Xt(e).$implicit;return mn(Fe().delete(o.name))}),H(35,"Delete"),w()()()}if(2&n){const e=t.$implicit;N(3),Tn(e.name),N(10),Tn(e.imageName),N(6),Tn(e.uri),N(1),W("ngIf",null!=e.args&&e.args.length>0),N(6),Tn(e.buildContext),N(6),Tn(e.rootRequired?"Yes":"No")}}function m7(n,t){if(1&n){const e=Bn();T(0,"app-image",8),we("canceled",function(){return Xt(e),mn(Fe().undisplayAddForm())})("created",function(r){return Xt(e),mn(Fe().onCreated(r))}),w()}2&n&&W("cancelable",Fe().forceDisplayAdd)}function p7(n,t){if(1&n){const e=Bn();Zo(0),T(1,"button",9),we("click",function(){return Xt(e),mn(Fe().displayAddForm())}),T(2,"mat-icon",10),H(3,"add"),w()(),qo()}}let g7=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayAdd=!1,this.images=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,Lr.Z)(function*(o){i.images=o?.images,null!=e.images&&(i.forceDisplayAdd=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.forceDisplayAdd=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayAdd=!1}delete(e){confirm('You will delete the image "'+e+'". Continue?')&&this.devstate.deleteImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onCreated(e){this.devstate.addImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(x(ba),x(Hs))},n.\u0275cmp=k({type:n,selectors:[["app-images"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","image-info",4,"ngFor","ngForOf"],[3,"cancelable","canceled","created",4,"ngIf"],[4,"ngIf"],["data-cy","image-info"],[1,"colored-title"],[1,"aligned"],["mat-button","","color","warn",3,"click"],[3,"cancelable","canceled","created"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(T(0,"div",0),ve(1,f7,36,6,"mat-card",1),ve(2,m7,1,1,"app-image",2),w(),ve(3,p7,4,0,"ng-container",3)),2&e&&(N(1),W("ngForOf",i.images),N(1),W("ngIf",i.forceDisplayAdd||null==i.images||0==i.images.length),N(1),W("ngIf",!i.forceDisplayAdd&&null!=i.images&&i.images.length>0))},dependencies:[yc,Hi,no,ab,Im,Rm,Fm,Pm,Om,Am,ol,EA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function _7(n,t){if(1&n){const e=Bn();T(0,"mat-chip-row",8),we("removed",function(){const o=Xt(e).$implicit;return mn(Fe().remove(o))}),H(1),T(2,"button",9)(3,"mat-icon",10),H(4,"cancel"),w()()()}if(2&n){const e=t.$implicit;N(1),Ri(" ",e," ")}}function b7(n,t){if(1&n&&(T(0,"mat-option",11),H(1),w()),2&n){const e=t.$implicit;W("value",e),N(1),Ri(" ",e," ")}}let y7=(()=>{class n{constructor(e){this.commandInput=e,this.commands=[],this.allCommands=[],this.updated=new rt,this.separatorKeysCodes=[13,188],this.commandCtrl=new yn(""),this.filteredCommands=this.commandCtrl.valueChanges.pipe(Or(null),Pn(i=>i?this._filter(i):this.allCommands.slice()))}add(e){const i=(e.value||"").trim();i&&(this.commands.push(i),this.updated.emit(this.commands)),e.chipInput.clear(),this.commandCtrl.setValue(null)}remove(e){const i=this.commands.indexOf(e);i>=0&&(this.commands.splice(i,1),this.updated.emit(this.commands))}selected(e){this.commands.push(e.option.viewValue),this.updated.emit(this.commands),this.commandInput.nativeElement.value="",this.commandCtrl.setValue(null)}_filter(e){const i=e.toLowerCase();return this.allCommands.filter(r=>r.toLowerCase().includes(i))}}return n.\u0275fac=function(e){return new(e||n)(x(E))},n.\u0275cmp=k({type:n,selectors:[["app-chips-events"]],inputs:{commands:"commands",allCommands:"allCommands"},outputs:{updated:"updated"},decls:12,vars:8,consts:[["appearance","fill",1,"chip-list"],["chipGrid",""],[3,"removed",4,"ngFor","ngForOf"],["placeholder","New command...",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["commandInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removed"],["matChipRemove",""],[1,"material-icons-outlined"],[3,"value"]],template:function(e,i){if(1&e&&(T(0,"mat-form-field",0)(1,"mat-label"),H(2,"Commands"),w(),T(3,"mat-chip-grid",null,1),ve(5,_7,5,1,"mat-chip-row",2),w(),T(6,"input",3,4),we("matChipInputTokenEnd",function(o){return i.add(o)}),w(),T(8,"mat-autocomplete",5,6),we("optionSelected",function(o){return i.selected(o)}),ve(10,b7,2,2,"mat-option",7),function PD(n,t){const e=Nn();let i;const r=n+xi;e.firstCreatePass?(i=function fP(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Fc(i.type)),a=$i(x);try{const c=du(!1),d=o();return du(c),function oO(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,Te(),r,d),d}finally{$i(a)}}(11,"async"),w()()),2&e){const r=Yo(4),o=Yo(9);N(5),W("ngForOf",i.commands),N(1),W("formControl",i.commandCtrl)("matChipInputFor",r)("matAutocomplete",o)("matChipInputSeparatorKeyCodes",i.separatorKeysCodes),N(4),W("ngForOf",LD(11,6,i.filteredCommands))}},dependencies:[yc,ga,Ua,fC,KH,Mm,gI,zI,$I,BI,gx,Vs,bs,ol,sE],styles:[".chip-list[_ngcontent-%COMP%]{width:100%}"]}),n})();const nd=function(){return[]};let v7=(()=>{class n{constructor(e,i,r){this.state=e,this.devstate=i,this.telemetry=r}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,Lr.Z)(function*(r){e.events=r?.events,e.allCommands=r?.commands?.map(o=>o.name)});return function(r){return i.apply(this,arguments)}}())}onUpdate(e,i){this.telemetry.track("[ui] add "+e+" event"),this.devstate.updateEvents(e,i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(x(ba),x(Hs),x(Ka))},n.\u0275cmp=k({type:n,selectors:[["app-events"]],decls:21,vars:16,consts:[[1,"main"],[1,"description"],[3,"commands","allCommands","updated"]],template:function(e,i){if(1&e&&(T(0,"div",0)(1,"h2"),H(2,"Pre-Start event"),w(),T(3,"div",1),H(4,"Pre-Start commands are executed before the inner loop is started, inside init-containers (not implemented by odo)."),w(),T(5,"app-chips-events",2),we("updated",function(o){return i.onUpdate("preStart",o)}),w(),T(6,"h2"),H(7,"Post-Start event"),w(),T(8,"div",1),H(9,"Post-Start commands are executed at the beginning of the inner loop, inside pre-fetched containers."),w(),T(10,"app-chips-events",2),we("updated",function(o){return i.onUpdate("postStart",o)}),w(),T(11,"h2"),H(12,"Pre-Stop event"),w(),T(13,"div",1),H(14,"Pre-Stop commands are executed at the end of the inner loop, inside pre-fetched containers."),w(),T(15,"app-chips-events",2),we("updated",function(o){return i.onUpdate("preStop",o)}),w(),T(16,"h2"),H(17,"Post-Stop event"),w(),T(18,"div",1),H(19,"Post-Stop commands are executed after the inner loop is finished (not implemented by odo)."),w(),T(20,"app-chips-events",2),we("updated",function(o){return i.onUpdate("postStop",o)}),w()()),2&e){let r,o,a,c,d,h,p,_;N(5),W("commands",null!==(r=null==i.events?null:i.events.preStart)&&void 0!==r?r:Zc(8,nd))("allCommands",null!==(o=i.allCommands)&&void 0!==o?o:Zc(9,nd)),N(5),W("commands",null!==(a=null==i.events?null:i.events.postStart)&&void 0!==a?a:Zc(10,nd))("allCommands",null!==(c=i.allCommands)&&void 0!==c?c:Zc(11,nd)),N(5),W("commands",null!==(d=null==i.events?null:i.events.preStop)&&void 0!==d?d:Zc(12,nd))("allCommands",null!==(h=i.allCommands)&&void 0!==h?h:Zc(13,nd)),N(5),W("commands",null!==(p=null==i.events?null:i.events.postStop)&&void 0!==p?p:Zc(14,nd))("allCommands",null!==(_=i.allCommands)&&void 0!==_?_:Zc(15,nd))}},dependencies:[y7],styles:[".main[_ngcontent-%COMP%]{padding:16px}h2[_ngcontent-%COMP%]{color:#3f51b5}"]}),n})();function C7(n,t){if(1&n&&(T(0,"div",22),H(1),w()),2&n){const e=Fe();N(1),Tn(e.errorMessage)}}function x7(n,t){1&n&&H(0),2&n&&Ri(" ",Fe().tabNames[2]," ")}function w7(n,t){if(1&n&&(T(0,"mat-icon",23),H(1,"code"),w(),H(2)),2&n){const e=Fe();N(2),Ri(" ",e.tabNames[3]," ")}}function D7(n,t){if(1&n&&(T(0,"mat-icon",23),H(1,"alarm"),w(),H(2)),2&n){const e=Fe();N(2),Ri(" ",e.tabNames[4]," ")}}function M7(n,t){if(1&n&&(T(0,"mat-icon",23),H(1,"width_normal"),w(),H(2)),2&n){const e=Fe();N(2),Ri(" ",e.tabNames[5]," ")}}function E7(n,t){if(1&n&&(T(0,"mat-icon",23),H(1,"image"),w(),H(2)),2&n){const e=Fe();N(2),Ri(" ",e.tabNames[6]," ")}}function T7(n,t){if(1&n&&(T(0,"mat-icon",23),H(1,"description"),w(),H(2)),2&n){const e=Fe();N(2),Ri(" ",e.tabNames[7]," ")}}function k7(n,t){if(1&n&&(T(0,"mat-icon",23),H(1,"storage"),w(),H(2)),2&n){const e=Fe();N(2),Ri(" ",e.tabNames[8]," ")}}let S7=(()=>{class n{constructor(e,i,r,o,a,c,d,h,p){this.sanitizer=e,this.matIconRegistry=i,this.wasmGo=r,this.odoApi=o,this.mermaid=a,this.state=c,this.sse=d,this.telemetry=h,this.snackbar=p,this.tabNames=["YAML","Chart","Metadata","Commands","Events","Containers","Images","Resources","Volumes"],this.mermaidContent="",this.devfileYaml="",this.errorMessage="",this.snackBarRef=null,this.matIconRegistry.addSvgIcon("github",this.sanitizer.bypassSecurityTrustResourceUrl("../assets/github-24.svg"))}ngOnInit(){var e=this;const i=document.getElementById("loading");null!=i&&(i.style.visibility="hidden"),this.odoApi.getDevfile().subscribe({next:o=>{null!=o.content&&this.propagateChange(o.content,!1)}}),this.state.state.subscribe(function(){var o=(0,Lr.Z)(function*(a){var d;null!=a&&(e.devfileYaml=a.content,e.wasmGo.getFlowChart().subscribe({next:(d=(0,Lr.Z)(function*(h){const p=yield e.mermaid.getMermaidAsSVG(h.chart);e.mermaidContent=p}),function(p){return d.apply(this,arguments)}),error:d=>{console.log(d)}}))});return function(a){return o.apply(this,arguments)}}()),this.sse.subscribeTo(["DevfileUpdated"]).subscribe(o=>{null!=this.snackBarRef&&(this.snackBarRef.afterDismissed().subscribe(()=>{}),this.snackBarRef.dismiss()),this.snackBarRef=this.snackbar.openFromComponent(Uj,{data:{message:"The Devfile has changed on disk. Do you want to update it here?",noLabel:"Cancel",yesLabel:"Update"}}),this.snackBarRef.onAction().subscribe(()=>{let a=JSON.parse(o.data);null!=a.content&&this.propagateChange(a.content,!1),this.snackBarRef=null}),this.snackBarRef.afterDismissed().subscribe(()=>{this.snackBarRef=null})}),this.odoApi.telemetry().subscribe({next:o=>{if(o.enabled){if(null==o.apikey||null==o.userid)return;this.telemetry.init(o.apikey,o.userid),this.telemetry.track("[ui] start")}},error:()=>{}})}propagateChange(e,i){this.wasmGo.setDevfileContent(e).subscribe({next:o=>{this.errorMessage="",this.state.changeDevfileYaml(o),i&&this.odoApi.saveDevfile(o.content).subscribe({next:()=>{},error:a=>{this.errorMessage=a.error.message}})},error:o=>{this.errorMessage=o.error.message}})}onSave(e){this.telemetry.track("[ui] save devfile to disk"),this.propagateChange(e,!0)}onApply(e){this.telemetry.track("[ui] change devfile from textarea"),this.propagateChange(e,!1)}clear(){confirm("You will delete the content of the Devfile. Continue?")&&(this.telemetry.track("[ui] clear devfile"),this.wasmGo.clearDevfileContent().subscribe({next:e=>{this.propagateChange(e.content,!1)}}))}onSelectedTabChange(e){this.telemetry.track("[ui] change to tab "+this.tabNames[e.index])}}return n.\u0275fac=function(e){return new(e||n)(x(a_),x(Nm),x(Hs),x(Wj),x(eU),x(ba),x(tU),x(Ka),x(F$))},n.\u0275cmp=k({type:n,selectors:[["app-root"]],decls:50,vars:5,consts:[["color","primary"],[1,"spacer"],[1,"topright"],["mat-icon-button","","href","https://github.com/feloy/devfile-builder","target","_blank"],["svgIcon","github"],[1,"flex-container"],[1,"flex-child"],["animationDuration","0",3,"selectedTabChange"],["data-cy","tab-yaml",3,"label"],[1,"tab-content"],["data-cy","yaml-error","class","error-message",4,"ngIf"],["appearance","outline",1,"full-width"],["data-cy","yaml-input","matInput","","id","input","rows","20",3,"value"],["input",""],["data-cy","yaml-send","matTooltip","Save Devfile to disk","mat-flat-button","","color","primary",3,"click"],["data-cy","yaml-save","matTooltip","Apply changes to other tabs","mat-flat-button","","color","normal",3,"click"],["data-cy","yaml-clear","matTooltip","Clear Devfile content","mat-flat-button","","color","normal",3,"click"],["data-cy","tab-chart",3,"label"],["id","mermaid",1,"mermaid",3,"innerHTML"],["mermaid",""],["data-cy","tab-metadata"],["mat-tab-label",""],["data-cy","yaml-error",1,"error-message"],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){if(1&e){const r=Bn();T(0,"mat-toolbar",0)(1,"span"),H(2,"Devfile Builder"),w(),Ge(3,"span",1),T(4,"span",2),H(5,"Work in progress"),w(),T(6,"a",3),Ge(7,"mat-icon",4),w()(),T(8,"main")(9,"div",5)(10,"div",6)(11,"mat-tab-group",7),we("selectedTabChange",function(a){return i.onSelectedTabChange(a)}),T(12,"mat-tab",8)(13,"div",9),ve(14,C7,2,1,"div",10),T(15,"mat-form-field",11)(16,"mat-label"),H(17,"Devfile YAML"),w(),Ge(18,"textarea",12,13),w(),T(20,"button",14),we("click",function(){Xt(r);const a=Yo(19);return mn(i.onSave(a.value))}),H(21,"Save"),w(),T(22,"button",15),we("click",function(){Xt(r);const a=Yo(19);return mn(i.onApply(a.value))}),H(23,"Apply"),w(),T(24,"button",16),we("click",function(){return i.clear()}),H(25,"Clear"),w()()(),T(26,"mat-tab",17)(27,"div",6),Ge(28,"div",18,19),w()(),T(30,"mat-tab",20),ve(31,x7,1,1,"ng-template",21),Ge(32,"app-metadata"),w(),T(33,"mat-tab"),ve(34,w7,3,1,"ng-template",21),Ge(35,"app-commands"),w(),T(36,"mat-tab"),ve(37,D7,3,1,"ng-template",21),Ge(38,"app-events"),w(),T(39,"mat-tab"),ve(40,M7,3,1,"ng-template",21),Ge(41,"app-containers"),w(),T(42,"mat-tab"),ve(43,E7,3,1,"ng-template",21),Ge(44,"app-images"),w(),T(45,"mat-tab"),ve(46,T7,3,1,"ng-template",21),Ge(47,"app-resources"),w(),T(48,"mat-tab"),ve(49,k7,3,1,"ng-template",21),w()()()()()}2&e&&(N(12),kg("label",i.tabNames[0]),N(2),W("ngIf",i.errorMessage),N(4),W("value",i.devfileYaml),N(8),kg("label",i.tabNames[1]),N(2),W("innerHTML",i.sanitizer.bypassSecurityTrustHtml(i.mermaidContent),cg))},dependencies:[Hi,no,u6,Vs,bs,ol,Mc,sA,dA,gj,wj,td,iU,_U,o7,u7,g7,v7],styles:["main[_ngcontent-%COMP%]{min-height:calc(100vh - 100px)}div.mermaid[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace!important}.flex-container[_ngcontent-%COMP%]{display:flex}.flex-child[_ngcontent-%COMP%]{flex:1}.flex-child[_ngcontent-%COMP%]:first-child{margin-right:20px}#input[_ngcontent-%COMP%]{width:99%}button[_ngcontent-%COMP%]{margin-top:20px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}div.tab-content[_ngcontent-%COMP%]{padding:16px}div.error-message[_ngcontent-%COMP%]{font-size:large;margin:16px}"]}),n})(),I7=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n,bootstrap:[S7]}),n.\u0275inj=Zt({imports:[OE,s5,fV,hV,NV,x8,t6,xI,g6,A6,j6,gz,ob,Iz,Nz,Jz,_$,tA,bj,Dj,Vj,sl.forRoot({loadOnInitialization:!1})]}),n})();ZN().bootstrapModule(I7).catch(n=>console.error(n))},1764:function(Jt){Jt.exports=function(){"use strict";var O=6e4,q=36e5,de="millisecond",re="second",J="minute",ne="hour",je="day",Ye="week",B="month",le="quarter",K="year",ce="date",kt="Invalid Date",qt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ke=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(wt){var Ue=["th","st","nd","rd"],Ce=wt%100;return"["+wt+(Ue[(Ce-20)%10]||Ue[Ce]||Ue[0])+"]"}},Me=function(wt,Ue,Ce){var Ze=String(wt);return!Ze||Ze.length>=Ue?wt:""+Array(Ue+1-Ze.length).join(Ce)+wt},pe={s:Me,z:function(wt){var Ue=-wt.utcOffset(),Ce=Math.abs(Ue),Ze=Math.floor(Ce/60),Ve=Ce%60;return(Ue<=0?"+":"-")+Me(Ze,2,"0")+":"+Me(Ve,2,"0")},m:function wt(Ue,Ce){if(Ue.date()1)return wt(ut[0])}else{var be=Ue.name;Tt[be]=Ue,Ve=be}return!Ze&&Ve&&(yt=Ve),Ve||!Ze&&yt},Ht=function(wt,Ue){if(pt(wt))return wt.clone();var Ce="object"==typeof Ue?Ue:{};return Ce.date=wt,Ce.args=arguments,new nn(Ce)},at=pe;at.l=Vt,at.i=pt,at.w=function(wt,Ue){return Ht(wt,{locale:Ue.$L,utc:Ue.$u,x:Ue.$x,$offset:Ue.$offset})};var nn=function(){function wt(Ce){this.$L=Vt(Ce.locale,null,!0),this.parse(Ce)}var Ue=wt.prototype;return Ue.parse=function(Ce){this.$d=function(Ze){var Ve=Ze.date,gt=Ze.utc;if(null===Ve)return new Date(NaN);if(at.u(Ve))return new Date;if(Ve instanceof Date)return new Date(Ve);if("string"==typeof Ve&&!/Z$/i.test(Ve)){var ut=Ve.match(qt);if(ut){var be=ut[2]-1||0,wn=(ut[7]||"0").substring(0,3);return gt?new Date(Date.UTC(ut[1],be,ut[3]||1,ut[4]||0,ut[5]||0,ut[6]||0,wn)):new Date(ut[1],be,ut[3]||1,ut[4]||0,ut[5]||0,ut[6]||0,wn)}}return new Date(Ve)}(Ce),this.$x=Ce.x||{},this.init()},Ue.init=function(){var Ce=this.$d;this.$y=Ce.getFullYear(),this.$M=Ce.getMonth(),this.$D=Ce.getDate(),this.$W=Ce.getDay(),this.$H=Ce.getHours(),this.$m=Ce.getMinutes(),this.$s=Ce.getSeconds(),this.$ms=Ce.getMilliseconds()},Ue.$utils=function(){return at},Ue.isValid=function(){return this.$d.toString()!==kt},Ue.isSame=function(Ce,Ze){var Ve=Ht(Ce);return this.startOf(Ze)<=Ve&&Ve<=this.endOf(Ze)},Ue.isAfter=function(Ce,Ze){return Ht(Ce)"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct:function(Jn,yi,Yi){var hn=[null];hn.push.apply(hn,yi);var Mo=new(Function.bind.apply(Jn,hn));return Yi&&O(Mo,Yi.prototype),Mo}).apply(null,arguments)}function re(Ke){return function J(Ke){if(Array.isArray(Ke))return Ye(Ke)}(Ke)||function ne(Ke){if(typeof Symbol<"u"&&null!=Ke[Symbol.iterator]||null!=Ke["@@iterator"])return Array.from(Ke)}(Ke)||function je(Ke,Je){if(Ke){if("string"==typeof Ke)return Ye(Ke,Je);var jt=Object.prototype.toString.call(Ke).slice(8,-1);if("Object"===jt&&Ke.constructor&&(jt=Ke.constructor.name),"Map"===jt||"Set"===jt)return Array.from(Ke);if("Arguments"===jt||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(jt))return Ye(Ke,Je)}}(Ke)||function B(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ye(Ke,Je){(null==Je||Je>Ke.length)&&(Je=Ke.length);for(var jt=0,pn=new Array(Je);jt1?jt-1:0),Jn=1;Jn/gm),vr=X(/\${[\w\W]*}/gm),ir=X(/^data-[\-\w.\u00B7-\uFFFF]/),Jo=X(/^aria-[\-\w]+$/),va=X(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ca=X(/^(?:\w+script|data):/i),Do=X(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Li=X(/^html$/i),es=function(){return typeof window>"u"?null:window},Ni=function(Je,jt){if("object"!==Ie(Je)||"function"!=typeof Je.createPolicy)return null;var pn=null,Jn="data-tt-policy-suffix";jt.currentScript&&jt.currentScript.hasAttribute(Jn)&&(pn=jt.currentScript.getAttribute(Jn));var yi="dompurify"+(pn?"#"+pn:"");try{return Je.createPolicy(yi,{createHTML:function(hn){return hn},createScriptURL:function(hn){return hn}})}catch{return console.warn("TrustedTypes policy "+yi+" could not be created."),null}};return function ts(){var Ke=arguments.length>0&&void 0!==arguments[0]?arguments[0]:es(),Je=function(U){return ts(U)};if(Je.version="2.4.3",Je.removed=[],!Ke||!Ke.document||9!==Ke.document.nodeType)return Je.isSupported=!1,Je;var jt=Ke.document,pn=Ke.document,Jn=Ke.DocumentFragment,yi=Ke.HTMLTemplateElement,Yi=Ke.Node,hn=Ke.Element,pi=Ke.NodeFilter,Mo=Ke.NamedNodeMap,xa=void 0===Mo?Ke.NamedNodeMap||Ke.MozNamedAttrMap:Mo,ns=Ke.HTMLFormElement,js=Ke.DOMParser,io=Ke.trustedTypes,Nr=hn.prototype,Z=bn(Nr,"cloneNode"),P=bn(Nr,"nextSibling"),Se=bn(Nr,"childNodes"),ht=bn(Nr,"parentNode");if("function"==typeof yi){var gi=pn.createElement("template");gi.content&&gi.content.ownerDocument&&(pn=gi.content.ownerDocument)}var Cn=Ni(io,jt),is=Cn?Cn.createHTML(""):"",oo=pn.implementation,wa=pn.createNodeIterator,Us=pn.createDocumentFragment,vi=pn.getElementsByTagName,rs=jt.importNode,Eo={};try{Eo=wn(pn).documentMode?pn.documentMode:{}}catch{}var Br={};Je.isSupported="function"==typeof ht&&oo&&typeof oo.createHTMLDocument<"u"&&9!==Eo;var Dr,ui,To=Pi,ko=wo,vs=vr,xr=ir,Zi=Jo,Da=Ca,So=Do,Io=va,Yn=null,dl=be({},[].concat(re(an),re(di),re(Ee),re(_t),re(It))),ki=null,Xa=be({},[].concat(re(Qn),re(Pn),re(yr),re(ys))),ri=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ao=null,Fo=null,Qa=!0,Ws=!0,rr=!1,qi=!1,Ci=!1,Oo=!1,Ja=!1,Ro=!1,Cs=!1,Gs=!1,os=!0,oi=!1,wr=!0,Fn=!1,so={},He=null,Yr=be({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),wi=null,fn=be({},["audio","video","img","source","image","track"]),Nt=null,or=be({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ao="http://www.w3.org/1998/Math/MathML",ei="http://www.w3.org/2000/svg",Si="http://www.w3.org/1999/xhtml",ge=Si,xs=!1,Yt=null,In=be({},[ao,ei,Si],nn),Ma=["application/xhtml+xml","text/html"],hi=null,Ea=pn.createElement("form"),Zs=function(U){return U instanceof RegExp||U instanceof Function},sr=function(U){hi&&hi===U||((!U||"object"!==Ie(U))&&(U={}),U=wn(U),Dr=Dr=-1===Ma.indexOf(U.PARSER_MEDIA_TYPE)?"text/html":U.PARSER_MEDIA_TYPE,ui="application/xhtml+xml"===Dr?nn:at,Yn="ALLOWED_TAGS"in U?be({},U.ALLOWED_TAGS,ui):dl,ki="ALLOWED_ATTR"in U?be({},U.ALLOWED_ATTR,ui):Xa,Yt="ALLOWED_NAMESPACES"in U?be({},U.ALLOWED_NAMESPACES,nn):In,Nt="ADD_URI_SAFE_ATTR"in U?be(wn(or),U.ADD_URI_SAFE_ATTR,ui):or,wi="ADD_DATA_URI_TAGS"in U?be(wn(fn),U.ADD_DATA_URI_TAGS,ui):fn,He="FORBID_CONTENTS"in U?be({},U.FORBID_CONTENTS,ui):Yr,Ao="FORBID_TAGS"in U?be({},U.FORBID_TAGS,ui):{},Fo="FORBID_ATTR"in U?be({},U.FORBID_ATTR,ui):{},so="USE_PROFILES"in U&&U.USE_PROFILES,Qa=!1!==U.ALLOW_ARIA_ATTR,Ws=!1!==U.ALLOW_DATA_ATTR,rr=U.ALLOW_UNKNOWN_PROTOCOLS||!1,qi=U.SAFE_FOR_TEMPLATES||!1,Ci=U.WHOLE_DOCUMENT||!1,Ro=U.RETURN_DOM||!1,Cs=U.RETURN_DOM_FRAGMENT||!1,Gs=U.RETURN_TRUSTED_TYPE||!1,Ja=U.FORCE_BODY||!1,os=!1!==U.SANITIZE_DOM,oi=U.SANITIZE_NAMED_PROPS||!1,wr=!1!==U.KEEP_CONTENT,Fn=U.IN_PLACE||!1,Io=U.ALLOWED_URI_REGEXP||Io,ge=U.NAMESPACE||Si,U.CUSTOM_ELEMENT_HANDLING&&Zs(U.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ri.tagNameCheck=U.CUSTOM_ELEMENT_HANDLING.tagNameCheck),U.CUSTOM_ELEMENT_HANDLING&&Zs(U.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ri.attributeNameCheck=U.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),U.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof U.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ri.allowCustomizedBuiltInElements=U.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),qi&&(Ws=!1),Cs&&(Ro=!0),so&&(Yn=be({},re(It)),ki=[],!0===so.html&&(be(Yn,an),be(ki,Qn)),!0===so.svg&&(be(Yn,di),be(ki,Pn),be(ki,ys)),!0===so.svgFilters&&(be(Yn,Ee),be(ki,Pn),be(ki,ys)),!0===so.mathMl&&(be(Yn,_t),be(ki,yr),be(ki,ys))),U.ADD_TAGS&&(Yn===dl&&(Yn=wn(Yn)),be(Yn,U.ADD_TAGS,ui)),U.ADD_ATTR&&(ki===Xa&&(ki=wn(ki)),be(ki,U.ADD_ATTR,ui)),U.ADD_URI_SAFE_ATTR&&be(Nt,U.ADD_URI_SAFE_ATTR,ui),U.FORBID_CONTENTS&&(He===Yr&&(He=wn(He)),be(He,U.FORBID_CONTENTS,ui)),wr&&(Yn["#text"]=!0),Ci&&be(Yn,["html","head","body"]),Yn.table&&(be(Yn,["tbody"]),delete Ao.tbody),ke&&ke(U),hi=U)},ar=be({},["mi","mo","mn","ms","mtext"]),Po=be({},["foreignobject","desc","title","annotation-xml"]),ul=be({},["title","style","font","a","script"]),qs=be({},di);be(qs,Ee),be(qs,Gi);var Tc=be({},_t);be(Tc,qe);var Vr=function(U){Ht(Je.removed,{element:U});try{U.parentNode.removeChild(U)}catch{try{U.outerHTML=is}catch{U.remove()}}},ec=function(U,Oe){try{Ht(Je.removed,{attribute:Oe.getAttributeNode(U),from:Oe})}catch{Ht(Je.removed,{attribute:null,from:Oe})}if(Oe.removeAttribute(U),"is"===U&&!ki[U])if(Ro||Cs)try{Vr(Oe)}catch{}else try{Oe.setAttribute(U,"")}catch{}},kc=function(U){var Oe,tt;if(Ja)U=""+U;else{var Dn=Xn(U,/^[\r\n\t ]+/);tt=Dn&&Dn[0]}"application/xhtml+xml"===Dr&&ge===Si&&(U=''+U+"");var Di=Cn?Cn.createHTML(U):U;if(ge===Si)try{Oe=(new js).parseFromString(Di,Dr)}catch{}if(!Oe||!Oe.documentElement){Oe=oo.createDocument(ge,"template",null);try{Oe.documentElement.innerHTML=xs?is:Di}catch{}}var zn=Oe.body||Oe.documentElement;return U&&tt&&zn.insertBefore(pn.createTextNode(tt),zn.childNodes[0]||null),ge===Si?vi.call(Oe,Ci?"html":"body")[0]:Ci?Oe.documentElement:zn},Ki=function(U){return wa.call(U.ownerDocument||U,U,pi.SHOW_ELEMENT|pi.SHOW_COMMENT|pi.SHOW_TEXT,null,!1)},Hr=function(U){return"object"===Ie(Yi)?U instanceof Yi:U&&"object"===Ie(U)&&"number"==typeof U.nodeType&&"string"==typeof U.nodeName},co=function(U,Oe,tt){Br[U]&&pt(Br[U],function(Dn){Dn.call(Je,Oe,tt,hi)})},hl=function(U){var Oe;if(co("beforeSanitizeElements",U,null),function(U){return U instanceof ns&&("string"!=typeof U.nodeName||"string"!=typeof U.textContent||"function"!=typeof U.removeChild||!(U.attributes instanceof xa)||"function"!=typeof U.removeAttribute||"function"!=typeof U.setAttribute||"string"!=typeof U.namespaceURI||"function"!=typeof U.insertBefore||"function"!=typeof U.hasChildNodes)}(U)||Ze(/[\u0080-\uFFFF]/,U.nodeName))return Vr(U),!0;var tt=ui(U.nodeName);if(co("uponSanitizeElement",U,{tagName:tt,allowedTags:Yn}),U.hasChildNodes()&&!Hr(U.firstElementChild)&&(!Hr(U.content)||!Hr(U.content.firstElementChild))&&Ze(/<[/\w]/g,U.innerHTML)&&Ze(/<[/\w]/g,U.textContent)||"select"===tt&&Ze(/