"use strict";(self.webpackChunkcolor_list=self.webpackChunkcolor_list||[]).push([[429],{895:()=>{}},s=>{s(s.s=895)}]);(()=>{"use strict";var e,v={},_={};function n(e){var o=_[e];if(void 0!==o)return o.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(o,r,s,l)=>{if(!r){var u=1/0;for(a=0;a=l)&&Object.keys(n.O).every(p=>n.O[p](r[f]))?r.splice(f--,1):(t=!1,l0&&e[a-1][2]>l;a--)e[a]=e[a-1];e[a]=[r,s,l]},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={666:0};n.O.j=s=>0===e[s];var o=(s,l)=>{var f,c,[a,u,t]=l,i=0;if(a.some(h=>0!==e[h])){for(f in u)n.o(u,f)&&(n.m[f]=u[f]);if(t)var d=t(n)}for(s&&s(l);i{function W(e){return"function"==typeof e}function Br(e){const n=e(i=>{Error.call(i),i.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const jr=Br(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function zn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class We{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:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:i}=this;if(W(i))try{i()}catch(o){t=o instanceof jr?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ku(o)}catch(s){t=t??[],s instanceof jr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new jr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ku(t);else{if(t instanceof We){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&zn(n,t)}remove(t){const{_finalizers:n}=this;n&&zn(n,t),t instanceof We&&t._removeParent(this)}}We.EMPTY=(()=>{const e=new We;return e.closed=!0,e})();const Xu=We.EMPTY;function Qu(e){return e instanceof We||e&&"closed"in e&&W(e.remove)&&W(e.add)&&W(e.unsubscribe)}function Ku(e){W(e)?e():e.unsubscribe()}const Dn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Hr={setTimeout(e,t,...n){const{delegate:i}=Hr;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Hr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ju(e){Hr.setTimeout(()=>{const{onUnhandledError:t}=Dn;if(!t)throw e;t(e)})}function Ls(){}const Uy=Bs("C",void 0,void 0);function Bs(e,t,n){return{kind:e,value:t,error:n}}let wn=null;function $r(e){if(Dn.useDeprecatedSynchronousErrorHandling){const t=!wn;if(t&&(wn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=wn;if(wn=null,n)throw i}}else e()}class js extends We{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Qu(t)&&t.add(this)):this.destination=Xy}static create(t,n,i){return new Ni(t,n,i)}next(t){this.isStopped?$s(function zy(e){return Bs("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?$s(function Gy(e){return Bs("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$s(Uy,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 qy=Function.prototype.bind;function Hs(e,t){return qy.call(e,t)}class Yy{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Ur(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Ur(i)}else Ur(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ur(n)}}}class Ni extends js{constructor(t,n,i){let r;if(super(),W(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&Dn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Hs(t.next,o),error:t.error&&Hs(t.error,o),complete:t.complete&&Hs(t.complete,o)}):r=t}this.destination=new Yy(r)}}function Ur(e){Dn.useDeprecatedSynchronousErrorHandling?function Wy(e){Dn.useDeprecatedSynchronousErrorHandling&&wn&&(wn.errorThrown=!0,wn.error=e)}(e):Ju(e)}function $s(e,t){const{onStoppedNotification:n}=Dn;n&&Hr.setTimeout(()=>n(e,t))}const Xy={closed:!0,next:Ls,error:function Zy(e){throw e},complete:Ls},Us="function"==typeof Symbol&&Symbol.observable||"@@observable";function ed(e){return e}let Ie=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){const o=function Ky(e){return e&&e instanceof js||function Qy(e){return e&&W(e.next)&&W(e.error)&&W(e.complete)}(e)&&Qu(e)}(n)?n:new Ni(n,i,r);return $r(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=nd(i))((r,o)=>{const s=new Ni({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[Us](){return this}pipe(...n){return function td(e){return 0===e.length?ed:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}(n)(this)}toPromise(n){return new(n=nd(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function nd(e){var t;return null!==(t=e??Dn.Promise)&&void 0!==t?t:Promise}const Jy=Br(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Je=(()=>{class e extends Ie{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new id(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Jy}next(n){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Xu:(this.currentObservers=null,o.push(n),new We(()=>{this.currentObservers=null,zn(o,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){const n=new Ie;return n.source=this,n}}return e.create=(t,n)=>new id(t,n),e})();class id extends Je{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===i||i.call(n,t)}error(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===i||i.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,i;return null!==(i=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==i?i:Xu}}function Rt(e){return t=>{if(function eC(e){return W(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ct(e,t,n,i,r){return new tC(e,t,n,i,r)}class tC extends js{constructor(t,n,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Vi(e,t){return Rt((n,i)=>{let r=0;n.subscribe(ct(i,o=>{i.next(e.call(t,o,r++))}))})}function nn(e){return this instanceof nn?(this.v=e,this):new nn(e)}function sd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof nn?Promise.resolve(f.value.v).then(c,u):d(o[0][2],f)}(i[f](h))}catch(p){d(o[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function ad(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function qs(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ys=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ld(e){return W(e?.then)}function cd(e){return W(e[Us])}function ud(e){return Symbol.asyncIterator&&W(e?.[Symbol.asyncIterator])}function dd(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const fd=function bC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function hd(e){return W(e?.[fd])}function pd(e){return sd(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:r}=yield nn(n.read());if(r)return yield nn(void 0);yield yield nn(i)}}finally{n.releaseLock()}})}function gd(e){return W(e?.getReader)}function ut(e){if(e instanceof Ie)return e;if(null!=e){if(cd(e))return function EC(e){return new Ie(t=>{const n=e[Us]();if(W(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ys(e))return function SC(e){return new Ie(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ju)})}(e);if(ud(e))return md(e);if(hd(e))return function MC(e){return new Ie(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(gd(e))return function xC(e){return md(pd(e))}(e)}throw dd(e)}function md(e){return new Ie(t=>{(function TC(e,t){var n,i,r,o;return function rd(e,t,n,i){return new(n||(n=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof n?o:new n(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=ad(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function rn(e,t,n,i=0,r=!1){const o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Zs(e,t,n=1/0){return W(t)?Zs((i,r)=>Vi((o,s)=>t(i,o,r,s))(ut(e(i,r))),n):("number"==typeof t&&(n=t),Rt((i,r)=>function AC(e,t,n,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=g=>c{o&&t.next(g),c++;let _=!1;ut(n(g,u++)).subscribe(ct(t,C=>{r?.(C),o?h(C):t.next(C)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&cp(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(ct(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}const Xs=new Ie(e=>e.complete());function _d(e){return e&&W(e.schedule)}function Qs(e){return e[e.length-1]}function vd(e){return _d(Qs(e))?e.pop():void 0}function yd(e,t=0){return Rt((n,i)=>{n.subscribe(ct(i,r=>rn(i,e,()=>i.next(r),t),()=>rn(i,e,()=>i.complete(),t),r=>rn(i,e,()=>i.error(r),t)))})}function Cd(e,t=0){return Rt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function Dd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ie(n=>{rn(n,t,()=>{const i=e[Symbol.asyncIterator]();rn(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Ks(e,t){return t?function jC(e,t){if(null!=e){if(cd(e))return function kC(e,t){return ut(e).pipe(Cd(t),yd(t))}(e,t);if(Ys(e))return function VC(e,t){return new Ie(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(ld(e))return function NC(e,t){return ut(e).pipe(Cd(t),yd(t))}(e,t);if(ud(e))return Dd(e,t);if(hd(e))return function LC(e,t){return new Ie(n=>{let i;return rn(n,t,()=>{i=e[fd](),rn(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void n.error(s)}o?n.complete():n.next(r)},0,!0)}),()=>W(i?.return)&&i.return()})}(e,t);if(gd(e))return function BC(e,t){return Dd(pd(e),t)}(e,t)}throw dd(e)}(e,t):ut(e)}function Js(...e){const t=vd(e),n=function PC(e,t){return"number"==typeof Qs(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?ut(i[0]):function OC(e=1/0){return Zs(ed,e)}(n)(Ks(i,t)):Xs}function ea(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new Ni({next:()=>{i.unsubscribe(),e()}});return t(...n).subscribe(i)}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function ta(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(X).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function na(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const $C=Z({__forward_ref__:Z});function Q(e){return e.__forward_ref__=Q,e.toString=function(){return X(this())},e}function A(e){return ia(e)?e():e}function ia(e){return"function"==typeof e&&e.hasOwnProperty($C)&&e.__forward_ref__===Q}class S extends Error{constructor(t,n){super(function Gr(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function zr(e,t){throw new S(-201,!1)}function tt(e,t){null==e&&function q(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{providers:e.providers||[],imports:e.imports||[]}}function Wr(e){return wd(e,qr)||wd(e,Ed)}function wd(e,t){return e.hasOwnProperty(t)?e[t]:null}function bd(e){return e&&(e.hasOwnProperty(ra)||e.hasOwnProperty(XC))?e[ra]:null}const qr=Z({\u0275prov:Z}),ra=Z({\u0275inj:Z}),Ed=Z({ngInjectableDef:Z}),XC=Z({ngInjectorDef:Z});var O=(()=>((O=O||{})[O.Default=0]="Default",O[O.Host=1]="Host",O[O.Self=2]="Self",O[O.SkipSelf=4]="SkipSelf",O[O.Optional=8]="Optional",O))();let oa;function dt(e){const t=oa;return oa=e,t}function Sd(e,t,n){const i=Wr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&O.Optional?null:void 0!==t?t:void zr(X(e))}function on(e){return{toString:e}.toString()}var yt=(()=>((yt=yt||{})[yt.OnPush=0]="OnPush",yt[yt.Default=1]="Default",yt))(),Pt=(()=>{return(e=Pt||(Pt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Pt;var e})();const K=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Wn={},z=[],Yr=Z({\u0275cmp:Z}),sa=Z({\u0275dir:Z}),aa=Z({\u0275pipe:Z}),Id=Z({\u0275mod:Z}),Ut=Z({\u0275fac:Z}),Li=Z({__NG_ELEMENT_ID__:Z});let KC=0;function sn(e){return on(()=>{const n=!0===e.standalone,i={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===yt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Pt.Emulated,id:"c"+KC++,styles:e.styles||z,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return r.inputs=Td(e.inputs,i),r.outputs=Td(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Md).filter(xd):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Le).filter(xd):null,r})}function Md(e){return Y(e)||Ve(e)}function xd(e){return null!==e}function ge(e){return on(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Td(e,t){if(null==e)return Wn;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}const F=sn;function Y(e){return e[Yr]||null}function Ve(e){return e[sa]||null}function Le(e){return e[aa]||null}const L=11,J=22;function Ye(e){return Array.isArray(e)&&"object"==typeof e[1]}function Dt(e){return Array.isArray(e)&&!0===e[1]}function ua(e){return 0!=(8&e.flags)}function Kr(e){return 2==(2&e.flags)}function Jr(e){return 1==(1&e.flags)}function wt(e){return null!==e.template}function rD(e){return 0!=(256&e[2])}function Mn(e,t){return e.hasOwnProperty(Ut)?e[Ut]:null}class Fd{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function kt(){return Rd}function Rd(e){return e.type.prototype.ngOnChanges&&(e.setInput=lD),aD}function aD(){const e=kd(this),t=e?.current;if(t){const n=e.previous;if(n===Wn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function lD(e,t,n,i){const r=kd(e)||function cD(e,t){return e[Pd]=t}(e,{previous:Wn,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new Fd(l&&l.currentValue,t,s===Wn),e[i]=t}kt.ngInherit=!0;const Pd="__ngSimpleChanges__";function kd(e){return e[Pd]||null}function me(e){for(;Array.isArray(e);)e=e[0];return e}function eo(e,t){return me(t[e])}function rt(e,t){return me(t[e.index])}function ga(e,t){return e.data[t]}function ot(e,t){const n=t[e];return Ye(n)?n:n[0]}function to(e){return 64==(64&e[2])}function an(e,t){return null==t?null:e[t]}function Nd(e){e[18]=0}function ma(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const R={lFrame:Yd(null),bindingsEnabled:!0};function Ld(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function H(){return R.lFrame.tView}function De(){let e=Hd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Hd(){return R.lFrame.currentTNode}function Nt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function _a(){return R.lFrame.isParent}function va(){R.lFrame.isParent=!1}function Qn(){return R.lFrame.bindingIndex++}function zt(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ED(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,ya(t)}function ya(e){R.lFrame.currentDirectiveIndex=e}function zd(){return R.lFrame.currentQueryIndex}function Da(e){R.lFrame.currentQueryIndex=e}function ID(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Wd(e,t,n){if(n&O.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&O.Host||(r=ID(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,e=o}const i=R.lFrame=qd();return i.currentTNode=t,i.lView=e,!0}function wa(e){const t=qd(),n=e[1];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function qd(){const e=R.lFrame,t=null===e?null:e.child;return null===t?Yd(e):t}function Yd(e){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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Zd(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Xd=Zd;function ba(){const e=Zd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function je(){return R.lFrame.selectedIndex}function ln(e){R.lFrame.selectedIndex=e}function oe(){const e=R.lFrame;return ga(e.tView,e.selectedIndex)}function no(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[l]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class zi{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function oo(e,t,n){let i=0;for(;it){s=o-1;break}}}for(;o>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Ia=!0;function ao(e){const t=Ia;return Ia=e,t}let jD=0;const Vt={};function qi(e,t){const n=xa(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ma(i.data,e),Ma(t,null),Ma(i.blueprint,null));const r=lo(e,t),o=e.injectorIndex;if(nf(r)){const s=Kn(r),a=Jn(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function Ma(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function lo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=hf(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function co(e,t,n){!function HD(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Li)&&(i=n[Li]),null==i&&(i=n[Li]=jD++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:zD:t}(n);if("function"==typeof o){if(!Wd(t,e,i))return i&O.Host?af(r,0,i):lf(t,n,i,r);try{const s=o(i);if(null!=s||i&O.Optional)return s;zr()}finally{Xd()}}else if("number"==typeof o){let s=null,a=xa(e,t),l=-1,c=i&O.Host?t[16][6]:null;for((-1===a||i&O.SkipSelf)&&(l=-1===a?lo(e,t):t[a+8],-1!==l&&ff(i,!1)?(s=t[1],a=Kn(l),t=Jn(l,t)):a=-1);-1!==a;){const u=t[1];if(df(o,a,u.data)){const d=UD(a,t,n,s,i,c);if(d!==Vt)return d}l=t[a+8],-1!==l&&ff(i,t[1].data[a+8]===c)&&df(o,a,t)?(s=u,a=Kn(l),t=Jn(l,t)):a=-1}}return r}function UD(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],u=uo(a,s,n,null==i?Kr(a)&&Ia:i!=s&&0!=(3&a.type),r&O.Host&&o===a);return null!==u?Yi(t,s,u,a):Vt}function uo(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=r?a+u:e.directiveEnd;for(let h=i?a:a+u;h=l&&p.type===n)return h}if(r){const h=s[l];if(h&&wt(h)&&h.type===n)return l}return null}function Yi(e,t,n,i){let r=e[n];const o=t.data;if(function kD(e){return e instanceof zi}(r)){const s=r;s.resolving&&function UC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function G(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(o[n]));const a=ao(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?dt(s.injectImpl):null;Wd(e,i,O.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function RD(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Rd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==l&&dt(l),ao(a),s.resolving=!1,Xd()}}return r}function df(e,t,n){return!!(n[t+(e>>5)]&1<{const t=Ta(A(e));return t&&t()}:Mn(e)}function hf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const ni="__parameters__";function ri(e,t,n){return on(()=>{const i=function Oa(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(ni)?l[ni]:Object.defineProperty(l,ni,{value:[]})[ni];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class x{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function st(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Wt(n,t):t(n))}function gf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function fo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Qi(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function XD(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ra(e,t){const n=oi(e,t);if(n>=0)return e[1|n]}function oi(e,t){return function vf(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),s=e[o<t?r=o:i=o+1}return~(r<((Ze=Ze||{})[Ze.Important=1]="Important",Ze[Ze.DashCase=2]="DashCase",Ze))();const Ha=new Map;let Sw=0;const Ua="__ngContext__";function Pe(e,t){Ye(t)?(e[Ua]=t[20],function Mw(e){Ha.set(e[20],e)}(t)):e[Ua]=t}function za(e,t){return undefined(e,t)}function rr(e){const t=e[3];return Dt(t)?t[3]:t}function Wa(e){return jf(e[13])}function qa(e){return jf(e[4])}function jf(e){for(;null!==e&&!Dt(e);)e=e[4];return e}function li(e,t,n,i,r){if(null!=i){let o,s=!1;Dt(i)?o=i:Ye(i)&&(s=!0,i=i[0]);const a=me(i);0===e&&null!==n?null==r?Wf(t,n,a):xn(t,n,a,r||null,!0):1===e&&null!==n?xn(t,n,a,r||null,!0):2===e?function el(e,t,n){const i=Co(e,t);i&&function Zw(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function Kw(e,t,n,i,r){const o=n[7];o!==me(n)&&li(t,e,i,o,r);for(let a=10;a0&&(e[n-1][4]=i[4]);const o=fo(e,10+t);!function Hw(e,t){or(e,t,t[L],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Uf(e,t){if(!(128&t[2])){const n=t[L];n.destroyNode&&or(e,t,n,3,null,null),function Gw(e){let t=e[13];if(!t)return Qa(e[1],e);for(;t;){let n=null;if(Ye(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Ye(t)&&Qa(t[1],t),t=t[3];null===t&&(t=e),Ye(t)&&Qa(t[1],t),n=t&&t[4]}t=n}}(t)}}function Qa(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Yw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=n[o+1]];n[o].call(s)}if(null!==i){for(let o=r+1;o{const s=o;ul(s,n,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&yh(r,n),n}function yh(e,t){for(let n=0;n{t.push(o)})}}function ul(e,t,n,i){if(!(e=A(e)))return!1;let r=null,o=bd(e);const s=!o&&Y(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=bd(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)ul(c,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Wt(o.imports,u=>{ul(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&yh(c,t)}if(!a){const c=Mn(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:z},{provide:mh,useValue:r,multi:!0},{provide:ph,useValue:()=>D(r),multi:!0})}const l=o.providers;null==l||a||Wt(l,u=>{t.push(u)})}}return r!==e&&void 0!==e.providers}const xb=Z({provide:String,useValue:Z});function dl(e){return null!==e&&"object"==typeof e&&xb in e}function An(e){return"function"==typeof e}const fl=new x("Set Injector scope."),Io={},Ab={};let hl;function Mo(){return void 0===hl&&(hl=new _h),hl}class ci{}class wh extends ci{constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gl(t,s=>this.processProvider(s)),this.records.set(gh,ui(void 0,this)),r.has("environment")&&this.records.set(ci,ui(void 0,this));const o=this.records.get(fl);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(mh.multi,z,O.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=si(this),i=dt(void 0);try{return t()}finally{si(n),dt(i)}}get(t,n=Ki,i=O.Default){this.assertNotDestroyed();const r=si(this),o=dt(void 0);try{if(!(i&O.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function kb(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(t)&&Wr(t);a=l&&this.injectableDefInScope(l)?ui(pl(t),Io):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&O.Self?Mo():this.parent).get(t,n=i&O.Optional&&n===Ki?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[po]=s[po]||[]).unshift(X(t)),r)throw s;return function lw(e,t,n,i){const r=e[po];throw t[yf]&&r.unshift(t[yf]),e.message=function cw(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=X(t);if(Array.isArray(t))r=t.map(X).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):X(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(rw,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[po]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{dt(o),si(r)}}resolveInjectorInitializers(){const t=si(this),n=dt(void 0);try{const i=this.get(ph.multi,z,O.Self);for(const r of i)r()}finally{si(t),dt(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(X(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=An(t=A(t))?t:A(t&&t.provide);const i=function Fb(e){return dl(e)?ui(void 0,e.useValue):ui(bh(e),Io)}(t);if(An(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=ui(void 0,Io,!0),r.factory=()=>Na(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Io&&(n.value=Ab,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Pb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function pl(e){const t=Wr(e),n=null!==t?t.factory:Mn(e);if(null!==n)return n;if(e instanceof x)throw new S(204,!1);if(e instanceof Function)return function Ob(e){const t=e.length;if(t>0)throw Qi(t,"?"),new S(204,!1);const n=function YC(e){const t=e&&(e[qr]||e[Ed]);if(t){const n=function ZC(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new S(204,!1)}function bh(e,t,n){let i;if(An(e)){const r=A(e);return Mn(r)||pl(r)}if(dl(e))i=()=>A(e.useValue);else if(function Dh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Na(e.deps||[]));else if(function Ch(e){return!(!e||!e.useExisting)}(e))i=()=>D(A(e.useExisting));else{const r=A(e&&(e.useClass||e.provide));if(!function Rb(e){return!!e.deps}(e))return Mn(r)||pl(r);i=()=>new r(...Na(e.deps))}return i}function ui(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nb(e){return!!e.\u0275providers}function gl(e,t){for(const n of e)Array.isArray(n)?gl(n,t):Nb(n)?gl(n.\u0275providers,t):t(n)}class Eh{}class Bb{resolveComponentFactory(t){throw function Lb(e){const t=Error(`No component factory found for ${X(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let On=(()=>{class e{}return e.NULL=new Bb,e})();function jb(){return di(De(),v())}function di(e,t){return new be(rt(e,t))}let be=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=jb,e})();function Hb(e){return e instanceof be?e.nativeElement:e}class Ih{}let Fn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function $b(){const e=v(),n=ot(De().index,e);return(Ye(n)?n:e)[L]}(),e})(),Ub=(()=>{class e{}return e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),e})();class cr{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Gb=new cr("14.3.0"),ml={};function vl(e){return e.ngOriginalError}class fi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&vl(t);for(;n&&vl(n);)n=vl(n);return n||null}}function xh(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}const Th="ng-template";function tE(e,t,n){let i=0;for(;io?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==xh(h,c,0)||2&i&&c!==f){if(bt(i))return!1;s=!0}}}}else{if(!s&&!bt(i)&&!bt(l))return!1;if(s&&bt(l))continue;s=!1,i=l|1&i}}return bt(i)||s}function bt(e){return 0==(1&e)}function rE(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!bt(s)&&(t+=Fh(o,r),r=""),i=s,o=o||!bt(i);n++}return""!==r&&(t+=Fh(o,r)),t}const k={};function ie(e){Rh(H(),v(),je()+e,!1)}function Rh(e,t,n,i){if(!i)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&io(t,o,n)}else{const o=e.preOrderHooks;null!==o&&ro(t,o,0,n)}ln(n)}function Vh(e,t=null,n=null,i){const r=Lh(e,t,n,i);return r.resolveInjectorInitializers(),r}function Lh(e,t=null,n=null,i,r=new Set){const o=[n||z,Mb(e)];return i=i||("object"==typeof e?void 0:X(e)),new wh(o,t||Mo(),i||null,r)}let pt=(()=>{class e{static create(n,i){if(Array.isArray(n))return Vh({name:""},i,n,"");{const r=n.name??"";return Vh({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=Ki,e.NULL=new _h,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>D(gh)}),e.__NG_ELEMENT_ID__=-1,e})();function y(e,t=O.Default){const n=v();return null===n?D(e,t):cf(De(),n,A(e),t)}function To(e,t){return e<<17|t<<2}function Et(e){return e>>17&32767}function bl(e){return 2|e}function Zt(e){return(131068&e)>>2}function El(e,t){return-131069&e|t<<2}function Sl(e){return 1|e}function tp(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;iJ&&Rh(e,t,J,!1),n(i,r)}finally{ln(o)}}function ip(e,t,n){if(ua(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function up(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function dp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function t0(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&jl(n)}}function jl(e){for(let i=Wa(e);null!==i;i=qa(i))for(let r=10;r0&&jl(o)}const n=e[1].components;if(null!==n)for(let i=0;i0&&jl(r)}}function c0(e,t){const n=ot(t,e),i=n[1];(function u0(e,t){for(let n=t.length;n-1&&(Xa(t,i),fo(n,i))}this._attachedToViewContainer=!1}Uf(this._lView[1],this._lView)}onDestroy(t){op(this._lView[1],this._lView,null,t)}markForCheck(){Hl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){ko(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Uw(e,t){or(e,t,t[L],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class d0 extends ur{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ko(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Gl extends On{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Y(t);return new dr(n,this.ngModule)}}function yp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class h0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const r=this.injector.get(t,ml,i);return r!==ml||n===ml?r:this.parentInjector.get(t,n,i)}}class dr extends Eh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function uE(e){return e.map(cE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return yp(this.componentDef.inputs)}get outputs(){return yp(this.componentDef.outputs)}create(t,n,i,r){let o=(r=r||this.ngModule)instanceof ci?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new h0(t,o):t,a=s.get(Ih,null);if(null===a)throw new S(407,!1);const l=s.get(Ub,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function zE(e,t,n){return e.selectRootElement(t,n===Pt.ShadowDom)}(c,i,this.componentDef.encapsulation):Za(c,u,function f0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),f=this.componentDef.onPush?288:272,h=Vl(0,null,null,1,0,null,null,null,null,null),p=Fo(null,h,null,f,null,null,a,c,l,s,null);let g,_;wa(p);try{const C=function m0(e,t,n,i,r,o){const s=n[1];n[22]=e;const l=gi(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(No(l,c,!0),null!==e&&(oo(r,e,c),null!==l.classes&&nl(r,e,l.classes),null!==l.styles&&eh(r,e,l.styles)));const u=i.createRenderer(e,t),d=Fo(n,rp(t),null,t.onPush?32:16,n[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(co(qi(l,n),s,t.type),dp(s,l),fp(l,n.length,1)),Po(n,d),n[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)oo(c,d,["ng-version",Gb.full]);else{const{attrs:E,classes:m}=function dE(e){const t=[],n=[];let i=1,r=2;for(;i0&&nl(c,d,m.join(" "))}if(_=ga(h,J),void 0!==n){const E=_.projection=[];for(let m=0;m=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=so(r.hostAttrs,n=so(n,r.hostAttrs))}}(i)}function zl(e){return e===Wn?{}:e===z?[]:e}function C0(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function D0(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function w0(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}let Lo=null;function Rn(){if(!Lo){const e=K.Symbol;if(e&&e.iterator)Lo=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(me($[i.index])):i.index;let I=null;if(!a&&l&&(I=function k0(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,t,r,i.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,h=!1;else{o=Np(i,t,d,o,!1);const $=n.listen(C,r,o);f.push(o,$),u&&u.push(r,m,E,E+1)}}else o=Np(i,t,d,o,!1);const p=i.outputs;let g;if(h&&null!==p&&(g=p[r])){const _=g.length;if(_)for(let C=0;C<_;C+=2){const re=t[g[C]][g[C+1]].subscribe(o),Gn=f.length;f.push(o,re),u&&u.push(r,i.index,Gn,-(Gn+1))}}}(o,r,r[L],s,e,t,0,i),Ae}function kp(e,t,n,i){try{return!1!==n(i)}catch(r){return vp(e,r),!1}}function Np(e,t,n,i,r){return function o(s){if(s===Function)return i;Hl(2&e.flags?ot(e.index,t):t);let l=kp(t,0,i,s),c=o.__ngNextListenerFn__;for(;c;)l=kp(t,0,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function Qt(e=1){return function MD(e){return(R.lFrame.contextLView=function xD(e,t){for(;e>0;)t=t[15],e--;return t}(e,R.lFrame.contextLView))[8]}(e)}function N0(e,t){let n=null;const i=function oE(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let r=0;r=0}const Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zp(e){return e.substring(Ee.key,Ee.keyEnd)}function j0(e){return e.substring(Ee.value,Ee.valueEnd)}function Xp(e,t){const n=Ee.textEnd;return n===t?-1:(t=Ee.keyEnd=function U0(e,t,n){for(;t32;)t++;return t}(e,Ee.key=t,n),Mi(e,t,n))}function Qp(e,t){const n=Ee.textEnd;let i=Ee.key=Mi(e,t,n);return n===i?-1:(i=Ee.keyEnd=function G0(e,t,n){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=Jp(e,i,n),i=Ee.value=Mi(e,i,n),i=Ee.valueEnd=function z0(e,t,n){let i=-1,r=-1,o=-1,s=t,a=s;for(;s32&&(a=s),o=r,r=i,i=-33&l}return a}(e,i,n),Jp(e,i,n))}function Kp(e){Ee.key=0,Ee.keyEnd=0,Ee.value=0,Ee.valueEnd=0,Ee.textEnd=e.length}function Mi(e,t,n){for(;t=0;n=Qp(t,n))rg(e,Zp(t),j0(t))}function jt(e,t){for(let n=function H0(e){return Kp(e),Xp(e,Mi(e,0,Ee.textEnd))}(t);n>=0;n=Xp(t,n))at(e,Zp(t),!0)}function Mt(e,t,n,i){const r=v(),o=H(),s=zt(2);o.firstUpdatePass&&ig(o,e,s,i),t!==k&&ke(r,s,t)&&og(o,o.data[je()],r,r[L],e,r[s+1]=function J0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=X(un(e)))),e}(t,n),i,s)}function xt(e,t,n,i){const r=H(),o=zt(2);r.firstUpdatePass&&ig(r,null,o,i);const s=v();if(n!==k&&ke(s,o,n)){const a=r.data[je()];if(ag(a,i)&&!ng(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=na(l,n||"")),ql(r,a,s,n,i)}else!function K0(e,t,n,i,r,o,s,a){r===k&&(r=z);let l=0,c=0,u=0=e.expandoStartIndex}function ig(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[je()],s=ng(e,n);ag(o,i)&&null===t&&!s&&(t=!1),t=function q0(e,t,n,i){const r=function Ca(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=pr(n=Jl(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=Jl(r,e,t,n,i),null===o){let l=function Y0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Zt(i))return e[Et(i)]}(e,t,i);void 0!==l&&Array.isArray(l)&&(l=Jl(null,e,t,l[1],i),l=pr(l,t.attrs,i),function Z0(e,t,n,i){e[Et(n?t.classBindings:t.styleBindings)]=i}(e,t,i,l))}else o=function X0(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)}else u=n;if(r)if(0!==l){const f=Et(e[a+1]);e[i+1]=To(f,a),0!==f&&(e[f+1]=El(e[f+1],i)),e[a+1]=function OE(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=To(a,0),0!==a&&(e[a+1]=El(e[a+1],i)),a=i;else e[i+1]=To(l,0),0===a?a=i:e[l+1]=El(e[l+1],i),l=i;c&&(e[i+1]=bl(e[i+1])),Yp(e,u,i,!0),Yp(e,u,i,!1),function L0(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&oi(o,t)>=0&&(n[i+1]=Sl(n[i+1]))}(t,u,e,i,o),s=To(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function Jl(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[r+1];f===k&&(f=d?z:void 0);let h=d?Ra(f,i):u===i?f:void 0;if(c&&!$o(h)&&(h=Ra(l,i)),$o(h)&&(a=h,s))return a;const p=e[r+1];r=s?Et(p):Zt(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=Ra(l,i))}return a}function $o(e){return void 0!==e}function ag(e,t){return 0!=(e.flags&(t?16:32))}function pn(e,t=""){const n=v(),i=H(),r=e+J,o=i.firstCreatePass?gi(i,r,1,t,null):i.data[r],s=n[r]=function Ya(e,t){return e.createText(t)}(n[L],t);Do(i,n,s,o),Nt(o,!1)}function kn(e){return Uo("",e,""),kn}function Uo(e,t,n){const i=v(),r=vi(i,e,t,n);return r!==k&&function Xt(e,t,n){const i=eo(t,e);!function Hf(e,t,n){e.setValue(t,n)}(e[L],i,n)}(i,je(),r),Uo}function Xe(e,t,n){xt(at,jt,vi(v(),e,t,n),!0)}const Ti="en-US";let Ag=Ti;function nc(e,t,n,i,r){if(e=A(e),Array.isArray(e))for(let o=0;o>20;if(An(e)||!e.multi){const h=new zi(l,r,y),p=rc(a,t,r?u:u+f,d);-1===p?(co(qi(c,s),o,a),ic(o,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=rc(a,t,u+f,d),p=rc(a,t,u,u+f),g=h>=0&&n[h],_=p>=0&&n[p];if(r&&!_||!r&&!g){co(qi(c,s),o,a);const C=function gI(e,t,n,i,r){const o=new zi(e,n,y);return o.multi=[],o.index=t,o.componentProviders=0,tm(o,r,i&&!n),o}(r?pI:hI,n.length,r,i,l);!r&&_&&(n[p].providerFactory=C),ic(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(C),s.push(C)}else ic(o,e,h>-1?h:p,tm(n[r?p:h],l,!r&&i));!r&&i&&_&&n[p].componentProviders++}}}function ic(e,t,n,i){const r=An(t),o=function Tb(e){return!!e.useClass}(t);if(r||o){const l=(o?A(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[i,l]):c[u+1].push(i,l)}else c.push(n,l)}}}function tm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function rc(e,t,n,i){for(let r=n;r{n.providersResolver=(i,r)=>function fI(e,t,n){const i=H();if(i.firstCreatePass){const r=wt(e);nc(n,i.data,i.blueprint,r,!0),nc(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class Ai{}class nm extends Ai{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Gl(this);const i=function nt(e,t){const n=e[Id]||null;if(!n&&!0===t)throw new Error(`Type ${X(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Yt(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=Lh(t,n,[{provide:Ai,useValue:this},{provide:On,useValue:this.componentFactoryResolver}],X(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(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sc extends class mI{}{constructor(t){super(),this.moduleType=t}create(t){return new nm(this.moduleType,t)}}function lc(e){return t=>{setTimeout(e,void 0,t)}}const ue=class WI extends Je{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,o=n||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=lc(o),r&&(r=lc(r)),s&&(s=lc(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof We&&t.add(a),a}};function qI(){return this._results[Rn()]()}class cc{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 n=Rn(),i=cc.prototype;i[n]||(i[n]=qI)}get changes(){return this._changes||(this._changes=new ue)}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,n){return this._results.reduce(t,n)}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,n){const i=this;i.dirty=!1;const r=st(t);(this._changesDetected=!function YD(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=XI,e})();const YI=Kt,ZI=class extends YI{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,r=Fo(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),Pl(i,r,t),new ur(r)}};function XI(){return Yo(De(),v())}function Yo(e,t){return 4&e.type?new ZI(t,e,di(e,t)):null}let mt=(()=>{class e{}return e.__NG_ELEMENT_ID__=QI,e})();function QI(){return _m(De(),v())}const KI=mt,gm=class extends KI{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return di(this._hostTNode,this._hostLView)}get injector(){return new ei(this._hostTNode,this._hostLView)}get parentInjector(){const t=lo(this._hostTNode,this._hostLView);if(nf(t)){const n=Jn(t,this._hostLView),i=Kn(t);return new ei(n[1].data[i+8],n)}return new ei(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=mm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(n||{},o);return this.insert(s,r),s}createComponent(t,n,i,r,o){const s=t&&!function Xi(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new dr(Y(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?c:this.parentInjector).get(ci,null);f&&(o=f)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,n){const i=t._lView,r=i[1];if(function mD(e){return Dt(e[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],f=new gm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function zw(e,t,n,i){const r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d{class e{constructor(n){this.appInits=n,this.resolve=Jo,this.reject=Jo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(D($m,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const br=new x("AppId",{providedIn:"root",factory:function Um(){return`${Cc()}${Cc()}${Cc()}`}});function Cc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gm=new x("Platform Initializer"),Dc=new x("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),MM=new x("appBootstrapListener"),xM=new x("AnimationModuleType"),Jt=new x("LocaleId",{providedIn:"root",factory:()=>go(Jt,O.Optional|O.SkipSelf)||function TM(){return typeof $localize<"u"&&$localize.locale||Ti}()}),PM=(()=>Promise.resolve(0))();function wc(e){typeof Zone>"u"?PM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class se{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function kM(){let e=K.requestAnimationFrame,t=K.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function LM(e){const t=()=>{!function VM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(K,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ec(e),e.isCheckStableRunning=!0,bc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ec(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{try{return qm(e),n.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Ym(e)}},onInvoke:(n,i,r,o,s,a,l)=>{try{return qm(e),n.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ym(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Ec(e),bc(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!se.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(se.isInAngularZone())throw new S(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,NM,Jo,Jo);try{return o.runTask(s,n,i)}finally{o.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const NM={};function bc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ec(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function qm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ym(e){e._nesting--,bc(e)}class BM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const Zm=new x(""),ts=new x("");let Mc,Sc=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Mc||(function jM(e){Mc=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.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:()=>{se.assertNotInAngularZone(),wc(()=>{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())wc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:r})}whenStable(n,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(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(D(se),D(Ic),D(ts))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Ic=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Mc?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),gn=null;const Xm=new x("AllowMultipleToken"),xc=new x("PlatformDestroyListeners");function Km(e,t,n=[]){const i=`Platform: ${t}`,r=new x(i);return(o=[])=>{let s=Tc();if(!s||s.injector.get(Xm,!1)){const a=[...n,...o,{provide:r,useValue:!0}];e?e(a):function UM(e){if(gn&&!gn.get(Xm,!1))throw new S(400,!1);gn=e;const t=e.get(e_);(function Qm(e){const t=e.get(Gm,null);t&&t.forEach(n=>n())})(e)}(function Jm(e=[],t){return pt.create({name:t,providers:[{provide:fl,useValue:"platform"},{provide:xc,useValue:new Set([()=>gn=null])},...e]})}(a,i))}return function zM(e){const t=Tc();if(!t)throw new S(401,!1);return t}()}}function Tc(){return gn?.get(e_)??null}let e_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function n_(e,t){let n;return n="noop"===e?new BM:("zone.js"===e?void 0:e)||new se(t),n}(i?.ngZone,function t_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:se,useValue:r}];return r.run(()=>{const s=pt.create({providers:o,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(fi,null);if(!l)throw new S(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{ns(this._modules,a),c.unsubscribe()})}),function i_(e,t,n){try{const i=n();return jo(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(es);return c.runInitializers(),c.donePromise.then(()=>(function Og(e){tt(e,"Expected localeId to be defined"),"string"==typeof e&&(Ag=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Jt,Ti)||Ti),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,i=[]){const r=r_({},i);return function HM(e,t,n){const i=new sc(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Vn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new S(403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(xc,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(D(pt))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function r_(e,t){return Array.isArray(t)?t.reduce(r_,e):{...e,...t}}let Vn=(()=>{class e{constructor(n,i,r){this._zone=n,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 Ie(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ie(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{se.assertNotInAngularZone(),wc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{se.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Js(o,s.pipe(function HC(e={}){const{connector:t=(()=>new Je),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,u=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Rt((g,_)=>{c++,!d&&!u&&f();const C=l=l??t();_.add(()=>{c--,0===c&&!d&&!u&&(a=ea(p,r))}),C.subscribe(_),!s&&c>0&&(s=new Ni({next:E=>C.next(E),error:E=>{d=!0,f(),a=ea(h,n,E),C.error(E)},complete:()=>{u=!0,f(),a=ea(h,i),C.complete()}}),ut(g).subscribe(s))})(o)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Eh;if(!this._injector.get(es).done)throw!r&&function Bi(e){const t=Y(e)||Ve(e)||Le(e);return null!==t&&t.standalone}(n),new S(405,false);let s;s=r?n:this._injector.get(On).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function $M(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Ai),c=s.create(pt.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Zm,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ns(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;ns(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(MM,[]).concat(this._bootstrapListeners).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ns(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(D(se),D(ci),D(fi))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ns(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let s_=!0,Er=(()=>{class e{}return e.__NG_ELEMENT_ID__=YM,e})();function YM(e){return function ZM(e,t,n){if(Kr(e)&&!n){const i=ot(e.index,t);return new ur(i,i)}return 47&e.type?new ur(t[16],t):null}(De(),v(),16==(16&e))}class d_{constructor(){}supports(t){return fr(t)}create(t){return new tx(t)}}const ex=(e,t)=>t;class tx{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||ex}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){const s=!i||n&&n.currentIndex{s=this._trackByFn(r,a),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,a,s,r)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),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,n,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,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new nx(n,i),o,r),t}_verifyReinsertion(t,n,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 n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,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,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new f_),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 n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new f_),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class nx{constructor(t,n){this.item=t,this.trackById=n,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 ix{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,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class f_{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new ix,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function h_(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;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,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new ox(t);return this._records.set(t,i),i.currentValue=n,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,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,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,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class ox{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 g_(){return new os([new d_])}let os=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||g_()),deps:[[e,new _o,new mo]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new S(901,!1)}}return e.\u0275prov=N({token:e,providedIn:"root",factory:g_}),e})();function m_(){return new Sr([new p_])}let Sr=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||m_()),deps:[[e,new _o,new mo]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new S(901,!1)}}return e.\u0275prov=N({token:e,providedIn:"root",factory:m_}),e})();const lx=Km(null,"core",[]);let cx=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(D(Vn))},e.\u0275mod=ge({type:e}),e.\u0275inj=de({}),e})();let ss=null;function Ht(){return ss}const fe=new x("DocumentToken");let __=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:function(){return function hx(){return D(v_)}()},providedIn:"platform"}),e})(),v_=(()=>{class e extends __{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ht().getBaseHref(this._doc)}onPopState(n){const i=Ht().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){const i=Ht().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,i,r){y_()?this._history.pushState(n,i,r):this.location.hash=r}replaceState(n,i,r){y_()?this._history.replaceState(n,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(D(fe))},e.\u0275prov=N({token:e,factory:function(){return function px(){return new v_(D(fe))}()},providedIn:"platform"}),e})();function y_(){return!!window.history.pushState}function C_(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function D_(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Bn(e){return e&&"?"!==e[0]?"?"+e:e}let kc=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:function(){return go(mx)},providedIn:"root"}),e})();const gx=new x("appBaseHref");let mx=(()=>{class e extends kc{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??go(fe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return C_(this._baseHref,n)}path(n=!1){const i=this._platformLocation.pathname+Bn(this._platformLocation.search),r=this._platformLocation.hash;return r&&n?`${i}${r}`:i}pushState(n,i,r,o){const s=this.prepareExternalUrl(r+Bn(o));this._platformLocation.pushState(n,i,s)}replaceState(n,i,r,o){const s=this.prepareExternalUrl(r+Bn(o));this._platformLocation.replaceState(n,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(D(__),D(gx,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),w_=(()=>{class e{constructor(n){this._subject=new ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const i=this._locationStrategy.getBaseHref();this._baseHref=D_(b_(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(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Bn(i))}normalize(n){return e.stripTrailingSlash(function vx(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,b_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",r=null){this._locationStrategy.pushState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Bn(i)),r)}replaceState(n,i="",r=null){this._locationStrategy.replaceState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Bn(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(r=>r(n,i))}subscribe(n,i,r){return this._subject.subscribe({next:n,error:i,complete:r})}}return e.normalizeQueryParams=Bn,e.joinWithSlash=C_,e.stripTrailingSlash=D_,e.\u0275fac=function(n){return new(n||e)(D(kc))},e.\u0275prov=N({token:e,factory:function(){return function _x(){return new w_(D(kc))}()},providedIn:"root"}),e})();function b_(e){return e.replace(/\/index.html$/,"")}let zc=(()=>{class e{constructor(n,i,r,o){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(fr(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),n.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),n.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${X(i.item)}`);this._toggleClass(i.item,!0)}),n.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(i=>this._toggleClass(i,!0)):Object.keys(n).forEach(i=>this._toggleClass(i,!!n[i])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(i=>this._toggleClass(i,!1)):Object.keys(n).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(n,i){(n=n.trim())&&n.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return e.\u0275fac=function(n){return new(n||e)(y(os),y(Sr),y(be),y(Fn))},e.\u0275dir=F({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class iT{constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,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 P_=(()=>{class e{constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const i=this._viewContainer;n.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new iT(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),k_(a,r)}});for(let r=0,o=i.length;r{k_(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(n,i){return!0}}return e.\u0275fac=function(n){return new(n||e)(y(mt),y(Kt),y(os))},e.\u0275dir=F({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function k_(e,t){e.context.$implicit=t.item}let ms=(()=>{class e{constructor(n,i){this._viewContainer=n,this._context=new oT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){N_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){N_("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}}return e.\u0275fac=function(n){return new(n||e)(y(mt),y(Kt))},e.\u0275dir=F({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class oT{constructor(){this.$implicit=null,this.ngIf=null}}function N_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${X(t)}'.`)}let mn=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({}),e})();const B_="browser";class Kc extends class uA extends class fx{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function dx(e){ss||(ss=e)}(new Kc)}onAndCancel(t,n,i){return t.addEventListener(n,i,!1),()=>{t.removeEventListener(n,i,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function dA(){return Tr=Tr||document.querySelector("base"),Tr?Tr.getAttribute("href"):null}();return null==n?null:function fA(e){ys=ys||document.createElement("a"),ys.setAttribute("href",e);const t=ys.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Tr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function tT(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const i=n.indexOf("="),[r,o]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let ys,Tr=null;const z_=new x("TRANSITION_ID"),pA=[{provide:$m,useFactory:function hA(e,t,n){return()=>{n.get(es).donePromise.then(()=>{const i=Ht(),r=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const Cs=new x("EventManagerPlugins");let Ds=(()=>{class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(r=>r.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,i,r){return this._findPluginFor(i).addEventListener(n,i,r)}addGlobalEventListener(n,i,r){return this._findPluginFor(i).addGlobalEventListener(n,i,r)}getZone(){return this._zone}_findPluginFor(n){const i=this._eventNameToPlugin.get(n);if(i)return i;const r=this._plugins;for(let o=0;o{class e{constructor(){this._stylesSet=new Set}addStyles(n){const i=new Set;n.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Ar=(()=>{class e extends q_{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,i,r){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(n){const i=[];this._addStylesToHost(this._stylesSet,n,i),this._hostNodes.set(n,i)}removeHost(n){const i=this._hostNodes.get(n);i&&i.forEach(Y_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(n,r,i)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Y_))}}return e.\u0275fac=function(n){return new(n||e)(D(fe))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();function Y_(e){Ht().remove(e)}const Jc={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/"},eu=/%COMP%/g;function ws(e,t,n){for(let i=0;i{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let tu=(()=>{class e{constructor(n,i,r){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new nu(n)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;switch(i.encapsulation){case Pt.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new wA(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(n),r}case 1:case Pt.ShadowDom:return new bA(this.eventManager,this.sharedStylesHost,n,i);default:if(!this.rendererByCompId.has(i.id)){const r=ws(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(D(Ds),D(Ar),D(br))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();class nu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Jc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(J_(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(J_(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;const o=Jc[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const r=Jc[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(Ze.DashCase|Ze.Important)?t.style.setProperty(n,i,r&Ze.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Ze.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t[n]=i}setValue(t,n){t.nodeValue=n}listen(t,n,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Q_(i)):this.eventManager.addEventListener(t,n,Q_(i))}}function J_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class wA extends nu{constructor(t,n,i,r){super(t),this.component=i;const o=ws(r+"-"+i.id,i.styles,[]);n.addStyles(o),this.contentAttr=function yA(e){return"_ngcontent-%COMP%".replace(eu,e)}(r+"-"+i.id),this.hostAttr=function CA(e){return"_nghost-%COMP%".replace(eu,e)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}}class bA extends nu{constructor(t,n,i,r){super(t),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=ws(r.id,r.styles,[]);for(let s=0;s{class e extends W_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r){return n.addEventListener(i,r,!1),()=>this.removeEventListener(n,i,r)}removeEventListener(n,i,r){return n.removeEventListener(i,r)}}return e.\u0275fac=function(n){return new(n||e)(D(fe))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const ev=["alt","control","meta","shift"],SA={"\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"},IA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let MA=(()=>{class e extends W_{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ht().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const i=n.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),ev.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(n,i){let r=SA[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),ev.forEach(s=>{s!==r&&(0,IA[s])(n)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(D(fe))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const OA=Km(lx,"browser",[{provide:Dc,useValue:B_},{provide:Gm,useValue:function xA(){Kc.makeCurrent()},multi:!0},{provide:fe,useFactory:function AA(){return function ib(e){rl=e}(document),document},deps:[]}]),iv=new x(""),rv=[{provide:ts,useClass:class gA{addToWindow(t){K.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},K.getAllAngularTestabilities=()=>t.getAllTestabilities(),K.getAllAngularRootElements=()=>t.getAllRootElements(),K.frameworkStabilizers||(K.frameworkStabilizers=[]),K.frameworkStabilizers.push(i=>{const r=K.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,i){return null==n?null:t.getTestability(n)??(i?Ht().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Zm,useClass:Sc,deps:[se,Ic,ts]},{provide:Sc,useClass:Sc,deps:[se,Ic,ts]}],ov=[{provide:fl,useValue:"root"},{provide:fi,useFactory:function TA(){return new fi},deps:[]},{provide:Cs,useClass:EA,multi:!0,deps:[fe,se,Dc]},{provide:Cs,useClass:MA,multi:!0,deps:[fe]},{provide:tu,useClass:tu,deps:[Ds,Ar,br]},{provide:Ih,useExisting:tu},{provide:q_,useExisting:Ar},{provide:Ar,useClass:Ar,deps:[fe]},{provide:Ds,useClass:Ds,deps:[Cs,se]},{provide:class VT{},useClass:mA,deps:[]},[]];let FA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:br,useValue:n.appId},{provide:z_,useExisting:br},pA]}}}return e.\u0275fac=function(n){return new(n||e)(D(iv,12))},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[...ov,...rv],imports:[mn,cx]}),e})();function lv(e){return Array.isArray(e)?e:[e]}function Ce(e){return null==e?"":"string"==typeof e?e:`${e}px`}typeof window<"u"&&window;const{isArray:zA}=Array;function cv(e){return Vi(t=>function WA(e,t){return zA(t)?e(...t):e(t)}(e,t))}const qA=["addListener","removeListener"],YA=["addEventListener","removeEventListener"],ZA=["on","off"];function ou(e,t,n,i){if(W(n)&&(i=n,n=void 0),i)return ou(e,t,n).pipe(cv(i));const[r,o]=function KA(e){return W(e.addEventListener)&&W(e.removeEventListener)}(e)?YA.map(s=>a=>e[s](t,a,n)):function XA(e){return W(e.addListener)&&W(e.removeListener)}(e)?qA.map(uv(e,t)):function QA(e){return W(e.on)&&W(e.off)}(e)?ZA.map(uv(e,t)):[];if(!r&&Ys(e))return Zs(s=>ou(s,t,n))(ut(e));if(!r)throw new TypeError("Invalid event target");return new Ie(s=>{const a=(...l)=>s.next(1o(a)})}function uv(e,t){return n=>i=>e[n](t,i)}class JA extends We{constructor(t,n){super()}schedule(t,n=0){return this}}const bs={setInterval(e,t,...n){const{delegate:i}=bs;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=bs;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class su extends JA{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=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,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,i=0){return bs.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,n,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return n;null!=n&&bs.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,n);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){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:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,zn(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}const Or={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=Or;i&&(t=i.requestAnimationFrame,n=i.cancelAnimationFrame);const r=t(o=>{n=void 0,e(o)});return new We(()=>n?.(r))},requestAnimationFrame(...e){const{delegate:t}=Or;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=Or;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},au={now:()=>(au.delegate||Date).now(),delegate:void 0};class Fr{constructor(t,n=Fr.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}Fr.now=au.now;class lu extends Fr{constructor(t,n=Fr.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,i){for(;t=n.shift();)t.unsubscribe();throw i}}}new class tO extends lu{flush(t){this._active=!0;const n=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===n&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw r}}}(class eO extends su{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,i=0){return null!==i&&i>0?super.requestAsyncId(t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=Or.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:o}=t;null!=n&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==n&&(Or.cancelAnimationFrame(n),t._scheduled=void 0)}});let cu,iO=1;const Es={};function dv(e){return e in Es&&(delete Es[e],!0)}const rO={setImmediate(e){const t=iO++;return Es[t]=!0,cu||(cu=Promise.resolve()),cu.then(()=>dv(t)&&e()),t},clearImmediate(e){dv(e)}},{setImmediate:oO,clearImmediate:sO}=rO,Ss={setImmediate(...e){const{delegate:t}=Ss;return(t?.setImmediate||oO)(...e)},clearImmediate(e){const{delegate:t}=Ss;return(t?.clearImmediate||sO)(e)},delegate:void 0},fv=(new class lO extends lu{flush(t){this._active=!0;const n=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===n&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw r}}}(class aO extends su{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,i=0){return null!==i&&i>0?super.requestAsyncId(t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=Ss.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:o}=t;null!=n&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==n&&(Ss.clearImmediate(n),t._scheduled=void 0)}}),new lu(su)),uO=fv;function hv(e,t=fv){return function dO(e){return Rt((t,n)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,n.next(c)}s&&n.complete()},l=()=>{o=null,s&&n.complete()};t.subscribe(ct(n,c=>{i=!0,r=c,o||ut(e(c)).subscribe(o=ct(n,a,l))},()=>{s=!0,(!i||!o||o.closed)&&n.complete()}))})}(()=>function hO(e=0,t,n=uO){let i=-1;return null!=t&&(_d(t)?n=t:i=t),new Ie(r=>{let o=function fO(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;o<0&&(o=0);let s=0;return n.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,t))}function pv(e,t){return Rt((n,i)=>{let r=0;n.subscribe(ct(i,o=>e.call(t,o,r++)&&i.next(o)))})}let uu;try{uu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{uu=!1}let jn,Ri=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function kT(e){return e===B_}(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&&!uu)&&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 e.\u0275fac=function(n){return new(n||e)(D(Dc))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function gO(){if(null==jn){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return jn=!1,jn;if("scrollBehavior"in document.documentElement.style)jn=!0;else{const e=Element.prototype.scrollTo;jn=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return jn}function mv(e){return e.composedPath?e.composedPath()[0]:e.target}function _v(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const _O=new x("cdk-dir-doc",{providedIn:"root",factory:function vO(){return go(fe)}}),yO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let DO=(()=>{class e{constructor(n){if(this.value="ltr",this.change=new ue,n){const r=n.documentElement?n.documentElement.dir:null;this.value=function CO(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?yO.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(n){return new(n||e)(D(_O,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),fu=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({}),e})(),bO=(()=>{class e{constructor(n,i,r){this._ngZone=n,this._platform=i,this._scrolled=new Je,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new Ie(i=>{this._globalSubscription||this._addGlobalListener();const r=n>0?this._scrolled.pipe(hv(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):function GA(...e){return Ks(e,vd(e))}()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){const r=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(pv(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(n){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,n)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let r=function UA(e){return e instanceof be?e.nativeElement:e}(i),o=n.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>ou(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(n){return new(n||e)(D(se),D(Ri),D(fe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),vv=(()=>{class e{constructor(n,i,r){this._platform=n,this._change=new Je,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(n.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 n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+r,right:n.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,i=this._getWindow(),r=n.documentElement,o=r.getBoundingClientRect();return{top:-o.top||n.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||n.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(hv(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(n){return new(n||e)(D(Ri),D(se),D(fe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({}),e})(),Cv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({imports:[fu,yv,fu,yv]}),e})();class hu{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 SO extends hu{constructor(t,n,i,r){super(),this.component=t,this.viewContainerRef=n,this.injector=i,this.componentFactoryResolver=r}}class Dv extends hu{constructor(t,n,i,r){super(),this.templateRef=t,this.viewContainerRef=n,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class IO extends hu{constructor(t){super(),this.element=t instanceof be?t.nativeElement:t}}class xO extends class MO{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof SO?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Dv?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof IO?(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)}}{constructor(t,n,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||pt.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 n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=n.indexOf(i);-1!==r&&n.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let wv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({}),e})();const bv=gO();class OO{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}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=Ce(-this._previousScrollPosition.left),t.style.top=Ce(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),bv&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),bv&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.body,i=this._viewportRuler.getViewportSize();return n.scrollHeight>i.height||n.scrollWidth>i.width}}class FO{constructor(t,n,i,r){this._scrollDispatcher=t,this._ngZone=n,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 n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-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 Ev{enable(){}disable(){}attach(){}}function pu(e,t){return t.some(n=>e.bottomn.bottom||e.rightn.right)}function Sv(e,t){return t.some(n=>e.topn.bottom||e.leftn.right)}class RO{constructor(t,n,i,r){this._scrollDispatcher=t,this._viewportRuler=n,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 n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();pu(n,[{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 PO=(()=>{class e{constructor(n,i,r,o){this._scrollDispatcher=n,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new Ev,this.close=s=>new FO(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new OO(this._viewportRuler,this._document),this.reposition=s=>new RO(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return e.\u0275fac=function(n){return new(n||e)(D(bO),D(vv),D(se),D(fe))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Iv{constructor(t){if(this.scrollStrategy=new Ev,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const n=Object.keys(t);for(const i of n)void 0!==t[i]&&(this[i]=t[i])}}}class Ke{constructor(t,n,i,r,o){this.offsetX=i,this.offsetY=r,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY}}class kO{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let Mv=(()=>{class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const i=this._attachedOverlays.indexOf(n);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(n){return new(n||e)(D(fe))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),NO=(()=>{class e extends Mv{constructor(n,i){super(n),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(n){return new(n||e)(D(fe),D(se,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),VO=(()=>{class e extends Mv{constructor(n,i,r){super(n),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=mv(o)},this._clickListener=o=>{const s=mv(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(n){if(super.add(n),!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 n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}}return e.\u0275fac=function(n){return new(n||e)(D(fe),D(Ri),D(se,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),xv=(()=>{class e{constructor(n,i){this._platform=i,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||_v()){const r=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new Je,this._outsidePointerEvents=new Je,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 n=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(function TO(e){return e<=0?()=>Xs:Rt((t,n)=>{let i=0;t.subscribe(ct(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}(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 n?.onDestroy&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}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=Ce(this._config.width),t.height=Ce(this._config.height),t.minWidth=Ce(this._config.minWidth),t.minHeight=Ce(this._config.minHeight),t.maxWidth=Ce(this._config.maxWidth),t.maxHeight=Ce(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,n,i){const r=lv(n||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(function AO(e){return Rt((t,n)=>{ut(e).subscribe(ct(n,()=>n.complete(),Ls)),!n.closed&&t.subscribe(n)})}(Js(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 Tv="cdk-overlay-connected-position-bounding-box",BO=/([A-Za-z%]+)$/;class jO{constructor(t,n,i,r,o){this._viewportRuler=n,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 Je,this._resizeSubscription=We.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(Tv),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,n=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,n,a),u=this._getOverlayFit(c,n,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Hn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Tv),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 n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}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,n,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return n.left<0&&(r-=n.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,n.top<0&&(o-=n.top),{x:r,y:o}}_getOverlayPoint(t,n,i){let r,o;return r="center"==i.overlayX?-n.width/2:"start"===i.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,o="center"==i.overlayY?-n.height/2:"top"==i.overlayY?0:-n.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,n,i,r){const o=Ov(n);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),g=this._subtractOverflows(o.height,f,h),_=p*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,n,i){if(this._hasFlexibleDimensions){const r=i.bottom-n.y,o=i.right-n.x,s=Av(this._overlayRef.getConfig().minHeight),a=Av(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(t,n,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=Ov(n),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!r||"start"===n.overlayX&&r)f=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===n.overlayX&&!r||"end"===n.overlayX&&r)d=t.x,u=i.right-t.x;else{const h=Math.min(i.right-t.x+i.left,t.x),p=this._lastBoundingBoxSize.width;u=2*h,d=t.x-h,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:f,width:u,height:o}}_setBoundingBoxStyles(t,n){const i=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ce(i.height),r.top=Ce(i.top),r.bottom=Ce(i.bottom),r.width=Ce(i.width),r.left=Ce(i.left),r.right=Ce(i.right),r.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",r.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ce(o)),s&&(r.maxWidth=Ce(s))}this._lastBoundingBoxSize=i,Hn(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Hn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Hn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();Hn(i,this._getExactOverlayY(n,t,u)),Hn(i,this._getExactOverlayX(n,t,u))}else i.position="static";let a="",l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ce(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ce(s.maxWidth):o&&(i.maxWidth="")),Hn(this._pane.style,i)}_getExactOverlayY(t,n,i){let r={top:"",bottom:""},o=this._getOverlayPoint(n,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=Ce(o.y),r}_getExactOverlayX(t,n,i){let s,r={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ce(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Sv(t,i),isOriginOutsideView:pu(t,i),isOverlayClipped:Sv(n,i),isOverlayOutsideView:pu(n,i)}}_subtractOverflows(t,...n){return n.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=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+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&lv(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof be)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+n,height:i,width:n}}}function Hn(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Av(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(BO);return n&&"px"!==n?null:parseFloat(t)}return e||null}function Ov(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const Fv="cdk-global-overlay-wrapper";class HO{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Fv),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,n=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",g="";l?g="flex-start":"center"===u?(g="center",f?p=d:h=d):f?"left"===u||"end"===u?(g="flex-end",h=d):("right"===u||"start"===u)&&(g="flex-start",p=d):"left"===u||"start"===u?(g="flex-start",h=d):("right"===u||"end"===u)&&(g="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=l?"0":h,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,n.justifyContent=g,n.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,i=n.style;n.classList.remove(Fv),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let $O=(()=>{class e{constructor(n,i,r,o){this._viewportRuler=n,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new HO}flexibleConnectedTo(n){return new jO(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(n){return new(n||e)(D(vv),D(fe),D(Ri),D(xv))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),UO=0,gu=(()=>{class e{constructor(n,i,r,o,s,a,l,c,u,d,f,h){this.scrollStrategies=n,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(n){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Iv(n);return s.direction=s.direction||this._directionality.value,new LO(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(n){const i=this._document.createElement("div");return i.id="cdk-overlay-"+UO++,i.classList.add("cdk-overlay-pane"),n.appendChild(i),i}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(Vn)),new xO(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(n){return new(n||e)(D(PO),D(xv),D(On),D($O),D(NO),D(pt),D(se),D(fe),D(DO),D(w_),D(VO),D(xM,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const WO={provide:new x("cdk-connected-overlay-scroll-strategy"),deps:[gu],useFactory:function zO(e){return()=>e.scrollStrategies.reposition()}};let Rv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[gu,WO],imports:[fu,wv,Cv,Cv]}),e})();class mu extends Je{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}const _u=new x("SPRITE_URL"),qO={provide:_u,useValue:"/assets/sprite.svg"};let Pv=(()=>{class e{constructor(n,i){this._spriteUrl=n,this.host=i,this._svgSize=24}set size(n){this._svgSize=n,this.updateHost(n)}get size(){return this._svgSize}get spriteHref(){return`${this._spriteUrl}#${this.icon}`}ngOnInit(){this.updateHost(this._svgSize)}updateHost(n){this.host.nativeElement.style.width=`${n}px`,this.host.nativeElement.style.height=`${n}px`}}return e.\u0275fac=function(n){return new(n||e)(y(_u),y(be))},e.\u0275cmp=sn({type:e,selectors:[["eui-svg-icon"]],inputs:{icon:"icon",size:"size"},decls:2,vars:5,template:function(n,i){1&n&&(function Qd(){R.lFrame.currentNamespace="svg"}(),xe(0,"svg"),Ii(1,"use"),Te()),2&n&&(Kl("height",i.size,"px")("width",i.size,"px"),ie(1),St("href",i.spriteHref,null,"xlink"))},styles:["[_nghost-%COMP%]{margin:0 auto;padding:0;display:flex;align-items:center;justify-content:center;fill:none;fill:currentColor}"]}),e})(),vu=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[qO],imports:[mn]}),e})();const{isArray:YO}=Array,{getPrototypeOf:ZO,prototype:XO,keys:QO}=Object;function eF(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}function tF(...e){const t=function RC(e){return W(Qs(e))?e.pop():void 0}(e),{args:n,keys:i}=function KO(e){if(1===e.length){const t=e[0];if(YO(t))return{args:t,keys:null};if(function JO(e){return e&&"object"==typeof e&&ZO(e)===XO}(t)){const n=QO(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}(e),r=new Ie(o=>{const{length:s}=n;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?eF(i,a):a),o.complete())}))}});return t?r.pipe(cv(t)):r}let kv=(()=>{class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(y(Fn),y(be))},e.\u0275dir=F({type:e}),e})(),$n=(()=>{class e extends kv{}return e.\u0275fac=function(){let t;return function(i){return(t||(t=function Re(e){return on(()=>{const t=e.prototype.constructor,n=t[Ut]||Ta(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Ut]||Ta(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}(e)))(i||e)}}(),e.\u0275dir=F({type:e,features:[U]}),e})();const Ft=new x("NgValueAccessor"),iF={provide:Ft,useExisting:Q(()=>yu),multi:!0},oF=new x("CompositionEventMode");let yu=(()=>{class e extends kv{constructor(n,i,r){super(n,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function rF(){const e=Ht()?Ht().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(y(Fn),y(be),y(oF,8))},e.\u0275dir=F({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,i){1&n&&Ae("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:[te([iF]),U]}),e})();const Ne=new x("NgValidators"),yn=new x("NgAsyncValidators");function Wv(e){return null!=e}function qv(e){return jo(e)?Ks(e):e}function Yv(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function Zv(e,t){return t.map(n=>n(e))}function Xv(e){return e.map(t=>function lF(e){return!e.validate}(t)?t:n=>t.validate(n))}function Cu(e){return null!=e?function Qv(e){if(!e)return null;const t=e.filter(Wv);return 0==t.length?null:function(n){return Yv(Zv(n,t))}}(Xv(e)):null}function Du(e){return null!=e?function Kv(e){if(!e)return null;const t=e.filter(Wv);return 0==t.length?null:function(n){return tF(Zv(n,t).map(qv)).pipe(Vi(Yv))}}(Xv(e)):null}function Jv(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function wu(e){return e?Array.isArray(e)?e:[e]:[]}function xs(e,t){return Array.isArray(e)?e.includes(t):e===t}function ny(e,t){const n=wu(t);return wu(e).forEach(r=>{xs(n,r)||n.push(r)}),n}function iy(e,t){return wu(t).filter(n=>!xs(e,n))}class ry{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=Cu(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Du(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,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class ze extends ry{get formDirective(){return null}get path(){return null}}class Cn extends ry{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let sy=(()=>{class e extends class oy{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}}{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(y(Cn,2))},e.\u0275dir=F({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,i){2&n&&Ho("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:[U]}),e})();const Pr="VALID",As="INVALID",ki="PENDING",kr="DISABLED";function ly(e){return Array.isArray(e)?Cu(e):e||null}function cy(e){return Array.isArray(e)?Du(e):e||null}function Os(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Nr(e,t){(function Tu(e,t){const n=function ey(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Jv(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=function ty(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Jv(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Ps(t._rawValidators,r),Ps(t._rawAsyncValidators,r)})(e,t),t.valueAccessor.writeValue(e.value),e.disabled&&t.valueAccessor.setDisabledState?.(!0),function vF(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hy(e,t)})}(e,t),function CF(e,t){const n=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function yF(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function _F(e,t){if(t.valueAccessor.setDisabledState){const n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Ps(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function hy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function _y(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function vy(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const xF={provide:Cn,useExisting:Q(()=>Ru)},wy=(()=>Promise.resolve())();let Ru=(()=>{class e extends Cn{constructor(n,i,r,o,s){super(),this._changeDetectorRef=s,this.control=new class extends class fy{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=ly(this._rawValidators),this._composedAsyncValidatorFn=cy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Pr}get invalid(){return this.status===As}get pending(){return this.status==ki}get disabled(){return this.status===kr}get enabled(){return this.status!==kr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=ly(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=cy(t)}addValidators(t){this.setValidators(ny(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ny(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(iy(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(iy(t,this._rawAsyncValidators))}hasValidator(t){return xs(this._rawValidators,t)}hasAsyncValidator(t){return xs(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(n=>{n.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(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ki,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=kr,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:n}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Pr,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),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===Pr||this.status===ki)&&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(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?kr:Pr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ki,this._hasOwnPendingAsyncValidator=!0;const n=qv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(t,n){const i=n?this.get(n):this;return i&&i.errors?i.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}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 ue,this.statusChanges=new ue}_calculateStatus(){return this._allControlsDisabled()?kr:this.errors?As:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ki)?ki:this._anyControlsHaveStatus(As)?As:Pr}_anyControlsHaveStatus(t){return this._anyControls(n=>n.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){Os(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}{constructor(t=null,n,i){super(function Iu(e){return(Os(e)?e.validators:e)||null}(n),function Mu(e,t){return(Os(t)?t.asyncValidators:e)||null}(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Os(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=vy(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){_y(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){_y(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){vy(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}},this._registered=!1,this.update=new ue,this._parent=n,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Ou(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===yu?n=o:function bF(e){return Object.getPrototypeOf(e.constructor)===$n}(o)?i=o:r=o}),r||i||n||null}(0,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Au(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Nr(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){wy.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const i=n.isDisabled.currentValue,r=0!==i&&function Pc(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wy.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Fs(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(y(ze,9),y(Ne,10),y(yn,10),y(Ft,10),y(Er,8))},e.\u0275dir=F({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[te([xF]),U,kt]}),e})(),Ey=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({}),e})(),JF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({imports:[Ey]}),e})(),e1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({imports:[JF]}),e})();const n1=["*"];let r1=(()=>{class e{constructor(){this.disabled=!1,this.choose=new ue,this.onChange=n=>{},this.onTouched=()=>{}}get disabledCssClass(){return this.disabled?`${this.prefix}-disabled`:""}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}writeValue(n){this._selectionSrv.changeValue(n,!1)}setDisabledState(n){this.disabled=n,this._selectionSrv.disabled=n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=sn({type:e,selectors:[["ng-component"]],hostVars:2,hostBindings:function(n,i){2&n&&function tg(e){xt(at,jt,e,!0)}(i.disabledCssClass)},inputs:{disabled:"disabled"},outputs:{choose:"choose"},decls:0,vars:0,template:function(n,i){},encapsulation:2,changeDetection:0}),e})(),$y=(()=>{class e{get selectionIsAllowed(){return null!==this._selectionSrv&&this.selectable}ngOnInit(){null!=this._selectionSrv&&(null!=this.value&&!this._selectionSrv?.orderValues?.includes(this.value)&&this._selectionSrv.order.push(this),this.selected=this.checked,this.selectionIsAllowed&&(this._valueSubscription=this._selectionSrv.value$.subscribe(n=>this._switchSelectable(n)),this.checked&&this._selectionSrv.changeValue(this.value,!0,!1)))}ngOnDestroy(){this._selectionSrv.order=[],this._valueSubscription?.unsubscribe()}_switchSelectable(n){this._selectionSrv.isMultiselect?n.value===this.value&&(this.selected=n.isSelect):this.selected=this.value===n.value,this._cdr.detectChanges()}_applySelect(){null!=this._selectionSrv&&this.selectable&&(this._selectionSrv.changeValue(this.value,!this.selected,!0),this._appRef?.tick())}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=F({type:e}),e})(),Ns=(()=>{class e{constructor(){this.disabled=!1,this.order=[],this._multiselect=!1,this._distributor=new mu({isSelect:!1,notify:!1,value:void 0}),this._focusSubject=new mu(null)}get orderValues(){return this.order.map(n=>n.value)}get isMultiselect(){return this._multiselect}get value(){return this._distributor.value}get value$(){return this._distributor.asObservable()}get focused(){return this._focusSubject.value}get focused$(){return this._focusSubject.asObservable()}changeValue(n,i,r=!0){this.disabled||this._distributor.next({value:n,notify:r,isSelect:i})}setFocused(n){this._focusSubject.next(n)}blur(){this._focusSubject.next(null)}checkPrev(){if(1===this.order.length||this.disabled)return;const n=this._getIndexOfCurrentValue(),i=this.getPreviousAvailableValue(n);this.changeValue(i,!0)}checkNext(){if(1===this.order.length||this.disabled)return;const n=this._getIndexOfCurrentValue(),i=this.getNextAvailableValue(n);this.changeValue(i,!0)}getPreviousAvailableValue(n){for(let i=n;i>=0;i--){if(0===i)return this.getPreviousAvailableValue(this.order.length);if(!this.order[i-1]?.disabled)return this.orderValues[i-1]}}getNextAvailableValue(n){for(let i=n;i{class e extends r1{constructor(n,i,r){super(),this.prefix=n,this._selectionSrv=i,this._hostElement=r,this.focused=!1,this.tabindex=0,this._valueSubs=this._selectionSrv.value$.pipe(pv(o=>o.notify),Vi(o=>o.value)).subscribe(o=>{this.choose.emit(o),this.onChange(o),this.onTouched()})}setFocus(){this.disabled||(this.focused=!0,this.focused?this._hostElement.nativeElement.classList.add(`${this.prefix}-focused`):this._hostElement.nativeElement.classList.remove(`${this.prefix}-focused`))}blur(){this.focused=!1,this.focused?this._hostElement.nativeElement.classList.add(`${this.prefix}-focused`):this._hostElement.nativeElement.classList.remove(`${this.prefix}-focused`)}onKeyPress(n){if("ArrowUp"===n.key||"ArrowLeft"===n.key)return n.preventDefault(),void this._selectionSrv.checkPrev();("ArrowDown"===n.key||"ArrowRight"===n.key)&&(n.preventDefault(),this._selectionSrv.checkNext())}ngOnChanges(n){this._selectionSrv.disabled=!0===n.disabled?.currentValue,this.tabindex=this.disabled?-1:0}ngOnDestroy(){this._valueSubs?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"),y(Ns),y(be))},e.\u0275cmp=sn({type:e,selectors:[["eui-selection"]],hostVars:1,hostBindings:function(n,i){1&n&&Ae("keyup",function(){return i.setFocus()})("click",function(){return i.blur()})("blur",function(){return i.blur()})("keydown",function(o){return i.onKeyPress(o)}),2&n&&St("tabindex",i.tabindex)},features:[te([Ns,{provide:Ft,useExisting:Q(()=>e),multi:!0}]),U,kt],ngContentSelectors:n1,decls:1,vars:0,template:function(n,i){1&n&&(function Vp(e){const t=v()[16][6];if(!t.projection){const i=t.projection=Qi(e?e.length:1,null),r=i.slice();let o=t.child;for(;null!==o;){const s=e?N0(o,e):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}(),function Lp(e,t=0,n){const i=v(),r=H(),o=gi(r,J+e,16,null,n||null);null===o.projection&&(o.projection=t),va(),64!=(64&o.flags)&&function Qw(e,t,n){Jf(t[L],0,t,n,Gf(e,n,t),Yf(n.parent||t[6],n,t))}(r,i,o)}(0))},styles:["[_nghost-%COMP%]:focus, [_nghost-%COMP%]:focus-visible, [_nghost-%COMP%]:focus-within{outline:none}"],changeDetection:0}),e})(),s1=(()=>{class e extends $y{constructor(n,i,r,o,s){super(),this.prefix=n,this._hostElement=i,this._appRef=r,this._selectionSrv=o,this._cdr=s,this.disabled=!1,this.selectable=!0}ngOnInit(){this._toggleSelected(this.checked),null!=this._selectionSrv&&(this._selectionSrv.order.push(this),this._valueSubscription=this._selectionSrv.value$.subscribe(n=>{this._switchSelectable(n),this._toggleSelected(this.selected)}),this.checked&&this._selectionSrv.changeValue(this.value,!0,!1))}handleClick(){this._applySelect()}_toggleSelected(n){n?this._hostElement.nativeElement.classList.add(`${this.prefix}-selected`):this._hostElement.nativeElement.classList.remove(`${this.prefix}-selected`)}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"),y(be),y(Vn),y(Ns,8),y(Er))},e.\u0275dir=F({type:e,selectors:[["","euiSelection",""]],hostBindings:function(n,i){1&n&&Ae("click",function(){return i.handleClick()})("keyup.enter",function(){return i.handleClick()})},inputs:{checked:"checked",value:"value",disabled:"disabled"},features:[U]}),e})(),Lr=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[mn]}),e})(),a1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[mn,Lr]}),e})(),l1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[mn,Lr,vu]}),e})(),c1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[mn,Lr]}),e})();new Ke({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,2),new Ke({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,2);let f1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[Lr,mn,vu,Rv,wv]}),e})();const h1=["overlayContainer"],p1=["overlay"],g1=["tooltipRef"];function m1(e,t){if(1&e&&(xe(0,"p"),pn(1," : "),xe(2,"span"),pn(3),Te()()),2&e){const n=Qt();Xe("",n.prefix,"-header__value"),ie(3),kn(n.value)}}function _1(e,t){if(1&e&&(xe(0,"div"),pn(1),Te()),2&e){const n=Qt(2);Xe("",n.prefix,"-header__tooltip-text"),ie(1),kn(n.tooltip)}}function v1(e,t){if(1&e){const n=function Ap(){return v()}();xe(0,"div",2,3),Ae("click",function(){return function Bd(e){return R.lFrame.contextLView=e,e[8]}(n),function jd(e){return R.lFrame.contextLView=null,e}(Qt().clickOverlay())}),Ii(2,"eui-svg-icon",4),Xl(3,null,5),hn(5,_1,2,4,"ng-template",null,6,bm),Te()}if(2&e){const n=Qt();Xe("",n.prefix,"-header__tooltip"),ie(2),$e("icon",n.iconName)("size",16)}}function y1(e,t){if(1&e&&(xe(0,"div"),pn(1),Te()),2&e){const n=Qt();Xe("",n.prefix,"-header__description"),ie(1),kn(n.description)}}function C1(e,t){1&e&&Ii(0,"eui-svg-icon",2),2&e&&$e("icon","au-alert")}function D1(e,t){if(1&e&&(xe(0,"div"),pn(1),Te()),2&e){const n=Qt().$implicit;Xe("",Qt().prefix,"-content__value-text"),ie(1),Uo(" ",n.additionalText," ")}}function w1(e,t){if(1&e&&(xe(0,"div",3)(1,"div"),Ii(2,"mdo-swatch",4),Te(),xe(3,"div")(4,"div"),pn(5),Te(),hn(6,D1,2,4,"div",5),Te()()),2&e){const n=t.$implicit,i=Qt();Xe("",i.prefix,"-content__item"),$e("value",n)("ngClass",i.getDisabledClassBy(null==n?null:n.disabled))("disabled",null==n?null:n.disabled),ie(1),Xe("",i.prefix,"-content__preview"),ie(1),$e("color",n.color)("url",n.imageUrl)("type",i.swatchType),ie(1),Xe("",i.prefix,"-content__value"),ie(1),Xe("",i.prefix,"-content__value-name"),ie(1),kn(n.name),ie(1),$e("ngIf",null!=n.additionalText&&!1!==i.option.showValueAdditionalText)}}const O1=[new Ke({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,0,"mdo-header__tooltip_tc"),new Ke({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,0,"mdo-header__tooltip_tl"),new Ke({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,0,"mdo-header__tooltip_tr"),new Ke({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,0,"mdo-header__tooltip_bc"),new Ke({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,0,"mdo-header__tooltip_bl"),new Ke({originX:"center",originY:"bottom"},{overlayX:"end",overlayY:"top"},24,0,"mdo-header__tooltip_br")];let F1=(()=>{class e{constructor(n,i,r,o,s){this.prefix=n,this._overlay=i,this._viewRef=r,this._hostElement=o,this._platform=s,this.positions=O1,this.name="",this.showValueInTitle=!1,this.useCustomTooltip=!1,this.byToggleTooltip=new ue,this.iconName="au-uif-tooltip",this.showTooltip=new mu(!1),this.showTooltip.subscribe(()=>{this.useCustomTooltip||this.toggleOverlay(),this.byToggleTooltip.emit(this.showTooltip)})}set icon(n){null!=n&&(this.iconName=n)}get isIOS(){return this._platform.IOS}clickOverlay(){this.showTooltip.next(!this.showTooltip.value)}clickedOutside(){this.showTooltip.next(!1)}toggleOverlay(){if(this.showTooltip.value){const n=window.innerHeight>document.documentElement.clientHeight,i=window.innerWidth==document.documentElement.clientWidth,r=this.isIOS&&n&&i?window.innerHeight-document.documentElement.clientHeight:0,o=new Iv({positionStrategy:this._overlay.position().flexibleConnectedTo(this.tooltipRef).setOrigin(this.tooltipRef).withPositions([new Ke({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,-r,"mdo-header__tooltip_tc"),new Ke({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,-r,"mdo-header__tooltip_tl"),new Ke({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,-r,"mdo-header__tooltip_tr"),new Ke({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,-r,"mdo-header__tooltip_bc"),new Ke({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,-r,"mdo-header__tooltip_bl"),new Ke({originX:"center",originY:"bottom"},{overlayX:"end",overlayY:"top"},24,-r,"mdo-header__tooltip_br")]).withPush(!1).withFlexibleDimensions(!0),scrollStrategy:this._overlay.scrollStrategies.close()});this._overlayRef=this._overlay.create(o),this._overlayRef.outsidePointerEvents().subscribe(s=>{!Array.from(this._hostElement.nativeElement.children).includes(s.target)&&this.showTooltip.next(!1)}),this._overlayRef.attach(new Dv(this._overlayTemplate,this._overlayContainer)),this._overlayRef.updatePosition()}else!this.showTooltip.value&&this._overlayRef&&this._overlayRef.dispose()}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"),y(gu),y(mt),y(be),y(Ri))},e.\u0275cmp=sn({type:e,selectors:[["mdo-header"]],viewQuery:function(n,i){if(1&n&&(Xo(h1,5,mt),Xo(p1,5),Xo(g1,5,be)),2&n){let r;Zo(r=Qo())&&(i._overlayContainer=r.first),Zo(r=Qo())&&(i._overlayTemplate=r.first),Zo(r=Qo())&&(i.tooltipRef=r.first)}},inputs:{name:"name",value:"value",tooltip:"tooltip",description:"description",showValueInTitle:"showValueInTitle",useCustomTooltip:"useCustomTooltip",icon:"icon"},outputs:{byToggleTooltip:"byToggleTooltip"},decls:7,vars:13,consts:[[3,"class",4,"ngIf"],[3,"class","click",4,"ngIf"],[3,"click"],["tooltipRef",""],[3,"icon","size"],["overlayContainer",""],["overlay",""]],template:function(n,i){1&n&&(xe(0,"div")(1,"div")(2,"p"),pn(3),Te(),hn(4,m1,4,4,"p",0),hn(5,v1,7,5,"div",1),Te(),hn(6,y1,2,4,"div",0),Te()),2&n&&(Xe("",i.prefix,"-header"),ie(1),Xe("",i.prefix,"-header__group"),ie(1),Xe("",i.prefix,"-header__title"),ie(1),kn(i.name),ie(1),$e("ngIf",i.showValueInTitle&&null!=i.value),ie(1),$e("ngIf",null!=i.tooltip),ie(1),$e("ngIf",null!=i.description))},dependencies:[ms,Pv]}),e})(),k1=(()=>{class e extends $y{constructor(n,i,r,o){super(),this._cdr=n,this.prefix=i,this._selectionSrv=r,this._appRef=o,this.type="image",this.alt="",this.checked=!1,this.selectable=!0,this.width=136,this.height=136}get classes(){return{[`${this.prefix}-selected`]:this.selected,[`${this.prefix}-swatch__image`]:"image"===this.type,[`${this.prefix}-swatch_empty`]:this.isEmpty,[`${this.prefix}-swatch__color`]:"color"===this.type}}get showImage(){return null!=this.url}get isEmpty(){return null==this.url&&null==this.color||"empty"===this.type}get showColor(){return null==this.url&&null!=this.color}getStyles(){return function P1(e){return e.imageUrl?{background:`url(${e.imageUrl})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"}:e.color?{background:e.color}:null}({imageUrl:this.url,color:this.color})}handleClick(){null!=this.value&&this._applySelect()}}return e.\u0275fac=function(n){return new(n||e)(y(Er),y("EUI_PREFIX"),y(Ns,8),y(Vn))},e.\u0275cmp=sn({type:e,selectors:[["mdo-swatch"]],inputs:{url:"url",type:"type",alt:"alt",checked:"checked",color:"color",selectable:"selectable",value:"value",width:"width",height:"height"},features:[U],decls:3,vars:7,consts:[[3,"ngClass","click"],[3,"icon",4,"ngIf"],[3,"icon"]],template:function(n,i){1&n&&(xe(0,"div",0),Ae("click",function(){return i.handleClick()}),xe(1,"div"),hn(2,C1,1,1,"eui-svg-icon",1),Te()()),2&n&&(Xe("",i.prefix,"-swatch"),$e("ngClass",i.classes),ie(1),function It(e){xt(rg,W0,e,!1)}(i.getStyles()),ie(1),$e("ngIf",i.isEmpty))},dependencies:[zc,ms,Pv],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}"]}),e})(),N1=(()=>{class e extends class R1{get swatchType(){return this.config?.swatchType||"color"}}{constructor(n){super(),this.prefix=n,this.changed=new ue,this.toggleTooltip=new ue}getDisabledClassBy(n){return n?`${this.prefix}-disabled`:""}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"))},e.\u0275cmp=sn({type:e,selectors:[["mdo-color-list"]],inputs:{option:"option",config:"config"},outputs:{changed:"changed",toggleTooltip:"toggleTooltip"},features:[U],decls:4,vars:15,consts:[[3,"showValueInTitle","useCustomTooltip","name","value","tooltip","description","icon","byToggleTooltip"],[3,"disabled","ngModel","ngModelChange"],["euiSelection","",3,"class","value","ngClass","disabled",4,"ngFor","ngForOf"],["euiSelection","",3,"value","ngClass","disabled"],[3,"color","url","type"],[3,"class",4,"ngIf"]],template:function(n,i){1&n&&(xe(0,"mdo-header",0),Ae("byToggleTooltip",function(o){return i.toggleTooltip.emit(o)}),Te(),xe(1,"eui-selection",1),Ae("ngModelChange",function(o){return i.changed.emit(o)}),xe(2,"div"),hn(3,w1,7,20,"div",2),Te()()),2&n&&($e("showValueInTitle",null==i.config?null:i.config.showValueInTitle)("useCustomTooltip",null==i.config?null:i.config.useCustomTooltip)("name",null==i.option?null:i.option.name)("value",null==i.option||null==i.option.selected?null:i.option.selected.name)("tooltip",null==i.option?null:i.option.tooltip)("description",null==i.option?null:i.option.description)("icon",null==i.config?null:i.config.tooltipIcon),ie(1),$e("disabled",null==i.config?null:i.config.disabled)("ngModel",null==i.option?null:i.option.selected),ie(1),function mg(e,t,n,i,r,o,s){xt(at,jt,Ci(v(),e,t,n,i,r,o,s),!0)}("",i.prefix,"-content ",i.prefix,"-content_list ",i.prefix,"-content_color-list"),ie(1),$e("ngForOf",null==i.option?null:i.option.values))},dependencies:[zc,P_,ms,o1,s1,sy,Ru,F1,k1],encapsulation:2,changeDetection:0}),e})(),V1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[{provide:"EUI_PREFIX",useValue:"mdo"}],imports:[mn,vu,Lr,e1,Rv,l1,a1,c1,f1]}),e})();class L1 extends Je{constructor(t=1/0,n=1/0,i=au){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;n||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sclearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return Vs.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Vs.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let ju;function Y1(e,t,n){let i=n;return function H1(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((r,o)=>!("*"===r||!function U1(e,t){if(!ju){const n=Element.prototype;ju=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&ju.call(e,t)}(e,r)||(i=o,0))),i}class X1{constructor(t,n){this.componentFactory=n.get(On).resolveComponentFactory(t)}create(t){return new Q1(this.componentFactory,t)}}class Q1{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new L1(1),this.events=this.eventEmitters.pipe(function B1(e,t){return Rt((n,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();n.subscribe(ct(i,l=>{r?.unsubscribe();let c=0;const u=o++;ut(e(l,u)).subscribe(r=ct(i,d=>i.next(t?t(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}(i=>Js(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(se),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Vs.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){this.runInZone(()=>{null!==this.componentRef?function G1(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=pt.create({providers:[],parent:this.injector}),i=function q1(e,t){const n=e.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=n.length;o{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(Vi(s=>({name:r,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Vs.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=n);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new Fd(o,n,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class K1 extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let eR=(()=>{class e{constructor(n){this._injector=n}ngDoBootstrap(){const n=function J1(e,t){const n=function W1(e,t){return t.get(On).resolveComponentFactory(e).inputs}(e,t.injector),i=t.strategyFactory||new X1(e,t.injector),r=function z1(e){const t={};return e.forEach(({propName:n,templateName:i})=>{t[function j1(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=n}),t}(n);class o extends K1{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:l})=>{if(!this.hasOwnProperty(l))return;const c=this[l];delete this[l],a.setInputValue(l,c)})}return this._ngElementStrategy}attributeChangedCallback(a,l,c,u){this.ngElementStrategy.setInputValue(r[a],c)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return o.observedAttributes=Object.keys(r),n.forEach(({propName:s})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),o}(N1,{injector:this._injector});customElements.define("au-color-list",n)}}return e.\u0275fac=function(n){return new(n||e)(D(pt))},e.\u0275mod=ge({type:e}),e.\u0275inj=de({providers:[{provide:_u,useValue:""}],imports:[FA,V1]}),e})();(function qM(){s_=!1})(),OA().bootstrapModule(eR,{ngZone:"noop"}).catch(e=>console.error(e))}},W=>{W(W.s=245)}]);