"use strict";(self.webpackChunkAbout=self.webpackChunkAbout||[]).push([[179],{705:()=>{function $(e){return"function"==typeof e}function Ko(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 Xo=Ko(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function jn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Le{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 r of n)r.remove(this);else n.remove(this);const{initialTeardown:i}=this;if($(i))try{i()}catch(r){t=r instanceof Xo?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{Td(r)}catch(s){t=t??[],s instanceof Xo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Xo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Td(t);else{if(t instanceof Le){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)&&jn(n,t)}remove(t){const{_finalizers:n}=this;n&&jn(n,t),t instanceof Le&&t._removeParent(this)}}Le.EMPTY=(()=>{const e=new Le;return e.closed=!0,e})();const Id=Le.EMPTY;function Sd(e){return e instanceof Le||e&&"closed"in e&&$(e.remove)&&$(e.add)&&$(e.unsubscribe)}function Td(e){$(e)?e():e.unsubscribe()}const dn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Qo={setTimeout(e,t,...n){const{delegate:i}=Qo;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Qo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ad(e){Qo.setTimeout(()=>{const{onUnhandledError:t}=dn;if(!t)throw e;t(e)})}function Oi(){}const hD=ua("C",void 0,void 0);function ua(e,t,n){return{kind:e,value:t,error:n}}let fn=null;function Jo(e){if(dn.useDeprecatedSynchronousErrorHandling){const t=!fn;if(t&&(fn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=fn;if(fn=null,n)throw i}}else e()}class da extends Le{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Sd(t)&&t.add(this)):this.destination=yD}static create(t,n,i){return new Fi(t,n,i)}next(t){this.isStopped?ha(function mD(e){return ua("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ha(function pD(e){return ua("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ha(hD,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 _D=Function.prototype.bind;function fa(e,t){return _D.call(e,t)}class bD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){er(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){er(i)}else er(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){er(n)}}}class Fi extends da{constructor(t,n,i){let o;if(super(),$(t)||!t)o={next:t??void 0,error:n??void 0,complete:i??void 0};else{let r;this&&dn.useDeprecatedNextContext?(r=Object.create(t),r.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&fa(t.next,r),error:t.error&&fa(t.error,r),complete:t.complete&&fa(t.complete,r)}):o=t}this.destination=new bD(o)}}function er(e){dn.useDeprecatedSynchronousErrorHandling?function gD(e){dn.useDeprecatedSynchronousErrorHandling&&fn&&(fn.errorThrown=!0,fn.error=e)}(e):Ad(e)}function ha(e,t){const{onStoppedNotification:n}=dn;n&&Qo.setTimeout(()=>n(e,t))}const yD={closed:!0,next:Oi,error:function vD(e){throw e},complete:Oi},pa="function"==typeof Symbol&&Symbol.observable||"@@observable";function hn(e){return e}let q=(()=>{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,o){const r=function wD(e){return e&&e instanceof da||function DD(e){return e&&$(e.next)&&$(e.error)&&$(e.complete)}(e)&&Sd(e)}(n)?n:new Fi(n,i,o);return Jo(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=Od(i))((o,r)=>{const s=new Fi({next:a=>{try{n(a)}catch(c){r(c),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[pa](){return this}pipe(...n){return function Rd(e){return 0===e.length?hn:1===e.length?e[0]:function(n){return e.reduce((i,o)=>o(i),n)}}(n)(this)}toPromise(n){return new(n=Od(n))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return e.create=t=>new e(t),e})();function Od(e){var t;return null!==(t=e??dn.Promise)&&void 0!==t?t:Promise}const ED=Ko(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let J=(()=>{class e extends q{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new Fd(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new ED}next(n){Jo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){Jo(()=>{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(){Jo(()=>{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:o,observers:r}=this;return i||o?Id:(this.currentObservers=null,r.push(n),new Le(()=>{this.currentObservers=null,jn(r,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:o,isStopped:r}=this;i?n.error(o):r&&n.complete()}asObservable(){const n=new q;return n.source=this,n}}return e.create=(t,n)=>new Fd(t,n),e})();class Fd extends J{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:Id}}function le(e){return t=>{if(function CD(e){return $(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 oe(e,t,n,i,o){return new kd(e,t,n,i,o)}class kd extends da{constructor(t,n,i,o,r,s){super(t),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}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 pe(e,t){return le((n,i)=>{let o=0;n.subscribe(oe(i,r=>{i.next(e.call(t,r,o++))}))})}function pn(e){return this instanceof pn?(this.v=e,this):new pn(e)}function SD(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 Ld(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(r){n[r]=e[r]&&function(s){return new Promise(function(a,c){!function o(r,s,a,c){Promise.resolve(c).then(function(l){r({value:l,done:a})},s)}(a,c,(s=e[r](s)).done,s.value)})}}}const ga=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Bd(e){return $(e?.then)}function jd(e){return $(e[pa])}function Vd(e){return Symbol.asyncIterator&&$(e?.[Symbol.asyncIterator])}function Hd(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 Ud=function AD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function $d(e){return $(e?.[Ud])}function zd(e){return function ID(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=n.apply(e,t||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){i[f]&&(o[f]=function(h){return new Promise(function(p,g){r.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function c(f){f.value instanceof pn?Promise.resolve(f.value.v).then(l,u):d(r[0][2],f)}(i[f](h))}catch(p){d(r[0][3],p)}}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),r.shift(),r.length&&a(r[0][0],r[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:o}=yield pn(n.read());if(o)return yield pn(void 0);yield yield pn(i)}}finally{n.releaseLock()}})}function Wd(e){return $(e?.getReader)}function Ce(e){if(e instanceof q)return e;if(null!=e){if(jd(e))return function RD(e){return new q(t=>{const n=e[pa]();if($(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(ga(e))return function OD(e){return new q(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Bd(e))return function FD(e){return new q(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ad)})}(e);if(Vd(e))return Gd(e);if($d(e))return function kD(e){return new q(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Wd(e))return function PD(e){return Gd(zd(e))}(e)}throw Hd(e)}function Gd(e){return new q(t=>{(function ND(e,t){var n,i,o,r;return function xD(e,t,n,i){return new(n||(n=Promise))(function(r,s){function a(u){try{l(i.next(u))}catch(d){s(d)}}function c(u){try{l(i.throw(u))}catch(d){s(d)}}function l(u){u.done?r(u.value):function o(r){return r instanceof n?r:new n(function(s){s(r)})}(u.value).then(a,c)}l((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=SD(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&(yield r.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Lt(e,t,n,i=0,o=!1){const r=t.schedule(function(){n(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!o)return r}function mn(e,t,n=1/0){return $(t)?mn((i,o)=>pe((r,s)=>t(i,r,o,s))(Ce(e(i,o))),n):("number"==typeof t&&(n=t),le((i,o)=>function LD(e,t,n,i,o,r,s,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=g=>l<i?p(g):c.push(g),p=g=>{r&&t.next(g),l++;let _=!1;Ce(n(g,u++)).subscribe(oe(t,b=>{o?.(b),r?h(b):t.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<i;){const b=c.shift();s?Lt(t,s,()=>p(b)):p(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(oe(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,o,e,n)))}function Yd(e=1/0){return mn(hn,e)}const tr=new q(e=>e.complete());function qd(e){return e&&$(e.schedule)}function _a(e){return e[e.length-1]}function ba(e){return $(_a(e))?e.pop():void 0}function ki(e){return qd(_a(e))?e.pop():void 0}function va(e,t=0){return le((n,i)=>{n.subscribe(oe(i,o=>Lt(i,e,()=>i.next(o),t),()=>Lt(i,e,()=>i.complete(),t),o=>Lt(i,e,()=>i.error(o),t)))})}function Zd(e,t=0){return le((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function Kd(e,t){if(!e)throw new Error("Iterable cannot be null");return new q(n=>{Lt(n,t,()=>{const i=e[Symbol.asyncIterator]();Lt(n,t,()=>{i.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Pi(e,t){return t?function WD(e,t){if(null!=e){if(jd(e))return function VD(e,t){return Ce(e).pipe(Zd(t),va(t))}(e,t);if(ga(e))return function UD(e,t){return new q(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(Bd(e))return function HD(e,t){return Ce(e).pipe(Zd(t),va(t))}(e,t);if(Vd(e))return Kd(e,t);if($d(e))return function $D(e,t){return new q(n=>{let i;return Lt(n,t,()=>{i=e[Ud](),Lt(n,t,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void n.error(s)}r?n.complete():n.next(o)},0,!0)}),()=>$(i?.return)&&i.return()})}(e,t);if(Wd(e))return function zD(e,t){return Kd(zd(e),t)}(e,t)}throw Hd(e)}(e,t):Ce(e)}function Ni(...e){const t=ki(e),n=function jD(e,t){return"number"==typeof _a(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?Ce(i[0]):Yd(n)(Pi(i,t)):tr}function ya(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new Fi({next:()=>{i.unsubscribe(),e()}});return Ce(t(...n)).subscribe(i)}function te(e){for(let t in e)if(e[t]===te)return t;throw Error("Could not find renamed property on target object.")}function Da(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(re).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 wa(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const GD=te({__forward_ref__:te});function Ea(e){return e.__forward_ref__=Ea,e.toString=function(){return re(this())},e}function R(e){return Ca(e)?e():e}function Ca(e){return"function"==typeof e&&e.hasOwnProperty(GD)&&e.__forward_ref__===Ea}function xa(e){return e&&!!e.\u0275providers}class I extends Error{constructor(t,n){super(ir(t,n)),this.code=t}}function ir(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function k(e){return"string"==typeof e?e:null==e?"":String(e)}function or(e,t){throw new I(-201,!1)}function rt(e,t){null==e&&function X(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ee(e){return{providers:e.providers||[],imports:e.imports||[]}}function rr(e){return Qd(e,sr)||Qd(e,ef)}function Qd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Jd(e){return e&&(e.hasOwnProperty(Ma)||e.hasOwnProperty(e0))?e[Ma]:null}const sr=te({\u0275prov:te}),Ma=te({\u0275inj:te}),ef=te({ngInjectableDef:te}),e0=te({ngInjectorDef:te});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let Ia;function st(e){const t=Ia;return Ia=e,t}function tf(e,t,n){const i=rr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&F.Optional?null:void 0!==t?t:void or(re(e))}const ae=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Li={},Sa="__NG_DI_FLAG__",ar="ngTempTokenPath",n0="ngTokenPath",o0=/\n/gm,r0="\u0275",nf="__source";let Bi;function Vn(e){const t=Bi;return Bi=e,t}function s0(e,t=F.Default){if(void 0===Bi)throw new I(-203,!1);return null===Bi?tf(e,void 0,t):Bi.get(e,t&F.Optional?null:void 0,t)}function m(e,t=F.Default){return(function t0(){return Ia}()||s0)(R(e),t)}function W(e,t=F.Default){return m(e,cr(t))}function cr(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ta(e){const t=[];for(let n=0;n<e.length;n++){const i=R(e[n]);if(Array.isArray(i)){if(0===i.length)throw new I(900,!1);let o,r=F.Default;for(let s=0;s<i.length;s++){const a=i[s],c=a0(a);"number"==typeof c?-1===c?o=a.token:r|=c:o=a}t.push(m(o,r))}else t.push(m(i))}return t}function ji(e,t){return e[Sa]=t,e.prototype[Sa]=t,e}function a0(e){return e[Sa]}function Bt(e){return{toString:e}.toString()}var Ct=(()=>((Ct=Ct||{})[Ct.OnPush=0]="OnPush",Ct[Ct.Default=1]="Default",Ct))(),xt=(()=>{return(e=xt||(xt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",xt;var e})();const jt={},G=[],lr=te({\u0275cmp:te}),Aa=te({\u0275dir:te}),Ra=te({\u0275pipe:te}),sf=te({\u0275mod:te}),Vt=te({\u0275fac:te}),Vi=te({__NG_ELEMENT_ID__:te});let u0=0;function Ht(e){return Bt(()=>{const t=cf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ct.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||xt.Emulated,id:"c"+u0++,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null};lf(n);const i=e.dependencies;return n.directiveDefs=ur(i,!1),n.pipeDefs=ur(i,!0),n})}function f0(e){return Q(e)||Oe(e)}function h0(e){return null!==e}function ne(e){return Bt(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function af(e,t){if(null==e)return jt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),n[o]=i,t&&(t[o]=r)}return n}function xe(e){return Bt(()=>{const t=cf(e);return lf(t),t})}function $e(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Q(e){return e[lr]||null}function Oe(e){return e[Aa]||null}function ze(e){return e[Ra]||null}function cf(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:af(e.inputs,t),outputs:af(e.outputs)}}function lf(e){e.features?.forEach(t=>t(e))}function ur(e,t){if(!e)return null;const n=t?ze:f0;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(h0)}const Ut=0,M=1,L=2,fe=3,ft=4,gn=5,Fe=6,Hn=7,me=8,dr=9,fr=10,j=11,Oa=12,Ui=13,uf=14,Un=15,ke=16,$i=17,$n=18,Mt=19,zi=20,df=21,ce=22,Fa=1,ff=2,hr=7,pr=8,zn=9,Be=10;function Xe(e){return Array.isArray(e)&&"object"==typeof e[Fa]}function ht(e){return Array.isArray(e)&&!0===e[Fa]}function ka(e){return 0!=(4&e.flags)}function Wi(e){return e.componentOffset>-1}function mr(e){return 1==(1&e.flags)}function pt(e){return!!e.template}function m0(e){return 0!=(256&e[L])}function _n(e,t){return e.hasOwnProperty(Vt)?e[Vt]:null}class b0{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function mf(e){return e.type.prototype.ngOnChanges&&(e.setInput=y0),v0}function v0(){const e=_f(this),t=e?.current;if(t){const n=e.previous;if(n===jt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function y0(e,t,n,i){const o=this.declaredInputs[n],r=_f(e)||function D0(e,t){return e[gf]=t}(e,{previous:jt,current:null}),s=r.current||(r.current={}),a=r.previous,c=a[o];s[o]=new b0(c&&c.currentValue,t,a===jt),e[i]=t}const gf="__ngSimpleChanges__";function _f(e){return e[gf]||null}const at=function(e,t,n){};function Te(e){for(;Array.isArray(e);)e=e[Ut];return e}function Qe(e,t){return Te(t[e.index])}function yf(e,t){return e.data[t]}function Je(e,t){const n=t[e];return Xe(n)?n:n[Ut]}function br(e){return 64==(64&e[L])}function en(e,t){return null==t?null:e[t]}function Df(e){e[$n]=0}function Na(e,t){e[gn]+=t;let n=e,i=e[fe];for(;null!==i&&(1===t&&1===n[gn]||-1===t&&0===n[gn]);)i[gn]+=t,n=i,i=i[fe]}const P={lFrame:Rf(null),bindingsEnabled:!0};function Ef(){return P.bindingsEnabled}function D(){return P.lFrame.lView}function z(){return P.lFrame.tView}function Ae(){let e=Cf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cf(){return P.lFrame.currentTNode}function It(e,t){const n=P.lFrame;n.currentTNode=e,n.isParent=t}function La(){return P.lFrame.isParent}function Ba(){P.lFrame.isParent=!1}function Gn(){return P.lFrame.bindingIndex++}function N0(e,t){const n=P.lFrame;n.bindingIndex=n.bindingRootIndex=e,ja(t)}function ja(e){P.lFrame.currentDirectiveIndex=e}function Sf(){return P.lFrame.currentQueryIndex}function Ha(e){P.lFrame.currentQueryIndex=e}function B0(e){const t=e[M];return 2===t.type?t.declTNode:1===t.type?e[Fe]:null}function Tf(e,t,n){if(n&F.SkipSelf){let o=t,r=e;for(;!(o=o.parent,null!==o||n&F.Host||(o=B0(r),null===o||(r=r[Un],10&o.type))););if(null===o)return!1;t=o,e=r}const i=P.lFrame=Af();return i.currentTNode=t,i.lView=e,!0}function Ua(e){const t=Af(),n=e[M];P.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Af(){const e=P.lFrame,t=null===e?null:e.child;return null===t?Rf(e):t}function Rf(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 Of(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ff=Of;function $a(){const e=Of();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 Ve(){return P.lFrame.selectedIndex}function bn(e){P.lFrame.selectedIndex=e}function ue(){const e=P.lFrame;return yf(e.tView,e.selectedIndex)}function vr(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const r=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=r;s&&(e.contentHooks??(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks??(e.contentHooks=[])).push(n,a),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,a)),c&&(e.viewHooks??(e.viewHooks=[])).push(-n,c),l&&((e.viewHooks??(e.viewHooks=[])).push(n,l),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,l)),null!=u&&(e.destroyHooks??(e.destroyHooks=[])).push(n,u)}}function yr(e,t,n){kf(e,t,3,n)}function Dr(e,t,n,i){(3&e[L])===n&&kf(e,t,n,i)}function za(e,t){let n=e[L];(3&n)===t&&(n&=2047,n+=1,e[L]=n)}function kf(e,t,n,i){const r=i??-1,s=t.length-1;let a=0;for(let c=void 0!==i?65535&e[$n]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=i&&a>=i)break}else t[c]<0&&(e[$n]+=65536),(a<r||-1==r)&&(Y0(e,n,t,c),e[$n]=(4294901760&e[$n])+c+2),c++}function Y0(e,t,n,i){const o=n[i]<0,r=n[i+1],a=e[o?-n[i]:n[i]];if(o){if(e[L]>>11<e[$n]>>16&&(3&e[L])===t){e[L]+=2048,at(4,a,r);try{r.call(a)}finally{at(5,a,r)}}}else{at(4,a,r);try{r.call(a)}finally{at(5,a,r)}}}const Yn=-1;class Yi{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ga(e,t,n){let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const r=n[i++],s=n[i++],a=n[i++];e.setAttribute(t,s,a,r)}else{const r=o,s=n[++i];Nf(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),i++}}return i}function Pf(e){return 3===e||4===e||6===e}function Nf(e){return 64===e.charCodeAt(0)}function qi(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 o=t[i];"number"==typeof o?n=o:0===n||Lf(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function Lf(e,t,n,i,o){let r=0,s=e.length;if(-1===t)s=-1;else for(;r<e.length;){const a=e[r++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=r-1;break}}}for(;r<e.length;){const a=e[r];if("number"==typeof a)break;if(a===n){if(null===i)return void(null!==o&&(e[r+1]=o));if(i===e[r+1])return void(e[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==s&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),null!==i&&e.splice(r++,0,i),null!==o&&e.splice(r++,0,o)}function Bf(e){return e!==Yn}function wr(e){return 32767&e}function Er(e,t){let n=function X0(e){return e>>16}(e),i=t;for(;n>0;)i=i[Un],n--;return i}let Ya=!0;function Cr(e){const t=Ya;return Ya=e,t}const jf=255,Vf=5;let Q0=0;const St={};function xr(e,t){const n=Hf(e,t);if(-1!==n)return n;const i=t[M];i.firstCreatePass&&(e.injectorIndex=t.length,qa(i.data,e),qa(t,null),qa(i.blueprint,null));const o=Za(e,t),r=e.injectorIndex;if(Bf(o)){const s=wr(o),a=Er(o,t),c=a[M].data;for(let l=0;l<8;l++)t[r+l]=a[s+l]|c[s+l]}return t[r+8]=o,r}function qa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Za(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=Zf(o),null===i)return Yn;if(n++,o=o[Un],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Yn}function Ka(e,t,n){!function J0(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Vi)&&(i=n[Vi]),null==i&&(i=n[Vi]=Q0++);const o=i&jf;t.data[e+(o>>Vf)]|=1<<o}(e,t,n)}function Uf(e,t,n){if(n&F.Optional||void 0!==e)return e;or()}function $f(e,t,n,i){if(n&F.Optional&&void 0===i&&(i=null),!(n&(F.Self|F.Host))){const o=e[dr],r=st(void 0);try{return o?o.get(t,i,n&F.Optional):tf(t,i,n&F.Optional)}finally{st(r)}}return Uf(i,0,n)}function zf(e,t,n,i=F.Default,o){if(null!==e){if(1024&t[L]){const s=function ow(e,t,n,i,o){let r=e,s=t;for(;null!==r&&null!==s&&1024&s[L]&&!(256&s[L]);){const a=Wf(r,s,n,i|F.Self,St);if(a!==St)return a;let c=r.parent;if(!c){const l=s[df];if(l){const u=l.get(n,St,i);if(u!==St)return u}c=Zf(s),s=s[Un]}r=c}return o}(e,t,n,i,St);if(s!==St)return s}const r=Wf(e,t,n,i,St);if(r!==St)return r}return $f(t,n,i,o)}function Wf(e,t,n,i,o){const r=function nw(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Vi)?e[Vi]:void 0;return"number"==typeof t?t>=0?t&jf:iw:t}(n);if("function"==typeof r){if(!Tf(t,e,i))return i&F.Host?Uf(o,0,i):$f(t,n,i,o);try{const s=r(i);if(null!=s||i&F.Optional)return s;or()}finally{Ff()}}else if("number"==typeof r){let s=null,a=Hf(e,t),c=Yn,l=i&F.Host?t[ke][Fe]:null;for((-1===a||i&F.SkipSelf)&&(c=-1===a?Za(e,t):t[a+8],c!==Yn&&Yf(i,!1)?(s=t[M],a=wr(c),t=Er(c,t)):a=-1);-1!==a;){const u=t[M];if(Gf(r,a,u.data)){const d=tw(a,t,n,s,i,l);if(d!==St)return d}c=t[a+8],c!==Yn&&Yf(i,t[M].data[a+8]===l)&&Gf(r,a,t)?(s=u,a=wr(c),t=Er(c,t)):a=-1}}return o}function tw(e,t,n,i,o,r){const s=t[M],a=s.data[e+8],u=Mr(a,s,n,null==i?Wi(a)&&Ya:i!=s&&0!=(3&a.type),o&F.Host&&r===a);return null!==u?vn(t,s,u,a):St}function Mr(e,t,n,i,o){const r=e.providerIndexes,s=t.data,a=1048575&r,c=e.directiveStart,u=r>>20,f=o?a+u:e.directiveEnd;for(let h=i?a:a+u;h<f;h++){const p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(o){const h=s[c];if(h&&pt(h)&&h.type===n)return c}return null}function vn(e,t,n,i){let o=e[n];const r=t.data;if(function q0(e){return e instanceof Yi}(o)){const s=o;s.resolving&&function YD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new I(-200,`Circular dependency in DI detected for ${e}${n}`)}(function K(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():k(e)}(r[n]));const a=Cr(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?st(s.injectImpl):null;Tf(e,i,F.Default);try{o=e[n]=s.factory(void 0,r,e,i),t.firstCreatePass&&n>=i.directiveStart&&function G0(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=t.type.prototype;if(i){const s=mf(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,o),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}(n,r[n],t)}finally{null!==c&&st(c),Cr(a),s.resolving=!1,Ff()}}return o}function Gf(e,t,n){return!!(n[t+(e>>Vf)]&1<<e)}function Yf(e,t){return!(e&F.Self||e&F.Host&&t)}class qn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return zf(this._tNode,this._lView,t,cr(i),n)}}function iw(){return new qn(Ae(),D())}function Xa(e){return Ca(e)?()=>{const t=Xa(R(e));return t&&t()}:_n(e)}function Zf(e){const t=e[M],n=t.type;return 2===n?t.declTNode:1===n?e[Fe]:null}const Kn="__parameters__";function Qn(e,t,n){return Bt(()=>{const i=function Ja(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(Kn)?c[Kn]:Object.defineProperty(c,Kn,{value:[]})[Kn];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class y{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=x({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function yn(e,t){e.forEach(n=>Array.isArray(n)?yn(n,t):t(n))}function Xf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ir(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xi(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function et(e,t,n){let i=Jn(e,t);return i>=0?e[1|i]=n:(i=~i,function cw(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function tc(e,t){const n=Jn(e,t);if(n>=0)return e[1|n]}function Jn(e,t){return function Qf(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const r=i+(o-i>>1),s=e[r<<n];if(t===s)return r<<n;s>t?o=r:i=r+1}return~(o<<n)}(e,t,1)}const ei=ji(Qn("Inject",e=>({token:e})),-1),tn=ji(Qn("Optional"),8);var We=(()=>((We=We||{})[We.Important=1]="Important",We[We.DashCase=2]="DashCase",We))();const sc=new Map;let Aw=0;const cc="__ngContext__";function Pe(e,t){Xe(t)?(e[cc]=t[zi],function Ow(e){sc.set(e[zi],e)}(t)):e[cc]=t}let lc;function uc(e,t){return lc(e,t)}function no(e){const t=e[fe];return ht(t)?t[fe]:t}function dc(e){return bh(e[Ui])}function fc(e){return bh(e[ft])}function bh(e){for(;null!==e&&!ht(e);)e=e[ft];return e}function ni(e,t,n,i,o){if(null!=i){let r,s=!1;ht(i)?r=i:Xe(i)&&(s=!0,i=i[Ut]);const a=Te(i);0===e&&null!==n?null==o?Ch(t,n,a):Dn(t,n,a,o||null,!0):1===e&&null!==n?Dn(t,n,a,o||null,!0):2===e?function vc(e,t,n){const i=Rr(e,t);i&&function Qw(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=r&&function tE(e,t,n,i,o){const r=n[hr];r!==Te(n)&&ni(t,e,i,r,o);for(let a=Be;a<n.length;a++){const c=n[a];io(c[M],c,e,t,i,r)}}(t,e,r,n,o)}}function pc(e,t,n){return e.createElement(t,n)}function yh(e,t){const n=e[zn],i=n.indexOf(t),o=t[fe];512&t[L]&&(t[L]&=-513,Na(o,-1)),n.splice(i,1)}function mc(e,t){if(e.length<=Be)return;const n=Be+t,i=e[n];if(i){const o=i[$i];null!==o&&o!==e&&yh(o,i),t>0&&(e[n-1][ft]=i[ft]);const r=Ir(e,Be+t);!function zw(e,t){io(e,t,t[j],2,null,null),t[Ut]=null,t[Fe]=null}(i[M],i);const s=r[Mt];null!==s&&s.detachView(r[M]),i[fe]=null,i[ft]=null,i[L]&=-65}return i}function Dh(e,t){if(!(128&t[L])){const n=t[j];n.destroyNode&&io(e,t,n,3,null,null),function Yw(e){let t=e[Ui];if(!t)return gc(e[M],e);for(;t;){let n=null;if(Xe(t))n=t[Ui];else{const i=t[Be];i&&(n=i)}if(!n){for(;t&&!t[ft]&&t!==e;)Xe(t)&&gc(t[M],t),t=t[fe];null===t&&(t=e),Xe(t)&&gc(t[M],t),n=t&&t[ft]}t=n}}(t)}}function gc(e,t){if(!(128&t[L])){t[L]&=-65,t[L]|=128,function Xw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof Yi)){const r=n[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){const a=o[r[s]],c=r[s+1];at(4,a,c);try{c.call(a)}finally{at(5,a,c)}}else{at(4,o,r);try{r.call(o)}finally{at(5,o,r)}}}}}(e,t),function Kw(e,t){const n=e.cleanup,i=t[Hn];let o=-1;if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const s=n[r+3];s>=0?i[o=s]():i[o=-s].unsubscribe(),r+=2}else{const s=i[o=n[r+1]];n[r].call(s)}if(null!==i){for(let r=o+1;r<i.length;r++)(0,i[r])();t[Hn]=null}}(e,t),1===t[M].type&&t[j].destroy();const n=t[$i];if(null!==n&&ht(t[fe])){n!==t[fe]&&yh(n,t);const i=t[Mt];null!==i&&i.detachView(e)}!function Fw(e){sc.delete(e[zi])}(t)}}function wh(e,t,n){return function Eh(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[Ut];{const{componentOffset:o}=i;if(o>-1){const{encapsulation:r}=e.data[i.directiveStart+o];if(r===xt.None||r===xt.Emulated)return null}return Qe(i,n)}}(e,t.parent,n)}function Dn(e,t,n,i,o){e.insertBefore(t,n,i,o)}function Ch(e,t,n){e.appendChild(t,n)}function xh(e,t,n,i,o){null!==i?Dn(e,t,n,i,o):Ch(e,t,n)}function Rr(e,t){return e.parentNode(t)}function Mh(e,t,n){return Sh(e,t,n)}let _c,wc,Sh=function Ih(e,t,n){return 40&e.type?Qe(e,n):null};function Or(e,t,n,i){const o=wh(e,i,t),r=t[j],a=Mh(i.parent||t[Fe],i,t);if(null!=o)if(Array.isArray(n))for(let c=0;c<n.length;c++)xh(r,o,n[c],a,!1);else xh(r,o,n,a,!1);void 0!==_c&&_c(r,i,t,n,o)}function Fr(e,t){if(null!==t){const n=t.type;if(3&n)return Qe(t,e);if(4&n)return bc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Fr(e,i);{const o=e[t.index];return ht(o)?bc(-1,o):Te(o)}}if(32&n)return uc(t,e)()||Te(e[t.index]);{const i=Ah(e,t);return null!==i?Array.isArray(i)?i[0]:Fr(no(e[ke]),i):Fr(e,t.next)}}return null}function Ah(e,t){return null!==t?e[ke][Fe].projection[t.projection]:null}function bc(e,t){const n=Be+e+1;if(n<t.length){const i=t[n],o=i[M].firstChild;if(null!==o)return Fr(i,o)}return t[hr]}function yc(e,t,n,i,o,r,s){for(;null!=n;){const a=i[n.index],c=n.type;if(s&&0===t&&(a&&Pe(Te(a),i),n.flags|=2),32!=(32&n.flags))if(8&c)yc(e,t,n.child,i,o,r,!1),ni(t,e,o,a,r);else if(32&c){const l=uc(n,i);let u;for(;u=l();)ni(t,e,o,u,r);ni(t,e,o,a,r)}else 16&c?Rh(e,t,i,n,o,r):ni(t,e,o,a,r);n=s?n.projectionNext:n.next}}function io(e,t,n,i,o,r){yc(n,i,e.firstChild,t,o,r,!1)}function Rh(e,t,n,i,o,r){const s=n[ke],c=s[Fe].projection[i.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)ni(t,e,o,c[l],r);else yc(e,t,c,s[fe],o,r,!0)}function Oh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Fh(e,t,n){const{mergedAttrs:i,classes:o,styles:r}=n;null!==i&&Ga(e,t,i),null!==o&&Oh(e,t,o),null!==r&&function iE(e,t,n){e.setAttribute(t,"style",n)}(e,t,r)}class wn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}const Br=new y("ENVIRONMENT_INITIALIZER"),Yh=new y("INJECTOR",-1),qh=new y("INJECTOR_DEF_TYPES");class Zh{get(t,n=Li){if(n===Li){const i=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw i.name="NullInjectorError",i}return n}}function NE(...e){return{\u0275providers:Kh(0,e),\u0275fromNgModule:!0}}function Kh(e,...t){const n=[],i=new Set;let o;return yn(t,r=>{const s=r;Ic(s,n,[],i)&&(o||(o=[]),o.push(s))}),void 0!==o&&Xh(o,n),n}function Xh(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];Sc(o,r=>{t.push(r)})}}function Ic(e,t,n,i){if(!(e=R(e)))return!1;let o=null,r=Jd(e);const s=!r&&Q(e);if(r||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(r=Jd(c),!r)return!1;o=c}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)Ic(l,t,n,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let l;i.add(o);try{yn(r.imports,u=>{Ic(u,t,n,i)&&(l||(l=[]),l.push(u))})}finally{}void 0!==l&&Xh(l,t)}if(!a){const l=_n(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:G},{provide:qh,useValue:o,multi:!0},{provide:Br,useValue:()=>m(o),multi:!0})}const c=r.providers;null==c||a||Sc(c,u=>{t.push(u)})}}return o!==e&&void 0!==e.providers}function Sc(e,t){for(let n of e)xa(n)&&(n=n.\u0275providers),Array.isArray(n)?Sc(n,t):t(n)}const LE=te({provide:String,useValue:te});function Tc(e){return null!==e&&"object"==typeof e&&LE in e}function En(e){return"function"==typeof e}const Ac=new y("Set Injector scope."),jr={},jE={};let Rc;function Vr(){return void 0===Rc&&(Rc=new Zh),Rc}class Cn{}class ep extends Cn{get destroyed(){return this._destroyed}constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fc(t,s=>this.processProvider(s)),this.records.set(Yh,oi(void 0,this)),o.has("environment")&&this.records.set(Cn,oi(void 0,this));const r=this.records.get(Ac);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(qh.multi,G,F.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Vn(this),i=st(void 0);try{return t()}finally{Vn(n),st(i)}}get(t,n=Li,i=F.Default){this.assertNotDestroyed(),i=cr(i);const o=Vn(this),r=st(void 0);try{if(!(i&F.SkipSelf)){let a=this.records.get(t);if(void 0===a){const c=function zE(e){return"function"==typeof e||"object"==typeof e&&e instanceof y}(t)&&rr(t);a=c&&this.injectableDefInScope(c)?oi(Oc(t),jr):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&F.Self?Vr():this.parent).get(t,n=i&F.Optional&&n===Li?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[ar]=s[ar]||[]).unshift(re(t)),o)throw s;return function c0(e,t,n,i){const o=e[ar];throw t[nf]&&o.unshift(t[nf]),e.message=function l0(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==r0?e.slice(2):e;let o=re(t);if(Array.isArray(t))o=t.map(re).join(" -> ");else if("object"==typeof t){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):re(a)))}o=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(o0,"\n  ")}`}("\n"+e.message,o,n,i),e[n0]=o,e[ar]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{st(r),Vn(o)}}resolveInjectorInitializers(){const t=Vn(this),n=st(void 0);try{const i=this.get(Br.multi,G,F.Self);for(const o of i)o()}finally{Vn(t),st(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(re(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){let n=En(t=R(t))?t:R(t&&t.provide);const i=function HE(e){return Tc(e)?oi(void 0,e.useValue):oi(tp(e),jr)}(t);if(En(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=oi(void 0,jr,!0),o.factory=()=>Ta(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===jr&&(n.value=jE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function $E(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=R(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Oc(e){const t=rr(e),n=null!==t?t.factory:_n(e);if(null!==n)return n;if(e instanceof y)throw new I(204,!1);if(e instanceof Function)return function VE(e){const t=e.length;if(t>0)throw Xi(t,"?"),new I(204,!1);const n=function QD(e){const t=e&&(e[sr]||e[ef]);return t?(function JD(e){if(e.hasOwnProperty("name"))return e.name;(""+e).match(/^function\s*([^\s(]+)/)}(e),t):null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new I(204,!1)}function tp(e,t,n){let i;if(En(e)){const o=R(e);return _n(o)||Oc(o)}if(Tc(e))i=()=>R(e.useValue);else if(function Jh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ta(e.deps||[]));else if(function Qh(e){return!(!e||!e.useExisting)}(e))i=()=>m(R(e.useExisting));else{const o=R(e&&(e.useClass||e.provide));if(!function UE(e){return!!e.deps}(e))return _n(o)||Oc(o);i=()=>new o(...Ta(e.deps))}return i}function oi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fc(e,t){for(const n of e)Array.isArray(n)?Fc(n,t):n&&xa(n)?Fc(n.\u0275providers,t):t(n)}class WE{}class np{}class YE{resolveComponentFactory(t){throw function GE(e){const t=Error(`No component factory found for ${re(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ri=(()=>{class e{}return e.NULL=new YE,e})();function qE(){return si(Ae(),D())}function si(e,t){return new Re(Qe(e,t))}let Re=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=qE,e})();function ZE(e){return e instanceof Re?e.nativeElement:e}class op{}let XE=(()=>{class e{}return e.\u0275prov=x({token:e,providedIn:"root",factory:()=>null}),e})();class so{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const QE=new so("15.2.6"),kc={},Pc="ngOriginalError";function Nc(e){return e[Pc]}class Gt{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&&Nc(t);for(;n&&Nc(n);)n=Nc(n);return n||null}}function ap(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const r=t.length;if(o+r===i||e.charCodeAt(o+r)<=32)return o}n=o+1}}const cp="ng-template";function lC(e,t,n){let i=0,o=!0;for(;i<e.length;){let r=e[i++];if("string"==typeof r&&o){const s=e[i++];if(n&&"class"===r&&-1!==ap(s.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}"number"==typeof r&&(o=!1)}}return!1}function lp(e){return 4===e.type&&e.value!==cp}function uC(e,t,n){return t===(4!==e.type||n?e.value:cp)}function dC(e,t,n){let i=4;const o=e.attrs||[],r=function pC(e){for(let t=0;t<e.length;t++)if(Pf(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&i){if(i=2|1&i,""!==c&&!uC(e,c,n)||""===c&&1===t.length){if(mt(i))return!1;s=!0}}else{const l=8&i?c:t[++a];if(8&i&&null!==e.attrs){if(!lC(e.attrs,l,n)){if(mt(i))return!1;s=!0}continue}const d=fC(8&i?"class":c,o,lp(e),n);if(-1===d){if(mt(i))return!1;s=!0;continue}if(""!==l){let f;f=d>r?"":o[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==ap(h,l,0)||2&i&&l!==f){if(mt(i))return!1;s=!0}}}}else{if(!s&&!mt(i)&&!mt(c))return!1;if(s&&mt(c))continue;s=!1,i=c|1&i}}return mt(i)||s}function mt(e){return 0==(1&e)}function fC(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let r=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)r=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=r?1:2}return-1}return function mC(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 up(e,t,n=!1){for(let i=0;i<t.length;i++)if(dC(e,t[i],n))return!0;return!1}function gC(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function dp(e,t){return e?":not("+t.trim()+")":t}function _C(e){let t=e[0],n=1,i=2,o="",r=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!mt(s)&&(t+=dp(r,o),o=""),i=s,r=r||!mt(i);n++}return""!==o&&(t+=dp(r,o)),t}const N={};function Lc(e){fp(z(),D(),Ve()+e,!1)}function fp(e,t,n,i){if(!i)if(3==(3&t[L])){const r=e.preOrderCheckHooks;null!==r&&yr(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Dr(t,r,0,n)}bn(n)}function gp(e,t=null,n=null,i){const o=_p(e,t,n,i);return o.resolveInjectorInitializers(),o}function _p(e,t=null,n=null,i,o=new Set){const r=[n||G,NE(e)];return i=i||("object"==typeof e?void 0:re(e)),new ep(r,t||Vr(),i||null,o)}let Ye=(()=>{class e{static create(n,i){if(Array.isArray(n))return gp({name:""},i,n,"");{const o=n.name??"";return gp({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Li,e.NULL=new Zh,e.\u0275prov=x({token:e,providedIn:"any",factory:()=>m(Yh)}),e.__NG_ELEMENT_ID__=-1,e})();function w(e,t=F.Default){const n=D();return null===n?m(e,t):zf(Ae(),n,R(e),t)}function Ur(){throw new Error("invalid")}function Cp(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i+1];if(-1!==r){const s=e.data[r];Ha(n[i]),s.contentQueries(2,t[r],r)}}}function $r(e,t,n,i,o,r,s,a,c,l,u){const d=t.blueprint.slice();return d[Ut]=o,d[L]=76|i,(null!==u||e&&1024&e[L])&&(d[L]|=1024),Df(d),d[fe]=d[Un]=e,d[me]=n,d[fr]=s||e&&e[fr],d[j]=a||e&&e[j],d[Oa]=c||e&&e[Oa]||null,d[dr]=l||e&&e[dr]||null,d[Fe]=r,d[zi]=function Rw(){return Aw++}(),d[df]=u,d[ke]=2==t.type?e[ke]:d,d}function li(e,t,n,i,o){let r=e.data[t];if(null===r)r=function Uc(e,t,n,i,o){const r=Cf(),s=La(),c=e.data[t]=function $C(e,t,n,i,o,r){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev: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?r:r&&r.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=c),null!==r&&(s?null==r.child&&null!==c.parent&&(r.child=c):null===r.next&&(r.next=c,c.prev=r)),c}(e,t,n,i,o),function P0(){return P.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=n,r.value=i,r.attrs=o;const s=function Gi(){const e=P.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();r.injectorIndex=null===s?-1:s.injectorIndex}return It(r,!0),r}function ao(e,t,n,i){if(0===n)return-1;const o=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function $c(e,t,n){Ua(t);try{const i=e.viewQuery;null!==i&&Jc(1,i,n);const o=e.template;null!==o&&xp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Cp(e,t),e.staticViewQueries&&Jc(2,e.viewQuery,n);const r=e.components;null!==r&&function VC(e,t){for(let n=0;n<t.length;n++)cx(e,t[n])}(t,r)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[L]&=-5,$a()}}function zr(e,t,n,i){const o=t[L];if(128!=(128&o)){Ua(t);try{Df(t),function Mf(e){return P.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&xp(e,t,n,2,i);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&yr(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Dr(t,l,0,null),za(t,0)}if(function sx(e){for(let t=dc(e);null!==t;t=fc(t)){if(!t[ff])continue;const n=t[zn];for(let i=0;i<n.length;i++){const o=n[i];512&o[L]||Na(o[fe],1),o[L]|=512}}}(t),function rx(e){for(let t=dc(e);null!==t;t=fc(t))for(let n=Be;n<t.length;n++){const i=t[n],o=i[M];br(i)&&zr(o,i,o.template,i[me])}}(t),null!==e.contentQueries&&Cp(e,t),s){const l=e.contentCheckHooks;null!==l&&yr(t,l)}else{const l=e.contentHooks;null!==l&&Dr(t,l,1),za(t,1)}!function BC(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)bn(~o);else{const r=o,s=n[++i],a=n[++i];N0(s,r),a(2,t[r])}}}finally{bn(-1)}}(e,t);const a=e.components;null!==a&&function jC(e,t){for(let n=0;n<t.length;n++)ax(e,t[n])}(t,a);const c=e.viewQuery;if(null!==c&&Jc(2,c,i),s){const l=e.viewCheckHooks;null!==l&&yr(t,l)}else{const l=e.viewHooks;null!==l&&Dr(t,l,2),za(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[L]&=-41,512&t[L]&&(t[L]&=-513,Na(t[fe],-1))}finally{$a()}}}function xp(e,t,n,i,o){const r=Ve(),s=2&i;try{bn(-1),s&&t.length>ce&&fp(e,t,ce,!1),at(s?2:0,o),n(i,o)}finally{bn(r),at(s?3:1,o)}}function zc(e,t,n){if(ka(t)){const o=t.directiveEnd;for(let r=t.directiveStart;r<o;r++){const s=e.data[r];s.contentQueries&&s.contentQueries(1,n[r],r)}}}function Wc(e,t,n){Ef()&&(function ZC(e,t,n,i){const o=n.directiveStart,r=n.directiveEnd;Wi(n)&&function nx(e,t,n){const i=Qe(t,e),o=Mp(n),r=e[fr],s=Wr(e,$r(e,o,null,n.onPush?32:16,i,t,r,r.createRenderer(i,n),null,null,null));e[t.index]=s}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||xr(n,t),Pe(i,t);const s=n.initialInputs;for(let a=o;a<r;a++){const c=e.data[a],l=vn(t,e,a,n);Pe(l,t),null!==s&&ix(0,a-o,l,c,0,s),pt(c)&&(Je(n.index,t)[me]=vn(t,e,a,n))}}(e,t,n,Qe(n,t)),64==(64&n.flags)&&Op(e,t,n))}function Gc(e,t,n=Qe){const i=t.localNames;if(null!==i){let o=t.index+1;for(let r=0;r<i.length;r+=2){const s=i[r+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function Mp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Yc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Yc(e,t,n,i,o,r,s,a,c,l){const u=ce+i,d=u+o,f=function HC(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:N);return n}(u,d),h="function"==typeof l?l():l;return f[M]={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 r?r():r,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1}}function Ip(e,t,n,i){const o=kp(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&Pp(e).push(i,o.length-1))}function Sp(e,t,n,i){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const r=e[o];null===i?Tp(n,t,o,r):i.hasOwnProperty(o)&&Tp(n,t,i[o],r)}return n}function Tp(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function nt(e,t,n,i,o,r,s,a){const c=Qe(t,n);let u,l=t.inputs;!a&&null!=l&&(u=l[i])?(el(e,n,u,i,o),Wi(t)&&Ap(n,t.index)):3&t.type&&(i=function WC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=s?s(o,t.value||"",i):o,r.setProperty(c,i,o))}function Ap(e,t){const n=Je(t,e);16&n[L]||(n[L]|=32)}function qc(e,t,n,i){if(Ef()){const o=null===i?null:{"":-1},r=function XC(e,t){const n=e.directiveRegistry;let i=null,o=null;if(n)for(let r=0;r<n.length;r++){const s=n[r];if(up(t,s.selectors,!1))if(i||(i=[]),pt(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s),Zc(e,t,a.length)}else i.unshift(s),Zc(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return null===i?null:[i,o]}(e,n);let s,a;null===r?s=a=null:[s,a]=r,null!==s&&Rp(e,t,n,s,o,a),o&&function QC(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const r=n[t[o+1]];if(null==r)throw new I(-301,!1);i.push(t[o],r)}}}(n,i,o)}n.mergedAttrs=qi(n.mergedAttrs,n.attrs)}function Rp(e,t,n,i,o,r){for(let l=0;l<i.length;l++)Ka(xr(n,t),e,i[l].type);!function ex(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let l=0;l<i.length;l++){const u=i[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=ao(e,t,i.length,null);for(let l=0;l<i.length;l++){const u=i[l];n.mergedAttrs=qi(n.mergedAttrs,u.hostAttrs),tx(e,n,t,c,u),JC(c,u,o),null!==u.contentQueries&&(n.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(n.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),a=!0),c++}!function zC(e,t,n){const o=t.directiveEnd,r=e.data,s=t.attrs,a=[];let c=null,l=null;for(let u=t.directiveStart;u<o;u++){const d=r[u],f=n?n.get(d):null,p=f?f.outputs:null;c=Sp(d.inputs,u,c,f?f.inputs:null),l=Sp(d.outputs,u,l,p);const g=null===c||null===s||lp(t)?null:ox(c,u,s);a.push(g)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}(e,n,r)}function Op(e,t,n){const i=n.directiveStart,o=n.directiveEnd,r=n.index,s=function L0(){return P.lFrame.currentDirectiveIndex}();try{bn(r);for(let a=i;a<o;a++){const c=e.data[a],l=t[a];ja(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&KC(c,l)}}finally{bn(-1),ja(s)}}function KC(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Zc(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function JC(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;pt(t)&&(n[""]=e)}}function tx(e,t,n,i,o){e.data[i]=o;const r=o.factory||(o.factory=_n(o.type)),s=new Yi(r,pt(o),w);e.blueprint[i]=s,n[i]=s,function YC(e,t,n,i,o){const r=o.hostBindings;if(r){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function qC(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,i,r)}}(e,t,i,ao(e,n,o.hostVars,N),o)}function At(e,t,n,i,o,r){const s=Qe(e,t);!function Kc(e,t,n,i,o,r,s){if(null==r)e.removeAttribute(t,o,n);else{const a=null==s?k(r):s(r,i||"",o);e.setAttribute(t,o,a,n)}}(t[j],s,r,e.value,n,i,o)}function ix(e,t,n,i,o,r){const s=r[t];if(null!==s){const a=i.setInput;for(let c=0;c<s.length;){const l=s[c++],u=s[c++],d=s[c++];null!==a?i.setInput(n,d,l,u):n[u]=d}}}function ox(e,t,n){let i=null,o=0;for(;o<n.length;){const r=n[o];if(0!==r)if(5!==r){if("number"==typeof r)break;if(e.hasOwnProperty(r)){null===i&&(i=[]);const s=e[r];for(let a=0;a<s.length;a+=2)if(s[a]===t){i.push(r,s[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return i}function Fp(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null]}function ax(e,t){const n=Je(t,e);if(br(n)){const i=n[M];48&n[L]?zr(i,n,i.template,n[me]):n[gn]>0&&Xc(n)}}function Xc(e){for(let i=dc(e);null!==i;i=fc(i))for(let o=Be;o<i.length;o++){const r=i[o];if(br(r))if(512&r[L]){const s=r[M];zr(s,r,s.template,r[me])}else r[gn]>0&&Xc(r)}const n=e[M].components;if(null!==n)for(let i=0;i<n.length;i++){const o=Je(n[i],e);br(o)&&o[gn]>0&&Xc(o)}}function cx(e,t){const n=Je(t,e),i=n[M];(function lx(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),$c(i,n,n[me])}function Wr(e,t){return e[Ui]?e[uf][ft]=t:e[Ui]=t,e[uf]=t,t}function Qc(e){for(;e;){e[L]|=32;const t=no(e);if(m0(e)&&!t)return e;e=t}return null}function Gr(e,t,n,i=!0){const o=t[fr];o.begin&&o.begin();try{zr(e,t,e.template,n)}catch(s){throw i&&Lp(t,s),s}finally{o.end&&o.end()}}function Jc(e,t,n){Ha(0),t(e,n)}function kp(e){return e[Hn]||(e[Hn]=[])}function Pp(e){return e.cleanup||(e.cleanup=[])}function Lp(e,t){const n=e[dr],i=n?n.get(Gt,null):null;i&&i.handleError(t)}function el(e,t,n,i,o){for(let r=0;r<n.length;){const s=n[r++],a=n[r++],c=t[s],l=e.data[s];null!==l.setInput?l.setInput(c,o,i,a):c[a]=o}}function Yr(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,r=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?r=a:1==r?o=wa(o,a):2==r&&(i=wa(i,a+": "+t[++s]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}function qr(e,t,n,i,o=!1){for(;null!==n;){const r=t[n.index];if(null!==r&&i.push(Te(r)),ht(r))for(let a=Be;a<r.length;a++){const c=r[a],l=c[M].firstChild;null!==l&&qr(c[M],c,l,i)}const s=n.type;if(8&s)qr(e,t,n.child,i);else if(32&s){const a=uc(n,t);let c;for(;c=a();)i.push(c)}else if(16&s){const a=Ah(t,n);if(Array.isArray(a))i.push(...a);else{const c=no(t[ke]);qr(c[M],c,a,i,!0)}}n=o?n.projectionNext:n.next}return i}class co{get rootNodes(){const t=this._lView,n=t[M];return qr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[me]}set context(t){this._lView[me]=t}get destroyed(){return 128==(128&this._lView[L])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[fe];if(ht(t)){const n=t[pr],i=n?n.indexOf(this):-1;i>-1&&(mc(t,i),Ir(n,i))}this._attachedToViewContainer=!1}Dh(this._lView[M],this._lView)}onDestroy(t){Ip(this._lView[M],this._lView,null,t)}markForCheck(){Qc(this._cdRefInjectingView||this._lView)}detach(){this._lView[L]&=-65}reattach(){this._lView[L]|=64}detectChanges(){Gr(this._lView[M],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Gw(e,t){io(e,t,t[j],2,null,null)}(this._lView[M],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t}}class ux extends co{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Gr(t[M],t,t[me],!1)}checkNoChanges(){}get context(){return null}}class Bp extends ri{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Q(t);return new lo(n,this.ngModule)}}function jp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class fx{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=cr(i);const o=this.injector.get(t,kc,i);return o!==kc||n===kc?o:this.parentInjector.get(t,n,i)}}class lo extends np{get inputs(){return jp(this.componentDef.inputs)}get outputs(){return jp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function bC(e){return e.map(_C).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,o){let r=(o=o||this.ngModule)instanceof Cn?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new fx(t,r):t,a=s.get(op,null);if(null===a)throw new I(407,!1);const c=s.get(XE,null),l=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function UC(e,t,n){return e.selectRootElement(t,n===xt.ShadowDom)}(l,i,this.componentDef.encapsulation):pc(l,u,function dx(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),f=this.componentDef.onPush?288:272,h=Yc(0,null,null,1,0,null,null,null,null,null),p=$r(null,h,null,f,null,null,a,l,c,s,null);let g,_;Ua(p);try{const b=this.componentDef;let E,v=null;b.findHostDirectiveDefs?(E=[],v=new Map,b.findHostDirectiveDefs(b,E,v),E.push(b)):E=[b];const T=function px(e,t){const n=e[M],i=ce;return e[i]=t,li(n,i,2,"#host",null)}(p,d),ie=function mx(e,t,n,i,o,r,s,a){const c=o[M];!function gx(e,t,n,i){for(const o of e)t.mergedAttrs=qi(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Yr(t,t.mergedAttrs,!0),null!==n&&Fh(i,n,t))}(i,e,t,s);const l=r.createRenderer(t,n),u=$r(o,Mp(n),null,n.onPush?32:16,o[e.index],e,r,l,a||null,null,null);return c.firstCreatePass&&Zc(c,e,i.length-1),Wr(o,u),o[e.index]=u}(T,d,b,E,p,a,l);_=yf(h,ce),d&&function bx(e,t,n,i){if(i)Ga(e,n,["ng-version",QE.full]);else{const{attrs:o,classes:r}=function vC(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let r=e[i];if("string"==typeof r)2===o?""!==r&&t.push(r,e[++i]):8===o&&n.push(r);else{if(!mt(o))break;o=r}i++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Ga(e,n,o),r&&r.length>0&&Oh(e,n,r.join(" "))}}(l,b,d,i),void 0!==n&&function vx(e,t,n){const i=e.projection=[];for(let o=0;o<t.length;o++){const r=n[o];i.push(null!=r?Array.from(r):null)}}(_,this.ngContentSelectors,n),g=function _x(e,t,n,i,o,r){const s=Ae(),a=o[M],c=Qe(s,o);Rp(a,o,s,n,null,i);for(let u=0;u<n.length;u++)Pe(vn(o,a,s.directiveStart+u,s),o);Op(a,o,s),c&&Pe(c,o);const l=vn(o,a,s.directiveStart+s.componentOffset,s);if(e[me]=o[me]=l,null!==r)for(const u of r)u(l,t);return zc(a,s,e),l}(ie,b,E,v,p,[yx]),$c(h,p,null)}finally{$a()}return new hx(this.componentType,g,si(_,p),p,_)}}class hx extends WE{constructor(t,n,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.instance=n,this.hostView=this.changeDetectorRef=new ux(o),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){const r=this._rootLView;el(r[M],r,o,t,n),Ap(r,this._tNode.index)}}get injector(){return new qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function yx(){const e=Ae();vr(D()[M],e)}function gt(e){let t=function Vp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(pt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new I(903,!1);o=t.\u0275dir}if(o){if(n){i.push(o);const s=e;s.inputs=tl(e.inputs),s.declaredInputs=tl(e.declaredInputs),s.outputs=tl(e.outputs);const a=o.hostBindings;a&&Cx(e,a);const c=o.viewQuery,l=o.contentQueries;if(c&&wx(e,c),l&&Ex(e,l),Da(e.inputs,o.inputs),Da(e.declaredInputs,o.declaredInputs),Da(e.outputs,o.outputs),pt(o)&&o.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s<r.length;s++){const a=r[s];a&&a.ngInherit&&a(e),a===gt&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Dx(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=qi(o.hostAttrs,n=qi(n,o.hostAttrs))}}(i)}function tl(e){return e===jt?{}:e===G?[]:e}function wx(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function Ex(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,r)=>{t(i,o,r),n(i,o,r)}:t}function Cx(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}function Ne(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function fo(e,t,n,i){const o=D();return Ne(o,Gn(),t)&&(z(),At(ue(),o,e,t,n,i)),fo}function Xr(e,t,n,i,o,r,s,a){const c=D(),l=z(),u=e+ce,d=l.firstCreatePass?function kx(e,t,n,i,o,r,s,a,c){const l=t.consts,u=li(t,e,4,s||null,en(l,a));qc(t,n,u,en(l,c)),vr(t,u);const d=u.tView=Yc(2,u,i,o,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,l,c,t,n,i,o,r,s):l.data[u];It(d,!1);const f=c[j].createComment("");Or(l,c,f,d),Pe(f,c),Wr(c,c[u]=Fp(f,c,f,d)),mr(d)&&Wc(l,c,d),null!=s&&Gc(c,d,a)}function Qr(e,t,n){const i=D();return Ne(i,Gn(),t)&&nt(z(),ue(),i,e,t,i[j],n,!1),Qr}function il(e,t,n,i,o){const s=o?"class":"style";el(e,n,t.inputs[s],s,i)}function nn(e,t,n,i){const o=D(),r=z(),s=ce+e,a=o[j],c=r.firstCreatePass?function Lx(e,t,n,i,o,r){const s=t.consts,c=li(t,e,2,i,en(s,o));return qc(t,n,c,en(s,r)),null!==c.attrs&&Yr(c,c.attrs,!1),null!==c.mergedAttrs&&Yr(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,r,o,t,n,i):r.data[s],l=o[s]=pc(a,t,function W0(){return P.lFrame.currentNamespace}()),u=mr(c);return It(c,!0),Fh(a,l,c),32!=(32&c.flags)&&Or(r,o,l,c),0===function I0(){return P.lFrame.elementDepthCount}()&&Pe(l,o),function S0(){P.lFrame.elementDepthCount++}(),u&&(Wc(r,o,c),zc(r,c,o)),null!==i&&Gc(o,c),nn}function on(){let e=Ae();La()?Ba():(e=e.parent,It(e,!1));const t=e;!function T0(){P.lFrame.elementDepthCount--}();const n=z();return n.firstCreatePass&&(vr(n,e),ka(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Z0(e){return 0!=(8&e.flags)}(t)&&il(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function K0(e){return 0!=(16&e.flags)}(t)&&il(n,t,D(),t.stylesWithoutHost,!1),on}function Mn(e,t,n,i){return nn(e,t,n,i),on(),Mn}function sl(e){return!!e&&"function"==typeof e.then}function em(e){return!!e&&"function"==typeof e.subscribe}const Vx=em;function al(e,t,n,i){const o=D(),r=z(),s=Ae();return function nm(e,t,n,i,o,r,s){const a=mr(i),l=e.firstCreatePass&&Pp(e),u=t[me],d=kp(t);let f=!0;if(3&i.type||s){const g=Qe(i,t),_=s?s(g):g,b=d.length,E=s?T=>s(Te(T[i.index])):i.index;let v=null;if(!s&&a&&(v=function Hx(e,t,n,i){const o=e.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const s=o[r];if(s===n&&o[r+1]===i){const a=t[Hn],c=o[r+2];return a.length>c?a[c]:null}"string"==typeof s&&(r+=2)}return null}(e,t,o,i.index)),null!==v)(v.__ngLastListenerFn__||v).__ngNextListenerFn__=r,v.__ngLastListenerFn__=r,f=!1;else{r=om(i,t,u,r,!1);const T=n.listen(_,o,r);d.push(r,T),l&&l.push(o,E,b,b+1)}}else r=om(i,t,u,r,!1);const h=i.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let _=0;_<g;_+=2){const ie=t[p[_]][p[_+1]].subscribe(r),ve=d.length;d.push(r,ie),l&&l.push(o,i.index,ve,-(ve+1))}}}(r,o,o[j],s,e,t,i),al}function im(e,t,n,i){try{return at(6,t,n),!1!==n(i)}catch(o){return Lp(e,o),!1}finally{at(7,t,n)}}function om(e,t,n,i,o){return function r(s){if(s===Function)return i;Qc(e.componentOffset>-1?Je(e.index,t):t);let c=im(t,n,i,s),l=r.__ngNextListenerFn__;for(;l;)c=im(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return o&&!1===c&&(s.preventDefault(),s.returnValue=!1),c}}function $x(e,t){let n=null;const i=function hC(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const r=t[o];if("*"!==r){if(null===i?up(e,r,!0):gC(i,r))return o}else n=o}return n}function cl(e){const t=D()[ke][Fe];if(!t.projection){const i=t.projection=Xi(e?e.length:1,null),o=i.slice();let r=t.child;for(;null!==r;){const s=e?$x(r,e):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}function ho(e,t=0,n){const i=D(),o=z(),r=li(o,ce+e,16,null,n||null);null===r.projection&&(r.projection=t),Ba(),32!=(32&r.flags)&&function eE(e,t,n){Rh(t[j],0,t,n,wh(e,n,t),Mh(n.parent||t[Fe],n,t))}(o,i,r)}function Jr(e,t){return e<<17|t<<2}function rn(e){return e>>17&32767}function ul(e){return 2|e}function In(e){return(131068&e)>>2}function dl(e,t){return-131069&e|t<<2}function fl(e){return 1|e}function pm(e,t,n,i,o){const r=e[n+1],s=null===t;let a=i?rn(r):In(r),c=!1;for(;0!==a&&(!1===c||s);){const u=e[a+1];Zx(e[a],t)&&(c=!0,e[a+1]=i?fl(u):ul(u)),a=i?rn(u):In(u)}c&&(e[n+1]=i?ul(r):fl(r))}function Zx(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Jn(e,t)>=0}function hl(e,t,n){return _t(e,t,n,!1),hl}function Sn(e,t){return _t(e,t,null,!0),Sn}function _t(e,t,n,i){const o=D(),r=z(),s=function zt(e){const t=P.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);r.firstUpdatePass&&function wm(e,t,n,i){const o=e.data;if(null===o[n+1]){const r=o[Ve()],s=function Dm(e,t){return t>=e.expandoStartIndex}(e,n);(function Mm(e,t){return 0!=(e.flags&(t?8:16))})(r,i)&&null===t&&!s&&(t=!1),t=function oM(e,t,n,i){const o=function Va(e){const t=P.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let r=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=po(n=pl(null,e,t,n,i),t.attrs,i),r=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=pl(o,e,t,n,i),null===r){let c=function rM(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==In(i))return e[rn(i)]}(e,t,i);void 0!==c&&Array.isArray(c)&&(c=pl(null,e,t,c[1],i),c=po(c,t.attrs,i),function sM(e,t,n,i){e[rn(n?t.classBindings:t.styleBindings)]=i}(e,t,i,c))}else r=function aM(e,t,n){let i;const o=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<o;r++)i=po(i,e[r].hostAttrs,n);return po(i,t.attrs,n)}(e,t,i)}return void 0!==r&&(i?t.residualClasses=r:t.residualStyles=r),n}(o,r,t,i),function Yx(e,t,n,i,o,r){let s=r?t.classBindings:t.styleBindings,a=rn(s),c=In(s);e[i]=n;let u,l=!1;if(Array.isArray(n)?(u=n[1],(null===u||Jn(n,u)>0)&&(l=!0)):u=n,o)if(0!==c){const f=rn(e[a+1]);e[i+1]=Jr(f,a),0!==f&&(e[f+1]=dl(e[f+1],i)),e[a+1]=function Wx(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=Jr(a,0),0!==a&&(e[a+1]=dl(e[a+1],i)),a=i;else e[i+1]=Jr(c,0),0===a?a=i:e[c+1]=dl(e[c+1],i),c=i;l&&(e[i+1]=ul(e[i+1])),pm(e,u,i,!0),pm(e,u,i,!1),function qx(e,t,n,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&Jn(r,t)>=0&&(n[i+1]=fl(n[i+1]))}(t,u,e,i,r),s=Jr(a,c),r?t.classBindings=s:t.styleBindings=s}(o,r,t,n,s,i)}}(r,e,s,i),t!==N&&Ne(o,s,t)&&function Cm(e,t,n,i,o,r,s,a){if(!(3&t.type))return;const c=e.data,l=c[a+1],u=function Gx(e){return 1==(1&e)}(l)?xm(c,t,n,o,In(l),s):void 0;es(u)||(es(r)||function zx(e){return 2==(2&e)}(l)&&(r=xm(c,null,n,o,a,s)),function nE(e,t,n,i,o){if(t)o?e.addClass(n,i):e.removeClass(n,i);else{let r=-1===i.indexOf("-")?void 0:We.DashCase;null==o?e.removeStyle(n,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=We.Important),e.setStyle(n,i,o,r))}}(i,s,function _r(e,t){return Te(t[e])}(Ve(),n),o,r))}(r,r.data[Ve()],o,o[j],e,o[s+1]=function uM(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=re(function tt(e){return e instanceof wn?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),i,s)}function pl(e,t,n,i,o){let r=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(r=t[a],i=po(i,r.hostAttrs,o),r!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function po(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?o=s:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),et(e,s,!!n||t[++r]))}return void 0===e?null:e}function xm(e,t,n,i,o,r){const s=null===t;let a;for(;o>0;){const c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let f=n[o+1];f===N&&(f=d?G:void 0);let h=d?tc(f,i):u===i?f:void 0;if(l&&!es(h)&&(h=tc(c,i)),es(h)&&(a=h,s))return a;const p=e[o+1];o=s?rn(p):In(p)}if(null!==t){let c=r?t.residualClasses:t.residualStyles;null!=c&&(a=tc(c,i))}return a}function es(e){return void 0!==e}function ml(e,t=""){const n=D(),i=z(),o=e+ce,r=i.firstCreatePass?li(i,o,1,t,null):i.data[o],s=n[o]=function hc(e,t){return e.createText(t)}(n[j],t);Or(i,n,s,r),It(r,!1)}function _l(e,t,n){const i=D();return Ne(i,Gn(),t)&&nt(z(),ue(),i,e,t,i[j],n,!0),_l}const Di="en-US";let qm=Di;function yl(e,t,n,i,o){if(e=R(e),Array.isArray(e))for(let r=0;r<e.length;r++)yl(e[r],t,n,i,o);else{const r=z(),s=D();let a=En(e)?e:R(e.provide),c=tp(e);const l=Ae(),u=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(En(e)||!e.multi){const h=new Yi(c,o,w),p=wl(a,t,o?u:u+f,d);-1===p?(Ka(xr(l,s),r,a),Dl(r,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=wl(a,t,u+f,d),p=wl(a,t,u,u+f),_=p>=0&&n[p];if(o&&!_||!o&&!(h>=0&&n[h])){Ka(xr(l,s),r,a);const b=function SI(e,t,n,i,o){const r=new Yi(e,n,w);return r.multi=[],r.index=t,r.componentProviders=0,vg(r,o,i&&!n),r}(o?II:MI,n.length,o,i,c);!o&&_&&(n[p].providerFactory=b),Dl(r,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(b),s.push(b)}else Dl(r,e,h>-1?h:p,vg(n[o?p:h],c,!o&&i));!o&&i&&_&&n[p].componentProviders++}}}function Dl(e,t,n,i){const o=En(t),r=function BE(e){return!!e.useClass}(t);if(o||r){const c=(r?R(t.useClass):t).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=l.indexOf(n);-1===u?l.push(n,[i,c]):l[u+1].push(i,c)}else l.push(n,c)}}}function vg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function wl(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function MI(e,t,n,i){return El(this.multi,[])}function II(e,t,n,i){const o=this.multi;let r;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=vn(n,n[M],this.providerFactory.index,i);r=a.slice(0,s),El(o,r);for(let c=s;c<a.length;c++)r.push(a[c])}else r=[],El(o,r);return r}function El(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function yg(e,t=[]){return n=>{n.providersResolver=(i,o)=>function xI(e,t,n){const i=z();if(i.firstCreatePass){const o=pt(e);yl(n,i.data,i.blueprint,o,!0),yl(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class wi{}class TI{}class Dg extends wi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Bp(this);const i=function Ke(e,t){const n=e[sf]||null;if(!n&&!0===t)throw new Error(`Type ${re(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Yt(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=_p(t,n,[{provide:wi,useValue:this},{provide:ri,useValue:this.componentFactoryResolver}],re(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 Cl extends TI{constructor(t){super(),this.moduleType=t}create(t){return new Dg(this.moduleType,t)}}class RI extends wi{constructor(t,n,i){super(),this.componentFactoryResolver=new Bp(this),this.instance=null;const o=new ep([...t,{provide:wi,useValue:this},{provide:ri,useValue:this.componentFactoryResolver}],n||Vr(),i,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let OI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=Kh(0,n.type),o=i.length>0?function wg(e,t,n=null){return new RI(e,t,n).injector}([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(m(Cn))}),e})();function Eg(e){e.getStandaloneInjector=t=>t.get(OI).getOrCreateStandaloneInjector(e)}function Ag(e,t,n,i,o,r){const s=t+n;return Ne(e,s,o)?function Rt(e,t,n){return e[t]=n}(e,s+1,r?i.call(r,o):i(o)):function yo(e,t){const n=e[t];return n===N?void 0:n}(e,s+1)}function Ng(e,t,n){const i=e+ce,o=D(),r=function Wn(e,t){return e[t]}(o,i);return function Do(e,t){return e[M].data[t].pure}(o,i)?Ag(o,function je(){const e=P.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,r.transform,n,r):r.transform(n)}function Ml(e){return t=>{setTimeout(e,void 0,t)}}const it=class nS extends J{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,r=n||(()=>null),s=i;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),r=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(r=Ml(r),o&&(o=Ml(o)),s&&(s=Ml(s)));const a=super.subscribe({next:o,error:r,complete:s});return t instanceof Le&&t.add(a),a}};function iS(){return this._results[Symbol.iterator]()}class Il{get changes(){return this._changes||(this._changes=new it)}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=Il.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=iS)}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 o=function ct(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function sw(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],r=t[i];if(n&&(o=n(o),r=n(r)),r!==o)return!1}return!0}(i._results,o,n))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let kt=(()=>{class e{}return e.__NG_ELEMENT_ID__=sS,e})();const oS=kt,rS=class extends oS{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tView,o=$r(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);o[$i]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[Mt];return null!==s&&(o[Mt]=s.createEmbeddedView(i)),$c(i,o,t),new co(o)}};function sS(){return rs(Ae(),D())}function rs(e,t){return 4&e.type?new rS(t,e,si(e,t)):null}let vt=(()=>{class e{}return e.__NG_ELEMENT_ID__=aS,e})();function aS(){return jg(Ae(),D())}const cS=vt,Lg=class extends cS{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return si(this._hostTNode,this._hostLView)}get injector(){return new qn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Za(this._hostTNode,this._hostLView);if(Bf(t)){const n=Er(t,this._hostLView),i=wr(t);return new qn(n[M].data[i+8],n)}return new qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Bg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Be}createEmbeddedView(t,n,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=t.createEmbeddedView(n||{},r);return this.insert(s,o),s}createComponent(t,n,i,o,r){const s=t&&!function Ki(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,i=d.injector,o=d.projectableNodes,r=d.environmentInjector||d.ngModuleRef}const c=s?t:new lo(Q(t)),l=i||this.parentInjector;if(!r&&null==c.ngModule){const f=(s?l:this.parentInjector).get(Cn,null);f&&(r=f)}const u=c.create(l,o,void 0,r);return this.insert(u.hostView,a),u}insert(t,n){const i=t._lView,o=i[M];if(function M0(e){return ht(e[fe])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[fe],f=new Lg(d,d[Fe],d[fe]);f.detach(f.indexOf(t))}}const r=this._adjustIndex(n),s=this._lContainer;!function qw(e,t,n,i){const o=Be+i,r=n.length;i>0&&(n[o-1][ft]=t),i<r-Be?(t[ft]=n[o],Xf(n,Be+i,t)):(n.push(t),t[ft]=null),t[fe]=n;const s=t[$i];null!==s&&n!==s&&function Zw(e,t){const n=e[zn];t[ke]!==t[fe][fe][ke]&&(e[ff]=!0),null===n?e[zn]=[t]:n.push(t)}(s,t);const a=t[Mt];null!==a&&a.insertView(e),t[L]|=64}(o,i,s,r);const a=bc(r,s),c=i[j],l=Rr(c,s[hr]);return null!==l&&function Ww(e,t,n,i,o,r){i[Ut]=o,i[Fe]=t,io(e,i,n,1,o,r)}(o,s[Fe],c,i,l,a),t.attachToViewContainerRef(),Xf(Sl(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Bg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=mc(this._lContainer,n);i&&(Ir(Sl(this._lContainer),n),Dh(i[M],i))}detach(t){const n=this._adjustIndex(t,-1),i=mc(this._lContainer,n);return i&&null!=Ir(Sl(this._lContainer),n)?new co(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Bg(e){return e[pr]}function Sl(e){return e[pr]||(e[pr]=[])}function jg(e,t){let n;const i=t[e.index];if(ht(i))n=i;else{let o;if(8&e.type)o=Te(i);else{const r=t[j];o=r.createComment("");const s=Qe(e,t);Dn(r,Rr(r,s),o,function Jw(e,t){return e.nextSibling(t)}(r,s),!1)}t[e.index]=n=Fp(i,t,o,e),Wr(t,n)}return new Lg(n,e,t)}class Tl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Tl(this.queryList)}setDirty(){this.queryList.setDirty()}}class Al{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let r=0;r<i;r++){const s=n.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new Al(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==zg(t,n).matches&&this.queries[n].setDirty()}}class Vg{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Rl{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 o=null!==n?n.length:0,r=this.getByIndex(i).embeddedTView(t,o);r&&(r.indexInDeclarationView=i,null!==n?n.push(r):n=[r])}return null!==n?new Rl(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 Ol{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 Ol(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 o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(t,n,lS(n,r)),this.matchTNodeWithReadOption(t,n,Mr(n,t,r,!1,!1))}else i===kt?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Mr(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Re||o===vt||o===kt&&4&n.type)this.addMatch(n.index,-2);else{const r=Mr(n,t,o,!1,!1);null!==r&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function lS(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 dS(e,t,n,i){return-1===n?function uS(e,t){return 11&e.type?si(e,t):4&e.type?rs(e,t):null}(t,e):-2===n?function fS(e,t,n){return n===Re?si(t,e):n===kt?rs(t,e):n===vt?jg(t,e):void 0}(e,t,i):vn(e,e[M],n,t)}function Hg(e,t,n,i){const o=t[Mt].queries[i];if(null===o.matches){const r=e.data,s=n.matches,a=[];for(let c=0;c<s.length;c+=2){const l=s[c];a.push(l<0?null:dS(t,r[l],s[c+1],n.metadata.read))}o.matches=a}return o.matches}function Fl(e,t,n,i){const o=e.queries.getByIndex(n),r=o.matches;if(null!==r){const s=Hg(e,t,o,n);for(let a=0;a<r.length;a+=2){const c=r[a];if(c>0)i.push(s[a/2]);else{const l=r[a+1],u=t[-c];for(let d=Be;d<u.length;d++){const f=u[d];f[$i]===f[fe]&&Fl(f[M],f,l,i)}if(null!==u[zn]){const d=u[zn];for(let f=0;f<d.length;f++){const h=d[f];Fl(h[M],h,l,i)}}}}}return i}function ss(e){const t=D(),n=z(),i=Sf();Ha(i+1);const o=zg(n,i);if(e.dirty&&function x0(e){return 4==(4&e[L])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const r=o.crossesNgTemplate?Fl(n,t,i,[]):Hg(n,t,o,i);e.reset(r,ZE),e.notifyOnChanges()}return!0}return!1}function as(e,t,n){const i=z();i.firstCreatePass&&(function $g(e,t,n){null===e.queries&&(e.queries=new Rl),e.queries.track(new Ol(t,n))}(i,new Vg(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),function Ug(e,t,n){const i=new Il(4==(4&n));Ip(e,t,i,i.destroy),null===t[Mt]&&(t[Mt]=new Al),t[Mt].queries.push(new Tl(i))}(i,D(),t)}function cs(){return function pS(e,t){return e[Mt].queries[t].queryList}(D(),Sf())}function zg(e,t){return e.queries.getByIndex(t)}function us(...e){}const l_=new y("Application Initializer");let ds=(()=>{class e{constructor(n){this.appInits=n,this.resolve=us,this.reject=us,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const r=this.appInits[o]();if(sl(r))n.push(r);else if(Vx(r)){const s=new Promise((a,c)=>{r.subscribe({complete:a,error:c})});n.push(s)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(m(l_,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Eo=new y("AppId",{providedIn:"root",factory:function u_(){return`${Bl()}${Bl()}${Bl()}`}});function Bl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const d_=new y("Platform Initializer"),fs=new y("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Co=new y("AnimationModuleType"),Pt=new y("LocaleId",{providedIn:"root",factory:()=>W(Pt,F.Optional|F.SkipSelf)||function NS(){return typeof $localize<"u"&&$localize.locale||Di}()}),HS=(()=>Promise.resolve(0))();function jl(e){typeof Zone>"u"?HS.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class U{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new it(!1),this.onMicrotaskEmpty=new it(!1),this.onStable=new it(!1),this.onError=new it(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function US(){let e=ae.requestAnimationFrame,t=ae.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 WS(e){const t=()=>{!function zS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ae,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Hl(e),e.isCheckStableRunning=!0,Vl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Hl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,r,s,a)=>{try{return p_(e),n.invokeTask(o,r,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&t(),m_(e)}},onInvoke:(n,i,o,r,s,a,c)=>{try{return p_(e),n.invoke(o,r,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),m_(e)}},onHasTask:(n,i,o,r)=>{n.hasTask(o,r),i===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Hl(e),Vl(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(n,i,o,r)=>(n.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!U.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(U.isInAngularZone())throw new I(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,t,$S,us,us);try{return r.runTask(s,n,i)}finally{r.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const $S={};function Vl(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 Hl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function p_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function m_(e){e._nesting--,Vl(e)}class GS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new it,this.onMicrotaskEmpty=new it,this.onStable=new it,this.onError=new it}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,o){return t.apply(n,i)}}const g_=new y(""),hs=new y("");let zl,Ul=(()=>{class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,zl||(function YS(e){zl=e}(o),o.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:()=>{U.assertNotInAngularZone(),jl(()=>{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())jl(()=>{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,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:r,updateCb:o})}whenStable(n,i,o){if(o&&!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,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(m(U),m($l),m(hs))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),$l=(()=>{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 zl?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Zt=!1;let sn=null;const __=new y("AllowMultipleToken"),Wl=new y("PlatformDestroyListeners"),qS=new y("appBootstrapListener");function v_(e,t,n=[]){const i=`Platform: ${t}`,o=new y(i);return(r=[])=>{let s=Gl();if(!s||s.injector.get(__,!1)){const a=[...n,...r,{provide:o,useValue:!0}];e?e(a):function XS(e){if(sn&&!sn.get(__,!1))throw new I(400,!1);sn=e;const t=e.get(D_);(function b_(e){const t=e.get(d_,null);t&&t.forEach(n=>n())})(e)}(function y_(e=[],t){return Ye.create({name:t,providers:[{provide:Ac,useValue:"platform"},{provide:Wl,useValue:new Set([()=>sn=null])},...e]})}(a,i))}return function JS(e){const t=Gl();if(!t)throw new I(401,!1);return t}()}}function Gl(){return sn?.get(D_)??null}let D_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const o=function E_(e,t){let n;return n="noop"===e?new GS:("zone.js"===e?void 0:e)||new U(t),n}(i?.ngZone,function w_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),r=[{provide:U,useValue:o}];return o.run(()=>{const s=Ye.create({providers:r,parent:this.injector,name:n.moduleType.name}),a=n.create(s),c=a.injector.get(Gt,null);if(!c)throw new I(402,!1);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:u=>{c.handleError(u)}});a.onDestroy(()=>{ms(this._modules,a),l.unsubscribe()})}),function C_(e,t,n){try{const i=n();return sl(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(c,o,()=>{const l=a.injector.get(ds);return l.runInitializers(),l.donePromise.then(()=>(function Zm(e){rt(e,"Expected localeId to be defined"),"string"==typeof e&&(qm=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Pt,Di)||Di),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,i=[]){const o=x_({},i);return function ZS(e,t,n){const i=new Cl(n);return Promise.resolve(i)}(0,0,n).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(n){const i=n.injector.get(ps);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new I(-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 I(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Wl,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)(m(Ye))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function x_(e,t){return Array.isArray(t)?t.reduce(x_,e):{...e,...t}}let ps=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,i,o){this._zone=n,this._injector=i,this._exceptionHandler=o,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 r=new q(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new q(a=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{U.assertNotInAngularZone(),jl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{U.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{c.unsubscribe(),l.unsubscribe()}});this.isStable=Ni(r,s.pipe(function Xd(e={}){const{connector:t=(()=>new J),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=e;return r=>{let s,a,c,l=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,u=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return le((g,_)=>{l++,!d&&!u&&f();const b=c=c??t();_.add(()=>{l--,0===l&&!d&&!u&&(a=ya(p,o))}),b.subscribe(_),!s&&l>0&&(s=new Fi({next:E=>b.next(E),error:E=>{d=!0,f(),a=ya(h,n,E),b.error(E)},complete:()=>{u=!0,f(),a=ya(h,i),b.complete()}}),Ce(g).subscribe(s))})(r)}}()))}bootstrap(n,i){const o=n instanceof np;if(!this._injector.get(ds).done){!o&&function Hi(e){const t=Q(e)||Oe(e)||ze(e);return null!==t&&t.standalone}(n);throw new I(405,Zt)}let s;s=o?n:this._injector.get(ri).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function KS(e){return e.isBoundToModule}(s)?void 0:this._injector.get(wi),l=s.create(Ye.NULL,[],i||s.selector,a),u=l.location.nativeElement,d=l.injector.get(g_,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),ms(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new I(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;ms(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(qS,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(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),()=>ms(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(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)(m(U),m(Cn),m(Gt))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ms(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let T_=(()=>{class e{}return e.__NG_ELEMENT_ID__=tT,e})();function tT(e){return function nT(e,t,n){if(Wi(e)&&!n){const i=Je(e.index,t);return new co(i,i)}return 47&e.type?new co(t[ke],t):null}(Ae(),D(),16==(16&e))}const mT=v_(null,"core",[]);let gT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(m(ps))},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})(),Xl=null;function Rn(){return Xl}class vT{}const H=new y("DocumentToken");let B_=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return function yT(){return m(j_)}()},providedIn:"platform"}),e})(),j_=(()=>{class e extends B_{constructor(n){super(),this._doc=n,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Rn().getBaseHref(this._doc)}onPopState(n){const i=Rn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){const i=Rn().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,o){V_()?this._history.pushState(n,i,o):this._location.hash=o}replaceState(n,i,o){V_()?this._history.replaceState(n,i,o):this._location.hash=o}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)(m(H))},e.\u0275prov=x({token:e,factory:function(){return function DT(){return new j_(m(H))}()},providedIn:"platform"}),e})();function V_(){return!!window.history.pushState}function H_(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 U_(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 On(e){return e&&"?"!==e[0]?"?"+e:e}let Ql=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return W(ET)},providedIn:"root"}),e})();const wT=new y("appBaseHref");let ET=(()=>{class e extends Ql{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??W(H).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 H_(this._baseHref,n)}path(n=!1){const i=this._platformLocation.pathname+On(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,r){const s=this.prepareExternalUrl(o+On(r));this._platformLocation.pushState(n,i,s)}replaceState(n,i,o,r){const s=this.prepareExternalUrl(o+On(r));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)(m(B_),m(wT,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Jl=(()=>{class e{constructor(n){this._subject=new it,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const i=this._locationStrategy.getBaseHref();this._basePath=function MT(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(U_($_(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+On(i))}normalize(n){return e.stripTrailingSlash(function xT(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,$_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+On(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+On(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._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(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}}return e.normalizeQueryParams=On,e.joinWithSlash=H_,e.stripTrailingSlash=U_,e.\u0275fac=function(n){return new(n||e)(m(Ql))},e.\u0275prov=x({token:e,factory:function(){return function CT(){return new Jl(m(Ql))}()},providedIn:"root"}),e})();function $_(e){return e.replace(/\/index.html$/,"")}function Q_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const i=n.indexOf("="),[o,r]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(o.trim()===t)return decodeURIComponent(r)}return null}let ib=(()=>{class e{constructor(n,i){this._viewContainer=n,this._context=new pA,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){ob("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){ob("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)(w(vt),w(kt))},e.\u0275dir=xe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class pA{constructor(){this.$implicit=null,this.ngIf=null}}function ob(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${re(t)}'.`)}class _A{createSubscription(t,n){return t.subscribe({next:n,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class bA{createSubscription(t,n){return t.then(n,i=>{throw i})}dispose(t){}}const vA=new bA,yA=new _A;let sb=(()=>{class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(sl(n))return vA;if(em(n))return yA;throw function wt(e,t){return new I(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return e.\u0275fac=function(n){return new(n||e)(w(T_,16))},e.\u0275pipe=$e({name:"async",type:e,pure:!1,standalone:!0}),e})(),cb=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})();const lb="browser";class db{}class mR extends vT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class gu extends mR{static makeCurrent(){!function bT(e){Xl||(Xl=e)}(new gu)}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 gR(){return To=To||document.querySelector("base"),To?To.getAttribute("href"):null}();return null==n?null:function _R(e){As=As||document.createElement("a"),As.setAttribute("href",e);const t=As.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){To=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Q_(document.cookie,t)}}let As,To=null;const gb=new y("TRANSITION_ID"),vR=[{provide:l_,useFactory:function bR(e,t,n){return()=>{n.get(ds).donePromise.then(()=>{const i=Rn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let r=0;r<o.length;r++)i.remove(o[r])})}},deps:[gb,H,Ye],multi:!0}];let DR=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const Rs=new y("EventManagerPlugins");let Os=(()=>{class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}addGlobalEventListener(n,i,o){return this._findPluginFor(i).addGlobalEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){const i=this._eventNameToPlugin.get(n);if(i)return i;const o=this._plugins;for(let r=0;r<o.length;r++){const s=o[r];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)(m(Rs),m(U))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();class _b{constructor(t){this._doc=t}addGlobalEventListener(t,n,i){const o=Rn().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,i)}}let bb=(()=>{class e{constructor(){this.usageCount=new Map}addStyles(n){for(const i of n)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(n){for(const i of n)0===this.changeUsageCount(i,-1)&&this.onStyleRemoved(i)}onStyleRemoved(n){}onStyleAdded(n){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(n,i){const o=this.usageCount;let r=o.get(n)??0;return r+=i,r>0?o.set(n,r):o.delete(n),r}ngOnDestroy(){for(const n of this.getAllStyles())this.onStyleRemoved(n);this.usageCount.clear()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),Ao=(()=>{class e extends bb{constructor(n){super(),this.doc=n,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(n){for(const i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){const i=this.styleRef;i.get(n)?.forEach(r=>r.remove()),i.delete(n)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}addStyleToHost(n,i){const o=this.doc.createElement("style");o.textContent=i,n.appendChild(o);const r=this.styleRef.get(i);r?r.push(o):this.styleRef.set(i,[o])}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(m(H))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const _u={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/"},bu=/%COMP%/g,Db=new y("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function wb(e,t){return t.flat(100).map(n=>n.replace(bu,e))}function Eb(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let vu=(()=>{class e{constructor(n,i,o,r){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestory=r,this.rendererByCompId=new Map,this.defaultRenderer=new yu(n)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,i);return o instanceof Mb?o.applyToHost(n):o instanceof Du&&o.applyStyles(),o}getOrCreateRenderer(n,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const s=this.eventManager,a=this.sharedStylesHost,c=this.removeStylesOnCompDestory;switch(i.encapsulation){case xt.Emulated:r=new Mb(s,a,i,this.appId,c);break;case xt.ShadowDom:return new SR(s,a,n,i);default:r=new Du(s,a,i,c)}r.onDestroy=()=>o.delete(i.id),o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(m(Os),m(Ao),m(Eo),m(Db))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();class yu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(_u[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(xb(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(xb(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,o){if(o){n=o+":"+n;const r=_u[o];r?t.setAttributeNS(r,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const o=_u[i];o?t.removeAttributeNS(o,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,o){o&(We.DashCase|We.Important)?t.style.setProperty(n,i,o&We.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&We.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,Eb(i)):this.eventManager.addEventListener(t,n,Eb(i))}}function xb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class SR extends yu{constructor(t,n,i,o){super(t),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=wb(o.id,o.styles);for(const s of r){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}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)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Du extends yu{constructor(t,n,i,o,r=i.id){super(t),this.sharedStylesHost=n,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=wb(r,i.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class Mb extends Du{constructor(t,n,i,o,r){const s=o+"-"+i.id;super(t,n,i,r,s),this.contentAttr=function xR(e){return"_ngcontent-%COMP%".replace(bu,e)}(s),this.hostAttr=function MR(e){return"_nghost-%COMP%".replace(bu,e)}(s)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}}let TR=(()=>{class e extends _b{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}}return e.\u0275fac=function(n){return new(n||e)(m(H))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const Ib=["alt","control","meta","shift"],AR={"\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"},RR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let OR=(()=>{class e extends _b{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,i,o){const r=e.parseEventName(i),s=e.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rn().onAndCancel(n,r.domEventName,s))}static parseEventName(n){const i=n.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Ib.forEach(l=>{const u=i.indexOf(l);u>-1&&(i.splice(u,1),s+=l+".")}),s+=r,0!=i.length||0===r.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,i){let o=AR[n.key]||n.key,r="";return i.indexOf("code.")>-1&&(o=n.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Ib.forEach(s=>{s!==o&&(0,RR[s])(n)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(n,i,o){return r=>{e.matchEventFullKeyCode(r,n)&&o.runGuarded(()=>i(r))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(m(H))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const NR=v_(mT,"browser",[{provide:fs,useValue:lb},{provide:d_,useValue:function FR(){gu.makeCurrent()},multi:!0},{provide:H,useFactory:function PR(){return function aE(e){wc=e}(document),document},deps:[]}]),Ab=new y(""),Rb=[{provide:hs,useClass:class yR{addToWindow(t){ae.getAngularTestability=(i,o=!0)=>{const r=t.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},ae.getAllAngularTestabilities=()=>t.getAllTestabilities(),ae.getAllAngularRootElements=()=>t.getAllRootElements(),ae.frameworkStabilizers||(ae.frameworkStabilizers=[]),ae.frameworkStabilizers.push(i=>{const o=ae.getAllAngularTestabilities();let r=o.length,s=!1;const a=function(c){s=s||c,r--,0==r&&i(s)};o.forEach(function(c){c.whenStable(a)})})}findTestabilityInTree(t,n,i){return null==n?null:t.getTestability(n)??(i?Rn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:g_,useClass:Ul,deps:[U,$l,hs]},{provide:Ul,useClass:Ul,deps:[U,$l,hs]}],Ob=[{provide:Ac,useValue:"root"},{provide:Gt,useFactory:function kR(){return new Gt},deps:[]},{provide:Rs,useClass:TR,multi:!0,deps:[H,U,fs]},{provide:Rs,useClass:OR,multi:!0,deps:[H]},{provide:vu,useClass:vu,deps:[Os,Ao,Eo,Db]},{provide:op,useExisting:vu},{provide:bb,useExisting:Ao},{provide:Ao,useClass:Ao,deps:[H]},{provide:Os,useClass:Os,deps:[Rs,U]},{provide:db,useClass:DR,deps:[]},[]];let LR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Eo,useValue:n.appId},{provide:gb,useExisting:Eo},vR]}}}return e.\u0275fac=function(n){return new(n||e)(m(Ab,12))},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({providers:[...Ob,...Rb],imports:[cb,gT]}),e})();function Nt(...e){return Pi(e,ki(e))}function Et(e,t){return le((n,i)=>{let o=0;n.subscribe(oe(i,r=>e.call(t,r,o++)&&i.next(r)))})}typeof window<"u"&&window;class Fs{}class xu{}class Xt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const i=n.indexOf(":");if(i>0){const o=n.slice(0,i),r=o.toLowerCase(),s=n.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let i=t[n];const o=n.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(o,i),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Xt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Xt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Xt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...i),this.headers.set(n,o);break;case"d":const r=t.value;if(r){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===r.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class GR{encodeKey(t){return Nb(t)}encodeValue(t){return Nb(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const qR=/%(\d[a-f0-9])/gi,ZR={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Nb(e){return encodeURIComponent(e).replace(qR,(t,n)=>ZR[n]??t)}function ks(e){return`${e}`}class cn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new GR,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function YR(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,a]=-1==r?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,r)),t.decodeValue(o.slice(r+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const i=t.fromObject[n],o=Array.isArray(i)?i.map(ks):[ks(i)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(i=>{const o=t[i];Array.isArray(o)?o.forEach(r=>{n.push({param:i,value:r,op:"a"})}):n.push({param:i,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new cn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(ks(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const o=i.indexOf(ks(t.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class KR{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Lb(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Bb(e){return typeof Blob<"u"&&e instanceof Blob}function jb(e){return typeof FormData<"u"&&e instanceof FormData}class Ro{constructor(t,n,i,o){let r;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function XR(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new Xt),this.context||(this.context=new KR),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new cn,this.urlWithParams=n}serializeBody(){return null===this.body?null:Lb(this.body)||Bb(this.body)||jb(this.body)||function QR(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof cn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||jb(this.body)?null:Bb(this.body)?this.body.type||null:Lb(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof cn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,i=t.url||this.url,o=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let c=t.headers||this.headers,l=t.params||this.params;const u=t.context??this.context;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new Ro(n,i,r,{params:l,headers:c,context:u,reportProgress:a,responseType:o,withCredentials:s})}}var we=(()=>((we=we||{})[we.Sent=0]="Sent",we[we.UploadProgress=1]="UploadProgress",we[we.ResponseHeader=2]="ResponseHeader",we[we.DownloadProgress=3]="DownloadProgress",we[we.Response=4]="Response",we[we.User=5]="User",we))();class Mu{constructor(t,n=200,i="OK"){this.headers=t.headers||new Xt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Iu extends Mu{constructor(t={}){super(t),this.type=we.ResponseHeader}clone(t={}){return new Iu({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ps extends Mu{constructor(t={}){super(t),this.type=we.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ps({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Vb extends Mu{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Su(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Oo=(()=>{class e{constructor(n){this.handler=n}request(n,i,o={}){let r;if(n instanceof Ro)r=n;else{let c,l;c=o.headers instanceof Xt?o.headers:new Xt(o.headers),o.params&&(l=o.params instanceof cn?o.params:new cn({fromObject:o.params})),r=new Ro(n,i,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=Nt(r).pipe(function WR(e,t){return $(t)?mn(e,t,1):mn(e,1)}(c=>this.handler.handle(c)));if(n instanceof Ro||"events"===o.observe)return s;const a=s.pipe(Et(c=>c instanceof Ps));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(pe(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(pe(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(pe(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return a.pipe(pe(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:(new cn).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Su(o,i))}post(n,i,o={}){return this.request("POST",n,Su(o,i))}put(n,i,o={}){return this.request("PUT",n,Su(o,i))}}return e.\u0275fac=function(n){return new(n||e)(m(Fs))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();function Hb(e,t){return t(e)}function JR(e,t){return(n,i)=>t.intercept(n,{handle:o=>e(o,i)})}const tO=new y("HTTP_INTERCEPTORS"),Fo=new y("HTTP_INTERCEPTOR_FNS");function nO(){let e=null;return(t,n)=>(null===e&&(e=(W(tO,{optional:!0})??[]).reduceRight(JR,Hb)),e(t,n))}let Ub=(()=>{class e extends Fs{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null}handle(n){if(null===this.chain){const i=Array.from(new Set(this.injector.get(Fo)));this.chain=i.reduceRight((o,r)=>function eO(e,t,n){return(i,o)=>n.runInContext(()=>t(i,r=>e(r,o)))}(o,r,this.injector),Hb)}return this.chain(n,i=>this.backend.handle(i))}}return e.\u0275fac=function(n){return new(n||e)(m(xu),m(Cn))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const sO=/^\)\]\}',?\n/;let zb=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new q(i=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,p)=>o.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const r=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=o.statusText||"OK",p=new Xt(o.getAllResponseHeaders()),g=function aO(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Iu({headers:p,status:o.status,statusText:h,url:g}),s},c=()=>{let{headers:h,status:p,statusText:g,url:_}=a(),b=null;204!==p&&(b=typeof o.response>"u"?o.responseText:o.response),0===p&&(p=b?200:0);let E=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof b){const v=b;b=b.replace(sO,"");try{b=""!==b?JSON.parse(b):null}catch(T){b=v,E&&(E=!1,b={error:T,text:b})}}E?(i.next(new Ps({body:b,headers:h,status:p,statusText:g,url:_||void 0})),i.complete()):i.error(new Vb({error:b,headers:h,status:p,statusText:g,url:_||void 0}))},l=h=>{const{url:p}=a(),g=new Vb({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:p||void 0});i.error(g)};let u=!1;const d=h=>{u||(i.next(a()),u=!0);let p={type:we.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&o.responseText&&(p.partialText=o.responseText),i.next(p)},f=h=>{let p={type:we.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),i.next(p)};return o.addEventListener("load",c),o.addEventListener("error",l),o.addEventListener("timeout",l),o.addEventListener("abort",l),n.reportProgress&&(o.addEventListener("progress",d),null!==r&&o.upload&&o.upload.addEventListener("progress",f)),o.send(r),i.next({type:we.Sent}),()=>{o.removeEventListener("error",l),o.removeEventListener("abort",l),o.removeEventListener("load",c),o.removeEventListener("timeout",l),n.reportProgress&&(o.removeEventListener("progress",d),null!==r&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(m(db))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const Tu=new y("XSRF_ENABLED"),Wb=new y("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Gb=new y("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Yb{}let uO=(()=>{class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Q_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(m(H),m(fs),m(Wb))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();function dO(e,t){const n=e.url.toLowerCase();if(!W(Tu)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const i=W(Yb).getToken(),o=W(Gb);return null!=i&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,i)})),t(e)}var be=(()=>((be=be||{})[be.Interceptors=0]="Interceptors",be[be.LegacyInterceptors=1]="LegacyInterceptors",be[be.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",be[be.NoXsrfProtection=3]="NoXsrfProtection",be[be.JsonpSupport=4]="JsonpSupport",be[be.RequestsMadeViaParent=5]="RequestsMadeViaParent",be))();function xi(e,t){return{\u0275kind:e,\u0275providers:t}}function fO(...e){const t=[Oo,zb,Ub,{provide:Fs,useExisting:Ub},{provide:xu,useExisting:zb},{provide:Fo,useValue:dO,multi:!0},{provide:Tu,useValue:!0},{provide:Yb,useClass:uO}];for(const n of e)t.push(...n.\u0275providers);return function PE(e){return{\u0275providers:e}}(t)}const qb=new y("LEGACY_INTERCEPTOR_FN");let Zb=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({providers:[fO(xi(be.LegacyInterceptors,[{provide:qb,useFactory:nO},{provide:Fo,useExisting:qb,multi:!0}]))]}),e})();class Ns extends J{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)}}class pO extends Le{constructor(t,n){super()}schedule(t,n=0){return this}}const Ls={setInterval(e,t,...n){const{delegate:i}=Ls;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Ls;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class Bs extends pO{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 o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,n),this}requestAsyncId(t,n,i=0){return Ls.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&&Ls.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 o,i=!1;try{this.work(t)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,jn(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}const Kb={now:()=>(Kb.delegate||Date).now(),delegate:void 0};class ko{constructor(t,n=ko.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}ko.now=Kb.now;class js extends ko{constructor(t,n=ko.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}}}const _O=new class gO extends js{}(class mO extends Bs{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,i=0){return null!=i&&i>0||null==i&&this.delay>0?super.requestAsyncId(t,n,i):(t.flush(this),0)}});function Xb(e,t=hn){return e=e??wO,le((n,i)=>{let o,r=!0;n.subscribe(oe(i,s=>{const a=t(s);(r||!e(o,a))&&(r=!1,o=a,i.next(s))}))})}function wO(e,t){return e===t}const Po={};function Vs(e,t){if(Po[e]=(Po[e]||0)+1,"function"==typeof t)return Ru(e,(...i)=>({...t(...i),type:e}));switch(t?t._as:"empty"){case"empty":return Ru(e,()=>({type:e}));case"props":return Ru(e,i=>({...i,type:e}));default:throw new Error("Unexpected config.")}}function Ru(e,t){return Object.defineProperty(t,"type",{value:e,writable:!1})}const Qb="@ngrx/store/init";let Fn=(()=>{class e extends Ns{constructor(){super({type:Qb})}next(n){if("function"==typeof n)throw new TypeError("\n        Dispatch expected an object, instead it received a function.\n        If you're using the createAction function, make sure to invoke the function\n        before dispatching the action. For example, someAction should be someAction().");if(typeof n>"u")throw new TypeError("Actions must be objects");if(typeof n.type>"u")throw new TypeError("Actions must have a type property");super.next(n)}complete(){}ngOnDestroy(){super.complete()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const xO=[Fn],Fu=new y("@ngrx/store Internal Root Guard"),Jb=new y("@ngrx/store Internal Initial State"),ku=new y("@ngrx/store Initial State"),ev=new y("@ngrx/store Reducer Factory"),tv=new y("@ngrx/store Internal Reducer Factory Provider"),nv=new y("@ngrx/store Initial Reducers"),Pu=new y("@ngrx/store Internal Initial Reducers"),iv=new y("@ngrx/store Store Features"),ov=new y("@ngrx/store Internal Store Reducers"),Nu=new y("@ngrx/store Internal Feature Reducers"),rv=new y("@ngrx/store Internal Feature Configs"),Lu=new y("@ngrx/store Internal Store Features"),sv=new y("@ngrx/store Internal Feature Reducers Token"),Bu=new y("@ngrx/store Feature Reducers"),av=new y("@ngrx/store User Provided Meta Reducers"),Hs=new y("@ngrx/store Meta Reducers"),cv=new y("@ngrx/store Internal Resolved Meta Reducers"),lv=new y("@ngrx/store User Runtime Checks Config"),uv=new y("@ngrx/store Internal User Runtime Checks Config"),No=new y("@ngrx/store Internal Runtime Checks"),Lo=new y("@ngrx/store Check if Action types are unique");function Vu(e,t={}){const n=Object.keys(e),i={};for(let r=0;r<n.length;r++){const s=n[r];"function"==typeof e[s]&&(i[s]=e[s])}const o=Object.keys(i);return function(s,a){s=void 0===s?t:s;let c=!1;const l={};for(let u=0;u<o.length;u++){const d=o[u],h=s[d],p=(0,i[d])(h,a);l[d]=p,c=c||p!==h}return c?l:s}}function fv(...e){return function(t){if(0===e.length)return t;const n=e[e.length-1];return e.slice(0,-1).reduceRight((o,r)=>r(o),n(t))}}function hv(e,t){return Array.isArray(t)&&t.length>0&&(e=fv.apply(null,[...t,e])),(n,i)=>{const o=e(n);return(r,s)=>o(r=void 0===r?i:r,s)}}new y("@ngrx/store Root Store Provider"),new y("@ngrx/store Feature State Provider");class Us extends q{}class pv extends Fn{}let Bo=(()=>{class e extends Ns{constructor(n,i,o,r){super(r(o,i)),this.dispatcher=n,this.initialState=i,this.reducers=o,this.reducerFactory=r}get currentReducers(){return this.reducers}addFeature(n){this.addFeatures([n])}addFeatures(n){const i=n.reduce((o,{reducers:r,reducerFactory:s,metaReducers:a,initialState:c,key:l})=>{const u="function"==typeof r?function IO(e){const t=Array.isArray(e)&&e.length>0?fv(...e):n=>n;return(n,i)=>(n=t(n),(o,r)=>n(o=void 0===o?i:o,r))}(a)(r,c):hv(s,a)(r,c);return o[l]=u,o},{});this.addReducers(i)}removeFeature(n){this.removeFeatures([n])}removeFeatures(n){this.removeReducers(n.map(i=>i.key))}addReducer(n,i){this.addReducers({[n]:i})}addReducers(n){this.reducers={...this.reducers,...n},this.updateReducers(Object.keys(n))}removeReducer(n){this.removeReducers([n])}removeReducers(n){n.forEach(i=>{this.reducers=function MO(e,t){return Object.keys(e).filter(n=>n!==t).reduce((n,i)=>Object.assign(n,{[i]:e[i]}),{})}(this.reducers,i)}),this.updateReducers(n)}updateReducers(n){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:"@ngrx/store/update-reducers",features:n})}ngOnDestroy(){this.complete()}}return e.\u0275fac=function(n){return new(n||e)(m(pv),m(ku),m(nv),m(ev))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const TO=[Bo,{provide:Us,useExisting:Bo},{provide:pv,useExisting:Fn}];let jo=(()=>{class e extends J{ngOnDestroy(){this.complete()}}return e.\u0275fac=function(){let t;return function(i){return(t||(t=function qf(e){return Bt(()=>{const t=e.prototype.constructor,n=t[Vt]||Xa(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[Vt]||Xa(o);if(r&&r!==n)return r;o=Object.getPrototypeOf(o)}return r=>new r})}(e)))(i||e)}}(),e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const AO=[jo];class mv extends q{}let gv=(()=>{class e extends Ns{constructor(n,i,o,r){super(r);const a=n.pipe(va(_O)).pipe(function bO(...e){const t=ba(e);return le((n,i)=>{const o=e.length,r=new Array(o);let s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)Ce(e[c]).subscribe(oe(i,l=>{r[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(hn))&&(s=null))},Oi));n.subscribe(oe(i,c=>{if(a){const l=[c,...r];i.next(t?t(...l):l)}}))})}(i)),l=a.pipe(function yO(e,t){return le(function vO(e,t,n,i,o){return(r,s)=>{let a=n,c=t,l=0;r.subscribe(oe(s,u=>{const d=l++;c=a?e(c,u,d):(a=!0,u),i&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}(e,t,arguments.length>=2,!0))}(RO,{state:r}));this.stateSubscription=l.subscribe(({state:u,action:d})=>{this.next(u),o.next(d)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return e.INIT=Qb,e.\u0275fac=function(n){return new(n||e)(m(Fn),m(Us),m(jo),m(ku))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();function RO(e={state:void 0},[t,n]){const{state:i}=e;return{state:n(i,t),action:t}}const OO=[gv,{provide:mv,useExisting:gv}];let kn=(()=>{class e extends q{constructor(n,i,o){super(),this.actionsObserver=i,this.reducerManager=o,this.source=n}select(n,...i){return kO.call(null,n,...i)(this)}lift(n){const i=new e(this,this.actionsObserver,this.reducerManager);return i.operator=n,i}dispatch(n){this.actionsObserver.next(n)}next(n){this.actionsObserver.next(n)}error(n){this.actionsObserver.error(n)}complete(){this.actionsObserver.complete()}addReducer(n,i){this.reducerManager.addReducer(n,i)}removeReducer(n){this.reducerManager.removeReducer(n)}}return e.\u0275fac=function(n){return new(n||e)(m(mv),m(Fn),m(Bo))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const FO=[kn];function kO(e,t,...n){return function(o){let r;if("string"==typeof e){const s=[t,...n].filter(Boolean);r=o.pipe(function DO(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return pe(n=>{let i=n;for(let o=0;o<t;o++){const r=i?.[e[o]];if(!(typeof r<"u"))return;i=r}return i})}(e,...s))}else{if("function"!=typeof e)throw new TypeError(`Unexpected type '${typeof e}' in select operator, expected 'string' or 'function'`);r=o.pipe(pe(s=>e(s,t)))}return r.pipe(Xb())}}const Hu="https://ngrx.io/guide/store/configuration/runtime-checks";function _v(e){return void 0===e}function bv(e){return null===e}function vv(e){return Array.isArray(e)}function yv(e){return"object"==typeof e&&null!==e}function Uu(e){return"function"==typeof e}function $u(e,t){return e===t}function zu(e,t=$u,n=$u){let r,i=null,o=null;return{memoized:function l(){if(void 0!==r)return r.result;if(!i)return o=e.apply(null,arguments),i=arguments,o;if(!function UO(e,t,n){for(let i=0;i<e.length;i++)if(!n(e[i],t[i]))return!0;return!1}(arguments,i,t))return o;const u=e.apply(null,arguments);return i=arguments,n(o,u)?o:(o=u,u)},reset:function s(){i=null,o=null},setResult:function a(u){r={result:u}},clearResult:function c(){r=void 0}}}function Wu(...e){return function zO(e,t={stateFn:$O}){return function(...n){let i=n;if(Array.isArray(i[0])){const[u,...d]=i;i=[...u,...d]}else 1===i.length&&function WO(e){return!!e&&"object"==typeof e&&Object.values(e).every(t=>"function"==typeof t)}(i[0])&&(i=function GO(e){const t=Object.values(e),n=Object.keys(e);return[...t,(...o)=>n.reduce((r,s,a)=>({...r,[s]:o[a]}),{})]}(i[0]));const o=i.slice(0,i.length-1),r=i[i.length-1],s=o.filter(u=>u.release&&"function"==typeof u.release),a=e(function(...u){return r.apply(null,u)}),c=zu(function(u,d){return t.stateFn.apply(null,[u,o,d,a])});return Object.assign(c.memoized,{release:function l(){c.reset(),a.reset(),s.forEach(u=>u.release())},projector:a.memoized,setResult:c.setResult,clearResult:c.clearResult})}}(zu)(...e)}function $O(e,t,n,i){if(void 0===n){const r=t.map(s=>s(e));return i.memoized.apply(null,r)}const o=t.map(r=>r(e,n));return i.memoized.apply(null,[...o,n])}function ZO(e){return e instanceof y?W(e):e}function KO(e,t){return t.map((n,i)=>{if(e[i]instanceof y){const o=W(e[i]);return{key:n.key,reducerFactory:o.reducerFactory?o.reducerFactory:Vu,metaReducers:o.metaReducers?o.metaReducers:[],initialState:o.initialState}}return n})}function XO(e){return e.map(t=>t instanceof y?W(t):t)}function Gu(e){return"function"==typeof e?e():e}function QO(e,t){return e.concat(t)}function JO(){if(W(kn,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Yu(e){Object.freeze(e);const t=Uu(e);return Object.getOwnPropertyNames(e).forEach(n=>{if(!n.startsWith("\u0275")&&function VO(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,n)&&(!t||"caller"!==n&&"callee"!==n&&"arguments"!==n)){const i=e[n];(yv(i)||Uu(i))&&!Object.isFrozen(i)&&Yu(i)}}),e}function qu(e,t=[]){return(_v(e)||bv(e))&&0===t.length?{path:["root"],value:e}:Object.keys(e).reduce((i,o)=>{if(i)return i;const r=e[o];return function jO(e){return Uu(e)&&e.hasOwnProperty("\u0275cmp")}(r)?i:!(_v(r)||bv(r)||function LO(e){return"number"==typeof e}(r)||function NO(e){return"boolean"==typeof e}(r)||function PO(e){return"string"==typeof e}(r)||vv(r))&&(function Dv(e){if(!function BO(e){return yv(e)&&!vv(e)}(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}(r)?qu(r,[...t,o]):{path:[...t,o],value:r})},!1)}function Cv(e,t){if(!1===e)return;const n=e.path.join("."),i=new Error(`Detected unserializable ${t} at "${n}". ${Hu}#strict${t}serializability`);throw i.value=e.value,i.unserializablePath=n,i}function iF(e){return{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function oF({strictActionSerializability:e,strictStateSerializability:t}){return n=>e||t?function tF(e,t){return function(n,i){t.action(i)&&Cv(qu(i),"action");const o=e(n,i);return t.state()&&Cv(qu(o),"state"),o}}(n,{action:i=>e&&!Zu(i),state:()=>t}):n}function rF({strictActionImmutability:e,strictStateImmutability:t}){return n=>e||t?function eF(e,t){return function(n,i){const o=t.action(i)?Yu(i):i,r=e(n,o);return t.state()?Yu(r):r}}(n,{action:i=>e&&!Zu(i),state:()=>t}):n}function Zu(e){return e.type.startsWith("@ngrx")}function sF({strictActionWithinNgZone:e}){return t=>e?function nF(e,t){return function(n,i){if(t.action(i)&&!U.isInAngularZone())throw new Error(`Action '${i.type}' running outside NgZone. ${Hu}#strictactionwithinngzone`);return e(n,i)}}(t,{action:n=>e&&!Zu(n)}):t}function aF(e){return[{provide:uv,useValue:e},{provide:lv,useFactory:cF,deps:[uv]},{provide:No,deps:[lv],useFactory:iF},{provide:Hs,multi:!0,deps:[No],useFactory:rF},{provide:Hs,multi:!0,deps:[No],useFactory:oF},{provide:Hs,multi:!0,deps:[No],useFactory:sF}]}function xv(){return[{provide:Lo,multi:!0,deps:[No],useFactory:lF}]}function cF(e){return e}function lF(e){if(!e.strictActionTypeUniqueness)return;const t=Object.entries(Po).filter(([,n])=>n>1).map(([n])=>n);if(t.length)throw new Error(`Action types are registered more than once, ${t.map(n=>`"${n}"`).join(", ")}. ${Hu}#strictactiontypeuniqueness`)}function Mv(e={},t={}){return[{provide:Fu,useFactory:JO},{provide:Jb,useValue:t.initialState},{provide:ku,useFactory:Gu,deps:[Jb]},{provide:Pu,useValue:e},{provide:ov,useExisting:e instanceof y?e:Pu},{provide:nv,deps:[Pu,[new ei(ov)]],useFactory:ZO},{provide:av,useValue:t.metaReducers?t.metaReducers:[]},{provide:cv,deps:[Hs,av],useFactory:QO},{provide:tv,useValue:t.reducerFactory?t.reducerFactory:Vu},{provide:ev,deps:[tv,cv],useFactory:hv},xO,TO,AO,OO,FO,aF(t.runtimeChecks),xv()]}function Iv(e,t,n={}){return[{provide:rv,multi:!0,useValue:e instanceof Object?{}:n},{provide:iv,multi:!0,useValue:{key:e instanceof Object?e.name:e,reducerFactory:n instanceof y||!n.reducerFactory?Vu:n.reducerFactory,metaReducers:n instanceof y||!n.metaReducers?[]:n.metaReducers,initialState:n instanceof y||!n.initialState?void 0:n.initialState}},{provide:Lu,deps:[rv,iv],useFactory:KO},{provide:Nu,multi:!0,useValue:e instanceof Object?e.reducer:t},{provide:sv,multi:!0,useExisting:t instanceof y?t:Nu},{provide:Bu,multi:!0,deps:[Nu,[new ei(sv)]],useFactory:XO},xv()]}let $s=(()=>{class e{constructor(n,i,o,r,s,a){}}return e.\u0275fac=function(n){return new(n||e)(m(Fn),m(Us),m(jo),m(kn),m(Fu,8),m(Lo,8))},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})(),Ku=(()=>{class e{constructor(n,i,o,r,s){this.features=n,this.featureReducers=i,this.reducerManager=o;const a=n.map((c,l)=>{const d=i.shift()[l];return{...c,reducers:d,initialState:Gu(c.initialState)}});o.addFeatures(a)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return e.\u0275fac=function(n){return new(n||e)(m(Lu),m(Bu),m(Bo),m($s),m(Lo,8))},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})(),Sv=(()=>{class e{static forRoot(n,i){return{ngModule:$s,providers:[...Mv(n,i)]}}static forFeature(n,i,o={}){return{ngModule:Ku,providers:[...Iv(n,i,o)]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})();class Qt{constructor(t,n,i){this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}observe(t){return Av(this,t)}do(t,n,i){const{kind:o,value:r,error:s}=this;return"N"===o?t?.(r):"E"===o?n?.(s):i?.()}accept(t,n,i){var o;return $(null===(o=t)||void 0===o?void 0:o.next)?this.observe(t):this.do(t,n,i)}toObservable(){const{kind:t,value:n,error:i}=this,o="N"===t?Nt(n):"E"===t?function Tv(e,t){const n=$(e)?e:()=>e,i=o=>o.error(n());return new q(t?o=>t.schedule(i,0,o):i)}(()=>i):"C"===t?tr:0;if(!o)throw new TypeError(`Unexpected notification kind ${t}`);return o}static createNext(t){return new Qt("N",t)}static createError(t){return new Qt("E",void 0,t)}static createComplete(){return Qt.completeNotification}}function Av(e,t){var n,i,o;const{kind:r,value:s,error:a}=e;if("string"!=typeof r)throw new TypeError('Invalid notification, missing "kind"');"N"===r?null===(n=t.next)||void 0===n||n.call(t,s):"E"===r?null===(i=t.error)||void 0===i||i.call(t,a):null===(o=t.complete)||void 0===o||o.call(t)}function Xu(e){return le((t,n)=>{let r,i=null,o=!1;i=t.subscribe(oe(n,void 0,void 0,s=>{r=Ce(e(s,Xu(e)(t))),i?(i.unsubscribe(),i=null,r.subscribe(n)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(n))})}function Rv(e,t,n,i){return le((o,r)=>{let s;t&&"function"!=typeof t?({duration:n,element:s,connector:i}=t):s=t;const a=new Map,c=p=>{a.forEach(p),p(r)},l=p=>c(g=>g.error(p));let u=0,d=!1;const f=new kd(r,p=>{try{const g=e(p);let _=a.get(g);if(!_){a.set(g,_=i?i():new J);const b=function h(p,g){const _=new q(b=>{u++;const E=g.subscribe(b);return()=>{E.unsubscribe(),0==--u&&d&&f.unsubscribe()}});return _.key=p,_}(g,_);if(r.next(b),n){const E=oe(_,()=>{_.complete(),E?.unsubscribe()},void 0,void 0,()=>a.delete(g));f.add(Ce(n(b)).subscribe(E))}}_.next(s?s(p):p)}catch(g){l(g)}},()=>c(p=>p.complete()),l,()=>a.clear(),()=>(d=!0,0===u));o.subscribe(f)})}function Ov(e,t){return t?n=>n.pipe(Ov((i,o)=>Ce(e(i,o)).pipe(pe((r,s)=>t(i,r,o,s))))):le((n,i)=>{let o=0,r=null,s=!1;n.subscribe(oe(i,a=>{r||(r=oe(i,void 0,()=>{r=null,s&&i.complete()}),Ce(e(a,o++)).subscribe(r))},()=>{s=!0,!r&&i.complete()}))})}function Pn(e){return e<=0?()=>tr:le((t,n)=>{let i=0;t.subscribe(oe(n,o=>{++i<=e&&(n.next(o),e<=i&&n.complete())}))})}Qt.completeNotification=new Qt("C");const vF={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},zs="__@ngrx/effects_create__";function kv(e){return Object.getPrototypeOf(e)}function Qu(e){return"function"==typeof e}function Ju(e){return e.filter(Qu)}function EF(e,t,n){const i=kv(e).constructor.name,o=function Fv(e){return function DF(e){return Object.getOwnPropertyNames(e).filter(i=>!(!e[i]||!e[i].hasOwnProperty(zs))&&e[i][zs].hasOwnProperty("dispatch")).map(i=>({propertyName:i,...e[i][zs]}))}(e)}(e).map(({propertyName:r,dispatch:s,useEffectsErrorHandler:a})=>{const c="function"==typeof e[r]?e[r]():e[r],l=a?n(c,t):c;return!1===s?l.pipe(function gF(){return le((e,t)=>{e.subscribe(oe(t,Oi))})}()):l.pipe(function _F(){return le((e,t)=>{e.subscribe(oe(t,n=>{t.next(Qt.createNext(n))},()=>{t.next(Qt.createComplete()),t.complete()},n=>{t.next(Qt.createError(n)),t.complete()}))})}()).pipe(pe(d=>({effect:e[r],notification:d,propertyName:r,sourceName:i,sourceInstance:e})))});return Ni(...o)}const CF=10;function Pv(e,t,n=CF){return e.pipe(Xu(i=>(t&&t.handleError(i),n<=1?e:Pv(e,t,n-1))))}let xF=(()=>{class e extends q{constructor(n){super(),n&&(this.source=n)}lift(n){const i=new e;return i.source=this,i.operator=n,i}}return e.\u0275fac=function(n){return new(n||e)(m(jo))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Nv=new y("@ngrx/effects Internal Root Guard"),Ws=new y("@ngrx/effects User Provided Effects"),ed=new y("@ngrx/effects Internal Root Effects"),Lv=new y("@ngrx/effects Internal Root Effects Instances"),Bv=new y("@ngrx/effects Internal Feature Effects"),jv=new y("@ngrx/effects Internal Feature Effects Instance Groups"),IF=new y("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>Pv}),Vv="@ngrx/effects/init";Vs(Vv);const FF="ngrxOnIdentifyEffects",LF="ngrxOnInitEffects";function BF(e){return td(e,LF)}function td(e,t){return e&&t in e&&"function"==typeof e[t]}let nd=(()=>{class e extends J{constructor(n,i){super(),this.errorHandler=n,this.effectsErrorHandler=i}addEffects(n){this.next(n)}toActions(){return this.pipe(Rv(n=>function wF(e){return"Object"!==e.constructor.name&&"Function"!==e.constructor.name}(n)?kv(n):n),mn(n=>n.pipe(Rv(jF))),mn(n=>{const i=n.pipe(Ov(r=>function VF(e,t){return n=>{const i=EF(n,e,t);return function NF(e){return td(e,"ngrxOnRunEffects")}(n)?n.ngrxOnRunEffects(i):i}}(this.errorHandler,this.effectsErrorHandler)(r)),pe(r=>(function TF(e,t){if("N"===e.notification.kind){const n=e.notification.value;!function AF(e){return"function"!=typeof e&&e&&e.type&&"string"==typeof e.type}(n)&&t.handleError(new Error(`Effect ${function RF({propertyName:e,sourceInstance:t,sourceName:n}){const i="function"==typeof t[e];return`"${n}.${String(e)}${i?"()":""}"`}(e)} dispatched an invalid action: ${function OF(e){try{return JSON.stringify(e)}catch{return e}}(n)}`))}}(r,this.errorHandler),r.notification)),Et(r=>"N"===r.kind&&null!=r.value),function bF(){return le((e,t)=>{e.subscribe(oe(t,n=>Av(n,t)))})}());return Ni(i,n.pipe(Pn(1),Et(BF),pe(r=>r.ngrxOnInitEffects())))}))}}return e.\u0275fac=function(n){return new(n||e)(m(Gt),m(IF))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function jF(e){return function kF(e){return td(e,FF)}(e)?e.ngrxOnIdentifyEffects():""}let id=(()=>{class e{constructor(n,i){this.effectSources=n,this.store=i,this.effectsSubscription=null}get isStarted(){return!!this.effectsSubscription}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return e.\u0275fac=function(n){return new(n||e)(m(nd),m(kn))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Hv=(()=>{class e{constructor(n,i,o,r,s,a,c){this.sources=n,i.start();for(const l of r)n.addEffects(l);o.dispatch({type:Vv})}addEffects(n){this.sources.addEffects(n)}}return e.\u0275fac=function(n){return new(n||e)(m(nd),m(id),m(kn),m(Lv),m($s,8),m(Ku,8),m(Nv,8))},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})(),HF=(()=>{class e{constructor(n,i,o,r){const s=i.flat();for(const a of s)n.addEffects(a)}}return e.\u0275fac=function(n){return new(n||e)(m(Hv),m(jv),m($s,8),m(Ku,8))},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})(),Uv=(()=>{class e{static forFeature(...n){const i=n.flat(),o=Ju(i);return{ngModule:HF,providers:[o,{provide:Bv,multi:!0,useValue:i},{provide:Ws,multi:!0,useValue:[]},{provide:jv,multi:!0,useFactory:$v,deps:[Bv,Ws]}]}}static forRoot(...n){const i=n.flat(),o=Ju(i);return{ngModule:Hv,providers:[o,{provide:ed,useValue:[i]},{provide:Nv,useFactory:UF},{provide:Ws,multi:!0,useValue:[]},{provide:Lv,useFactory:$v,deps:[ed,Ws]}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})();function $v(e,t){const n=[];for(const i of e)n.push(...i);for(const i of t)n.push(...i);return n.map(i=>Qu(i)?W(i):i)}function UF(){const e=W(id,{optional:!0,skipSelf:!0}),t=W(ed,{self:!0});if((1!==t.length||0!==t[0].length)&&e)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}function od(e){return null!=e&&"false"!=`${e}`}function zv(e,t=0){return function $F(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function Gs(e){return Array.isArray(e)?e:[e]}function Ee(e){return null==e?"":"string"==typeof e?e:`${e}px`}function Mi(e){return e instanceof Re?e.nativeElement:e}const{isArray:zF}=Array;function rd(e){return pe(t=>function WF(e,t){return zF(t)?e(...t):e(t)}(e,t))}const GF=["addListener","removeListener"],YF=["addEventListener","removeEventListener"],qF=["on","off"];function Ys(e,t,n,i){if($(n)&&(i=n,n=void 0),i)return Ys(e,t,n).pipe(rd(i));const[o,r]=function XF(e){return $(e.addEventListener)&&$(e.removeEventListener)}(e)?YF.map(s=>a=>e[s](t,a,n)):function ZF(e){return $(e.addListener)&&$(e.removeListener)}(e)?GF.map(Wv(e,t)):function KF(e){return $(e.on)&&$(e.off)}(e)?qF.map(Wv(e,t)):[];if(!o&&ga(e))return mn(s=>Ys(s,t,n))(Ce(e));if(!o)throw new TypeError("Invalid event target");return new q(s=>{const a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>r(a)})}function Wv(e,t){return n=>i=>e[n](t,i)}const Vo={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=Vo;i&&(t=i.requestAnimationFrame,n=i.cancelAnimationFrame);const o=t(r=>{n=void 0,e(r)});return new Le(()=>n?.(o))},requestAnimationFrame(...e){const{delegate:t}=Vo;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=Vo;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},ek=new class JF extends js{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;t=t||i.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,o){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw o}}}(class QF extends Bs{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=Vo.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:r}=t;null!=n&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==n&&(Vo.cancelAnimationFrame(n),t._scheduled=void 0)}});let sd,tk=1;const qs={};function Gv(e){return e in qs&&(delete qs[e],!0)}const nk={setImmediate(e){const t=tk++;return qs[t]=!0,sd||(sd=Promise.resolve()),sd.then(()=>Gv(t)&&e()),t},clearImmediate(e){Gv(e)}},{setImmediate:ik,clearImmediate:ok}=nk,Zs={setImmediate(...e){const{delegate:t}=Zs;return(t?.setImmediate||ik)(...e)},clearImmediate(e){const{delegate:t}=Zs;return(t?.clearImmediate||ok)(e)},delegate:void 0},ak=new class sk extends js{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;t=t||i.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,o){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw o}}}(class rk extends Bs{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=Zs.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:r}=t;null!=n&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==n&&(Zs.clearImmediate(n),t._scheduled=void 0)}}),ad=new js(Bs),ck=ad;function cd(e,t=ad){return function lk(e){return le((t,n)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{r=null,s&&n.complete()};t.subscribe(oe(n,l=>{i=!0,o=l,r||Ce(e(l)).subscribe(r=oe(n,a,c))},()=>{s=!0,(!i||!r||r.closed)&&n.complete()}))})}(()=>function dk(e=0,t,n=ck){let i=-1;return null!=t&&(qd(t)?n=t:i=t),new q(o=>{let r=function uk(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}(e,t))}function Ho(e){return le((t,n)=>{Ce(e).subscribe(oe(n,()=>n.complete(),Oi)),!n.closed&&t.subscribe(n)})}function ld(...e){return function fk(){return Yd(1)}()(Pi(e,ki(e)))}function Ks(...e){const t=ki(e);return le((n,i)=>{(t?ld(e,n,t):ld(e,n)).subscribe(i)})}let ud;try{ud=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ud=!1}let Uo,Qs,Nn,dd,ot=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function HA(e){return e===lb}(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&&!ud)&&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)(m(fs))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Xs(e){return function hk(){if(null==Uo&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Uo=!0}))}finally{Uo=Uo||!1}return Uo}()?e:!!e.capture}function qv(){if(null==Nn){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Nn=!1,Nn;if("scrollBehavior"in document.documentElement.style)Nn=!0;else{const e=Element.prototype.scrollTo;Nn=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Nn}function $o(){if("object"!=typeof document||!document)return 0;if(null==Qs){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),Qs=0,0===e.scrollLeft&&(e.scrollLeft=1,Qs=0===e.scrollLeft?1:2),e.remove()}return Qs}function fd(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){const t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function ln(e){return e.composedPath?e.composedPath()[0]:e.target}function hd(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const gk=new y("cdk-dir-doc",{providedIn:"root",factory:function _k(){return W(H)}}),bk=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Si=(()=>{class e{constructor(n){this.value="ltr",this.change=new it,n&&(this.value=function vk(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?bk.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(n){return new(n||e)(m(gk,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),zo=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})();const yk=["contentWrapper"],Dk=["*"],wk=new y("VIRTUAL_SCROLL_STRATEGY");let Js=(()=>{class e{constructor(n,i,o){this._ngZone=n,this._platform=i,this._scrolled=new J,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new q(i=>{this._globalSubscription||this._addGlobalListener();const o=n>0?this._scrolled.pipe(cd(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Nt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){const o=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(Et(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(n){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,n)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let o=Mi(i),r=n.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ys(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)(m(U),m(ot),m(H,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Zv=(()=>{class e{constructor(n,i,o,r){this.elementRef=n,this.scrollDispatcher=i,this.ngZone=o,this.dir=r,this._destroyed=new J,this._elementScrolled=new q(s=>this.ngZone.runOutsideAngular(()=>Ys(this.elementRef.nativeElement,"scroll").pipe(Ho(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){const i=this.elementRef.nativeElement,o=this.dir&&"rtl"==this.dir.value;null==n.left&&(n.left=o?n.end:n.start),null==n.right&&(n.right=o?n.start:n.end),null!=n.bottom&&(n.top=i.scrollHeight-i.clientHeight-n.bottom),o&&0!=$o()?(null!=n.left&&(n.right=i.scrollWidth-i.clientWidth-n.left),2==$o()?n.left=n.right:1==$o()&&(n.left=n.right?-n.right:n.right)):null!=n.right&&(n.left=i.scrollWidth-i.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){const i=this.elementRef.nativeElement;qv()?i.scrollTo(n):(null!=n.top&&(i.scrollTop=n.top),null!=n.left&&(i.scrollLeft=n.left))}measureScrollOffset(n){const i="left",o="right",r=this.elementRef.nativeElement;if("top"==n)return r.scrollTop;if("bottom"==n)return r.scrollHeight-r.clientHeight-r.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==n?n=s?o:i:"end"==n&&(n=s?i:o),s&&2==$o()?n==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&1==$o()?n==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:n==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}}return e.\u0275fac=function(n){return new(n||e)(w(Re),w(Js),w(U),w(Si,8))},e.\u0275dir=xe({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),e})(),pd=(()=>{class e{constructor(n,i,o){this._platform=n,this._change=new J,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(n.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.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:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,i=this._getWindow(),o=n.documentElement,r=o.getBoundingClientRect();return{top:-r.top||n.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||n.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(cd(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)(m(ot),m(U),m(H,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Kv=new y("VIRTUAL_SCROLLABLE");let xk=(()=>{class e extends Zv{constructor(n,i,o,r){super(n,i,o,r)}measureViewportSize(n){const i=this.elementRef.nativeElement;return"horizontal"===n?i.clientWidth:i.clientHeight}}return e.\u0275fac=function(n){return new(n||e)(w(Re),w(Js),w(U),w(Si,8))},e.\u0275dir=xe({type:e,features:[gt]}),e})();const Ik=typeof requestAnimationFrame<"u"?ek:ak;let Sk=(()=>{class e extends xk{get orientation(){return this._orientation}set orientation(n){this._orientation!==n&&(this._orientation=n,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(n){this._appendOnly=od(n)}constructor(n,i,o,r,s,a,c,l){super(n,a,o,s),this.elementRef=n,this._changeDetectorRef=i,this._scrollStrategy=r,this.scrollable=l,this._platform=W(ot),this._detachedSubject=new J,this._renderedRangeSubject=new J,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new q(u=>this._scrollStrategy.scrolledIndexChange.subscribe(d=>Promise.resolve().then(()=>this.ngZone.run(()=>u.next(d))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Le.EMPTY,this._viewportChanges=c.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Ks(null),cd(0,Ik)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(n){this.ngZone.runOutsideAngular(()=>{this._forOf=n,this._forOf.dataStream.pipe(Ho(this._detachedSubject)).subscribe(i=>{const o=i.length;o!==this._dataLength&&(this._dataLength=o,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(n){return this.getElementRef().nativeElement.getBoundingClientRect()[n]}setTotalContentSize(n){this._totalContentSize!==n&&(this._totalContentSize=n,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(n){(function Mk(e,t){return e.start==t.start&&e.end==t.end})(this._renderedRange,n)||(this.appendOnly&&(n={start:0,end:Math.max(this._renderedRange.end,n.end)}),this._renderedRangeSubject.next(this._renderedRange=n),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(n,i="to-start"){n=this.appendOnly&&"to-start"===i?0:n;const r="horizontal"==this.orientation,s=r?"X":"Y";let c=`translate${s}(${Number((r&&this.dir&&"rtl"==this.dir.value?-1:1)*n)}px)`;this._renderedContentOffset=n,"to-end"===i&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(n,i="auto"){const o={behavior:i};"horizontal"===this.orientation?o.start=n:o.top=n,this.scrollable.scrollTo(o)}scrollToIndex(n,i="auto"){this._scrollStrategy.scrollToIndex(n,i)}measureScrollOffset(n){let i;return i=this.scrollable==this?o=>super.measureScrollOffset(o):o=>this.scrollable.measureScrollOffset(o),Math.max(0,i(n??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(n){let i;const o="left",r="right",s="rtl"==this.dir?.value;i="start"==n?s?r:o:"end"==n?s?o:r:n||("horizontal"===this.orientation?"left":"top");const a=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-a}measureRenderedContentSize(){const n=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?n.offsetWidth:n.offsetHeight}measureRangeSize(n){return this._forOf?this._forOf.measureRangeSize(n,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(n){n&&this._runAfterChangeDetection.push(n),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const n=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const i of n)i()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return e.\u0275fac=function(n){return new(n||e)(w(Re),w(T_),w(U),w(wk,8),w(Si,8),w(Js),w(pd),w(Kv,8))},e.\u0275cmp=Ht({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(n,i){if(1&n&&as(yk,7),2&n){let o;ss(o=cs())&&(i._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(n,i){2&n&&Sn("cdk-virtual-scroll-orientation-horizontal","horizontal"===i.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==i.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[yg([{provide:Zv,useFactory:(t,n)=>t||n,deps:[[new tn,new ei(Kv)],e]}]),gt,Eg],ngContentSelectors:Dk,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(n,i){1&n&&(cl(),nn(0,"div",0,1),ho(2),on(),Mn(3,"div",2)),2&n&&(Lc(3),hl("width",i._totalContentWidth)("height",i._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),e})(),Xv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})(),Qv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({imports:[zo,Xv,Sk,zo,Xv]}),e})();class md{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 gd extends md{constructor(t,n,i,o,r){super(),this.component=t,this.viewContainerRef=n,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=r}}class Jv extends md{constructor(t,n,i,o){super(),this.templateRef=t,this.viewContainerRef=n,this.context=i,this.injector=o}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 Tk extends md{constructor(t){super(),this.element=t instanceof Re?t.nativeElement:t}}class _d{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof gd?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Jv?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Tk?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ak extends _d{constructor(t,n,i,o,r){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=s=>{const a=s.element,c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=r}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let o;return t.viewContainerRef?(o=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(t.injector||this._defaultInjector||Ye.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=t,o}attachTemplatePortal(t){let n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=n.indexOf(i);-1!==o&&n.remove(o)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let bd=(()=>{class e extends _d{constructor(n,i,o){super(),this._componentFactoryResolver=n,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new it,this.attachDomPortal=r=>{const s=r.element,a=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(n){n.setAttachedHost(this);const i=null!=n.viewContainerRef?n.viewContainerRef:this._viewContainerRef,r=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),s=i.createComponent(r,i.length,n.injector||i.injector,n.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=n,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(n){n.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}}return e.\u0275fac=function(n){return new(n||e)(w(ri),w(vt),w(H))},e.\u0275dir=xe({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[gt]}),e})(),ea=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({}),e})();const ey=qv();class Rk{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=Ee(-this._previousScrollPosition.left),t.style.top=Ee(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,o=this._document.body.style,r=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),ey&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ey&&(i.scrollBehavior=r,o.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 Ok{constructor(t,n,i,o){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=o,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).pipe(Et(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));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 ty{enable(){}disable(){}attach(){}}function vd(e,t){return t.some(n=>e.bottom<n.top||e.top>n.bottom||e.right<n.left||e.left>n.right)}function ny(e,t){return t.some(n=>e.top<n.top||e.bottom>n.bottom||e.left<n.left||e.right>n.right)}class Fk{constructor(t,n,i,o){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=o,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:o}=this._viewportRuler.getViewportSize();vd(n,[{width:i,height:o,bottom:o,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 kk=(()=>{class e{constructor(n,i,o,r){this._scrollDispatcher=n,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new ty,this.close=s=>new Ok(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Rk(this._viewportRuler,this._document),this.reposition=s=>new Fk(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return e.\u0275fac=function(n){return new(n||e)(m(Js),m(pd),m(U),m(H))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class iy{constructor(t){if(this.scrollStrategy=new ty,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 Pk{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let oy=(()=>{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)(m(H))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Nk=(()=>{class e extends oy{constructor(n,i){super(n),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const a=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(n){return new(n||e)(m(H),m(U,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Lk=(()=>{class e extends oy{constructor(n,i,o){super(n),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=ln(r)},this._clickListener=r=>{const s=ln(r),a="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){const u=c[l];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(r)):d.next(r)}}}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)(m(H),m(ot),m(U,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ta=(()=>{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||hd()){const o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}const i=this._document.createElement("div");i.classList.add(n),hd()?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)(m(H),m(ot))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Wo{constructor(t,n,i,o,r,s,a,c,l,u=!1){this._portalOutlet=t,this._host=n,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._backdropElement=null,this._backdropClick=new J,this._attachments=new J,this._detachments=new J,this._locationChanges=Le.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new J,this._outsidePointerEvents=new J,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.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(Pn(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=Ee(this._config.width),t.height=Ee(this._config.height),t.minWidth=Ee(this._config.minWidth),t.minHeight=Ee(this._config.minHeight),t.maxWidth=Ee(this._config.maxWidth),t.maxHeight=Ee(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 o=Gs(n||[]).filter(r=>!!r);o.length&&(i?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Ho(Ni(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 ry="cdk-overlay-connected-position-bounding-box",Bk=/([A-Za-z%]+)$/;class jk{get positions(){return this._preferredPositions}constructor(t,n,i,o,r){this._viewportRuler=n,this._document=i,this._platform=o,this._overlayContainer=r,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 J,this._resizeSubscription=Le.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(ry),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,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let c=this._getOriginPoint(t,o,a),l=this._getOverlayPoint(c,n,a),u=this._getOverlayFit(l,n,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,c);this._canFitWithFlexibleDimensions(u,l,i)?r.push({position:a,origin:c,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(c,a)}):(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:l,originPoint:c,position:a,overlayRect:n})}if(r.length){let a=null,c=-1;for(const l of r){const u=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);u>c&&(c=u,a=l)}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&&Ln(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ry),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 o,r;if("center"==i.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;o="start"==i.originX?s:a}return n.left<0&&(o-=n.left),r="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,n.top<0&&(r-=n.top),{x:o,y:r}}_getOverlayPoint(t,n,i){let o,r;return o="center"==i.overlayX?-n.width/2:"start"===i.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,r="center"==i.overlayY?-n.height/2:"top"==i.overlayY?0:-n.height,{x:t.x+o,y:t.y+r}}_getOverlayFit(t,n,i,o){const r=ay(n);let{x:s,y:a}=t,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(s+=c),l&&(a+=l);let f=0-a,h=a+r.height-i.height,p=this._subtractOverflows(r.width,0-s,s+r.width-i.width),g=this._subtractOverflows(r.height,f,h),_=p*g;return{visibleArea:_,isCompletelyWithinViewport:r.width*r.height===_,fitsInViewportVertically:g===r.height,fitsInViewportHorizontally:p==r.width}}_canFitWithFlexibleDimensions(t,n,i){if(this._hasFlexibleDimensions){const o=i.bottom-n.y,r=i.right-n.x,s=sy(this._overlayRef.getConfig().minHeight),a=sy(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=o)&&(t.fitsInViewportHorizontally||null!=a&&a<=r)}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 o=ay(n),r=this._viewportRect,s=Math.max(t.x+o.width-r.width,0),a=Math.max(t.y+o.height-r.height,0),c=Math.max(r.top-i.top-t.y,0),l=Math.max(r.left-i.left-t.x,0);let u=0,d=0;return u=o.width<=r.width?l||-s:t.x<this._viewportMargin?r.left-i.left-t.x:0,d=o.height<=r.height?c||-a:t.y<this._viewportMargin?r.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(),o=new Pk(t,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const n=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let r=0;r<n.length;r++)n[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(t,n){const i=this._viewportRect,o=this._isRtl();let r,s,a,u,d,f;if("top"===n.overlayY)s=t.y,r=i.height-s+this._viewportMargin;else if("bottom"===n.overlayY)a=i.height-t.y+2*this._viewportMargin,r=i.height-a+this._viewportMargin;else{const h=Math.min(i.bottom-t.y+i.top,t.y),p=this._lastBoundingBoxSize.height;r=2*h,s=t.y-h,r>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!o||"start"===n.overlayX&&o)f=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===n.overlayX&&!o||"end"===n.overlayX&&o)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:r}}_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 o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=Ee(i.height),o.top=Ee(i.top),o.bottom=Ee(i.bottom),o.width=Ee(i.width),o.left=Ee(i.left),o.right=Ee(i.right),o.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",o.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Ee(r)),s&&(o.maxWidth=Ee(s))}this._lastBoundingBoxSize=i,Ln(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Ln(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ln(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const u=this._viewportRuler.getViewportScrollPosition();Ln(i,this._getExactOverlayY(n,t,u)),Ln(i,this._getExactOverlayX(n,t,u))}else i.position="static";let a="",c=this._getOffset(n,"x"),l=this._getOffset(n,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),i.transform=a.trim(),s.maxHeight&&(o?i.maxHeight=Ee(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=Ee(s.maxWidth):r&&(i.maxWidth="")),Ln(this._pane.style,i)}_getExactOverlayY(t,n,i){let o={top:"",bottom:""},r=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Ee(r.y),o}_getExactOverlayX(t,n,i){let s,o={left:"",right:""},r=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Ee(r.x),o}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ny(t,i),isOriginOutsideView:vd(t,i),isOverlayClipped:ny(n,i),isOverlayOutsideView:vd(n,i)}}_subtractOverflows(t,...n){return n.reduce((i,o)=>i-Math.max(o,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?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Gs(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 Re)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 Ln(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function sy(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(Bk);return n&&"px"!==n?null:parseFloat(t)}return e||null}function ay(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 cy="cdk-global-overlay-wrapper";class Vk{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(cy),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:o,height:r,maxWidth:s,maxHeight:a}=i,c=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",g="";c?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=c?"0":h,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":p,n.justifyContent=g,n.alignItems=l?"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(cy),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Hk=(()=>{class e{constructor(n,i,o,r){this._viewportRuler=n,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new Vk}flexibleConnectedTo(n){return new jk(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(n){return new(n||e)(m(pd),m(H),m(ot),m(ta))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Uk=0,Ti=(()=>{class e{constructor(n,i,o,r,s,a,c,l,u,d,f,h){this.scrollStrategies=n,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=a,this._ngZone=c,this._document=l,this._directionality=u,this._location=d,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(n){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new iy(n);return s.direction=s.direction||this._directionality.value,new Wo(r,i,o,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-"+Uk++,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(ps)),new Ak(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(n){return new(n||e)(m(kk),m(ta),m(ri),m(Hk),m(Nk),m(Ye),m(U),m(H),m(Si),m(Jl),m(Lk),m(Co,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Wk={provide:new y("cdk-connected-overlay-scroll-strategy"),deps:[Ti],useFactory:function zk(e){return()=>e.scrollStrategies.reposition()}};let ly=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({providers:[Ti,Wk],imports:[zo,ea,Qv,Qv]}),e})();function dy(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}function fy(e){return Et((t,n)=>e<=n)}let Xk=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Qk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({providers:[Xk]}),e})();const{isArray:Jk}=Array,{getPrototypeOf:e1,prototype:t1,keys:n1}=Object;function my(...e){const t=ki(e),n=ba(e),{args:i,keys:o}=function hy(e){if(1===e.length){const t=e[0];if(Jk(t))return{args:t,keys:null};if(function o1(e){return e&&"object"==typeof e&&e1(e)===t1}(t)){const n=n1(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}(e);if(0===i.length)return Pi([],t);const r=new q(function r1(e,t,n=hn){return i=>{gy(t,()=>{const{length:o}=e,r=new Array(o);let s=o,a=o;for(let c=0;c<o;c++)gy(t,()=>{const l=Pi(e[c],t);let u=!1;l.subscribe(oe(i,d=>{r[c]=d,u||(u=!0,a--),a||i.next(n(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,o?s=>function py(e,t){return e.reduce((n,i,o)=>(n[i]=t[o],n),{})}(o,s):hn));return n?r.pipe(rd(n)):r}function gy(e,t,n){e?Lt(n,e,t):t()}const _y=new Set;let Ai,a1=(()=>{class e{constructor(n){this._platform=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):l1}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function c1(e){if(!_y.has(e))try{Ai||(Ai=document.createElement("style"),Ai.setAttribute("type","text/css"),document.head.appendChild(Ai)),Ai.sheet&&(Ai.sheet.insertRule(`@media ${e} {body{ }}`,0),_y.add(e))}catch(t){console.error(t)}}(n),this._matchMedia(n)}}return e.\u0275fac=function(n){return new(n||e)(m(ot))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function l1(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let u1=(()=>{class e{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new J}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return by(Gs(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let r=my(by(Gs(n)).map(s=>this._registerQuery(s).observable));return r=ld(r.pipe(Pn(1)),r.pipe(fy(1),function s1(e,t=ad){return le((n,i)=>{let o=null,r=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const l=r;r=null,i.next(l)}};function c(){const l=s+e,u=t.now();if(u<l)return o=this.schedule(void 0,l-u),void i.add(o);a()}n.subscribe(oe(i,l=>{r=l,s=t.now(),o||(o=t.schedule(c,e),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}(0))),r.pipe(pe(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);const i=this._mediaMatcher.matchMedia(n),r={observable:new q(s=>{const a=c=>this._zone.run(()=>s.next(c));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Ks(i),pe(({matches:s})=>({query:n,matches:s})),Ho(this._destroySubject)),mql:i};return this._queries.set(n,r),r}}return e.\u0275fac=function(n){return new(n||e)(m(a1),m(U))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function by(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}let na=(()=>{class e{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return function p1(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility}isTabbable(n){if(!this._platform.isBrowser)return!1;const i=function h1(e){try{return e.frameElement}catch{return null}}(function w1(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(n));if(i&&(-1===wy(i)||!this.isVisible(i)))return!1;let o=n.nodeName.toLowerCase(),r=wy(n);return n.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function y1(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(n))&&("audio"===o?!!n.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||n.hasAttribute("controls")):n.tabIndex>=0)}isFocusable(n,i){return function D1(e){return!function g1(e){return function b1(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function m1(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function _1(e){return function v1(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||Dy(e))}(n)&&!this.isDisabled(n)&&(i?.ignoreVisibility||this.isVisible(n))}}return e.\u0275fac=function(n){return new(n||e)(m(ot))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Dy(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function wy(e){if(!Dy(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class E1{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,n,i,o,r=!1){this._element=t,this._checker=n,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){const t=this._startAnchor,n=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),n&&(n.removeEventListener("focus",this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const n=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(!this._checker.isFocusable(n)){const i=this._getFirstTabbableElement(n);return i?.focus(t),!!i}return n.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const n=this._getRegionBoundary("start");return n&&n.focus(t),!!n}focusLastTabbableElement(t){const n=this._getRegionBoundary("end");return n&&n.focus(t),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const n=t.children;for(let i=0;i<n.length;i++){const o=n[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[i]):null;if(o)return o}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const n=t.children;for(let i=n.length-1;i>=0;i--){const o=n[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[i]):null;if(o)return o}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,n){t?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Pn(1)).subscribe(t)}}let yd=(()=>{class e{constructor(n,i,o){this._checker=n,this._ngZone=i,this._document=o}create(n,i=!1){return new E1(n,this._checker,this._ngZone,this._document,i)}}return e.\u0275fac=function(n){return new(n||e)(m(na),m(U),m(H))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ey(e){return 0===e.buttons||0===e.offsetX&&0===e.offsetY}function Cy(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const C1=new y("cdk-input-modality-detector-options"),x1={ignoreKeys:[18,17,224,91,16]},Ri=Xs({passive:!0,capture:!0});let M1=(()=>{class e{get mostRecentModality(){return this._modality.value}constructor(n,i,o,r){this._platform=n,this._mostRecentTarget=null,this._modality=new Ns(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ln(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ey(s)?"keyboard":"mouse"),this._mostRecentTarget=ln(s))},this._onTouchstart=s=>{Cy(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ln(s))},this._options={...x1,...r},this.modalityDetected=this._modality.pipe(fy(1)),this.modalityChanged=this.modalityDetected.pipe(Xb()),n.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ri),o.addEventListener("mousedown",this._onMousedown,Ri),o.addEventListener("touchstart",this._onTouchstart,Ri)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ri),document.removeEventListener("mousedown",this._onMousedown,Ri),document.removeEventListener("touchstart",this._onTouchstart,Ri))}}return e.\u0275fac=function(n){return new(n||e)(m(ot),m(U),m(H),m(C1,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const S1=new y("cdk-focus-monitor-default-options"),ia=Xs({passive:!0,capture:!0});let oa=(()=>{class e{constructor(n,i,o,r,s){this._ngZone=n,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new J,this._rootNodeFocusAndBlurListener=a=>{for(let l=ln(a);l;l=l.parentElement)"focus"===a.type?this._onFocus(a,l):this._onBlur(a,l)},this._document=r,this._detectionMode=s?.detectionMode||0}monitor(n,i=!1){const o=Mi(n);if(!this._platform.isBrowser||1!==o.nodeType)return Nt(null);const r=function mk(e){if(function pk(){if(null==dd){const e=typeof document<"u"?document.head:null;dd=!(!e||!e.createShadowRoot&&!e.attachShadow)}return dd}()){const t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new J,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(n){const i=Mi(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){const r=Mi(n);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([a,c])=>this._originChanged(a,i,c)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return 1===this._detectionMode||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused","touch"===i),n.classList.toggle("cdk-keyboard-focused","keyboard"===i),n.classList.toggle("cdk-mouse-focused","mouse"===i),n.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=n,this._originFromTouchInteraction="touch"===n&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(n,i){const o=this._elementInfo.get(i),r=ln(n);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(n,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;const i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,ia),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,ia)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ho(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(n){const i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ia),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ia),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){const i=[];return this._elementInfo.forEach((o,r)=>{(r===n||o.checkChildren&&r.contains(n))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(n){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===n||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName||n.disabled)return!1;const r=n.labels;if(r)for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0;return!1}}return e.\u0275fac=function(n){return new(n||e)(m(U),m(ot),m(M1),m(H,8),m(S1,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const My="cdk-high-contrast-black-on-white",Iy="cdk-high-contrast-white-on-black",Dd="cdk-high-contrast-active";let Sy=(()=>{class e{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=W(u1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const n=this._document.body.classList;n.remove(Dd,My,Iy),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?n.add(Dd,My):2===i&&n.add(Dd,Iy)}}}return e.\u0275fac=function(n){return new(n||e)(m(ot),m(H))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),T1=(()=>{class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}}return e.\u0275fac=function(n){return new(n||e)(m(Sy))},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({imports:[Qk]}),e})();function Ty(e){return new q(t=>{Ce(e()).subscribe(t)})}function A1(e,t){}class ra{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let Ay=(()=>{class e extends _d{constructor(n,i,o,r,s,a,c,l){super(),this._elementRef=n,this._focusTrapFactory=i,this._config=r,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=c,this._focusMonitor=l,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=u=>{this._portalOutlet.hasAttached();const d=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),d},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=o}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(n){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(n);return this._contentAttached(),i}attachTemplatePortal(n){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(n);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(n,i){this._interactivityChecker.isFocusable(n)||(n.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{n.removeEventListener("blur",o),n.removeEventListener("mousedown",o),n.removeAttribute("tabindex")};n.addEventListener("blur",o),n.addEventListener("mousedown",o)})),n.focus(i)}_focusByCssSelector(n,i){let o=this._elementRef.nativeElement.querySelector(n);o&&this._forceFocus(o,i)}_trapFocus(){const n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const n=this._config.restoreFocus;let i=null;if("string"==typeof n?i=this._document.querySelector(n):"boolean"==typeof n?i=n?this._elementFocusedBeforeDialogWasOpened:null:n&&(i=n),this._config.restoreFocus&&i&&"function"==typeof i.focus){const o=fd(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const n=this._elementRef.nativeElement,i=fd();return n===i||n.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=fd())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return e.\u0275fac=function(n){return new(n||e)(w(Re),w(yd),w(H,8),w(ra),w(na),w(U),w(Wo),w(oa))},e.\u0275cmp=Ht({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(n,i){if(1&n&&as(bd,7),2&n){let o;ss(o=cs())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,i){2&n&&fo("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[gt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,i){1&n&&Xr(0,A1,0,0,"ng-template",0)},dependencies:[bd],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),e})();class wd{constructor(t,n){this.overlayRef=t,this.config=n,this.closed=new J,this.disableClose=n.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=n.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!dy(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{!1!==n.closeOnOverlayDetachments&&this.close()})}close(t,n){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=n?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(t),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",n=""){return this.overlayRef.updateSize({width:t,height:n}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const Ry=new y("DialogScrollStrategy"),R1=new y("DialogData"),O1=new y("DefaultDialogConfig"),k1={provide:Ry,deps:[Ti],useFactory:function F1(e){return()=>e.scrollStrategies.block()}};let P1=0,Oy=(()=>{class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(n,i,o,r,s,a){this._overlay=n,this._injector=i,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._ariaHiddenElements=new Map,this.afterAllClosed=Ty(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ks(void 0))),this._scrollStrategy=a}open(n,i){(i={...this._defaultOptions||new ra,...i}).id=i.id||"cdk-dialog-"+P1++,i.id&&this.getDialogById(i.id);const r=this._getOverlayConfig(i),s=this._overlay.create(r),a=new wd(s,i),c=this._attachContainer(s,a,i);return a.containerInstance=c,this._attachDialogContent(n,a,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Ed(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(i=>i.id===n)}ngOnDestroy(){Ed(this._openDialogsAtThisLevel,n=>{!1===n.config.closeOnDestroy&&this._removeOpenDialog(n,!1)}),Ed(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){const i=new iy({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(i.backdropClass=n.backdropClass),i}_attachContainer(n,i,o){const r=o.injector||o.viewContainerRef?.injector,s=[{provide:ra,useValue:o},{provide:wd,useValue:i},{provide:Wo,useValue:n}];let a;o.container?"function"==typeof o.container?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=Ay;const c=new gd(a,o.viewContainerRef,Ye.create({parent:r||this._injector,providers:s}),o.componentFactoryResolver);return n.attach(c).instance}_attachDialogContent(n,i,o,r){if(n instanceof kt){const s=this._createInjector(r,i,o,void 0);let a={$implicit:r.data,dialogRef:i};r.templateContext&&(a={...a,..."function"==typeof r.templateContext?r.templateContext():r.templateContext}),o.attachTemplatePortal(new Jv(n,null,a,s))}else{const s=this._createInjector(r,i,o,this._injector),a=o.attachComponentPortal(new gd(n,r.viewContainerRef,s,r.componentFactoryResolver));i.componentInstance=a.instance}}_createInjector(n,i,o,r){const s=n.injector||n.viewContainerRef?.injector,a=[{provide:R1,useValue:n.data},{provide:wd,useValue:i}];return n.providers&&("function"==typeof n.providers?a.push(...n.providers(i,n,o)):a.push(...n.providers)),n.direction&&(!s||!s.get(Si,null,{optional:!0}))&&a.push({provide:Si,useValue:{value:n.direction,change:Nt()}}),Ye.create({parent:s||r,providers:a})}_removeOpenDialog(n,i){const o=this.openDialogs.indexOf(n);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const n=this._overlayContainer.getContainerElement();if(n.parentElement){const i=n.parentElement.children;for(let o=i.length-1;o>-1;o--){const r=i[o];r!==n&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return e.\u0275fac=function(n){return new(n||e)(m(Ti),m(Ye),m(O1,8),m(e,12),m(ta),m(Ry))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();function Ed(e,t){let n=e.length;for(;n--;)t(e[n])}let N1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({providers:[Oy,k1],imports:[ly,ea,T1,ea]}),e})();const B1=new y("mat-sanity-checks",{providedIn:"root",factory:function L1(){return!0}});let un=(()=>{class e{constructor(n,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return!hd()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}}return e.\u0275fac=function(n){return new(n||e)(m(Sy),m(B1,8),m(H))},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({imports:[zo,zo]}),e})();function j1(e){return class extends e{get disabled(){return this._disabled}set disabled(t){this._disabled=od(t)}constructor(...t){super(...t),this._disabled=!1}}}function V1(e,t){return class extends e{get color(){return this._color}set color(n){const i=n||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...n){super(...n),this.defaultColor=t,this.color=t}}}function H1(e){return class extends e{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=od(t)}constructor(...t){super(...t),this._disableRipple=!1}}}class $1{constructor(t,n,i,o=!1){this._renderer=t,this.element=n,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Py=Xs({passive:!0,capture:!0});class z1{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const n=ln(t);n&&this._events.get(t.type)?.forEach((i,o)=>{(o===n||o.contains(n))&&i.forEach(r=>r.handleEvent(t))})}}addHandler(t,n,i,o){const r=this._events.get(n);if(r){const s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(n,new Map([[i,new Set([o])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,Py)})}removeHandler(t,n,i){const o=this._events.get(t);if(!o)return;const r=o.get(n);r&&(r.delete(i),0===r.size&&o.delete(n),0===o.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Py)))}}const Ny={enterDuration:225,exitDuration:150},Ly=Xs({passive:!0,capture:!0}),By=["mousedown","touchstart"],jy=["mouseup","mouseleave","touchend","touchcancel"];class Yo{constructor(t,n,i,o){this._target=t,this._ngZone=n,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Mi(i))}fadeInRipple(t,n,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r={...Ny,...i.animation};i.centered&&(t=o.left+o.width/2,n=o.top+o.height/2);const s=i.radius||function G1(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),o=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+o*o)}(t,n,o),a=t-o.left,c=n-o.top,l=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=c-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),h=d.transitionDuration,p="none"===d.transitionProperty||"0s"===h||"0s, 0s"===h||0===o.width&&0===o.height,g=new $1(this,u,i,p);u.style.transform="scale3d(1, 1, 1)",g.state=0,i.persistent||(this._mostRecentTransientRipple=g);let _=null;return!p&&(l||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const b=()=>this._finishRippleTransition(g),E=()=>this._destroyRipple(g);u.addEventListener("transitionend",b),u.addEventListener("transitioncancel",E),_={onTransitionEnd:b,onTransitionCancel:E}}),this._activeRipples.set(g,_),(p||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(t){if(2===t.state||3===t.state)return;const n=t.element,i={...Ny,...t.config.animation};n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const n=Mi(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,By.forEach(i=>{Yo._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{jy.forEach(n=>{this._triggerElement.addEventListener(n,this,Ly)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==n&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel)),t.element.remove()}_onMousedown(t){const n=Ey(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!Cy(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const n=t.changedTouches;for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(By.forEach(n=>Yo._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&jy.forEach(n=>t.removeEventListener(n,this,Ly)))}}Yo._eventManager=new z1;const Y1=new y("mat-ripple-global-options");let Vy=(()=>{class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,i,o,r,s){this._elementRef=n,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Yo(this,i,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,i=0,o){return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,i,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...n})}}return e.\u0275fac=function(n){return new(n||e)(w(Re),w(U),w(ot),w(Y1,8),w(Co,8))},e.\u0275dir=xe({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,i){2&n&&Sn("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),e})(),q1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({imports:[un,un]}),e})();function K1(e,t){}class aa{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Cd="mdc-dialog--open",qy="mdc-dialog--opening",Zy="mdc-dialog--closing";let J1=(()=>{class e extends Ay{constructor(n,i,o,r,s,a,c,l){super(n,i,o,r,s,a,c,l),this._animationStateChanged=new it}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(n){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})}}return e.\u0275fac=function(n){return new(n||e)(w(Re),w(yd),w(H,8),w(aa),w(na),w(U),w(Wo),w(oa))},e.\u0275cmp=Ht({type:e,selectors:[["ng-component"]],features:[gt],decls:0,vars:0,template:function(n,i){},encapsulation:2}),e})();const Ky="--mat-dialog-transition-duration";function Xy(e){return null==e?null:"number"==typeof e?e:e.endsWith("ms")?zv(e.substring(0,e.length-2)):e.endsWith("s")?1e3*zv(e.substring(0,e.length-1)):"0"===e?0:null}let eP=(()=>{class e extends J1{constructor(n,i,o,r,s,a,c,l,u){super(n,i,o,r,s,a,c,u),this._animationMode=l,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?Xy(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?Xy(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ky,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(qy),this._hostElement.classList.add(Cd),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Cd),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(Cd),this._animationsEnabled?(this._hostElement.style.setProperty(Ky,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(Zy),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(qy),this._hostElement.classList.remove(Zy)}_waitForAnimationToComplete(n,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,n)}}return e.\u0275fac=function(n){return new(n||e)(w(Re),w(yd),w(H,8),w(aa),w(na),w(U),w(Wo),w(Co,8),w(oa))},e.\u0275cmp=Ht({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(n,i){2&n&&(_l("id",i._config.id),fo("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),Sn("_mat-animation-noopable",!i._animationsEnabled))},features:[gt],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,i){1&n&&(nn(0,"div",0)(1,"div",1),Xr(2,K1,0,0,"ng-template",2),on()())},dependencies:[bd],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),e})();class Qy{constructor(t,n,i){this._ref=t,this._containerInstance=i,this._afterOpened=new J,this._beforeClosed=new J,this._state=0,this.disableClose=n.disableClose,this.id=t.id,i._animationStateChanged.pipe(Et(o=>"opened"===o.state),Pn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Et(o=>"closed"===o.state),Pn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ni(this.backdropClick(),this.keydownEvents().pipe(Et(o=>27===o.keyCode&&!this.disableClose&&!dy(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),function tP(e,t,n){e._closeInteractionType=t,e.close(n)}(this,"keydown"===o.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Et(n=>"closing"===n.state),Pn(1)).subscribe(n=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let n=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?n.left(t.left):n.right(t.right):n.centerHorizontally(),t&&(t.top||t.bottom)?t.top?n.top(t.top):n.bottom(t.bottom):n.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",n=""){return this._ref.updateSize(t,n),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const nP=new y("MatMdcDialogData"),iP=new y("mat-mdc-dialog-default-options"),Jy=new y("mat-mdc-dialog-scroll-strategy"),rP={provide:Jy,deps:[Ti],useFactory:function oP(e){return()=>e.scrollStrategies.block()}};let sP=0,aP=(()=>{class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(n,i,o,r,s,a,c,l,u,d){this._overlay=n,this._defaultOptions=o,this._parentDialog=r,this._dialogRefConstructor=c,this._dialogContainerType=l,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._idPrefix="mat-dialog-",this.dialogConfigClass=aa,this.afterAllClosed=Ty(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ks(void 0))),this._scrollStrategy=a,this._dialog=i.get(Oy)}open(n,i){let o;(i={...this._defaultOptions||new aa,...i}).id=i.id||`${this._idPrefix}${sP++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const r=this._dialog.open(n,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:ra,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,a,c)=>(o=new this._dialogRefConstructor(s,i,c),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(i=>i.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let i=n.length;for(;i--;)n[i].close()}}return e.\u0275fac=function(n){Ur()},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),eD=(()=>{class e extends aP{constructor(n,i,o,r,s,a,c,l){super(n,i,r,a,c,s,Qy,eP,nP,l),this._idPrefix="mat-mdc-dialog-"}}return e.\u0275fac=function(n){return new(n||e)(m(Ti),m(Ye),m(Jl,8),m(iP,8),m(Jy),m(e,12),m(ta),m(Co,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})(),cP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=xe({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),e})(),tD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({providers:[eD,rP],imports:[N1,ly,ea,un,un]}),e})();const lP=["mat-button",""],uP=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],dP=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],pP=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],mP=V1(j1(H1(class{constructor(e){this._elementRef=e}})));let gP=(()=>{class e extends mP{constructor(n,i,o,r){super(n),this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=W(oa),this._isFab=!1;const s=n.nativeElement.classList;for(const a of pP)this._hasHostAttributes(a.selector)&&a.mdcClasses.forEach(c=>{s.add(c)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(n="program",i){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...n){return n.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return e.\u0275fac=function(n){Ur()},e.\u0275dir=xe({type:e,viewQuery:function(n,i){if(1&n&&as(Vy,5),2&n){let o;ss(o=cs())&&(i.ripple=o.first)}},features:[gt]}),e})(),bP=(()=>{class e extends gP{constructor(n,i,o,r){super(n,i,o,r),this._haltDisabledEvents=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return e.\u0275fac=function(n){Ur()},e.\u0275dir=xe({type:e,features:[gt]}),e})(),vP=(()=>{class e extends bP{constructor(n,i,o,r){super(n,i,o,r)}}return e.\u0275fac=function(n){return new(n||e)(w(Re),w(ot),w(U),w(Co,8))},e.\u0275cmp=Ht({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(n,i){2&n&&(fo("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString()),Sn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[gt],attrs:lP,ngContentSelectors:dP,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(n,i){1&n&&(cl(uP),Mn(0,"span",0),ho(1),nn(2,"span",1),ho(3,1),on(),ho(4,2),Mn(5,"span",2)(6,"span",3)(7,"span",4)),2&n&&(Sn("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),Lc(6),Qr("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[Vy],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),e})(),iD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({imports:[un,q1,un]}),e})(),oD=(()=>{class e{constructor(n){this.dialogRef=n}ngOnInit(){}closeDialog(n){this.dialogRef.close(n)}}return e.\u0275fac=function(n){return new(n||e)(w(Qy))},e.\u0275cmp=Ht({type:e,selectors:[["about-needs-admin-dialog"]],decls:6,vars:0,consts:[[1,"needs-admin-dialog"],["mat-dialog-content",""],["mat-flat-button","",3,"click"]],template:function(n,i){1&n&&(nn(0,"div",0)(1,"div",1)(2,"h5"),ml(3,"This Project needs an Administrator!"),on(),nn(4,"a",2),al("click",function(){return i.closeDialog(!0)}),ml(5,"Become an Administrator"),on()()())},dependencies:[cP,vP],styles:[".needs-admin-dialog .mat-mdc-dialog-content{text-align:center;padding:10px 24px 15px}.needs-admin-dialog h5{font-weight:500;font-family:Roboto,sans-serif;color:#333;font-size:16px;letter-spacing:0px;line-height:23px}.needs-admin-dialog a.mdc-button{background-color:#fa4616;text-decoration:none;font-family:Roboto,Hevetica Neue,sans-serif}.needs-admin-dialog a.mdc-button span.mdc-button__label{color:#fff;font-size:12px;letter-spacing:0px;line-height:16px}\n"],encapsulation:2}),e})();var qo=(()=>{return(e=qo||(qo={})).GET_ABOUT_DATA="[About] Get data needed for About tab",e.GET_ABOUT_DATA_SUCCESS="[About] Get data needed for About tab success",qo;var e})();const rD=Vs(qo.GET_ABOUT_DATA,{_as:"props",_p:void 0}),sD=Vs(qo.GET_ABOUT_DATA_SUCCESS,{_as:"props",_p:void 0}),DP=function mF(e,...t){const n=new Map;for(const i of t)for(const o of i.types){const r=n.get(o);n.set(o,r?(a,c)=>i.reducer(r(a,c),c):i.reducer)}return function(i=e,o){const r=n.get(o.type);return r?r(i,o):i}}({showNeedsAdmin:!1},function pF(...e){return{reducer:e.pop(),types:e.map(i=>i.type)}}(sD,(e,{response:t})=>({...e,showNeedsAdmin:t.showNeedsAdmin}))),EP=Wu(function Ev(e){return Wu(t=>{const n=t[e];return function HO(){}(),n},t=>t)}("about"),e=>e.showNeedsAdmin);function CP(e,t){return DP(e,t)}let aD=(()=>{class e{constructor(n){this.http=n}getAboutData(n){return this.http.post(`/groups/${n}/about/data`,{pageUrl:n})}}return e.\u0275fac=function(n){return new(n||e)(m(Oo))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})();const MP=[(()=>{class e{constructor(n,i){this.actions$=n,this.aboutService=i,this.getAboutData$=function yF(e,t={}){const n=t.functional?e:e(),i={...vF,...t};return Object.defineProperty(n,zs,{value:i}),n}(()=>this.actions$.pipe(function MF(...e){return Et(t=>e.some(n=>"string"==typeof n?n===t.type:n.type===t.type))}(rD),function xP(e,t){return le((n,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();n.subscribe(oe(i,c=>{o?.unsubscribe();let l=0;const u=r++;Ce(e(c,u)).subscribe(o=oe(i,d=>i.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(o=>this.aboutService.getAboutData(o.request.pageUrl).pipe(pe(r=>sD({response:r}))))))}}return e.\u0275fac=function(n){return new(n||e)(m(xF),m(aD))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),e})()];function IP(e,t){1&e&&Mn(0,"span")}let SP=(()=>{class e{constructor(n,i){this.store=n,this.dialog=i;const o=[n.select(EP)];this.store$=my(o).pipe(pe(([r])=>(r&&this.openDialog(),{showNeedsAdmin:r})))}ngOnInit(){const i=window.location.href.split("/groups/");if(2===i.length){const r={pageUrl:i[1].split("/about")[0]};this.store.dispatch(rD({request:r}))}}openDialog(){const n=this.dialog.open(oD,{height:"auto",width:"350px",position:{top:"210px"}});this.dialogSubcription=n.afterClosed().subscribe(i=>{if(this.dialogSubcription.unsubscribe(),i){const o=window.location.href+"/admin-apply";window.location.href=o}})}}return e.\u0275fac=function(n){return new(n||e)(w(kn),w(eD))},e.\u0275cmp=Ht({type:e,selectors:[["about-root"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(n,i){1&n&&(Xr(0,IP,1,0,"span",0),function Pg(e,t){const n=z();let i;const o=e+ce;n.firstCreatePass?(i=function XI(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[o]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(o,i.onDestroy)):i=n.data[o];const r=i.factory||(i.factory=_n(i.type)),s=st(w);try{const a=Cr(!1),c=r();return Cr(a),function Px(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,D(),o,c),c}finally{st(s)}}(1,"async")),2&n&&Qr("ngIf",Ng(1,1,i.store$))},dependencies:[ib,sb]}),e})(),TP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Ht({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(n,i){1&n&&Mn(0,"about-root")},dependencies:[SP],encapsulation:2}),e})(),fD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({imports:[un,un]}),e})(),LP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({imports:[tD,iD,fD]}),e})();const BP=[aD];let jP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ee({providers:[Oo,...BP],imports:[cb,LP,Zb,Sv.forFeature("about",CP),Uv.forFeature(MP)]}),e})(),VP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e,bootstrap:[TP]}),e.\u0275inj=ee({imports:[LR,jP,Zb,Sv.forRoot({}),Uv.forRoot([])]}),e})();NR().bootstrapModule(VP).catch(e=>console.error(e))}},$=>{$($.s=705)}]);
