"use strict";(self.webpackChunkcolor_grid=self.webpackChunkcolor_grid||[]).push([[429],{621:()=>{}},c=>{c(c.s=621)}]);(()=>{"use strict";var e,v={},_={};function n(e){var o=_[e];if(void 0!==o)return o.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(o,r,c,l)=>{if(!r){var s=1/0;for(a=0;a<e.length;a++){for(var[r,c,l]=e[a],i=!0,f=0;f<r.length;f++)(!1&l||s>=l)&&Object.keys(n.O).every(p=>n.O[p](r[f]))?r.splice(f--,1):(i=!1,l<s&&(s=l));if(i){e.splice(a--,1);var u=c();void 0!==u&&(o=u)}}return o}l=l||0;for(var a=e.length;a>0&&e[a-1][2]>l;a--)e[a]=e[a-1];e[a]=[r,c,l]},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={666:0};n.O.j=c=>0===e[c];var o=(c,l)=>{var f,u,[a,s,i]=l,t=0;if(a.some(h=>0!==e[h])){for(f in s)n.o(s,f)&&(n.m[f]=s[f]);if(i)var d=i(n)}for(c&&c(l);t<a.length;t++)n.o(e,u=a[t])&&e[u]&&e[u][0](),e[u]=0;return n.O(d)},r=self.webpackChunkcolor_grid=self.webpackChunkcolor_grid||[];r.forEach(o.bind(null,0)),r.push=o.bind(null,r.push.bind(r))})()})();"use strict";(self.webpackChunkcolor_grid=self.webpackChunkcolor_grid||[]).push([[179],{682:()=>{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 Un(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ze{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 ze){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)&&Un(n,t)}remove(t){const{_finalizers:n}=this;n&&Un(n,t),t instanceof ze&&t._removeParent(this)}}ze.EMPTY=(()=>{const e=new ze;return e.closed=!0,e})();const Xu=ze.EMPTY;function Qu(e){return e instanceof ze||e&&"closed"in e&&W(e.remove)&&W(e.add)&&W(e.unsubscribe)}function Ku(e){W(e)?e():e.unsubscribe()}const vn={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}=vn;if(!t)throw e;t(e)})}function Ns(){}const Uy=Vs("C",void 0,void 0);function Vs(e,t,n){return{kind:e,value:t,error:n}}let yn=null;function $r(e){if(vn.useDeprecatedSynchronousErrorHandling){const t=!yn;if(t&&(yn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=yn;if(yn=null,n)throw i}}else e()}class Ls extends ze{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?js(function zy(e){return Vs("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?js(function Gy(e){return Vs("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?js(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 Bs(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 Ls{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&&vn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Bs(t.next,o),error:t.error&&Bs(t.error,o),complete:t.complete&&Bs(t.complete,o)}):r=t}this.destination=new Yy(r)}}function Ur(e){vn.useDeprecatedSynchronousErrorHandling?function Wy(e){vn.useDeprecatedSynchronousErrorHandling&&yn&&(yn.errorThrown=!0,yn.error=e)}(e):Ju(e)}function js(e,t){const{onStoppedNotification:n}=vn;n&&Hr.setTimeout(()=>n(e,t))}const Xy={closed:!0,next:Ns,error:function Zy(e){throw e},complete:Ns},Hs="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 Ls||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)}[Hs](){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??vn.Promise)&&void 0!==t?t:Promise}const Jy=Br(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ke=(()=>{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 ze(()=>{this.currentObservers=null,Un(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 Ke{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 lt(e,t,n,i,r){return new tC(e,t,n,i,r)}class tC extends Ls{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(lt(i,o=>{i.next(e.call(t,o,r++))}))})}function tn(e){return this instanceof tn?(this.v=e,this):new tn(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 tn?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 zs(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 Ws=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ld(e){return W(e?.then)}function cd(e){return W(e[Hs])}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 tn(n.read());if(r)return yield tn(void 0);yield yield tn(i)}}finally{n.releaseLock()}})}function gd(e){return W(e?.getReader)}function ct(e){if(e instanceof Ie)return e;if(null!=e){if(cd(e))return function EC(e){return new Ie(t=>{const n=e[Hs]();if(W(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ws(e))return function SC(e){return new Ie(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(ld(e))return function IC(e){return new Ie(t=>{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 nn(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 qs(e,t,n=1/0){return W(t)?qs((i,r)=>Vi((o,s)=>t(i,o,r,s))(ct(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<i?p(g):l.push(g),p=g=>{o&&t.next(g),c++;let _=!1;ct(n(g,u++)).subscribe(lt(t,C=>{r?.(C),o?h(C):t.next(C)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){const C=l.shift();s?nn(t,s,()=>p(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(lt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}const Ys=new Ie(e=>e.complete());function _d(e){return e&&W(e.schedule)}function Zs(e){return e[e.length-1]}function vd(e){return _d(Zs(e))?e.pop():void 0}function yd(e,t=0){return Rt((n,i)=>{n.subscribe(lt(i,r=>nn(i,e,()=>i.next(r),t),()=>nn(i,e,()=>i.complete(),t),r=>nn(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=>{nn(n,t,()=>{const i=e[Symbol.asyncIterator]();nn(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Xs(e,t){return t?function jC(e,t){if(null!=e){if(cd(e))return function kC(e,t){return ct(e).pipe(Cd(t),yd(t))}(e,t);if(Ws(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 ct(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 nn(n,t,()=>{i=e[fd](),nn(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):ct(e)}function Qs(...e){const t=vd(e),n=function PC(e,t){return"number"==typeof Zs(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?ct(i[0]):function OC(e=1/0){return qs(ed,e)}(n)(Xs(i,t)):Ys}function Ks(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 Js(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 ea(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 ta(e)?e():e}function ta(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 et(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 ue(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(na)||e.hasOwnProperty(XC))?e[na]:null}const qr=Z({\u0275prov:Z}),na=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 ia;function ut(e){const t=ia;return ia=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 rn(e){return{toString:e}.toString()}var vt=(()=>((vt=vt||{})[vt.OnPush=0]="OnPush",vt[vt.Default=1]="Default",vt))(),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)(),Gn={},z=[],Yr=Z({\u0275cmp:Z}),ra=Z({\u0275dir:Z}),oa=Z({\u0275pipe:Z}),Id=Z({\u0275mod:Z}),Ut=Z({\u0275fac:Z}),Li=Z({__NG_ELEMENT_ID__:Z});let KC=0;function on(e){return rn(()=>{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===vt.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(Ve).filter(xd):null,r})}function Md(e){return Y(e)||Ne(e)}function xd(e){return null!==e}function pe(e){return rn(()=>({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 Gn;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=on;function Y(e){return e[Yr]||null}function Ne(e){return e[ra]||null}function Ve(e){return e[oa]||null}const L=11,J=22;function qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ct(e){return Array.isArray(e)&&!0===e[1]}function la(e){return 0!=(8&e.flags)}function Kr(e){return 2==(2&e.flags)}function Jr(e){return 1==(1&e.flags)}function Dt(e){return null!==e.template}function rD(e){return 0!=(256&e[2])}function En(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===Gn)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:Gn,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===Gn),e[i]=t}kt.ngInherit=!0;const Pd="__ngSimpleChanges__";function kd(e){return e[Pd]||null}function ge(e){for(;Array.isArray(e);)e=e[0];return e}function eo(e,t){return ge(t[e])}function it(e,t){return ge(t[e.index])}function ha(e,t){return e.data[t]}function rt(e,t){const n=t[e];return qe(n)?n:n[0]}function to(e){return 64==(64&e[2])}function sn(e,t){return null==t?null:e[t]}function Nd(e){e[18]=0}function pa(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 Ce(){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 ga(){return R.lFrame.isParent}function ma(){R.lFrame.isParent=!1}function Zn(){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,_a(t)}function _a(e){R.lFrame.currentDirectiveIndex=e}function zd(){return R.lFrame.currentQueryIndex}function ya(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 Ca(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 Da(){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 Be(){return R.lFrame.selectedIndex}function an(e){R.lFrame.selectedIndex=e}function re(){const e=R.lFrame;return ha(e.tView,e.selectedIndex)}function no(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=o;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),l&&(e.viewHooks||(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks||(e.viewHooks=[])).push(n,c),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,c)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function io(e,t,n){Kd(e,t,3,n)}function ro(e,t,n,i){(3&e[2])===n&&Kd(e,t,n,i)}function wa(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Kd(e,t,n,i){const o=i??-1,s=t.length-1;let a=0;for(let l=void 0!==i?65535&e[18]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else t[l]<0&&(e[18]+=65536),(a<o||-1==o)&&(PD(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}function PD(e,t,n,i){const r=n[i]<0,o=n[i+1],a=e[r?-n[i]:n[i]];if(r){if(e[2]>>11<e[18]>>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(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const o=n[i++],s=n[i++],a=n[i++];e.setAttribute(t,s,a,o)}else{const o=r,s=n[++i];ef(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),i++}}return i}function Jd(e){return 3===e||4===e||6===e}function ef(e){return 64===e.charCodeAt(0)}function so(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||tf(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function tf(e,t,n,i,r){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function nf(e){return-1!==e}function Xn(e){return 32767&e}function Qn(e,t){let n=function BD(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Ea=!0;function ao(e){const t=Ea;return Ea=e,t}let jD=0;const Vt={};function qi(e,t){const n=Ia(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Sa(i.data,e),Sa(t,null),Sa(i.blueprint,null));const r=lo(e,t),o=e.injectorIndex;if(nf(r)){const s=Xn(r),a=Qn(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 Sa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ia(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<<r}(e,t,n)}function af(e,t,n){if(n&O.Optional||void 0!==e)return e;zr()}function lf(e,t,n,i){if(n&O.Optional&&void 0===i&&(i=null),0==(n&(O.Self|O.Host))){const r=e[9],o=ut(void 0);try{return r?r.get(t,i,n&O.Optional):Sd(t,i,n&O.Optional)}finally{ut(o)}}return af(i,0,n)}function cf(e,t,n,i=O.Default,r){if(null!==e){if(1024&t[2]){const s=function WD(e,t,n,i,r){let o=e,s=t;for(;null!==o&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=uf(o,s,n,i|O.Self,Vt);if(a!==Vt)return a;let l=o.parent;if(!l){const c=s[21];if(c){const u=c.get(n,Vt,i);if(u!==Vt)return u}l=hf(s),s=s[15]}o=l}return r}(e,t,n,i,Vt);if(s!==Vt)return s}const o=uf(e,t,n,i,Vt);if(o!==Vt)return o}return lf(t,n,i,r)}function uf(e,t,n,i,r){const o=function GD(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Li)?e[Li]:void 0;return"number"==typeof t?t>=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=Ia(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=Xn(l),t=Qn(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=Xn(l),t=Qn(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)&&Ea: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<f;h++){const p=s[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(r){const h=s[l];if(h&&Dt(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?ut(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&&ut(l),ao(a),s.resolving=!1,Xd()}}return r}function df(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function ff(e,t){return!(e&O.Self||e&O.Host&&t)}class Kn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return cf(this._tNode,this._lView,t,i,n)}}function zD(){return new Kn(Ce(),v())}function Ma(e){return ta(e)?()=>{const t=Ma(A(e));return t&&t()}:En(e)}function hf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const ei="__parameters__";function ni(e,t,n){return rn(()=>{const i=function Ta(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(ei)?l[ei]:Object.defineProperty(l,ei,{value:[]})[ei];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 ot(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),ot(i,t)):t!==e&&t.push(i)}return t}function Wt(e,t){e.forEach(n=>Array.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<e;i++)n.push(t);return n}function st(e,t,n){let i=ii(e,t);return 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 Oa(e,t){const n=ii(e,t);if(n>=0)return e[1|n]}function ii(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<<n];if(t===s)return o<<n;s>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const Ki={},Ra="__NG_DI_FLAG__",po="ngTempTokenPath",rw=/\n/gm,yf="__source";let Ji;function ri(e){const t=Ji;return Ji=e,t}function sw(e,t=O.Default){if(void 0===Ji)throw new S(-203,!1);return null===Ji?Sd(e,void 0,t):Ji.get(e,t&O.Optional?null:void 0,t)}function D(e,t=O.Default){return(function QC(){return ia}()||sw)(A(e),t)}function go(e,t=O.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),D(e,t)}function Pa(e){const t=[];for(let n=0;n<e.length;n++){const i=A(e[n]);if(Array.isArray(i)){if(0===i.length)throw new S(900,!1);let r,o=O.Default;for(let s=0;s<i.length;s++){const a=i[s],l=aw(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}t.push(D(r,o))}else t.push(D(i))}return t}function er(e,t){return e[Ra]=t,e.prototype[Ra]=t,e}function aw(e){return e[Ra]}const mo=er(ni("Optional"),8),_o=er(ni("SkipSelf"),4);var Ye=(()=>((Ye=Ye||{})[Ye.Important=1]="Important",Ye[Ye.DashCase=2]="DashCase",Ye))();const Ba=new Map;let Sw=0;const Ha="__ngContext__";function Fe(e,t){qe(t)?(e[Ha]=t[20],function Mw(e){Ba.set(e[20],e)}(t)):e[Ha]=t}function Ua(e,t){return undefined(e,t)}function rr(e){const t=e[3];return Ct(t)?t[3]:t}function Ga(e){return jf(e[13])}function za(e){return jf(e[4])}function jf(e){for(;null!==e&&!Ct(e);)e=e[4];return e}function si(e,t,n,i,r){if(null!=i){let o,s=!1;Ct(i)?o=i:qe(i)&&(s=!0,i=i[0]);const a=ge(i);0===e&&null!==n?null==r?Wf(t,n,a):Sn(t,n,a,r||null,!0):1===e&&null!==n?Sn(t,n,a,r||null,!0):2===e?function Ka(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!==ge(n)&&si(t,e,i,o,r);for(let a=10;a<n.length;a++){const l=n[a];or(l[1],l,e,t,i,o)}}(t,e,o,n,r)}}function qa(e,t,n){return e.createElement(t,n)}function $f(e,t){const n=e[9],i=n.indexOf(t),r=t[3];512&t[2]&&(t[2]&=-513,pa(r,-1)),n.splice(i,1)}function Ya(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[17];null!==r&&r!==e&&$f(r,i),t>0&&(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 Za(e[1],e);for(;t;){let n=null;if(qe(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)qe(t)&&Za(t[1],t),t=t[3];null===t&&(t=e),qe(t)&&Za(t[1],t),n=t&&t[4]}t=n}}(t)}}function Za(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<n.length;i+=2){const r=t[n[i]];if(!(r instanceof zi)){const o=n[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(r)}finally{}}}}(e,t),function qw(e,t){const n=e.cleanup,i=t[7];let r=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+1],a="function"==typeof s?s(t):ge(t[s]),l=i[r=n[o+2]],c=n[o+3];"boolean"==typeof c?a.removeEventListener(n[o],l,c):c>=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<i.length;o++)(0,i[o])();t[7]=null}}(e,t),1===t[1].type&&t[L].destroy();const n=t[17];if(null!==n&&Ct(t[3])){n!==t[3]&&$f(n,t);const i=t[19];null!==i&&i.detachView(e)}!function xw(e){Ba.delete(e[20])}(t)}}function Gf(e,t,n){return function zf(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const r=e.data[i.directiveStart].encapsulation;if(r===Pt.None||r===Pt.Emulated)return null}return it(i,n)}(e,t.parent,n)}function Sn(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Wf(e,t,n){e.appendChild(t,n)}function qf(e,t,n,i,r){null!==i?Sn(e,t,n,i,r):Wf(e,t,n)}function Co(e,t){return e.parentNode(t)}function Yf(e,t,n){return Xf(e,t,n)}let nl,Xf=function Zf(e,t,n){return 40&e.type?it(e,n):null};function Do(e,t,n,i){const r=Gf(e,i,t),o=t[L],a=Yf(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let l=0;l<n.length;l++)qf(o,r,n[l],a,!1);else qf(o,r,n,a,!1)}function wo(e,t){if(null!==t){const n=t.type;if(3&n)return it(t,e);if(4&n)return Qa(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return wo(e,i);{const r=e[t.index];return Ct(r)?Qa(-1,r):ge(r)}}if(32&n)return Ua(t,e)()||ge(e[t.index]);{const i=Kf(e,t);return null!==i?Array.isArray(i)?i[0]:wo(rr(e[16]),i):wo(e,t.next)}}return null}function Kf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Qa(e,t){const n=10+e+1;if(n<t.length){const i=t[n],r=i[1].firstChild;if(null!==r)return wo(i,r)}return t[7]}function Ja(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],l=n.type;if(s&&0===t&&(a&&Fe(ge(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)Ja(e,t,n.child,i,r,o,!1),si(t,e,r,a,o);else if(32&l){const c=Ua(n,i);let u;for(;u=c();)si(t,e,r,u,o);si(t,e,r,a,o)}else 16&l?Jf(e,t,i,n,r,o):si(t,e,r,a,o);n=s?n.projectionNext:n.next}}function or(e,t,n,i,r,o){Ja(n,i,e.firstChild,t,r,o,!1)}function Jf(e,t,n,i,r,o){const s=n[16],l=s[6].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)si(t,e,r,l[c],o);else Ja(e,t,l,s[3],r,o,!0)}function eh(e,t,n){e.setAttribute(t,"style",n)}function el(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function cn(e){return e instanceof class oh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?e.changingThisBreaksApplicationSecurity:e}const ph=new x("ENVIRONMENT_INITIALIZER"),gh=new x("INJECTOR",-1),mh=new x("INJECTOR_DEF_TYPES");class _h{get(t,n=Ki){if(n===Ki){const i=new Error(`NullInjectorError: No provider for ${X(t)}!`);throw i.name="NullInjectorError",i}return n}}function Mb(...e){return{\u0275providers:vh(0,e)}}function vh(e,...t){const n=[],i=new Set;let r;return Wt(t,o=>{const s=o;ll(s,n,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&yh(r,n),n}function yh(e,t){for(let n=0;n<e.length;n++){const{providers:r}=e[n];Wt(r,o=>{t.push(o)})}}function ll(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)ll(c,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Wt(o.imports,u=>{ll(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&yh(c,t)}if(!a){const c=En(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 cl(e){return null!==e&&"object"==typeof e&&xb in e}function Mn(e){return"function"==typeof e}const ul=new x("Set Injector scope."),Io={},Ab={};let dl;function Mo(){return void 0===dl&&(dl=new _h),dl}class ai{}class wh extends ai{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,hl(t,s=>this.processProvider(s)),this.records.set(gh,li(void 0,this)),r.has("environment")&&this.records.set(ai,li(void 0,this));const o=this.records.get(ul);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=ri(this),i=ut(void 0);try{return t()}finally{ri(n),ut(i)}}get(t,n=Ki,i=O.Default){this.assertNotDestroyed();const r=ri(this),o=ut(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)?li(fl(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{ut(o),ri(r)}}resolveInjectorInitializers(){const t=ri(this),n=ut(void 0);try{const i=this.get(ph.multi,z,O.Self);for(const r of i)r()}finally{ri(t),ut(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=Mn(t=A(t))?t:A(t&&t.provide);const i=function Fb(e){return cl(e)?li(void 0,e.useValue):li(bh(e),Io)}(t);if(Mn(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=li(void 0,Io,!0),r.factory=()=>Pa(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 fl(e){const t=Wr(e),n=null!==t?t.factory:En(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(Mn(e)){const r=A(e);return En(r)||fl(r)}if(cl(e))i=()=>A(e.useValue);else if(function Dh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Pa(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 En(r)||fl(r);i=()=>new r(...Pa(e.deps))}return i}function li(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nb(e){return!!e.\u0275providers}function hl(e,t){for(const n of e)Array.isArray(n)?hl(n,t):Nb(n)?hl(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 xn=(()=>{class e{}return e.NULL=new Bb,e})();function jb(){return ci(Ce(),v())}function ci(e,t){return new we(it(e,t))}let we=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=jb,e})();function Hb(e){return e instanceof we?e.nativeElement:e}class Ih{}let Tn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function $b(){const e=v(),n=rt(Ce().index,e);return(qe(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"),pl={};function ml(e){return e.ngOriginalError}class ui{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&&ml(t);for(;n&&ml(n);)n=ml(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(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==xh(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function Ah(e){return 4===e.type&&e.value!==Th}function nE(e,t,n){return t===(4!==e.type||n?e.value:Th)}function iE(e,t,n){let i=4;const r=e.attrs||[],o=function sE(e){for(let t=0;t<e.length;t++)if(Jd(e[t]))return t;return e.length}(r);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!nE(e,l,n)||""===l&&1===t.length){if(wt(i))return!1;s=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==e.attrs){if(!tE(e.attrs,c,n)){if(wt(i))return!1;s=!0}continue}const d=rE(8&i?"class":l,r,Ah(e),n);if(-1===d){if(wt(i))return!1;s=!0;continue}if(""!==c){let f;f=d>o?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==xh(h,c,0)||2&i&&c!==f){if(wt(i))return!1;s=!0}}}}else{if(!s&&!wt(i)&&!wt(l))return!1;if(s&&wt(l))continue;s=!1,i=l|1&i}}return wt(i)||s}function wt(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<t.length;){const s=t[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++r];for(;"string"==typeof a;)a=t[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function aE(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Oh(e,t,n=!1){for(let i=0;i<t.length;i++)if(iE(e,t[i],n))return!0;return!1}function lE(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Fh(e,t){return e?":not("+t.trim()+")":t}function cE(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const a=e[++n];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!wt(s)&&(t+=Fh(o,r),r=""),i=s,o=o||!wt(i);n++}return""!==r&&(t+=Fh(o,r)),t}const k={};function be(e){Rh(H(),v(),Be()+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)}an(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 ht=(()=>{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(Ce(),n,A(e),t)}function To(e,t){return e<<17|t<<2}function bt(e){return e>>17&32767}function Dl(e){return 2|e}function Zt(e){return(131068&e)>>2}function wl(e,t){return-131069&e|t<<2}function bl(e){return 1|e}function tp(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],o=n[i+1];if(-1!==o){const s=e.data[o];ya(r),s.contentQueries(2,t[o],o)}}}function Fo(e,t,n,i,r,o,s,a,l,c,u){const d=t.blueprint.slice();return d[0]=r,d[2]=76|i,(null!==u||e&&1024&e[2])&&(d[2]|=1024),Nd(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[L]=a||e&&e[L],d[12]=l||e&&e[12]||null,d[9]=c||e&&e[9]||null,d[6]=o,d[20]=function Iw(){return Sw++}(),d[21]=u,d[16]=2==t.type?e[16]:d,d}function hi(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Ol(e,t,n,i,r){const o=Hd(),s=ga(),l=e.data[t]=function WE(e,t,n,i,r,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(e,t,n,i,r),function bD(){return R.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const s=function Gi(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Nt(o,!0),o}function pi(e,t,n,i){if(0===n)return-1;const r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Fl(e,t,n){Ca(t);try{const i=e.viewQuery;null!==i&&jl(1,i,n);const r=e.template;null!==r&&np(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&tp(e,t),e.staticViewQueries&&jl(2,e.viewQuery,n);const o=e.components;null!==o&&function UE(e,t){for(let n=0;n<t.length;n++)c0(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Da()}}function Ro(e,t,n,i){const r=t[2];if(128!=(128&r)){Ca(t);try{Nd(t),function Ud(e){return R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&np(e,t,n,2,i);const s=3==(3&r);if(s){const c=e.preOrderCheckHooks;null!==c&&io(t,c,null)}else{const c=e.preOrderHooks;null!==c&&ro(t,c,0,null),wa(t,0)}if(function a0(e){for(let t=Ga(e);null!==t;t=za(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const r=n[i],o=r[3];0==(512&r[2])&&pa(o,1),r[2]|=512}}}(t),function s0(e){for(let t=Ga(e);null!==t;t=za(t))for(let n=10;n<t.length;n++){const i=t[n],r=i[1];to(i)&&Ro(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&tp(e,t),s){const c=e.contentCheckHooks;null!==c&&io(t,c)}else{const c=e.contentHooks;null!==c&&ro(t,c,1),wa(t,1)}!function HE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const r=n[i];if(r<0)an(~r);else{const o=r,s=n[++i],a=n[++i];ED(s,o),a(2,t[o])}}}finally{an(-1)}}(e,t);const a=e.components;null!==a&&function $E(e,t){for(let n=0;n<t.length;n++)l0(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&jl(2,l,i),s){const c=e.viewCheckHooks;null!==c&&io(t,c)}else{const c=e.viewHooks;null!==c&&ro(t,c,2),wa(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,pa(t[3],-1))}finally{Da()}}}function np(e,t,n,i,r){const o=Be(),s=2&i;try{an(-1),s&&t.length>J&&Rh(e,t,J,!1),n(i,r)}finally{an(o)}}function ip(e,t,n){if(la(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,n[o],o)}}}function Rl(e,t,n){!Ld()||(function QE(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||qi(n,t),Fe(i,t);const s=n.initialInputs;for(let a=r;a<o;a++){const l=e.data[a],c=Dt(l);c&&n0(t,n,l);const u=Yi(t,e,a,n);Fe(u,t),null!==s&&r0(0,a-r,u,l,0,s),c&&(rt(n.index,t)[8]=u)}}(e,t,n,it(n,t)),128==(128&n.flags)&&function KE(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=n.index,s=function SD(){return R.lFrame.currentDirectiveIndex}();try{an(o);for(let a=i;a<r;a++){const l=e.data[a],c=t[a];_a(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&up(l,c)}}finally{an(-1),_a(s)}}(e,t,n))}function Pl(e,t,n=it){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?n(t,e):e[s];e[r++]=a}}}function rp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=kl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function kl(e,t,n,i,r,o,s,a,l,c){const u=J+i,d=u+r,f=function GE(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:k);return n}(u,d),h="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1}}function op(e,t,n,i){const r=gp(t);null===n?r.push(i):(r.push(n),e.firstCreatePass&&mp(e).push(i,r.length-1))}function sp(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function ap(e,t){const i=t.directiveEnd,r=e.data,o=t.attrs,s=[];let a=null,l=null;for(let c=t.directiveStart;c<i;c++){const u=r[c],d=u.inputs,f=null===o||Ah(t)?null:o0(d,o);s.push(f),a=sp(d,c,a),l=sp(u.outputs,c,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=l}function lp(e,t){const n=rt(t,e);16&n[2]||(n[2]|=32)}function Nl(e,t,n,i){let r=!1;if(Ld()){const o=function JE(e,t,n){const i=e.directiveRegistry;let r=null;if(i)for(let o=0;o<i.length;o++){const s=i[o];Oh(n,s.selectors,!1)&&(r||(r=[]),co(qi(n,t),e,s.type),Dt(s)?(dp(e,n),r.unshift(s)):r.push(s))}return r}(e,t,n),s=null===i?null:{"":-1};if(null!==o){r=!0,fp(n,e.data.length,o.length);for(let u=0;u<o.length;u++){const d=o[u];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,c=pi(e,t,o.length,null);for(let u=0;u<o.length;u++){const d=o[u];n.mergedAttrs=so(n.mergedAttrs,d.hostAttrs),hp(e,n,t,c,d),t0(c,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),l=!0),c++}ap(e,n)}s&&function e0(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const o=n[t[r+1]];if(null==o)throw new S(-301,!1);i.push(t[r],o)}}}(n,i,s)}return n.mergedAttrs=so(n.mergedAttrs,n.attrs),r}function cp(e,t,n,i,r,o){const s=o.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const l=~t.index;(function XE(e){let t=e.length;for(;t>0;){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;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Dt(t)&&(n[""]=e)}}function fp(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function hp(e,t,n,i,r){e.data[i]=r;const o=r.factory||(r.factory=En(r.type)),s=new zi(o,Dt(r),y);e.blueprint[i]=s,n[i]=s,cp(e,t,0,i,pi(e,n,r.hostVars,k),r)}function n0(e,t,n){const i=it(t,e),r=rp(n),o=e[10],s=Po(e,Fo(e,r,null,n.onPush?32:16,i,t,o,o.createRenderer(i,n),null,null,null));e[t.index]=s}function Lt(e,t,n,i,r,o){const s=it(e,t);!function Vl(e,t,n,i,r,o,s){if(null==o)e.removeAttribute(t,r,n);else{const a=null==s?P(o):s(o,i||"",r);e.setAttribute(t,r,a,n)}}(t[L],s,o,e.value,n,i,r)}function r0(e,t,n,i,r,o){const s=o[t];if(null!==s){const a=i.setInput;for(let l=0;l<s.length;){const c=s[l++],u=s[l++],d=s[l++];null!==a?i.setInput(n,d,c,u):n[u]=d}}}function o0(e,t){let n=null,i=0;for(;i<t.length;){const r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function pp(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function l0(e,t){const n=rt(t,e);if(to(n)){const i=n[1];48&n[2]?Ro(i,n,i.template,n[8]):n[5]>0&&Ll(n)}}function Ll(e){for(let i=Ga(e);null!==i;i=za(i))for(let r=10;r<i.length;r++){const o=i[r];if(to(o))if(512&o[2]){const s=o[1];Ro(s,o,s.template,o[8])}else o[5]>0&&Ll(o)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const r=rt(n[i],e);to(r)&&r[5]>0&&Ll(r)}}function c0(e,t){const n=rt(t,e),i=n[1];(function u0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Fl(i,n,n[8])}function Po(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Bl(e){for(;e;){e[2]|=32;const t=rr(e);if(rD(e)&&!t)return e;e=t}return null}function ko(e,t,n,i=!0){const r=t[10];r.begin&&r.begin();try{Ro(e,t,e.template,n)}catch(s){throw i&&vp(t,s),s}finally{r.end&&r.end()}}function jl(e,t,n){ya(0),t(e,n)}function gp(e){return e[7]||(e[7]=[])}function mp(e){return e.cleanup||(e.cleanup=[])}function vp(e,t){const n=e[9],i=n?n.get(ui,null):null;i&&i.handleError(t)}function Hl(e,t,n,i,r){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=t[s],c=e.data[s];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function No(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?r=ea(r,a):2==o&&(i=ea(i,a+": "+t[++s]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function Vo(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(ge(o)),Ct(o))for(let a=10;a<o.length;a++){const l=o[a],c=l[1].firstChild;null!==c&&Vo(l[1],l,c,i)}const s=n.type;if(8&s)Vo(e,t,n.child,i);else if(32&s){const a=Ua(n,t);let l;for(;l=a();)i.push(l)}else if(16&s){const a=Kf(t,n);if(Array.isArray(a))i.push(...a);else{const l=rr(t[16]);Vo(l[1],l,a,i,!0)}}n=r?n.projectionNext:n.next}return i}class ur{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Vo(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Ct(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Ya(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(){Bl(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 $l extends xn{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,pl,i);return r!==pl||n===pl?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 ai?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):qa(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=kl(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,_;Ca(p);try{const C=function m0(e,t,n,i,r,o){const s=n[1];n[22]=e;const l=hi(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&&el(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(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!wt(r))break;r=o}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);E&&oo(c,d,E),m&&m.length>0&&el(c,d,m.join(" "))}if(_=ha(h,J),void 0!==n){const E=_.projection=[];for(let m=0;m<this.ngContentSelectors.length;m++){const I=n[m];E.push(null!=I?Array.from(I):null)}}g=function _0(e,t,n,i){const r=n[1],o=function ZE(e,t,n){const i=Ce();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),hp(e,i,t,pi(e,t,1,null),n),ap(e,i));const r=Yi(t,e,i.directiveStart,i);Fe(r,t);const o=it(i,t);return o&&Fe(o,t),r}(r,n,t);if(e[8]=n[8]=o,null!==i)for(const a of i)a(o,t);if(t.contentQueries){const a=Ce();t.contentQueries(1,o,a.directiveStart)}const s=Ce();return!r.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(an(s.index),cp(n[1],s,0,s.directiveStart,s.directiveEnd,t),up(t,o)),o}(C,this.componentDef,p,[v0]),Fl(h,p,null)}finally{Da()}return new g0(this.componentType,g,ci(_,p),p,_)}}class g0 extends class Vb{}{constructor(t,n,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new d0(r),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){const o=this._rootLView;Hl(o[1],o,r,t,n),lp(o,this._tNode.index)}}get injector(){return new Kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function v0(){const e=Ce();no(v()[1],e)}function U(e){let t=function Cp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(Dt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const s=e;s.inputs=Ul(e.inputs),s.declaredInputs=Ul(e.declaredInputs),s.outputs=Ul(e.outputs);const a=r.hostBindings;a&&w0(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&C0(e,l),c&&D0(e,c),Js(e.inputs,r.inputs),Js(e.declaredInputs,r.declaredInputs),Js(e.outputs,r.outputs),Dt(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===U&&(n=!1)}}t=Object.getPrototypeOf(t)}!function y0(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=so(r.hostAttrs,n=so(n,r.hostAttrs))}}(i)}function Ul(e){return e===Gn?{}: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 An(){if(!Lo){const e=K.Symbol;if(e&&e.iterator)Lo=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Lo=i)}}}return Lo}function fr(e){return!!Gl(e)&&(Array.isArray(e)||!(e instanceof Map)&&An()in e)}function Gl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Re(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Bo(e,t,n,i,r){const o=function On(e,t,n,i){const r=Re(e,t,n);return Re(e,t+1,i)||r}(e,t,n,i);return Re(e,t+2,r)||o}function Et(e,t,n,i){const r=v();return Re(r,Zn(),t)&&(H(),Lt(re(),r,e,t,n,i)),Et}function mi(e,t,n,i){return Re(e,Zn(),n)?t+P(n)+i:k}function vi(e,t,n,i,r,o,s,a){const c=Bo(e,function Gt(){return R.lFrame.bindingIndex}(),n,r,s);return zt(3),c?t+P(n)+i+P(r)+o+P(s)+a:k}function Fn(e,t,n,i,r,o,s,a){const l=v(),c=H(),u=e+J,d=c.firstCreatePass?function A0(e,t,n,i,r,o,s,a,l){const c=t.consts,u=hi(t,e,4,s||null,sn(c,a));Nl(t,n,u,sn(c,l)),no(t,u);const d=u.tViews=kl(2,u,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,i,r,o,s):c.data[u];Nt(d,!1);const f=l[L].createComment("");Do(c,l,f,d),Fe(f,l),Po(l,l[u]=pp(f,l,f,d)),Jr(d)&&Rl(c,l,d),null!=s&&Pl(l,d,a)}function Ze(e,t,n){const i=v();return Re(i,Zn(),t)&&function at(e,t,n,i,r,o,s,a){const l=it(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[i])?(Hl(e,n,u,i,r),Kr(t)&&lp(n,t.index)):3&t.type&&(i=function qE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,t.value||"",i):r,o.setProperty(l,i,r))}(H(),re(),i,e,t,i[L],n,!1),Ze}function zl(e,t,n,i,r){const s=r?"class":"style";Hl(e,n,t.inputs[s],s,i)}function Pe(e,t,n,i){const r=v(),o=H(),s=J+e,a=r[L],l=r[s]=qa(a,t,function FD(){return R.lFrame.currentNamespace}()),c=o.firstCreatePass?function R0(e,t,n,i,r,o,s){const a=t.consts,c=hi(t,e,2,r,sn(a,o));return Nl(t,n,c,sn(a,s)),null!==c.attrs&&No(c,c.attrs,!1),null!==c.mergedAttrs&&No(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,o,r,0,t,n,i):o.data[s];Nt(c,!0);const u=c.mergedAttrs;null!==u&&oo(a,l,u);const d=c.classes;null!==d&&el(a,l,d);const f=c.styles;return null!==f&&eh(a,l,f),64!=(64&c.flags)&&Do(o,r,l,c),0===function _D(){return R.lFrame.elementDepthCount}()&&Fe(l,r),function vD(){R.lFrame.elementDepthCount++}(),Jr(c)&&(Rl(o,r,c),ip(o,c,r)),null!==i&&Pl(r,c),Pe}function He(){let e=Ce();ga()?ma():(e=e.parent,Nt(e,!1));const t=e;!function yD(){R.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&(no(n,e),la(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function VD(e){return 0!=(16&e.flags)}(t)&&zl(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function LD(e){return 0!=(32&e.flags)}(t)&&zl(n,t,v(),t.stylesWithoutHost,!1),He}function Ei(e,t,n,i){return Pe(e,t,n,i),He(),Ei}function Wl(e,t,n){const i=v(),r=H(),o=e+J,s=r.firstCreatePass?function P0(e,t,n,i,r){const o=t.consts,s=sn(o,i),a=hi(t,e,8,"ng-container",s);return null!==s&&No(a,s,!0),Nl(t,n,a,sn(o,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,r,i,t,n):r.data[o];Nt(s,!0);const a=i[o]=i[L].createComment("");return Do(r,i,a,s),Fe(a,i),Jr(s)&&(Rl(r,i,s),ip(r,s,i)),null!=n&&Pl(i,s),Wl}function ql(){let e=Ce();const t=H();return ga()?ma():(e=e.parent,Nt(e,!1)),t.firstCreatePass&&(no(t,e),la(e)&&t.queries.elementEnd(e)),ql}function Yl(e,t,n){return Wl(e,t,n),ql(),Yl}function jo(e){return!!e&&"function"==typeof e.then}const Fp=function Op(e){return!!e&&"function"==typeof e.subscribe};function xe(e,t,n,i){const r=v(),o=H(),s=Ce();return function Pp(e,t,n,i,r,o,s,a){const l=Jr(i),u=e.firstCreatePass&&mp(e),d=t[8],f=gp(t);let h=!0;if(3&i.type||a){const _=it(i,t),C=a?a(_):_,E=f.length,m=a?$=>a(ge($[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;o<r.length-1;o+=2){const s=r[o];if(s===n&&r[o+1]===i){const a=t[7],l=r[o+2];return a.length>l?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 ie=t[g[C]][g[C+1]].subscribe(o),$n=f.length;f.push(o,ie),u&&u.push(r,i.index,$n,-($n+1))}}}(o,r,r[L],s,e,t,0,i),xe}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;Bl(2&e.flags?rt(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 Rn(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<t.length;r++){const o=t[r];if("*"!==o){if(null===i?Oh(e,o,!0):lE(i,o))return r}else n=r}return n}function Yp(e,t,n,i,r){const o=e[n+1],s=null===t;let a=i?bt(o):Zt(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];B0(e[a],t)&&(l=!0,e[a+1]=i?bl(u):Dl(u)),a=i?bt(u):Zt(u)}l&&(e[n+1]=i?Dl(o):bl(o))}function B0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ii(e,t)>=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(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ee.key=t,n),Si(e,t,n))}function Qp(e,t){const n=Ee.textEnd;let i=Ee.key=Si(e,t,n);return n===i?-1:(i=Ee.keyEnd=function G0(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=Jp(e,i,n),i=Ee.value=Si(e,i,n),i=Ee.valueEnd=function z0(e,t,n){let i=-1,r=-1,o=-1,s=t,a=s;for(;s<n;){const l=e.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=eg(e,l,s,n):t===s-4&&85===o&&82===r&&76===i&&40===l?a=s=eg(e,41,s,n):l>32&&(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 Si(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Jp(e,t,n,i){return(t=Si(e,t,n))<n&&t++,t}function eg(e,t,n,i){let r=-1,o=n;for(;o<i;){const s=e.charCodeAt(o++);if(s==t&&92!==r)return o;r=92==s&&92===r?0:s}throw new Error}function Xl(e,t,n){return It(e,t,n,!1),Xl}function Ho(e,t){return It(e,t,null,!0),Ho}function W0(e,t){for(let n=function $0(e){return Kp(e),Qp(e,Si(e,0,Ee.textEnd))}(t);n>=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,Si(e,0,Ee.textEnd))}(t);n>=0;n=Xp(t,n))st(e,Zp(t),!0)}function It(e,t,n,i){const r=v(),o=H(),s=zt(2);o.firstUpdatePass&&ig(o,e,s,i),t!==k&&Re(r,s,t)&&og(o,o.data[Be()],r,r[L],e,r[s+1]=function J0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=X(cn(e)))),e}(t,n),i,s)}function Mt(e,t,n,i){const r=H(),o=zt(2);r.firstUpdatePass&&ig(r,null,o,i);const s=v();if(n!==k&&Re(s,o,n)){const a=r.data[Be()];if(ag(a,i)&&!ng(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=ea(l,n||"")),zl(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<r.length?r[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const f=l<r.length?r[l+1]:void 0,h=c<o.length?o[c+1]:void 0;let g,p=null;u===d?(l+=2,c+=2,f!==h&&(p=d,g=h)):null===d||null!==u&&u<d?(l+=2,p=u):(c+=2,p=d,g=h),null!==p&&og(e,t,n,i,p,g,s,a),u=l<r.length?r[l]:null,d=c<o.length?o[c]:null}}(r,a,s,s[L],s[o+1],s[o+1]=function Q0(e,t,n){if(null==n||""===n)return z;const i=[],r=cn(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}function ng(e,t){return t>=e.expandoStartIndex}function ig(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Be()],s=ng(e,n);ag(o,i)&&null===t&&!s&&(t=!1),t=function q0(e,t,n,i){const r=function va(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=Ql(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=Ql(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[bt(i)]}(e,t,i);void 0!==l&&Array.isArray(l)&&(l=Ql(null,e,t,l[1],i),l=pr(l,t.attrs,i),function Z0(e,t,n,i){e[bt(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;o<r;o++)i=pr(i,e[o].hostAttrs,n);return pr(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function V0(e,t,n,i,r,o){let s=o?t.classBindings:t.styleBindings,a=bt(s),l=Zt(s);e[i]=n;let u,c=!1;if(Array.isArray(n)){const d=n;u=d[1],(null===u||ii(d,u)>0)&&(c=!0)}else u=n;if(r)if(0!==l){const f=bt(e[a+1]);e[i+1]=To(f,a),0!==f&&(e[f+1]=wl(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]=wl(e[a+1],i)),a=i;else e[i+1]=To(l,0),0===a?a=i:e[l+1]=wl(e[l+1],i),l=i;c&&(e[i+1]=Dl(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&&ii(o,t)>=0&&(n[i+1]=bl(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 Ql(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],i=pr(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function pr(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),st(e,s,!!n||t[++o]))}return void 0===e?null:e}function rg(e,t,n){st(e,t,cn(n))}function og(e,t,n,i,r,o,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];$o(function qh(e){return 1==(1&e)}(c)?sg(l,t,n,r,Zt(c),s):void 0)||($o(o)||function Wh(e){return 2==(2&e)}(c)&&(o=sg(l,null,n,r,a,s)),function Jw(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=-1===i.indexOf("-")?void 0:Ye.DashCase;null==r?e.removeStyle(n,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ye.Important),e.setStyle(n,i,r,o))}}(i,s,eo(Be(),n),r,o))}function sg(e,t,n,i,r,o){const s=null===t;let a;for(;r>0;){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?Oa(f,i):u===i?f:void 0;if(c&&!$o(h)&&(h=Oa(l,i)),$o(h)&&(a=h,s))return a;const p=e[r+1];r=s?bt(p):Zt(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=Oa(l,i))}return a}function $o(e){return void 0!==e}function ag(e,t){return 0!=(e.flags&(t?16:32))}function Ii(e,t=""){const n=v(),i=H(),r=e+J,o=i.firstCreatePass?hi(i,r,1,t,null):i.data[r],s=n[r]=function Wa(e,t){return e.createText(t)}(n[L],t);Do(i,n,s,o),Nt(o,!1)}function Mi(e){return Kl("",e,""),Mi}function Kl(e,t,n){const i=v(),r=mi(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,Be(),r),Kl}function xt(e,t,n){Mt(st,jt,mi(v(),e,t,n),!0)}const Ti="en-US";let Ag=Ti;function tc(e,t,n,i,r){if(e=A(e),Array.isArray(e))for(let o=0;o<e.length;o++)tc(e[o],t,n,i,r);else{const o=H(),s=v();let a=Mn(e)?e:A(e.provide),l=bh(e);const c=Ce(),u=1048575&c.providerIndexes,d=c.directiveStart,f=c.providerIndexes>>20;if(Mn(e)||!e.multi){const h=new zi(l,r,y),p=ic(a,t,r?u:u+f,d);-1===p?(co(qi(c,s),o,a),nc(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=ic(a,t,u+f,d),p=ic(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),nc(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(C),s.push(C)}else nc(o,e,h>-1?h:p,tm(n[r?p:h],l,!r&&i));!r&&i&&_&&n[p].componentProviders++}}}function nc(e,t,n,i){const r=Mn(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 ic(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function hI(e,t,n,i){return rc(this.multi,[])}function pI(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Yi(n,n[1],this.providerFactory.index,i);o=a.slice(0,s),rc(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],rc(r,o);return o}function rc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function te(e,t=[]){return n=>{n.providersResolver=(i,r)=>function fI(e,t,n){const i=H();if(i.firstCreatePass){const r=Dt(e);tc(n,i.data,i.blueprint,r,!0),tc(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 $l(this);const i=function tt(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:xn,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 oc extends class mI{}{constructor(t){super(),this.moduleType=t}create(t){return new nm(this.moduleType,t)}}function ac(e){return t=>{setTimeout(e,void 0,t)}}const ce=class WI extends Ke{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=ac(o),r&&(r=ac(r)),s&&(s=ac(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof ze&&t.add(a),a}};function qI(){return this._results[An()]()}class lc{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=An(),i=lc.prototype;i[n]||(i[n]=qI)}get changes(){return this._changes||(this._changes=new ce)}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=ot(t);(this._changesDetected=!function YD(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=t[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Qt=(()=>{class e{}return e.__NG_ELEMENT_ID__=XI,e})();const YI=Qt,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)),Fl(i,r,t),new ur(r)}};function XI(){return qo(Ce(),v())}function qo(e,t){return 4&e.type?new ZI(t,e,ci(e,t)):null}let gt=(()=>{class e{}return e.__NG_ELEMENT_ID__=QI,e})();function QI(){return _m(Ce(),v())}const KI=gt,gm=class extends KI{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return ci(this._hostTNode,this._hostLView)}get injector(){return new Kn(this._hostTNode,this._hostLView)}get parentInjector(){const t=lo(this._hostTNode,this._hostLView);if(nf(t)){const n=Qn(t,this._hostLView),i=Xn(t);return new Kn(n[1].data[i+8],n)}return new Kn(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(ai,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 Ct(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),i<o-10?(t[4]=n[r],gf(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function Ww(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=64}(r,i,s,o);const a=Qa(o,s),l=i[L],c=Co(l,s[7]);return null!==c&&function $w(e,t,n,i,r,o){i[0]=r,i[6]=t,or(e,i,n,1,r,o)}(r,s[6],l,i,c,a),t.attachToViewContainerRef(),gf(cc(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=mm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Ya(this._lContainer,n);i&&(fo(cc(this._lContainer),n),Uf(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=Ya(this._lContainer,n);return i&&null!=fo(cc(this._lContainer),n)?new ur(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function mm(e){return e[8]}function cc(e){return e[8]||(e[8]=[])}function _m(e,t){let n;const i=t[e.index];if(Ct(i))n=i;else{let r;if(8&e.type)r=ge(i);else{const o=t[L];r=o.createComment("");const s=it(e,t);Sn(o,Co(o,s),r,function Xw(e,t){return e.nextSibling(t)}(o,s),!1)}t[e.index]=n=pp(i,t,r,e),Po(t,n)}return new gm(n,e,t)}class uc{constructor(t){this.queryList=t,this.matches=null}clone(){return new uc(this.queryList)}setDirty(){this.queryList.setDirty()}}class dc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let o=0;o<i;o++){const s=n.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new dc(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==wm(t,n).matches&&this.queries[n].setDirty()}}class vm{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class fc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new fc(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class hc{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new hc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,n,tM(n,o)),this.matchTNodeWithReadOption(t,n,uo(n,t,o,!1,!1))}else i===Qt?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,uo(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===we||r===gt||r===Qt&&4&n.type)this.addMatch(n.index,-2);else{const o=uo(n,t,r,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function tM(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function iM(e,t,n,i){return-1===n?function nM(e,t){return 11&e.type?ci(e,t):4&e.type?qo(e,t):null}(t,e):-2===n?function rM(e,t,n){return n===we?ci(t,e):n===Qt?qo(t,e):n===gt?_m(t,e):void 0}(e,t,i):Yi(e,e[1],n,t)}function ym(e,t,n,i){const r=t[19].queries[i];if(null===r.matches){const o=e.data,s=n.matches,a=[];for(let l=0;l<s.length;l+=2){const c=s[l];a.push(c<0?null:iM(t,o[c],s[l+1],n.metadata.read))}r.matches=a}return r.matches}function pc(e,t,n,i){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const s=ym(e,t,r,n);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d<u.length;d++){const f=u[d];f[17]===f[3]&&pc(f[1],f,c,i)}if(null!==u[9]){const d=u[9];for(let f=0;f<d.length;f++){const h=d[f];pc(h[1],h,c,i)}}}}}return i}function Yo(e){const t=v(),n=H(),i=zd();ya(i+1);const r=wm(n,i);if(e.dirty&&function gD(e){return 4==(4&e[2])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?pc(n,t,i,[]):ym(n,t,r,i);e.reset(o,Hb),e.notifyOnChanges()}return!0}return!1}function Zo(e,t,n){const i=H();i.firstCreatePass&&(function Dm(e,t,n){null===e.queries&&(e.queries=new fc),e.queries.track(new hc(t,n))}(i,new vm(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),function Cm(e,t,n){const i=new lc(4==(4&n));op(e,t,i,i.destroy),null===t[19]&&(t[19]=new dc),t[19].queries.push(new uc(i))}(i,v(),t)}function Xo(){return function sM(e,t){return e[19].queries[t].queryList}(v(),zd())}function wm(e,t){return e.queries.getByIndex(t)}function bm(e,t){return qo(e,t)}function Ko(...e){}const $m=new x("Application Initializer");let Jo=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ko,this.reject=Ko,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<this.appInits.length;r++){const o=this.appInits[r]();if(jo(o))n.push(o);else if(Fp(o)){const s=new Promise((a,l)=>{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`${yc()}${yc()}${yc()}`}});function yc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gm=new x("Platform Initializer"),Cc=new x("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),MM=new x("appBootstrapListener"),xM=new x("AnimationModuleType"),Kt=new x("LocaleId",{providedIn:"root",factory:()=>go(Kt,O.Optional|O.SkipSelf)||function TM(){return typeof $localize<"u"&&$localize.locale||Ti}()}),PM=(()=>Promise.resolve(0))();function Dc(e){typeof Zone>"u"?PM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class oe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!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,bc(e),e.isCheckStableRunning=!0,wc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bc(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,bc(e),wc(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(!oe.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(oe.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,Ko,Ko);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 wc(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 bc(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--,wc(e)}class BM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}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(""),es=new x("");let Ic,Ec=(()=>{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,Ic||(function jM(e){Ic=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:()=>{oe.assertNotInAngularZone(),Dc(()=>{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())Dc(()=>{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(oe),D(Sc),D(es))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Sc=(()=>{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 Ic?.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})(),fn=null;const Xm=new x("AllowMultipleToken"),Mc=new x("PlatformDestroyListeners");function Km(e,t,n=[]){const i=`Platform: ${t}`,r=new x(i);return(o=[])=>{let s=xc();if(!s||s.injector.get(Xm,!1)){const a=[...n,...o,{provide:r,useValue:!0}];e?e(a):function UM(e){if(fn&&!fn.get(Xm,!1))throw new S(400,!1);fn=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 ht.create({name:t,providers:[{provide:ul,useValue:"platform"},{provide:Mc,useValue:new Set([()=>fn=null])},...e]})}(a,i))}return function zM(e){const t=xc();if(!t)throw new S(401,!1);return t}()}}function xc(){return fn?.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 oe(t),n}(i?.ngZone,function t_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:oe,useValue:r}];return r.run(()=>{const s=ht.create({providers:o,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(ui,null);if(!l)throw new S(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{ts(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(Jo);return c.runInitializers(),c.donePromise.then(()=>(function Og(e){et(e,"Expected localeId to be defined"),"string"==typeof e&&(Ag=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Kt,Ti)||Ti),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,i=[]){const r=r_({},i);return function HM(e,t,n){const i=new oc(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(kn);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(Mc,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(ht))},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 kn=(()=>{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(()=>{oe.assertNotInAngularZone(),Dc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Qs(o,s.pipe(function HC(e={}){const{connector:t=(()=>new Ke),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=Ks(p,r))}),C.subscribe(_),!s&&c>0&&(s=new Ni({next:E=>C.next(E),error:E=>{d=!0,f(),a=Ks(h,n,E),C.error(E)},complete:()=>{u=!0,f(),a=Ks(h,i),C.complete()}}),ct(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(Jo).done)throw!r&&function Bi(e){const t=Y(e)||Ne(e)||Ve(e);return null!==t&&t.standalone}(n),new S(405,false);let s;s=r?n:this._injector.get(xn).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(ht.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),ts(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;ts(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),()=>ts(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(oe),D(ai),D(ui))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ts(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=rt(e.index,t);return new ur(i,i)}return 47&e.type?new ur(t[16],t):null}(Ce(),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<h_(i,r,o)?n:i,a=h_(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(n=n._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,u=l-r;if(c!=u){for(let f=0;f<c;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;u<=p&&p<c&&(o[f]=h+1)}o[s.previousIndex]=u-c}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!fr(t))throw new S(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,s,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),i=!0),n=n._next}else r=0,function M0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[An()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,a=>{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<n.length&&(r=n[i]),i+t+r}class p_{constructor(){}supports(t){return t instanceof Map||Gl(t)}create(){return new rx}}class rx{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Gl(t)))throw new S(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{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 rs([new d_])}let rs=(()=>{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(kn))},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({}),e})();let os=null;function Ht(){return os}const de=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(de))},e.\u0275prov=N({token:e,factory:function(){return function px(){return new v_(D(de))}()},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 Vn(e){return e&&"?"!==e[0]?"?"+e:e}let Pc=(()=>{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 Pc{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??go(de).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+Vn(this._platformLocation.search),r=this._platformLocation.hash;return r&&n?`${i}${r}`:i}pushState(n,i,r,o){const s=this.prepareExternalUrl(r+Vn(o));this._platformLocation.pushState(n,i,s)}replaceState(n,i,r,o){const s=this.prepareExternalUrl(r+Vn(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 ce,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+Vn(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+Vn(i)),r)}replaceState(n,i="",r=null){this._locationStrategy.replaceState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Vn(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=Vn,e.joinWithSlash=C_,e.stripTrailingSlash=D_,e.\u0275fac=function(n){return new(n||e)(D(Pc))},e.\u0275prov=N({token:e,factory:function(){return function _x(){return new w_(D(Pc))}()},providedIn:"root"}),e})();function b_(e){return e.replace(/\/index.html$/,"")}let Gc=(()=>{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(rs),y(Sr),y(we),y(Tn))},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<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{k_(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(n,i){return!0}}return e.\u0275fac=function(n){return new(n||e)(y(gt),y(Qt),y(rs))},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 zc=(()=>{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(gt),y(Qt))},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 hn=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({}),e})();const B_="browser";class Kc extends class uA extends class fx{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function dx(e){os||(os=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){_s=_s||document.createElement("a"),_s.setAttribute("href",e);const t=_s.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 _s,Tr=null;const z_=new x("TRANSITION_ID"),pA=[{provide:$m,useFactory:function hA(e,t,n){return()=>{n.get(Jo).donePromise.then(()=>{const i=Ht(),r=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o<r.length;o++)i.remove(r[o])})}},deps:[z_,de,ht],multi:!0}];let mA=(()=>{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 vs=new x("EventManagerPlugins");let ys=(()=>{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<r.length;o++){const s=r[o];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(D(vs),D(oe))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();class W_{constructor(t){this._doc=t}addGlobalEventListener(t,n,i){const r=Ht().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${n}`);return this.addEventListener(r,n,i)}}let q_=(()=>{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(de))},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 Cs(e,t,n){for(let i=0;i<t.length;i++){let r=t[i];Array.isArray(r)?Cs(e,r,n):(r=r.replace(eu,e),n.push(r))}return n}function Q_(e){return t=>{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=Cs(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(ys),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&(Ye.DashCase|Ye.Important)?t.style.setProperty(n,i,r&Ye.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Ye.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=Cs(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=Cs(r.id,r.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let EA=(()=>{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(de))},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(de))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const OA=Km(lx,"browser",[{provide:Cc,useValue:B_},{provide:Gm,useValue:function xA(){Kc.makeCurrent()},multi:!0},{provide:de,useFactory:function AA(){return function ib(e){nl=e}(document),document},deps:[]}]),iv=new x(""),rv=[{provide:es,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:Ec,deps:[oe,Sc,es]},{provide:Ec,useClass:Ec,deps:[oe,Sc,es]}],ov=[{provide:ul,useValue:"root"},{provide:ui,useFactory:function TA(){return new ui},deps:[]},{provide:vs,useClass:EA,multi:!0,deps:[de,oe,Cc]},{provide:vs,useClass:MA,multi:!0,deps:[de]},{provide:tu,useClass:tu,deps:[ys,Ar,br]},{provide:Ih,useExisting:tu},{provide:q_,useExisting:Ar},{provide:Ar,useClass:Ar,deps:[de]},{provide:ys,useClass:ys,deps:[vs,oe]},{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=pe({type:e}),e.\u0275inj=ue({providers:[...ov,...rv],imports:[hn,cx]}),e})();function lv(e){return Array.isArray(e)?e:[e]}function ye(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&&Ws(e))return qs(s=>ou(s,t,n))(ct(e));if(!r)throw new TypeError("Invalid event target");return new Ie(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function uv(e,t){return n=>i=>e[n](t,i)}class JA extends ze{constructor(t,n){super()}schedule(t,n=0){return this}}const Ds={setInterval(e,t,...n){const{delegate:i}=Ds;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Ds;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 Ds.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&&Ds.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,Un(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 ze(()=>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 ws={};function dv(e){return e in ws&&(delete ws[e],!0)}const rO={setImmediate(e){const t=iO++;return ws[t]=!0,cu||(cu=Promise.resolve()),cu.then(()=>dv(t)&&e()),t},clearImmediate(e){dv(e)}},{setImmediate:oO,clearImmediate:sO}=rO,bs={setImmediate(...e){const{delegate:t}=bs;return(t?.setImmediate||oO)(...e)},clearImmediate(e){const{delegate:t}=bs;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=bs.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&&(bs.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(lt(n,c=>{i=!0,r=c,o||ct(e(c)).subscribe(o=lt(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(lt(i,o=>e.call(t,o,r++)&&i.next(o)))})}let uu;try{uu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{uu=!1}let Ln,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(Cc))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function gO(){if(null==Ln){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ln=!1,Ln;if("scrollBehavior"in document.documentElement.style)Ln=!0;else{const e=Element.prototype.scrollTo;Ln=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Ln}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(de)}}),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 ce,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=pe({type:e}),e.\u0275inj=ue({}),e})(),bO=(()=>{class e{constructor(n,i,r){this._ngZone=n,this._platform=i,this._scrolled=new Ke,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 Xs(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 we?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(oe),D(Ri),D(de,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 Ke,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(oe),D(de,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=pe({type:e}),e.\u0275inj=ue({}),e})(),Cv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({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 we?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||ht.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=pe({type:e}),e.\u0275inj=ue({}),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=ye(-this._previousScrollPosition.left),t.style.top=ye(-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.bottom<n.top||e.top>n.bottom||e.right<n.left||e.left>n.right)}function Sv(e,t){return t.some(n=>e.top<n.top||e.bottom>n.bottom||e.left<n.left||e.right>n.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(oe),D(de))},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 Qe{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(de))},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(de),D(oe,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(de),D(Ri),D(oe,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;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(n),_v()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return e.\u0275fac=function(n){return new(n||e)(D(de),D(Ri))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class LO{constructor(t,n,i,r,o,s,a,l,c,u=!1){this._portalOutlet=t,this._host=n,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=u,this._backdropElement=null,this._backdropClick=new Ke,this._attachments=new Ke,this._detachments=new Ke,this._locationChanges=ze.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new Ke,this._outsidePointerEvents=new Ke,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?()=>Ys:Rt((t,n)=>{let i=0;t.subscribe(lt(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=ye(this._config.width),t.height=ye(this._config.height),t.minWidth=ye(this._config.minWidth),t.minHeight=ye(this._config.minHeight),t.maxWidth=ye(this._config.maxWidth),t.maxHeight=ye(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)=>{ct(e).subscribe(lt(n,()=>n.complete(),Ns)),!n.closed&&t.subscribe(n)})}(Qs(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 Ke,this._resizeSubscription=ze.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.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:c,originPoint:l,position:a,overlayRect:n})}if(o.length){let a=null,l=-1;for(const c of o){const u=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);u>l&&(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&&Bn(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.x<this._viewportMargin?o.left-i.left-t.x:0,d=r.height<=o.height?l||-a:t.y<this._viewportMargin?o.top-i.top-t.y:0,this._previousPushAmount={x:u,y:d},{x:t.x+u,y:t.y+d}}_applyPosition(t,n){if(this._setTransformOrigin(t),this._setOverlayElementStyles(n,t),this._setBoundingBoxStyles(n,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),r=new kO(t,i);this._positionChanges.next(r)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const n=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<n.length;o++)n[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(t,n){const i=this._viewportRect,r=this._isRtl();let o,s,a,u,d,f;if("top"===n.overlayY)s=t.y,o=i.height-s+this._viewportMargin;else if("bottom"===n.overlayY)a=i.height-t.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const h=Math.min(i.bottom-t.y+i.top,t.y),p=this._lastBoundingBoxSize.height;o=2*h,s=t.y-h,o>p&&!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=ye(i.height),r.top=ye(i.top),r.bottom=ye(i.bottom),r.width=ye(i.width),r.left=ye(i.left),r.right=ye(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=ye(o)),s&&(r.maxWidth=ye(s))}this._lastBoundingBoxSize=i,Bn(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Bn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Bn(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();Bn(i,this._getExactOverlayY(n,t,u)),Bn(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=ye(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=ye(s.maxWidth):o&&(i.maxWidth="")),Bn(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=ye(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=ye(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 we)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 Bn(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(de),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(kn)),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(xn),D($O),D(NO),D(ht),D(oe),D(de),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=pe({type:e}),e.\u0275inj=ue({providers:[gu,WO],imports:[fu,wv,Cv,Cv]}),e})();class mu extends Ke{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(we))},e.\u0275cmp=on({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"}(),Pe(0,"svg"),Ei(1,"use"),He()),2&n&&(Xl("height",i.size,"px")("width",i.size,"px"),be(1),Et("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=pe({type:e}),e.\u0275inj=ue({providers:[qO],imports:[hn]}),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(Zs(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<s;u++){let d=!1;ct(n[u]).subscribe(lt(o,f=>{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(Tn),y(we))},e.\u0275dir=F({type:e}),e})(),jn=(()=>{class e extends kv{}return e.\u0275fac=function(){let t;return function(i){return(t||(t=function Oe(e){return rn(()=>{const t=e.prototype.constructor,n=t[Ut]||Ma(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Ut]||Ma(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(Tn),y(we),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&&xe("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 ke=new x("NgValidators"),mn=new x("NgAsyncValidators");function Wv(e){return null!=e}function qv(e){return jo(e)?Xs(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 Is(e,t){return Array.isArray(e)?e.includes(t):e===t}function ny(e,t){const n=wu(t);return wu(e).forEach(r=>{Is(n,r)||n.push(r)}),n}function iy(e,t){return wu(t).filter(n=>!Is(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 Ge extends ry{get formDirective(){return null}get path(){return null}}class _n 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(_n,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",xs="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 Ts(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();Fs(t._rawValidators,r),Fs(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 Fs(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:_n,useExisting:Q(()=>Ru)},wy=(()=>Promise.resolve())();let Ru=(()=>{class e extends _n{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===xs}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 Is(this._rawValidators,t)}hasAsyncValidator(t){return Is(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 ce,this.statusChanges=new ce}_calculateStatus(){return this._allControlsDisabled()?kr:this.errors?xs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ki)?ki:this._anyControlsHaveStatus(xs)?xs: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){Ts(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(Ts(e)?e.validators:e)||null}(n),function Mu(e,t){return(Ts(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}),Ts(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 ce,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)===jn}(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 Rc(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 As(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(y(Ge,9),y(ke,10),y(mn,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=pe({type:e}),e.\u0275inj=ue({}),e})(),JF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({imports:[Ey]}),e})(),e1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({imports:[JF]}),e})();const n1=["*"];let r1=(()=>{class e{constructor(){this.disabled=!1,this.choose=new ce,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=on({type:e,selectors:[["ng-component"]],hostVars:2,hostBindings:function(n,i){2&n&&function tg(e){Mt(st,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})(),Ps=(()=>{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<this.order.length;i++){if(i===this.order.length-1)return this.getNextAvailableValue(-1);if(!this.order[i+1]?.disabled)return this.orderValues[i+1]}}handleFocus(n,i){switch(n){case"ArrowUp":case"ArrowLeft":this.setFocused(this.getPreviousAvailableValue(i));break;case"ArrowDown":case"ArrowRight":this.setFocused(this.getNextAvailableValue(i));break;case"Enter":case"Space":case" ":this.setFocused(this.orderValues[0])}}multiSelectMode(){this._multiselect=!0}_getIndexOfCurrentValue(){const n=this.orderValues.indexOf(this._distributor.value.value);return-1===n?0:n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),o1=(()=>{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(Ps),y(we))},e.\u0275cmp=on({type:e,selectors:[["eui-selection"]],hostVars:1,hostBindings:function(n,i){1&n&&xe("keyup",function(){return i.setFocus()})("click",function(){return i.blur()})("blur",function(){return i.blur()})("keydown",function(o){return i.onKeyPress(o)}),2&n&&Et("tabindex",i.tabindex)},features:[te([Ps,{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=hi(r,J+e,16,null,n||null);null===o.projection&&(o.projection=t),ma(),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(we),y(kn),y(Ps,8),y(Er))},e.\u0275dir=F({type:e,selectors:[["","euiSelection",""]],hostBindings:function(n,i){1&n&&xe("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=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[hn]}),e})(),a1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[hn,Lr]}),e})(),l1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[hn,Lr,vu]}),e})(),c1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[hn,Lr]}),e})();new Qe({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,2),new Qe({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=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[Lr,hn,vu,Rv,wv]}),e})();const h1=["overlayContainer"],p1=["overlay"],g1=["tooltipRef"];function m1(e,t){if(1&e&&(Pe(0,"p"),Ii(1," : "),Pe(2,"span"),Ii(3),He()()),2&e){const n=Rn();xt("",n.prefix,"-header__value"),be(3),Mi(n.value)}}function _1(e,t){if(1&e&&(Pe(0,"div"),Ii(1),He()),2&e){const n=Rn(2);xt("",n.prefix,"-header__tooltip-text"),be(1),Mi(n.tooltip)}}function v1(e,t){if(1&e){const n=function Ap(){return v()}();Pe(0,"div",2,3),xe("click",function(){return function Bd(e){return R.lFrame.contextLView=e,e[8]}(n),function jd(e){return R.lFrame.contextLView=null,e}(Rn().clickOverlay())}),Ei(2,"eui-svg-icon",4),Yl(3,null,5),Fn(5,_1,2,4,"ng-template",null,6,bm),He()}if(2&e){const n=Rn();xt("",n.prefix,"-header__tooltip"),be(2),Ze("icon",n.iconName)("size",16)}}function y1(e,t){if(1&e&&(Pe(0,"div"),Ii(1),He()),2&e){const n=Rn();xt("",n.prefix,"-header__description"),be(1),Mi(n.description)}}function C1(e,t){1&e&&Ei(0,"eui-svg-icon",2),2&e&&Ze("icon","au-alert")}function b1(e,t){if(1&e&&(Pe(0,"div",3)(1,"div"),Ei(2,"mdo-swatch",4),He()()),2&e){const n=t.$implicit,i=Rn();xt("",i.prefix,"-content__item"),Ze("value",n)("ngClass",i.getDisabledClassBy(null==n?null:n.disabled))("disabled",null==n?null:n.disabled),be(1),xt("",i.prefix,"-content__preview"),be(1),Ze("color",n.color)("url",n.imageUrl)("type",i.swatchType)}}const O1=[new Qe({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,0,"mdo-header__tooltip_tc"),new Qe({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,0,"mdo-header__tooltip_tl"),new Qe({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,0,"mdo-header__tooltip_tr"),new Qe({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,0,"mdo-header__tooltip_bc"),new Qe({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,0,"mdo-header__tooltip_bl"),new Qe({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 ce,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 Qe({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,-r,"mdo-header__tooltip_tc"),new Qe({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,-r,"mdo-header__tooltip_tl"),new Qe({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,-r,"mdo-header__tooltip_tr"),new Qe({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,-r,"mdo-header__tooltip_bc"),new Qe({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,-r,"mdo-header__tooltip_bl"),new Qe({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(gt),y(we),y(Ri))},e.\u0275cmp=on({type:e,selectors:[["mdo-header"]],viewQuery:function(n,i){if(1&n&&(Zo(h1,5,gt),Zo(p1,5),Zo(g1,5,we)),2&n){let r;Yo(r=Xo())&&(i._overlayContainer=r.first),Yo(r=Xo())&&(i._overlayTemplate=r.first),Yo(r=Xo())&&(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&&(Pe(0,"div")(1,"div")(2,"p"),Ii(3),He(),Fn(4,m1,4,4,"p",0),Fn(5,v1,7,5,"div",1),He(),Fn(6,y1,2,4,"div",0),He()),2&n&&(xt("",i.prefix,"-header"),be(1),xt("",i.prefix,"-header__group"),be(1),xt("",i.prefix,"-header__title"),be(1),Mi(i.name),be(1),Ze("ngIf",i.showValueInTitle&&null!=i.value),be(1),Ze("ngIf",null!=i.tooltip),be(1),Ze("ngIf",null!=i.description))},dependencies:[zc,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(Ps,8),y(kn))},e.\u0275cmp=on({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&&(Pe(0,"div",0),xe("click",function(){return i.handleClick()}),Pe(1,"div"),Fn(2,C1,1,1,"eui-svg-icon",1),He()()),2&n&&(xt("",i.prefix,"-swatch"),Ze("ngClass",i.classes),be(1),function St(e){Mt(rg,W0,e,!1)}(i.getStyles()),be(1),Ze("ngIf",i.isEmpty))},dependencies:[Gc,zc,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 ce,this.toggleTooltip=new ce}getDisabledClassBy(n){return n?`${this.prefix}-disabled`:""}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"))},e.\u0275cmp=on({type:e,selectors:[["mdo-color-grid"]],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"]],template:function(n,i){1&n&&(Pe(0,"mdo-header",0),xe("byToggleTooltip",function(o){return i.toggleTooltip.emit(o)}),He(),Pe(1,"eui-selection",1),xe("ngModelChange",function(o){return i.changed.emit(o)}),Pe(2,"div"),Fn(3,b1,3,12,"div",2),He()()),2&n&&(Ze("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),be(1),Ze("disabled",null==i.config?null:i.config.disabled)("ngModel",null==i.option?null:i.option.selected),be(1),function mg(e,t,n,i,r,o,s){Mt(st,jt,vi(v(),e,t,n,i,r,o,s),!0)}("",i.prefix,"-content ",i.prefix,"-content_grid ",i.prefix,"-content_color-grid"),be(1),Ze("ngForOf",null==i.option?null:i.option.values))},dependencies:[Gc,P_,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=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"mdo"}],imports:[hn,vu,Lr,e1,Rv,l1,a1,c1,f1]}),e})();class L1 extends Ke{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;s<o.length&&!t.closed;s+=i?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=n.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}const ks={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return ks.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return ks.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(xn).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(lt(i,l=>{r?.unsubscribe();let c=0;const u=o++;ct(e(l,u)).subscribe(r=lt(i,d=>i.next(t?t(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}(i=>Qs(...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(oe),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=ks.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=ht.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<s;++o){const a=n[o],l=Y1(a,t,r);-1!==l&&i[l].push(a)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(Er),this.implementsOnChanges=function $1(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(kn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{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=ks.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(xn).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-grid",n)}}return e.\u0275fac=function(n){return new(n||e)(D(ht))},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({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=682)}]);