You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
197 KiB

"use strict";(self.webpackChunksetup=self.webpackChunksetup||[]).push([[792],{76(){let ve=null,fn=!1,ji=1;const Ee=Symbol("SIGNAL");function S(e){const t=ve;return ve=e,t}const er={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Hi(e){if(fn)throw new Error("");if(null===ve)return;ve.consumerOnSignalRead(e);const t=ve.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=ve.recomputing;if(r&&(n=void 0!==t?t.nextProducer:ve.producers,void 0!==n&&n.producer===e))return ve.producersTail=n,void(n.lastReadVersion=e.version);const o=e.consumersTail;if(void 0!==o&&o.consumer===ve&&(!r||function aC(e,t){const n=t.producersTail;if(void 0!==n){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(o,ve)))return;const i=nr(ve),s={producer:e,consumer:ve,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ve.producersTail=s,void 0!==t?t.nextProducer=s:ve.producers=s,i&&Ch(e,s)}function lo(e){if((!nr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ji)){if(!e.producerMustRecompute(e)&&!Ui(e))return void Bi(e);e.producerRecomputeValue(e),Bi(e)}}function Dh(e){if(void 0===e.consumers)return;const t=fn;fn=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||oC(r)}}finally{fn=t}}function Ih(){return!1!==ve?.consumerAllowSignalWrites}function oC(e){e.dirty=!0,Dh(e),e.consumerMarkedDirty?.(e)}function Bi(e){e.dirty=!1,e.lastCleanEpoch=ji}function tr(e){return e&&function iC(e){e.producersTail=void 0,e.recomputing=!0}(e),S(e)}function uo(e,t){S(t),e&&function sC(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(nr(e))do{n=Oc(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function Ui(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(lo(n),r!==n.version))return!0}return!1}function fo(e){if(nr(e)){let t=e.producers;for(;void 0!==t;)t=Oc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Ch(e,t){const n=e.consumersTail,r=nr(e);if(void 0!==n?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;void 0!==o;o=o.nextProducer)Ch(o.producer,o)}function Oc(e){const t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==r?r.prevConsumer=o:t.consumersTail=o,void 0!==o)o.nextConsumer=r;else if(t.consumers=r,!nr(t)){let i=t.producers;for(;void 0!==i;)i=Oc(i)}return n}function nr(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function Fc(e,t){return Object.is(e,t)}const hn=Symbol("UNSET"),rr=Symbol("COMPUTING"),$t=Symbol("ERRORED"),lC={...er,value:hn,dirty:!0,error:null,equal:Fc,kind:"computed",producerMustRecompute:e=>e.value===hn||e.value===rr,producerRecomputeValue(e){if(e.value===rr)throw new Error("");const t=e.value;e.value=rr;const n=tr(e);let r,o=!1;try{r=e.computation(),S(null),o=t!==hn&&t!==$t&&r!==$t&&e.equal(t,r)}catch(i){r=$t,e.error=i}finally{uo(e,n)}o?e.value=t:(e.value=r,e.version++)}};let kh=function uC(){throw new Error};function Mh(e){kh(e)}function fC(e,t){const n=Object.create(Th);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function hC(e){return Hi(e),e.value}(n);return r[Ee]=n,[r,s=>Lc(n,s),s=>function Sh(e,t){Ih()||Mh(e),Lc(e,t(e.value))}(n,s)]}function Lc(e,t){Ih()||Mh(e),e.equal(e.value,t)||(e.value=t,function pC(e){e.version++,function rC(){ji++}(),Dh(e)}(e))}const Th={...er,equal:Fc,value:void 0,kind:"signal"},mC={...er,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function me(e){return"function"==typeof e}function Vc(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const jc=Vc(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Gi(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ze{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(me(r))try{r()}catch(i){t=i instanceof jc?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{xh(i)}catch(s){t=t??[],s instanceof jc?t=[...t,...s.errors]:t.push(s)}}if(t)throw new jc(t)}}add(t){var n;if(t&&t!==this)if(this.closed)xh(t);else{if(t instanceof Ze){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Gi(n,t)}remove(t){const{_finalizers:n}=this;n&&Gi(n,t),t instanceof Ze&&t._removeParent(this)}}Ze.EMPTY=(()=>{const e=new Ze;return e.closed=!0,e})();const Nh=Ze.EMPTY;function Ah(e){return e instanceof Ze||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function xh(e){me(e)?e():e.unsubscribe()}const pn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},qi={setTimeout(e,t,...n){const{delegate:r}=qi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=qi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Rh(e){qi.setTimeout(()=>{const{onUnhandledError:t}=pn;if(!t)throw e;t(e)})}function Hc(){}const yC=Bc("C",void 0,void 0);function Bc(e,t,n){return{kind:e,value:t,error:n}}let gn=null;function zi(e){if(pn.useDeprecatedSynchronousErrorHandling){const t=!gn;if(t&&(gn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=gn;if(gn=null,n)throw r}}else e()}class Uc extends Ze{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ah(t)&&t.add(this)):this.destination=CC}static create(t,n,r){return new Gc(t,n,r)}next(t){this.isStopped?qc(function bC(e){return Bc("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?qc(function vC(e){return Bc("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?qc(yC,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 wC=Function.prototype.bind;function $c(e,t){return wC.call(e,t)}class DC{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Wi(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Wi(r)}else Wi(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Wi(n)}}}class Gc extends Uc{constructor(t,n,r){let o;if(super(),me(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&pn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&$c(t.next,i),error:t.error&&$c(t.error,i),complete:t.complete&&$c(t.complete,i)}):o=t}this.destination=new DC(o)}}function Wi(e){pn.useDeprecatedSynchronousErrorHandling?function EC(e){pn.useDeprecatedSynchronousErrorHandling&&gn&&(gn.errorThrown=!0,gn.error=e)}(e):Rh(e)}function qc(e,t){const{onStoppedNotification:n}=pn;n&&qi.setTimeout(()=>n(e,t))}const CC={closed:!0,next:Hc,error:function IC(e){throw e},complete:Hc},zc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Zi(e){return e}let Pe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function MC(e){return e&&e instanceof Uc||function kC(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}(e)&&Ah(e)}(n)?n:new Gc(n,r,o);return zi(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Ph(r))((o,i)=>{const s=new Gc({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[zc](){return this}pipe(...n){return function Oh(e){return 0===e.length?Zi:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Ph(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ph(e){var t;return null!==(t=e??pn.Promise)&&void 0!==t?t:Promise}const SC=Vc(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Wc,or=(()=>{class e extends Pe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Fh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new SC}next(n){zi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){zi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){zi(()=>{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:r,isStopped:o,observers:i}=this;return r||o?Nh:(this.currentObservers=null,i.push(n),new Ze(()=>{this.currentObservers=null,Gi(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Pe;return n.source=this,n}}return e.create=(t,n)=>new Fh(t,n),e})();class Fh extends or{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.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,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Nh}}class TC extends or{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:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Zc(){return Wc}function Gt(e){const t=Wc;return Wc=e,t}const NC=Symbol("NotFound");function Qc(e){return e===NC||"\u0275NotFound"===e?.name}Error;class E extends Error{code;constructor(t,n){super(function kt(e,t){return`${function xC(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function N(e){for(let t in e)if(e[t]===N)return t;throw Error("")}function RC(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Je(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(Je).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function Kc(e,t){return e?t?`${e} ${t}`:e:t||""}globalThis;const OC=N({__forward_ref__:N});function te(e){return e.__forward_ref__=te,e.toString=function(){return Je(this())},e}function L(e){return Qi(e)?e():e}function Qi(e){return"function"==typeof e&&e.hasOwnProperty(OC)&&e.__forward_ref__===te}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ho(e){return{providers:e.providers||[],imports:e.imports||[]}}function Yi(e){return function HC(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,Ji)}function Ki(e){return e&&e.hasOwnProperty(Jc)?e[Jc]:null}const Ji=N({\u0275prov:N}),Jc=N({\u0275inj:N});class D{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=H({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function el(e){return e&&!!e.\u0275providers}const Hh=N({\u0275cmp:N}),zC=N({\u0275dir:N}),WC=N({\u0275pipe:N}),yn=N({\u0275fac:N}),po=N({__NG_ELEMENT_ID__:N}),Uh=N({__NG_ENV_ID__:N});function Z(e){return es(e),e[Hh]||null}function Fe(e){return es(e),e[zC]||null}function lt(e){return es(e),e[WC]||null}function es(e,t){if(null==e)throw new E(-919,!1)}function P(e){return"string"==typeof e?e:null==e?"":String(e)}const nl=N({ngErrorCode:N}),$h=N({ngErrorMessage:N}),mo=N({ngTokenPath:N});function rl(e,t){return Gh("",-200,t)}function ol(e,t){throw new E(-201,!1)}function Gh(e,t,n){const r=new E(t,e);return r[nl]=t,r[$h]=e,n&&(r[mo]=n),r}let il;function qh(){return il}function He(e){const t=il;return il=e,t}function zh(e,t,n){const r=Yi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void ol()}const vn={};class XC{injector;constructor(t){this.injector=t}retrieve(t,n){const r=_o(n)||0;try{return this.injector.get(t,8&r?null:vn,r)}catch(o){if(Qc(o))return o;throw o}}}function ek(e,t=0){const n=Zc();if(void 0===n)throw new E(-203,!1);if(null===n)return zh(e,void 0,t);{const r=function tk(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),o=n.retrieve(e,r);if(Qc(o)){if(r.optional)return null;throw o}return o}}function q(e,t=0){return(qh()||ek)(L(e),t)}function I(e,t){return q(e,_o(t))}function _o(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function al(e){const t=[];for(let n=0;n<e.length;n++){const r=L(e[n]);if(Array.isArray(r)){if(0===r.length)throw new E(900,!1);let o,i=0;for(let s=0;s<r.length;s++){const a=r[s],c=nk(a);"number"==typeof c?-1===c?o=a.token:i|=c:o=a}t.push(q(o,i))}else t.push(q(r))}return t}function nk(e){return e.__NG_DI_FLAG__}function bn(e,t){return e.hasOwnProperty(yn)?e[yn]:null}function ar(e,t){e.forEach(n=>Array.isArray(n)?ar(n,t):t(n))}function ts(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function rs(e,t,n){let r=vo(e,t);return r>=0?e[1|r]=n:(r=~r,function Yh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,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]=r}}(e,r,t,n)),r}function cl(e,t){const n=vo(e,t);if(n>=0)return e[1|n]}function vo(e,t){return function ok(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const yt={},re=[],qt=new D(""),Kh=new D("",-1),ll=new D("");class os{get(t,n=vn){if(n===vn){const o=Gh("",-201);throw o.name="\u0275NotFound",o}return n}}function sk(...e){return{\u0275providers:dl(0,e),\u0275fromNgModule:!0}}function dl(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return ar(t,s=>{const a=s;is(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Jh(o,i),n}function Jh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];fl(o,i=>{t(i,r)})}}function is(e,t,n,r){if(!(e=L(e)))return!1;let o=null,i=Ki(e);const s=!i&&Z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=Ki(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)is(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o),ar(i.imports,u=>{is(u,t,n,r)&&(l||=[],l.push(u))}),void 0!==l&&Jh(l,t)}if(!a){const l=bn(o)||(()=>new o);t({provide:o,useFactory:l,deps:re},o),t({provide:ll,useValue:o,multi:!0},o),t({provide:qt,useValue:()=>q(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;fl(c,u=>{t(u,l)})}}}return o!==e&&void 0!==e.providers}function fl(e,t){for(let n of e)el(n)&&(n=n.\u0275providers),Array.isArray(n)?fl(n,t):t(n)}const ak=N({provide:String,useValue:N});function hl(e){return null!==e&&"object"==typeof e&&ak in e}function Mt(e){return"function"==typeof e}const pl=new D(""),ss={},np={};let gl;function ml(){return void 0===gl&&(gl=new os),gl}class et{}class En extends et{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,yl(t,s=>this.processProvider(s)),this.records.set(Kh,cr(void 0,this)),o.has("environment")&&this.records.set(et,cr(void 0,this));const i=this.records.get(pl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ll,re,{self:!0}))}retrieve(t,n){const r=_o(n)||0;try{return this.get(t,vn,r)}catch(o){if(Qc(o))return o;throw o}}destroy(){bo(this),this._destroyed=!0;const t=S(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(t)}}onDestroy(t){return bo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){bo(this);const n=Gt(this),r=He(void 0);try{return t()}finally{Gt(n),He(r)}}get(t,n=vn,r){if(bo(this),t.hasOwnProperty(Uh))return t[Uh](this);const o=_o(r),s=Gt(this),a=He(void 0);try{if(!(4&o)){let l=this.records.get(t);if(void 0===l){const u=function fk(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&Yi(t);l=u&&this.injectableDefInScope(u)?cr(_l(t),ss):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l,o)}return(2&o?ml():this.parent).get(t,n=8&o&&n===vn?null:n)}catch(c){const l=function KC(e){return e[nl]}(c);throw-200===l||-201===l?new E(l,null):c}finally{He(a),Gt(s)}}resolveInjectorInitializers(){const t=S(null),n=Gt(this),r=He(void 0);try{const i=this.get(qt,re,{self:!0});for(const s of i)s()}finally{Gt(n),He(r),S(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Je(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=Mt(t=L(t))?t:L(t&&t.provide);const r=function lk(e){return hl(e)?cr(void 0,e.useValue):cr(rp(e),ss)}(t);if(!Mt(t)&&!0===t.multi){let o=this.records.get(n);o||(o=cr(void 0,ss,!0),o.factory=()=>al(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const o=S(null);try{if(n.value===np)throw rl(Je(t));return n.value===ss&&(n.value=np,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function dk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=L(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function _l(e){const t=Yi(e),n=null!==t?t.factory:bn(e);if(null!==n)return n;if(e instanceof D)throw new E(204,!1);if(e instanceof Function)return function ck(e){if(e.length>0)throw new E(204,!1);const n=function BC(e){return(e?.[Ji]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new E(204,!1)}function rp(e,t,n){let r;if(Mt(e)){const o=L(e);return bn(o)||_l(o)}if(hl(e))r=()=>L(e.useValue);else if(function ep(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...al(e.deps||[]));else if(function Xh(e){return!(!e||!e.useExisting)}(e))r=(o,i)=>q(L(e.useExisting),void 0!==i&&8&i?8:void 0);else{const o=L(e&&(e.useClass||e.provide));if(!function uk(e){return!!e.deps}(e))return bn(o)||_l(o);r=()=>new o(...al(e.deps))}return r}function bo(e){if(e.destroyed)throw new E(205,!1)}function cr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function yl(e,t){for(const n of e)Array.isArray(n)?yl(n,t):n&&el(n)?yl(n.\u0275providers,t):t(n)}function op(e,t){let n;e instanceof En?(bo(e),n=e):n=new XC(e);const o=Gt(n),i=He(void 0);try{return t()}finally{Gt(o),He(i)}}const T=11,M=27;function ae(e){return Array.isArray(e)&&"object"==typeof e[1]}function Le(e){return Array.isArray(e)&&!0===e[1]}function sp(e){return!!(4&e.flags)}function vt(e){return e.componentOffset>-1}function hr(e){return!(1&~e.flags)}function dt(e){return!!e.template}function Yt(e){return!!(512&e[2])}function Nt(e){return!(256&~e[2])}function De(e){for(;Array.isArray(e);)e=e[0];return e}function pr(e,t){return De(t[e])}function ie(e,t){return De(t[e.index])}function gr(e,t){return e.data[t]}function Ve(e,t){const n=t[e];return ae(n)?n:n[0]}function Dl(e){return!(128&~e[2])}function Ne(e,t){return null==t?null:e[t]}function fp(e){e[17]=0}function hp(e){1024&e[2]||(e[2]|=1024,Dl(e)&&mr(e))}function us(e){return!!(9216&e[2]||e[24]?.dirty)}function Il(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),us(e)&&mr(e)}function mr(e){e[10].changeDetectionScheduler?.notify(0);let t=At(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,Dl(t));)t=At(t)}function ds(e,t){if(Nt(e))throw new E(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function At(e){const t=e[3];return Le(t)?t[3]:t}const R={lFrame:xp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ml=!1;function m(){return R.lFrame.lView}function x(){return R.lFrame.tView}function O(){let e=wp();for(;null!==e&&64===e.type;)e=e.parent;return e}function wp(){return R.lFrame.currentTNode}function xt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function Dp(){return R.lFrame.isParent}function Mp(){return Ml}function fs(e){const t=Ml;return Ml=e,t}function Ae(){return R.lFrame.bindingIndex++}function Rt(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kk(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Tl(t)}function Tl(e){R.lFrame.currentDirectiveIndex=e}function hs(e){R.lFrame.currentQueryIndex=e}function Sk(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function Np(e,t,n){if(4&n){let o=t,i=e;for(;!(o=o.parent,null!==o||1&n||(o=Sk(i),null===o||(i=i[14],10&o.type))););if(null===o)return!1;t=o,e=i}const r=R.lFrame=Ap();return r.currentTNode=t,r.lView=e,!0}function xl(e){const t=Ap(),n=e[1];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ap(){const e=R.lFrame,t=null===e?null:e.child;return null===t?xp(e):t}function xp(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 Rp(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Op=Rp;function Rl(){const e=Rp();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 Ce(){return R.lFrame.selectedIndex}function kn(e){R.lFrame.selectedIndex=e}let Pp=!0;function ps(){return Pp}function Do(e){Pp=e}function Fp(e,t=null,n=null,r){const o=function Lp(e,t=null,n=null,r,o=new Set){const i=[n||re,sk(e)];return r=r||("object"==typeof e?void 0:Je(e)),new En(i,t||ml(),r||null,o)}(e,t,n,r);return o.resolveInjectorInitializers(),o}class nt{static THROW_IF_NOT_FOUND=vn;static NULL=new os;static create(t,n){if(Array.isArray(t))return Fp({name:""},n,t,"");{const r=t.name??"";return Fp({name:r},t.parent,t.providers,r)}}static \u0275prov=H({token:nt,providedIn:"any",factory:()=>q(Kh)});static __NG_ELEMENT_ID__=-1}const Ot=new D("");let rt=(()=>class e{static __NG_ELEMENT_ID__=Pk;static __NG_ENV_ID__=n=>n})();class Vp extends rt{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Nt(this._lView)}onDestroy(t){const n=this._lView;return ds(n,t),()=>function Cl(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function Pk(){return new Vp(m())}const jp=!1,Fk=new D("");let Mn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new TC(!1);debugTaskTracker=I(Fk,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Pe(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})();const xe=class Lk extends or{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,function vl(){return void 0!==qh()||null!=Zc()}()&&(this.destroyRef=I(rt,{optional:!0})??void 0,this.pendingTasks=I(Mn,{optional:!0})??void 0)}emit(t){const n=S(null);try{super.next(t)}finally{S(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Ze&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function gs(...e){}function Hp(e){let t,n;function r(){e=gs;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Vk(e){return queueMicrotask(()=>e()),()=>{e=gs}}const Ol="isAngularZone",ms=Ol+"_ID";let jk=0;class J{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new xe(!1);onMicrotaskEmpty=new xe(!1);onStable=new xe(!1);onError=new xe(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=jp}=t;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,function Uk(e){const t=()=>{!function Bk(e){function t(){Hp(()=>{e.callbackScheduled=!1,Fl(e),e.isCheckStableRunning=!0,Pl(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Fl(e))}(e)},n=jk++;e._inner=e._inner.fork({name:"angular",properties:{[Ol]:!0,[ms]:n,[ms+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(function Gk(e){return $p(e,"__ignore_ng_zone__")}(c))return r.invokeTask(i,s,a,c);try{return Bp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Up(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Bp(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function qk(e){return $p(e,"__scheduler_tick__")}(c)&&t(),Up(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Fl(e),Pl(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Ol)}static assertInAngularZone(){if(!J.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(J.isInAngularZone())throw new E(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Hk,gs,gs);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Hk={};function Pl(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 Fl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Bp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Up(e){e._nesting--,Pl(e)}class $k{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new xe;onMicrotaskEmpty=new xe;onStable=new xe;onError=new xe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}function $p(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Io{_console=console;handleError(t){this._console.error("ERROR",t)}}const Sn=new D("",{factory:()=>{const e=I(J),t=I(et);let n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Io),n.handleError(r))})}}}),Gp={provide:qt,useValue:()=>{I(Io,{optional:!0})},multi:!0};function ot(e,t){const[n,r,o]=fC(e,t?.equal),i=n;return i.set=r,i.update=o,i.asReadonly=Ll.bind(i),i}function Ll(){const e=this[Ee];if(void 0===e.readonlyFn){const t=()=>this();t[Ee]=e,e.readonlyFn=t}return e.readonlyFn}let Vl=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Wk})();function Wk(){return new Vl(m(),O())}class yr{}const _s=new D("",{factory:()=>!0}),qp=new D("");let Wp=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>new Zk})}return e})();class Zk{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[n,r]of this.queues)t||=null===n?this.flushQueue(r):n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(const r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}}function ye(e){return function gC(e){const t=S(null);try{return e()}finally{S(t)}}(e)}function Yp(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,o)}function ce(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){Yp(i,r,o,s,a,"next",c)}function a(c){Yp(i,r,o,s,a,"throw",c)}s(void 0)})}}function Tn(e){return t=>{if(function eM(e){return me(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Kt(e,t,n,r,o){return new tM(e,t,n,r,o)}class tM extends Uc{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,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=r?function(){try{r()}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 Co(e,t){return Tn((n,r)=>{let o=0;n.subscribe(Kt(r,i=>{r.next(e.call(t,i,o++))}))})}function Pt(e){return{toString:e}.toString()}function Xp(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class pM{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}const Dr=(()=>{const e=()=>eg;return e.ngInherit=!0,e})();function eg(e){return e.type.prototype.ngOnChanges&&(e.setInput=mM),gM}function gM(){const e=ng(this),t=e?.current;if(t){const n=e.previous;if(n===yt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function mM(e,t,n,r,o){const i=this.declaredInputs[r],s=ng(e)||function _M(e,t){return e[tg]=t}(e,{previous:yt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new pM(l&&l.currentValue,n,c===yt),Xp(e,t,o,n)}const tg="__ngSimpleChanges__";function ng(e){return e[tg]||null}const Nn=[],Q=function(e,t=null,n){for(let r=0;r<Nn.length;r++)(0,Nn[r])(e,t,n)};var w=function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e}(w||{});function vs(e,t,n){og(e,t,3,n)}function bs(e,t,n,r){(3&e[2])===n&&og(e,t,n,r)}function Ul(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function og(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let c=void 0!==r?65535&e[17]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=r&&a>=r)break}else t[c]<0&&(e[17]+=65536),(a<i||-1==i)&&(wM(e,n,t,c),e[17]=(4294901760&e[17])+c+2),c++}function ig(e,t){Q(w.LifecycleHookStart,e,t);const n=S(null);try{t.call(e)}finally{S(n),Q(w.LifecycleHookEnd,e,t)}}function wM(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,ig(a,i)):ig(a,i)}class Mo{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}}function Gl(e){return 3===e||4===e||6===e}function ag(e){return 64===e.charCodeAt(0)}function Cr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||cg(e,n,o,0,-1===n||2===n?t[++r]:null)}}return e}function cg(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n)return void(null!==o&&(e[i+1]=o));i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==o&&e.splice(i++,0,o)}function So(e){return 32767&e}function To(e,t){let n=function kM(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let zl=!0;function Es(e){const t=zl;return zl=e,t}let MM=0;const Et={};function ws(e,t){const n=dg(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Wl(r.data,e),Wl(t,null),Wl(r.blueprint,null));const o=Ds(e,t),i=e.injectorIndex;if(function ql(e){return-1!==e}(o)){const s=So(o),a=To(o,t),c=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Wl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ds(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=yg(o),null===r)return-1;if(n++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Zl(e,t,n){!function SM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(po)&&(r=n[po]),null==r&&(r=n[po]=MM++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function fg(e,t,n){if(8&n||void 0!==e)return e;ol()}function hg(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const o=e[9],i=He(void 0);try{return o?o.get(t,r,8&n):zh(t,r,8&n)}finally{He(i)}}return fg(r,0,n)}function pg(e,t,n,r=0,o){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function RM(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[2]&&!Yt(s);){const a=gg(i,s,n,2|r,Et);if(a!==Et)return a;let c=i.parent;if(!c){const l=s[20];if(l){const u=l.get(n,Et,r);if(u!==Et)return u}c=yg(s),s=s[14]}i=c}return o}(e,t,n,r,Et);if(s!==Et)return s}const i=gg(e,t,n,r,Et);if(i!==Et)return i}return hg(t,n,r,o)}function gg(e,t,n,r,o){const i=function AM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(po)?e[po]:void 0;return"number"==typeof t?t>=0?255&t:xM:t}(n);if("function"==typeof i){if(!Np(t,e,r))return 1&r?fg(o,0,r):hg(t,n,r,o);try{let s;if(s=i(r),null!=s||8&r)return s;ol()}finally{Op()}}else if("number"==typeof i){let s=null,a=dg(e,t),c=-1,l=1&r?t[15][5]:null;for((-1===a||4&r)&&(c=-1===a?Ds(e,t):t[a+8],-1!==c&&_g(r,!1)?(s=t[1],a=So(c),t=To(c,t)):a=-1);-1!==a;){const u=t[1];if(mg(i,a,u.data)){const d=NM(a,t,n,s,r,l);if(d!==Et)return d}c=t[a+8],-1!==c&&_g(r,t[1].data[a+8]===l)&&mg(i,a,t)?(s=u,a=So(c),t=To(c,t)):a=-1}}return o}function NM(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],u=function Is(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?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&&dt(h)&&h.type===n)return c}return null}(a,s,n,null==r?vt(a)&&zl:r!=s&&!!(3&a.type),1&o&&i===a);return null!==u?No(t,s,u,a,o):Et}function No(e,t,n,r,o){let i=e[n];const s=t.data;if(i instanceof Mo){const a=i;if(a.resolving)throw function U(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(s[n]),rl();const c=Es(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?He(a.injectImpl):null;Np(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function EM(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=eg(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,s[n],t)}finally{null!==d&&He(d),Es(c),a.resolving=!1,Op()}}return i}function mg(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function _g(e,t){return!(2&e||1&e&&t)}class de{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return pg(this._tNode,this._lView,t,_o(r),n)}}function xM(){return new de(O(),m())}function Ie(e){return Pt(()=>{const t=e.prototype.constructor,n=t[yn]||Ql(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[yn]||Ql(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ql(e){return Qi(e)?()=>{const t=Ql(L(e));return t&&t()}:bn(e)}function yg(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function BM(){return kr(O(),m())}function kr(e,t){return new Ft(ie(e,t))}let Ft=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=BM})();function Ao(e){return!(128&~e.flags)}Symbol;var ks=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ks||{});const Ms=new Map;let zM=0;function Jl(e){Ms.delete(e[19])}const eu="__ngContext__";function Ue(e,t){ae(t)?(e[eu]=t[19],function ZM(e){Ms.set(e[19],e)}(t)):e[eu]=t}function Pg(e){return Lg(e[12])}function Fg(e){return Lg(e[4])}function Lg(e){for(;null!==e&&!Le(e);)e=e[4];return e}let tu;const Mr=new D("",{factory:()=>gS}),gS="ng",Gg=new D(""),qg=new D("",{providedIn:"platform",factory:()=>"unknown"}),zg=new D("",{factory:()=>I(Ot).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),wS=new D("",{factory:()=>!1});function Rs(e){return!(32&~e.flags)}function bm(e,t){const n=e.contentQueries;if(null!==n){const r=S(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];hs(n[o]),a.contentQueries(2,t[s],s)}}}finally{S(r)}}}function mu(e,t,n){hs(0);const r=S(null);try{t(e,n)}finally{S(r)}}function _u(e,t,n){if(sp(t)){const r=S(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{S(r)}}}var st=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(st||{});class Sm{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss)`}}function tn(e){return e instanceof Sm?e.changingThisBreaksApplicationSecurity:e}function $s(e,t,n){return e.createElement(t,n)}function xn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jm(e,t,n){e.appendChild(t,n)}function Hm(e,t,n,r,o){null!==r?xn(e,t,n,r,o):jm(e,t,n)}function jo(e,t,n,r){e.removeChild(null,t,n,r)}function Um(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function CM(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];ag(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}}(e,t,r),null!==o&&function IT(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,o),null!==i&&function DT(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function qT(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Qm="ng-template";function zT(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==qT(t[o+1].toLowerCase(),n,0))return!0}else if(Mu(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&"string"==typeof(i=t[o]);)if(i.toLowerCase()===n)return!0}return!1}function Mu(e){return 4===e.type&&e.value!==Qm}function WT(e,t,n){return t===(4!==e.type||n?e.value:Qm)}function ZT(e,t,n){let r=4;const o=e.attrs,i=null!==o?function KT(e){for(let t=0;t<e.length;t++)if(Gl(e[t]))return t;return e.length}(o):0;let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!WT(e,c,n)||""===c&&1===t.length){if(ht(r))return!1;s=!0}}else if(8&r){if(null===o||!zT(e,o,c,n)){if(ht(r))return!1;s=!0}}else{const l=t[++a],u=QT(c,o,Mu(e),n);if(-1===u){if(ht(r))return!1;s=!0;continue}if(""!==l){let d;if(d=u>i?"":o[u+1].toLowerCase(),2&r&&l!==d){if(ht(r))return!1;s=!0}}}}else{if(!s&&!ht(r)&&!ht(c))return!1;if(s&&ht(c))continue;s=!1,r=c|1&r}}return ht(r)||s}function ht(e){return!(1&e)}function QT(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!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+=i?1:2}return-1}return function JT(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Ym(e,t,n=!1){for(let r=0;r<t.length;r++)if(ZT(e,t[r],n))return!0;return!1}function Km(e,t){return e?":not("+t.trim()+")":t}function eN(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!ht(s)&&(t+=Km(i,o),o=""),r=s,i=i||!ht(r);n++}return""!==o&&(t+=Km(i,o)),t}const K={};function Su(e,t,n,r,o,i,s,a,c,l,u){const d=M+r,f=d+o,h=function rN(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:K);return n}(d,f),p="function"==typeof l?l():l;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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 i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:u}}function qs(e,t,n,r,o,i,s,a,c,l,u){const d=t.blueprint.slice();return d[0]=o,d[2]=1228|r,(null!==l||e&&2048&e[2])&&(d[2]|=2048),fp(d),d[3]=d[14]=e,d[8]=n,d[10]=s||e&&e[10],d[T]=a||e&&e[T],d[9]=c||e&&e[9]||null,d[5]=i,d[19]=function WM(){return zM++}(),d[6]=u,d[20]=l,d[15]=2==t.type?e[15]:d,d}function Tu(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Bo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Nu(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function $e(e=1){Xm(x(),m(),Ce()+e,!1)}function Xm(e,t,n,r){if(!r)if(3&~t[2]){const i=e.preOrderHooks;null!==i&&bs(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&vs(t,i,n)}kn(n)}var zs=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(zs||{});function Rn(e,t,n,r){const o=S(null);try{const[i,s,a]=e.inputs[n];let c=null;0!==(s&zs.SignalBased)&&(c=t[i][Ee]),null!==c&&void 0!==c.transformFn?r=c.transformFn(r):null!==a&&(r=a.call(t,r)),null!==e.setInput?e.setInput(t,c,r,n,i):Xp(t,c,i,r)}finally{S(o)}}var On=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(On||{});function xu(e,t){return undefined(e,t)}const Pn=new Set;var Ru=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ru||{});const Uo=new D(""),r_=new Set;function ke(e){r_.has(e)||(r_.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let o_=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})();const i_=[0,1,2,3];let uN=(()=>{class e{ngZone=I(J);scheduler=I(yr);errorHandler=I(Io,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){I(Uo,{optional:!0})}execute(){const n=this.sequences.size>0;n&&Q(w.AfterRenderHooksStart),this.executing=!0;for(const r of i_)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[r])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,o.hooks[r])(o.pipelinedValue),o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&Q(w.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),mr(r),r[2]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ru.AFTER_NEXT_RENDER,n):n()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})();class s_{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[25];t&&(this.view[25]=t.filter(n=>n!==this))}}function Ou(e,t){const n=t?.injector??I(nt);return ke("NgAfterNextRender"),function a_(e,t,n,r){const o=t.get(o_);o.impl??=t.get(uN);const i=t.get(Uo,null,{optional:!0}),s=!0!==n?.manualCleanup?t.get(rt):null,a=t.get(Vl,null,{optional:!0}),c=new s_(o.impl,function fN(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}(e,n,t,!0)}const Zs=new D("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:I(et)})});function c_(e,t,n){const r=e.get(Zs);if(Array.isArray(t))for(const o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function l_(e,t,n,r){const o=e?.[26]?.enter;null!==t&&o&&o.has(n.index)&&function Pu(e,t){for(const[n,r]of t)c_(e,r.animateFns)}(r,o)}function Rr(e,t,n,r,o,i,s,a){if(null!=o){let c,l=!1;Le(o)?c=o:ae(o)&&(l=!0,o=o[0]);const u=De(o);0===e&&null!==r?(l_(a,r,i,n),null==s?jm(t,r,u):xn(t,r,u,s||null,!0)):1===e&&null!==r?(l_(a,r,i,n),xn(t,r,u,s||null,!0)):2===e?f_(a,i,n,d=>{jo(t,u,l,d)}):3===e&&f_(a,i,n,()=>{t.destroyNode(u)}),null!=c&&function EN(e,t,n,r,o,i,s){const a=r[7];a!==De(r)&&Rr(t,e,n,i,a,o,s);for(let l=10;l<r.length;l++){const u=r[l];Ks(u[1],u,e,t,i,a)}}(t,e,n,c,i,r,s)}}function d_(e,t){t[10].changeDetectionScheduler?.notify(9),Ks(e,t,t[T],2,null,null)}function Fu(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function $o(e,t){if(Nt(t))return;const n=t[T];n.destroyNode&&Ks(e,t,n,3,null,null),function mN(e){let t=e[12];if(!t)return Lu(e[1],e);for(;t;){let n=null;if(ae(t))n=t[12];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)ae(t)&&Lu(t[1],t),t=t[3];null===t&&(t=e),ae(t)&&Lu(t[1],t),n=t&&t[4]}t=n}}(t)}function Lu(e,t){if(Nt(t))return;const n=S(null);try{t[2]&=-129,t[2]|=256,t[24]&&fo(t[24]),function vN(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Mo)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],c=i[s+1];Q(w.LifecycleHookStart,a,c);try{c.call(a)}finally{Q(w.LifecycleHookEnd,a,c)}}else{Q(w.LifecycleHookStart,o,i);try{i.call(o)}finally{Q(w.LifecycleHookEnd,o,i)}}}}}(e,t),function yN(e,t){const n=e.cleanup,r=t[7];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[7]=null);const o=t[21];if(null!==o){t[21]=null;for(let s=0;s<o.length;s++)(0,o[s])()}const i=t[23];if(null!==i){t[23]=null;for(const s of i)s.destroy()}}(e,t),1===t[1].type&&t[T].destroy();const r=t[16];if(null!==r&&Le(t[3])){r!==t[3]&&Fu(r,t);const o=t[18];null!==o&&o.detachView(e)}Jl(t)}finally{S(n)}}function f_(e,t,n,r){const o=e?.[26];if(null==o||null==o.leave||!o.leave.has(t.index))return r(!1);e&&Pn.add(e[19]),c_(n,()=>{if(o.leave&&o.leave.has(t.index)){const s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){const l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),function _N(e,t){const n=e[26]?.running;n?n.then(()=>{e[26].running=void 0,Pn.delete(e[19]),t(!0)}):t(!1)}(e,r)}else e&&Pn.delete(e[19]),r(!1)},o)}function Vu(e,t,n){return function h_(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(vt(r)){const{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===st.None||o===st.Emulated)return null}return ie(r,n)}(e,t.parent,n)}let m_=function g_(e,t,n){return 40&e.type?ie(e,n):null};function Hu(e,t,n,r){const o=Vu(e,r,t),i=t[T],a=function p_(e,t,n){return m_(e,t,n)}(r.parent||t[5],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;c<n.length;c++)Hm(i,o,n[c],a,!1);else Hm(i,o,n,a,!1)}function Fn(e,t){if(null!==t){const n=t.type;if(3&n)return ie(t,e);if(4&n)return Ys(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Fn(e,r);{const o=e[t.index];return Le(o)?Ys(-1,o):De(o)}}if(128&n)return Fn(e,t.next);if(32&n)return xu(t,e)()||De(e[t.index]);{const r=y_(e,t);return null!==r?Array.isArray(r)?r[0]:Fn(At(e[15]),r):Fn(e,t.next)}}return null}function y_(e,t){return null!==t?e[15][5].projection[t.projection]:null}function Ys(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return Fn(r,o)}return t[7]}function Bu(e,t,n,r,o,i,s){for(;null!=n;){const a=r[9];if(128===n.type){n=n.next;continue}const c=r[n.index],l=n.type;if(s&&0===t&&(c&&Ue(De(c),r),n.flags|=2),!Rs(n))if(8&l)Bu(e,t,n.child,r,o,i,!1),Rr(t,e,a,o,c,n,i,r);else if(32&l){const u=xu(n,r);let d;for(;d=u();)Rr(t,e,a,o,d,n,i,r);Rr(t,e,a,o,c,n,i,r)}else 16&l?v_(e,t,r,n,o,i):Rr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ks(e,t,n,r,o,i){Bu(n,r,e.firstChild,t,o,i,!1)}function v_(e,t,n,r,o,i){const s=n[15],c=s[5].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)Rr(t,e,n[9],o,c[l],r,i,n);else{let l=c;const u=s[3];Ao(r)&&(l.flags|=128),Bu(e,t,l,u,o,i,!0)}}function b_(e,t,n,r,o){const i=Ce(),s=2&r;try{kn(-1),s&&t.length>M&&Xm(e,t,M,!1),Q(s?w.TemplateUpdateStart:w.TemplateCreateStart,o,n),n(r,o)}finally{kn(i),Q(s?w.TemplateUpdateEnd:w.TemplateCreateEnd,o,n)}}function Js(e,t,n){(function MN(e,t,n){const r=n.directiveStart,o=n.directiveEnd;vt(n)&&function oN(e,t,n){const r=ie(t,e),o=function Jm(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Su(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),i=e[10].rendererFactory,s=Nu(e,qs(e,o,null,Tu(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ws(n,t);const i=n.initialInputs;for(let s=r;s<o;s++){const a=e.data[s],c=No(t,e,s,n);Ue(c,t),null!==i&&AN(0,s-r,c,a,0,i),dt(a)&&(Ve(n.index,t)[8]=No(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function SN(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function Mk(){return R.lFrame.currentDirectiveIndex}();try{kn(i);for(let a=r;a<o;a++){const c=e.data[a],l=t[a];Tl(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&TN(c,l)}}finally{kn(-1),Tl(s)}}(e,t,n)}function Or(e,t,n=ie){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}let E_=()=>null;function Xs(e,t,n,r,o,i){ra(e,t[1],t,n,r)?vt(e)&&function w_(e,t){const n=Ve(t,e);16&n[2]||(n[2]|=64)}(t,e.index):(3&e.type&&(n=function kN(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),function Uu(e,t,n,r,o,i){if(3&e.type){const s=ie(e,t);r=null!=i?i(r,e.value||"",n):r,o.setProperty(s,n,r)}}(e,t,n,r,o,i))}function TN(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function $u(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let o=0;o<n.length;o++){const i=n[o];Ym(t,i.selectors,!1)&&(r??=[],dt(i)?r.unshift(i):r.push(i))}return r}function AN(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;a+=2)Rn(r,n,s[a],s[a+1])}function na(e){let t=e;return Dp()?function Ip(){R.lFrame.isParent=!1}():(t=t.parent,xt(t,!1)),t}function ra(e,t,n,r,o){const i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r];let a=!1;if(s)for(let c=0;c<s.length;c+=2){const l=s[c];Rn(t.data[l],n[l],s[c+1],o),a=!0}if(i)for(const c of i)Rn(t.data[c],n[c],r,o),a=!0;return a}function RN(e,t){const n=Ve(t,e),r=n[1];!function ON(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[0];null!==o&&null===n[6]&&(n[6]=null),Q(w.ComponentStart);try{oa(r,n,n[8])}finally{Q(w.ComponentEnd,n[8])}}function oa(e,t,n){xl(t);try{const r=e.viewQuery;null!==r&&mu(1,r,n);const o=e.template;null!==o&&b_(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&bm(e,t),e.staticViewQueries&&mu(2,e.viewQuery,n);const i=e.components;null!==i&&function PN(e,t){for(let n=0;n<t.length;n++)RN(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Rl()}}function Pr(e,t,n,r){const o=S(null);try{const i=t.tView,c=qs(e,i,n,4096&e[2]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[16]=e[t.index];const u=e[18];return null!==u&&(c[18]=u.createEmbeddedView(i)),oa(i,c,n),c}finally{S(o)}}function Ln(e,t){return!t||null===t.firstChild||Ao(e)}function Go(e,t,n,r,o=!1){for(;null!==n;){if(128===n.type){n=o?n.projectionNext:n.next;continue}const i=t[n.index];null!==i&&r.push(De(i)),Le(i)&&FN(i,r);const s=n.type;if(8&s)Go(e,t,n.child,r);else if(32&s){const a=xu(n,t);let c;for(;c=a();)r.push(c)}else if(16&s){const a=y_(t,n);if(Array.isArray(a))r.push(...a);else{const c=At(t[15]);Go(c[1],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function FN(e,t){for(let n=10;n<e.length;n++){const r=e[n],o=r[1].firstChild;null!==o&&Go(r[1],r,o,t)}e[7]!==e[0]&&t.push(e[7])}function C_(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let k_=[];const HN={...er,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{mr(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},UN={...er,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=At(e.lView);for(;t&&!M_(t[1]);)t=At(t);t&&hp(t)},consumerOnSignalRead(){this.lView[24]=this}};function M_(e){return 2!==e.type}function S_(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const r of e[23])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[2])}}function ia(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function GN(e,t){const n=Mp();try{fs(!0),qu(e,t);let r=0;for(;us(e);){if(100===r)throw new E(103,!1);r++,qu(e,1)}}finally{fs(n)}}(e,t)}finally{r.end?.()}}function T_(e,t,n,r){if(Nt(t))return;const o=t[2];xl(t);let a=!0,c=null,l=null;M_(e)?(l=function LN(e){return e[24]??function VN(e){const t=k_.pop()??Object.create(HN);return t.lView=e,t}(e)}(t),c=tr(l)):null===function Rc(){return ve}()?(a=!1,l=function BN(e){const t=e[24]??Object.create(UN);return t.lView=e,t}(t),c=tr(l)):t[24]&&(fo(t[24]),t[24]=null);try{fp(t),function Sp(e){return R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&b_(e,t,n,2,r);const u=!(3&~o);if(u){const h=e.preOrderCheckHooks;null!==h&&vs(t,h,null)}else{const h=e.preOrderHooks;null!==h&&bs(t,h,0,null),Ul(t,0)}if(function qN(e){for(let t=Pg(e);null!==t;t=Fg(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)hp(n[r])}}(t),S_(t),N_(t,0),null!==e.contentQueries&&bm(e,t),u){const h=e.contentCheckHooks;null!==h&&vs(t,h)}else{const h=e.contentHooks;null!==h&&bs(t,h,1),Ul(t,1)}!function WN(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)kn(~o);else{const i=o,s=n[++r],a=n[++r];kk(s,i);const c=t[i];Q(w.HostBindingsUpdateStart,c);try{a(2,c)}finally{Q(w.HostBindingsUpdateEnd,c)}}}}finally{kn(-1)}}(e,t);const d=e.components;null!==d&&x_(t,d,0);const f=e.viewQuery;if(null!==f&&mu(2,f,r),u){const h=e.viewCheckHooks;null!==h&&vs(t,h)}else{const h=e.viewHooks;null!==h&&bs(t,h,2),Ul(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const h of t[22])h();t[22]=null}C_(t),t[2]&=-73}catch(u){throw mr(t),u}finally{null!==l&&(uo(l,c),a&&function jN(e){e.lView[24]!==e&&(e.lView=null,k_.push(e))}(l)),Rl()}}function N_(e,t){for(let n=Pg(e);null!==n;n=Fg(n))for(let r=10;r<n.length;r++)A_(n[r],t)}function zN(e,t,n){Q(w.ComponentStart);const r=Ve(t,e);try{A_(r,n)}finally{Q(w.ComponentEnd,r[8])}}function A_(e,t){Dl(e)&&qu(e,t)}function qu(e,t){const r=e[1],o=e[2],i=e[24];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!Ui(i)),s||=!1,i&&(i.dirty=!1),e[2]&=-9217,s)T_(r,e,r.template,e[8]);else if(8192&o){const a=S(null);try{S_(e),N_(e,1);const c=r.components;null!==c&&x_(e,c,1),C_(e)}finally{S(a)}}}function x_(e,t,n){for(let r=0;r<t.length;r++)zN(e,t[r],n)}function Fr(e,t){const n=Mp()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=At(e);if(Yt(e)&&!r)return e;e=r}return null}function O_(e,t){const n=10+t;if(n<e.length)return e[n]}function Lr(e,t,n,r=!0){const o=t[1];if(function ZN(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],function Zh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[16];null!==s&&n!==s&&P_(s,t);const a=t[18];null!==a&&a.insertView(e),Il(t),t[2]|=128}(o,t,e,n),r){const s=Ys(n,e),a=t[T],c=a.parentNode(e[7]);null!==c&&function gN(e,t,n,r,o,i){r[0]=o,r[5]=t,Ks(e,r,n,1,o,i)}(o,e[5],a,t,c,s)}const i=t[6];null!==i&&null!==i.firstChild&&(i.firstChild=null)}function zu(e,t){const n=qo(e,t);return void 0!==n&&$o(n[1],n),n}function qo(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[16];null!==o&&o!==e&&Fu(o,r),t>0&&(e[n-1][4]=r[4]);const i=ts(e,10+t);!function u_(e,t){d_(e,t),t[0]=null,t[5]=null}(r[1],r);const s=i[18];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function P_(e,t){const n=e[9],r=t[3];(ae(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}class zo{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return Go(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return Nt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Le(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(qo(t,r),ts(n,r))}this._attachedToViewContainer=!1}$o(this._lView[1],this._lView)}onDestroy(t){ds(this._lView,t)}markForCheck(){Fr(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Il(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,ia(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Yt(this._lView),n=this._lView[16];null!==n&&!t&&Fu(n,this._lView),d_(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t;const n=Yt(this._lView),r=this._lView[16];null!==r&&!n&&P_(r,this._lView),Il(this._lView)}}function Vn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Yu(e,t,n,r,o){const i=wp(),s=Dp(),c=e.data[t]=function oA(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function vp(){return null!==R.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex: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?i:i&&i.parent,n,t,r,o);return function rA(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,c,i,s),c}(e,t,n,r,o),function Ck(){return R.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function wo(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return xt(i,!0),i}function ey(e,t){let n=0,r=e.firstChild;if(r){const o=e.data.r;for(;n<o;){const i=r.nextSibling;jo(t,r,!1),r=i,n++}}}let HA=class{},sy=class{};class BA{resolveComponentFactory(t){throw new E(917,!1)}}let ga=class{static NULL=new BA};class rd{}let ei=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function UA(){const e=m(),n=Ve(O().index,e);return(ae(n)?n:e)[T]}()})(),$A=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>null})}return e})();const id={};class Hr{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,id,r);return o!==id||n===id?o:this.parentInjector.get(t,n,r)}}function _a(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Kc(o,a):2==i&&(r=Kc(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function k(e,t=0){const n=m();return null===n?q(e,t):pg(O(),n,L(e),t)}function QA(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ly(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){let s;s=0===e?t.inputs??={}:t.outputs??={},s[i]??=[],s[i].push(r),dy(t,i)}}function uy(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){const s=o[i];let a;a=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),dy(t,s)}}function dy(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function fy(e,t,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(null===r||!n&&null===o||n&&null===i||Mu(e))return e.initialInputs??=[],void e.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const c=r[a];if(0!==c)if(5!==c){if("number"==typeof c)break;if(!n&&o.hasOwnProperty(c)){const l=o[c];for(const u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){const l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function JA(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=bn(o.type)),s=new Mo(i,dt(o),k,null);e.blueprint[r]=s,n[r]=s,function XA(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function ex(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,r,i)}}(e,t,r,Bo(e,n,o.hostVars,K),o)}function tx(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;dt(t)&&(n[""]=e)}}function sd(e,t,n,r,o,i,s,a){const c=t[1],l=c.consts,d=Vn(c,e,n,r,Ne(l,s));return i&&function cy(e,t,n,r,o){const i=null===r?null:{"":-1},s=o(e,n);if(null!==s){let a=s,c=null,l=null;for(const u of s)if(null!==u.resolveHostDirectives){[a,c,l]=u.resolveHostDirectives(s);break}!function YA(e,t,n,r,o,i,s){const a=r.length;let c=null;for(let f=0;f<a;f++){const h=r[f];null===c&&dt(h)&&(c=h,QA(e,n,f)),Zl(ws(n,t),e,h.type)}(function nx(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t})(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){const h=r[f];h.providersResolver&&h.providersResolver(h)}let l=!1,u=!1,d=Bo(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){const h=r[f];if(n.mergedAttrs=Cr(n.mergedAttrs,h.hostAttrs),JA(e,n,t,d,h),tx(d,h,o),null!==s&&s.has(h)){const[g,_]=s.get(h);n.directiveToIndex.set(h.type,[d,g+n.directiveStart,_+n.directiveStart])}else(null===i||!i.has(h))&&n.directiveToIndex.set(h.type,d);null!==h.contentQueries&&(n.flags|=4),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(n.flags|=64);const p=h.type.prototype;!l&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}!function KA(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const o=e.data[r];if(null!==n&&n.has(o)){const i=n.get(o);uy(0,t,i,r),uy(1,t,i,r),fy(t,r,!0)}else ly(0,t,o,r),ly(1,t,o,r),fy(t,r,!1)}}(e,n,i)}(e,t,n,a,i,c,l)}null!==i&&null!==r&&function ZA(e,t,n){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new E(-301,!1);r.push(t[o],i)}}(n,r,i)}(c,t,d,Ne(l,a),o),d.mergedAttrs=Cr(d.mergedAttrs,d.attrs),null!==d.attrs&&_a(d,d.attrs,!1),null!==d.mergedAttrs&&_a(d,d.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,d),d}function ad(e,t){(function rg(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=u&&(e.destroyHooks??=[]).push(n,u)}})(e,t),sp(t)&&e.queries.elementEnd(t)}function oe(e,t,n){return n!==K&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function Vt(e,t,n){return function r(o){Fr(vt(e)?Ve(e.index,t):t,5);const s=t[8];let a=gy(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=gy(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function gy(e,t,n,r){const o=S(null);try{return Q(w.OutputStart,t,n),!1!==n(r)}catch(i){return function Gu(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(Sn,null)}catch{r=null}r?.(t)}(e,i),!1}finally{Q(w.OutputEnd,t,n),S(o)}}function my(e,t,n,r,o,i,s){const a=t.firstCreatePass?function mp(e){return e.cleanup??=[]}(t):null,c=function gp(e){return e[7]??=[]}(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Br(e,t,n,r,o,i){const a=t[1],d=t[n][a.data[n].outputs[r]].subscribe(i);my(e.index,a,t,o,i,d,!0)}const jt=Symbol("BINDING");class vy extends ga{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Z(t);return new ld(n,this.ngModule)}}class ld extends sy{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function gx(e){return Object.keys(e).map(t=>{const[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:0!==(r&zs.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function mx(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function tN(e){return e.map(eN).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){Q(w.DynamicComponentStart);const a=S(null);try{const c=this.componentDef,l=function Ex(e,t,n,r){const o=e?["ng-version","21.1.1"]:function nN(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!ht(o))break;o=i}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let i=null,s=null,a=0;if(n)for(const u of n)a+=u[jt].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){const d=r[u];if("function"!=typeof d)for(const f of d.bindings){a+=f[jt].requiredVars;const h=u+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}const c=[t];if(r)for(const u of r){const f=Fe("function"==typeof u?u:u.type);c.push(f)}return Su(0,null,function wx(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(i,s),1,a,c,null,null,null,[o],null)}(r,c,s,i),u=function _x(e,t,n){let r=t instanceof et?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Hr(n,r):n}(c,o||this.ngModule,t),d=function yx(e){const t=e.get(rd,null);if(null===t)throw new E(407,!1);return{rendererFactory:t,sanitizer:e.get($A,null),changeDetectionScheduler:e.get(yr,null),ngReflect:!1}}(u),f=d.rendererFactory.createRenderer(null,c),h=r?function DN(e,t,n,r){const i=r.get(wS,!1)||n===st.ShadowDom||n===st.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return function IN(e){E_(e)}(s),s}(f,r,c.encapsulation,u):function vx(e,t){const n=function bx(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return $s(t,n,"svg"===n?"svg":"math"===n?"math":null)}(c,f),p=s?.some(by)||i?.some(b=>"function"!=typeof b&&b.bindings.some(by)),g=qs(null,l,null,512|Tu(c),null,null,d,f,u,null,null);g[M]=h,xl(g);let _=null;try{const b=sd(M,g,2,"#host",()=>l.directiveRegistry,!0,0);Um(f,h,b),Ue(h,g),Js(l,g,b),_u(l,b,g),ad(l,b),void 0!==n&&function Ix(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i&&i.length?Array.from(i):null)}}(b,this.ngContentSelectors,n),_=Ve(b.index,g),g[8]=_[8],oa(l,g,null)}catch(b){throw null!==_&&Jl(_),Jl(g),b}finally{Q(w.DynamicComponentEnd),Rl()}return new Dx(this.componentType,g,!!p)}finally{S(a)}}}function by(e){const t=e[jt].kind;return"input"===t||"twoWay"===t}class Dx extends HA{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=gr(n[1],M),this.location=kr(this._tNode,n),this.instance=Ve(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new zo(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;ra(r,o[1],o,t,n),this.previousInputValues.set(t,n),Fr(Ve(r.index,o),1)}get injector(){return new de(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Ur=class{};class Hy extends Ur{injector;componentFactoryResolver=new vy(this);instance=null;constructor(t){super();const n=new En([...t.providers,{provide:Ur,useValue:this},{provide:ga,useValue:this.componentFactoryResolver}],t.parent||ml(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let $x=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=dl(0,n.type),o=r.length>0?function By(e,t,n=null){return new Hy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=H({token:e,providedIn:"environment",factory:()=>new e(q(et))})}return e})();function Uy(e){return Pt(()=>{const t=Gy(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ks.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get($x).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||st.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&ke("NgStandalone"),qy(n);const r=e.dependencies;return n.directiveDefs=wa(r,$y),n.pipeDefs=wa(r,lt),n.id=function Zx(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function $y(e){return Z(e)||Fe(e)}function Ea(e){return Pt(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Gx(e,t){if(null==e)return yt;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=zs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function qx(e){if(null==e)return yt;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function G(e){return Pt(()=>{const t=Gy(e);return qy(t),t})}function Gy(e){const t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||yt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Gx(e.inputs,t),outputs:qx(e.outputs),debugInfo:null}}function qy(e){e.features?.forEach(t=>t(e))}function wa(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const o of n){const i=t(o);null!==i&&r.push(i)}return r}:null}function Y(e){let t=function Jx(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(dt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=kd(e.inputs),s.declaredInputs=kd(e.declaredInputs),s.outputs=kd(e.outputs);const a=o.hostBindings;a&&rR(e,a);const c=o.viewQuery,l=o.contentQueries;if(c&&tR(e,c),l&&nR(e,l),Xx(e,o),RC(e.outputs,o.outputs),dt(o)&&o.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===Y&&(n=!1)}}t=Object.getPrototypeOf(t)}!function eR(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Cr(o.hostAttrs,n=Cr(n,o.hostAttrs))}}(r)}function Xx(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function kd(e){return e===yt?{}:e===re?[]:e}function tR(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function nR(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function rR(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Un(e,t,n,r,o,i,s,a,c,l,u){const d=n+M;let f;if(t.firstCreatePass){if(f=Vn(t,d,4,s||null,a||null),null!=l){const h=Ne(t.consts,l);f.localNames=[];for(let p=0;p<h.length;p+=2)f.localNames.push(h[p],-1)}}else f=t.data[d];return function Yy(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Cr(e.mergedAttrs,e.attrs);const u=e.tView=Su(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),xt(e,!1);const c=Xy(n,t,e,r);ps()&&Hu(n,t,c,e),Ue(c,t);const l=function R_(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}(c,t,c,e);t[r+M]=l,Nu(t,l)}(f,e,t,n,r,o,i,c),null!=l&&Or(e,f,u),f}let Xy=function ev(e,t,n,r){return Do(!0),t[T].createComment("")};const Nv=new D("");function Pd(e){return!!e&&"function"==typeof e.then}function pO(e){return!!e&&"function"==typeof e.subscribe}const xv=new D("");let Rv=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(xv,{optional:!0})??[];injector=I(nt);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=op(this.injector,o);if(Pd(i))n.push(i);else if(pO(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const gO=new D("");let on=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(Sn);afterRenderManager=I(o_);zonelessEnabled=I(_s);rootEffectScheduler=I(Wp);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new or;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=I(Mn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Co(n=>!n))}constructor(){I(Uo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(et);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=nt.NULL){return this._injector.get(J).run(()=>{Q(w.BootstrapComponentStart);const s=n instanceof sy;if(!this._injector.get(Rv).done)throw new E(405,"");let c;c=s?n:this._injector.get(ga).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const l=function _O(e){return e.isBoundToModule}(c)?void 0:this._injector.get(Ur),d=c.create(o,[],r||c.selector,l),f=d.location.nativeElement,h=d.injector.get(Nv,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Na(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),Q(w.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Q(w.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(Ru.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Q(w.ChangeDetectionEnd),new E(101,!1);const n=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(n),this.afterTick.next(),Q(w.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(rd,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){Q(w.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Q(w.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews)(r||us(o))&&(ia(o,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>us(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Na(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(gO,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Na(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Na(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}typeof document<"u"&&document;Object.keys({disabled:"disabled",disabledReasons:"disabledReasons",dirty:"dirty",errors:"errors",hidden:"hidden",invalid:"invalid",max:"max",maxLength:"maxLength",min:"min",minLength:"minLength",name:"name",pattern:"pattern",pending:"pending",readonly:"readonly",required:"required",touched:"touched"});class G0{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){const s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}}function Yd(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Kd(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function rb(e,t,n,r,o){if(Kd(e,t,r,n(r,o)))e.updateValue(r,o);else{const i=e.create(r,o);e.attach(r,i)}}function ob(e,t,n,r){const o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}class ib{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}}function pt(e,t,n,r,o,i,s,a){ke("NgControlFlow");const c=m(),l=x();return Un(c,l,e,t,n,r,o,Ne(l.consts,i),256,s,a),Jd}function Jd(e,t,n,r,o,i,s,a){ke("NgControlFlow");const c=m(),l=x();return Un(c,l,e,t,n,r,o,Ne(l.consts,i),512,s,a),Jd}function gt(e,t){ke("NgControlFlow");const n=m(),r=Ae(),o=n[r]!==K?n[r]:-1,i=-1!==o?Ba(n,M+o):void 0;if(oe(n,r,e)){const a=S(null);try{if(void 0!==i&&zu(i,0),-1!==e){const c=M+e,l=Ba(n,c),u=Xd(n[1],c),d=null;Lr(l,Pr(n,u,t,{dehydratedView:d}),0,Ln(u,d))}}finally{S(a)}}else if(void 0!==i){const a=O_(i,0);void 0!==a&&(a[8]=t)}}class z0{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-10}}function sb(e,t){return t}class Z0{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}class Q0 extends G0{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-10}at(t){return this.getLView(t)[8].$implicit}attach(t,n){const r=n[6];this.needsIndexUpdate||=t!==this.length,Lr(this.lContainer,n,t,Ln(this.templateTNode,r)),function Y0(e,t){if(e.length<=10)return;const r=e[10+t],o=r?r[26]:void 0;r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0&&(function hN(e,t){const n=e.get(Zs);if(t.detachedLeaveAnimationFns){for(const r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}(r[9],o),Pn.delete(r[19]),o.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function K0(e,t){if(e.length<=10)return;const r=e[10+t],o=r?r[26]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}(this.lContainer,t),function J0(e,t){return qo(e,t)}(this.lContainer,t)}create(t,n){return Pr(this.hostLView,this.templateTNode,new z0(this.lContainer,n,t),{dehydratedView:null})}destroy(t){$o(t[1],t)}updateValue(t,n){this.getLView(t)[8].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[8].$index=t}getLView(t){return function X0(e,t){return O_(e,t)}(this.lContainer,t)}}function cb(e){const t=S(null),n=Ce();try{const r=m(),o=r[1],i=r[n],s=n+1,a=Ba(r,s);if(void 0===i.liveCollection){const l=Xd(o,s);i.liveCollection=new Q0(a,r,l)}else i.liveCollection.reset();const c=i.liveCollection;if(function q0(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){S(r);let l=t.length-1;for(S(null);s<=a&&s<=l;){const u=e.at(s),d=t[s],f=Yd(s,u,s,d,n);if(0!==f){f<0&&e.updateValue(s,d),s++;continue}const h=e.at(a),p=t[l],g=Yd(a,h,l,p,n);if(0!==g){g<0&&e.updateValue(a,p),a--,l--;continue}const _=n(s,u),b=n(a,h),y=n(s,d);if(Object.is(y,b)){const j=n(l,p);Object.is(j,_)?(e.swap(s,a),e.updateValue(a,p),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ib,i??=ob(e,s,a,n),Kd(e,o,s,y))e.updateValue(s,d),s++,a++;else if(i.has(y))o.set(_,e.detach(s)),a--;else{const j=e.create(s,t[s]);e.attach(s,j),s++,a++}}for(;s<=l;)rb(e,o,n,s,t[s]),s++}else if(null!=t){S(r);const l=t[Symbol.iterator]();S(null);let u=l.next();for(;!u.done&&s<=a;){const d=e.at(s),f=u.value,h=Yd(s,d,s,f,n);if(0!==h)h<0&&e.updateValue(s,f),s++,u=l.next();else{o??=new ib,i??=ob(e,s,a,n);const p=n(s,f);if(Kd(e,o,s,p))e.updateValue(s,f),s++,a++,u=l.next();else if(i.has(p)){const g=n(s,d);o.set(g,e.detach(s)),a--}else e.attach(s,e.create(s,f)),s++,a++,u=l.next()}}for(;!u.done;)rb(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){const l=Ae(),u=0===c.length;if(oe(r,l,u)){const d=n+2,f=Ba(r,d);if(u){const h=Xd(o,d),p=null;Lr(f,Pr(r,h,void 0,{dehydratedView:p}),0,Ln(h,p))}else o.firstUpdatePass&&function fa(e){const t=e[6]??[],r=e[3][T],o=[];for(const i of t)void 0!==i.data.di?o.push(i):ey(i,r);e[6]=o}(f),zu(f,0)}}}finally{S(t)}}function Ba(e,t){return e[t]}function Xd(e,t){return gr(e,t)}function ui(e,t,n){const r=m();return oe(r,Ae(),t)&&(x(),Xs(function ft(){const e=R.lFrame;return gr(e.tView,e.selectedIndex)}(),r,e,t,r[T],n)),ui}function ef(e,t,n,r,o){ra(t,e,n,o?"class":"style",r)}function V(e,t,n,r){const o=m(),i=o[1],s=e+M,a=i.firstCreatePass?sd(s,o,2,t,$u,function Sl(){return R.bindingsEnabled}(),n,r):i.data[s];if(function ta(e,t,n,r,o){const i=M+n,s=t[1],a=o(s,t,e,r,n);t[i]=a,xt(e,!0);const c=2===e.type;return c?(Um(t[T],a,e),(0===function vk(){return R.lFrame.elementDepthCount}()||hr(e))&&Ue(a,t),function bk(){R.lFrame.elementDepthCount++}()):Ue(a,t),ps()&&(!c||!Rs(e))&&Hu(s,t,a,e),e}(a,o,e,t,rf),hr(a)){const c=o[1];Js(c,o,a),_u(c,a,o)}return null!=r&&Or(o,a),V}function F(){const e=x(),n=na(O());return e.firstCreatePass&&ad(e,n),function bp(e){return R.skipHydrationRootTNode===e}(n)&&function Ep(){R.skipHydrationRootTNode=null}(),function yp(){R.lFrame.elementDepthCount--}(),null!=n.classesWithoutHost&&function DM(e){return!!(8&e.flags)}(n)&&ef(e,n,m(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function IM(e){return!!(16&e.flags)}(n)&&ef(e,n,m(),n.stylesWithoutHost,!1),F}function Bt(e,t,n,r){return V(e,t,n,r),F(),Bt}let rf=(e,t,n,r,o)=>(Do(!0),$s(t[T],r,function Ok(){return R.lFrame.currentNamespace}()));const $a="en-US";let _b=$a;function Ke(e,t,n){const r=m(),o=x(),i=O();return function uf(e,t,n,r,o,i,s){let a=!0,c=null;if((3&r.type||s)&&(c??=Vt(r,t,i),function ba(e,t,n,r,o,i,s,a){const c=hr(e);let l=!1,u=null;if(!r&&c&&(u=function ax(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],c=o[i+2];return a&&a.length>c?a[c]:null}"string"==typeof s&&(i+=2)}return null}(t,n,i,e.index)),null!==u)(u.__ngLastListenerFn__||u).__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0;else{const d=ie(e,n),f=r?r(d):d,h=o.listen(f,i,a);(function sx(e){return e.startsWith("animation")||e.startsWith("transition")})(i)||my(r?g=>r(De(g[e.index])):e.index,t,n,i,a,h,!1)}return l}(r,e,t,s,n,o,i,c)&&(a=!1)),a){const l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){const f=u[d],h=u[d+1];c??=Vt(r,t,i),Br(r,t,f,h,o,c)}if(l&&l.length)for(const d of l)c??=Vt(r,t,i),Br(r,t,d,o,o,c)}}(o,r,r[T],i,e,t,n),Ke}function yi(e=1){return function Tk(e){return(R.lFrame.contextLView=function pp(e,t){for(;e>0;)t=t[14],e--;return t}(e,R.lFrame.contextLView))[8]}(e)}function Wa(e,t){return e<<17|t<<2}function Yn(e){return e>>17&32767}function df(e){return 2|e}function Xr(e){return(131068&e)>>2}function ff(e,t){return-131069&e|t<<2}function hf(e){return 1|e}function Bb(e,t,n,r){const o=e[n+1],i=null===t;let s=r?Yn(o):Xr(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];sF(e[s],t)&&(a=!0,e[s+1]=r?hf(l):df(l)),s=r?Yn(l):Xr(l)}a&&(e[n+1]=r?df(o):hf(o))}function sF(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&vo(e,t)>=0}const be={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ub(e){return e.substring(be.key,be.keyEnd)}function $b(e,t){const n=be.textEnd;return n===t?-1:(t=be.keyEnd=function uF(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,be.key=t,n),eo(e,t,n))}function eo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Za(e,t){return function Yb(e,t,n,r){const o=m(),i=x(),s=Rt(2);i.firstUpdatePass&&Xb(i,e,s,r),t!==K&&oe(o,s,t)&&tE(i,i.data[Ce()],o,o[T],e,o[s+1]=function DF(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Je(tn(e)))),e}(t,n),r,s)}(e,t,null,!0),Za}function Qb(e){!function Kb(e,t,n,r){const o=x(),i=Rt(2);o.firstUpdatePass&&Xb(o,null,i,r);const s=m();if(n!==K&&oe(s,i,n)){const a=o.data[Ce()];if(rE(a,r)&&!Jb(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(n=Kc(c,n||"")),ef(o,a,s,n,r)}else!function wF(e,t,n,r,o,i,s,a){o===K&&(o=re);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==u||null!==d;){const f=c<o.length?o[c+1]:void 0,h=l<i.length?i[l+1]:void 0;let g,p=null;u===d?(c+=2,l+=2,f!==h&&(p=d,g=h)):null===d||null!==u&&u<d?(c+=2,p=u):(l+=2,p=d,g=h),null!==p&&tE(e,t,n,r,p,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}(o,a,s,s[T],s[i+1],s[i+1]=function bF(e,t,n){if(null==n||""===n)return re;const r=[],o=tn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(const i of o)e(r,i,!0);else if("object"==typeof o)for(const i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,i)}}(EF,gF,e,!0)}function gF(e,t){for(let n=function cF(e){return function qb(e){be.key=0,be.keyEnd=0,be.value=0,be.valueEnd=0,be.textEnd=e.length}(e),$b(e,eo(e,0,be.textEnd))}(t);n>=0;n=$b(t,n))rs(e,Ub(t),!0)}function Jb(e,t){return t>=e.expandoStartIndex}function Xb(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ce()],s=Jb(e,n);rE(i,r)&&null===t&&!s&&(t=!1),t=function mF(e,t,n,r){const o=function Nl(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=vi(n=pf(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=pf(o,e,t,n,r),null===i){let c=function _F(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Xr(r))return e[Yn(r)]}(e,t,r);void 0!==c&&Array.isArray(c)&&(c=pf(null,e,t,c[1],r),c=vi(c,t.attrs,r),function yF(e,t,n,r){e[Yn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,c))}else i=function vF(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=vi(r,e[i].hostAttrs,n);return vi(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function oF(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Yn(s),c=Xr(s);e[r]=n;let u,l=!1;if(Array.isArray(n)?(u=n[1],(null===u||vo(n,u)>0)&&(l=!0)):u=n,o)if(0!==c){const f=Yn(e[a+1]);e[r+1]=Wa(f,a),0!==f&&(e[f+1]=ff(e[f+1],r)),e[a+1]=function nF(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Wa(a,0),0!==a&&(e[a+1]=ff(e[a+1],r)),a=r;else e[r+1]=Wa(c,0),0===a?a=r:e[c+1]=ff(e[c+1],r),c=r;l&&(e[r+1]=df(e[r+1])),Bb(e,u,r,!0),Bb(e,u,r,!1),function iF(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&vo(i,t)>=0&&(n[r+1]=hf(n[r+1]))}(t,u,e,r,i),s=Wa(a,c),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function pf(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=vi(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function vi(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),rs(e,s,!!n||t[++i]))}return void 0===e?null:e}function EF(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&rs(e,r,n)}function tE(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const c=e.data,l=c[a+1],u=function rF(e){return!(1&~e)}(l)?nE(c,t,n,o,Xr(l),s):void 0;Qa(u)||(Qa(i)||function tF(e){return!(2&~e)}(l)&&(i=nE(c,null,n,o,a,s)),function wN(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:On.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=On.Important),e.setStyle(n,r,o,i))}}(r,s,pr(Ce(),n),o,i))}function nE(e,t,n,r,o,i){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===K&&(f=d?re:void 0);let h=d?cl(f,r):u===r?f:void 0;if(l&&!Qa(h)&&(h=cl(c,r)),Qa(h)&&(a=h,s))return a;const p=e[o+1];o=s?Yn(p):Xr(p)}if(null!==t){let c=i?t.residualClasses:t.residualStyles;null!=c&&(a=cl(c,r))}return a}function Qa(e){return void 0!==e}function rE(e,t){return!!(e.flags&(t?8:16))}function B(e,t=""){const n=m(),r=x(),o=e+M,i=r.firstCreatePass?Vn(r,o,1,t,null):r.data[o],s=oE(r,n,i,t,e);n[o]=s,ps()&&Hu(r,n,s,i),xt(i,!1)}let oE=(e,t,n,r,o)=>(Do(!0),function Cu(e,t){return e.createText(t)}(t[T],r));function gf(e){return Ya("",e),gf}function Ya(e,t,n){const r=m(),o=function sE(e,t,n,r=""){return oe(e,Ae(),n)?t+P(n)+r:K}(r,e,t,n);return o!==K&&function Ut(e,t,n){const r=pr(t,e);!function Vm(e,t,n){e.setValue(t,n)}(e[T],r,n)}(r,Ce(),o),Ya}function kE(e,t,n){const r=x();r.firstCreatePass&&ME(t,r.data,r.blueprint,dt(e),n)}function ME(e,t,n,r,o){if(e=L(e),Array.isArray(e))for(let i=0;i<e.length;i++)ME(e[i],t,n,r,o);else{const i=x(),s=m(),a=O();let c=Mt(e)?e:L(e.provide);const l=rp(e),u=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(Mt(e)||!e.multi){const h=new Mo(l,o,k,null),p=_f(c,t,o?u:u+f,d);-1===p?(Zl(ws(a,s),i,c),mf(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=_f(c,t,u+f,d),p=_f(c,t,u,u+f),_=p>=0&&n[p];if(o&&!_||!o&&!(h>=0&&n[h])){Zl(ws(a,s),i,c);const b=function BF(e,t,n,r,o){const s=new Mo(e,n,k,null);return s.multi=[],s.index=t,s.componentProviders=0,SE(s,o,r&&!n),s}(o?HF:jF,n.length,o,r,l);!o&&_&&(n[p].providerFactory=b),mf(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else mf(i,e,h>-1?h:p,SE(n[o?p:h],l,!o&&r));!o&&r&&_&&n[p].componentProviders++}}}function mf(e,t,n,r){const o=Mt(t),i=function tp(e){return!!e.useClass}(t);if(o||i){const c=(i?L(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,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function SE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _f(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function jF(e,t,n,r,o){return yf(this.multi,[])}function HF(e,t,n,r,o){const i=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,c=No(r,r[1],this.providerFactory.index,o);s=c.slice(0,a),yf(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],yf(i,s);return s}function yf(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function se(e,t){return n=>{n.providersResolver=(r,o)=>kE(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>kE(r,o?o(t):t,!0))}}let VL=(()=>{class e{applicationErrorHandler=I(Sn);appRef=I(on);taskService=I(Mn);ngZone=I(J);zonelessEnabled=I(_s);tracing=I(Uo,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ze;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ms):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(qp,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const n=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(n)):this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Vk:Hp;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ms+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ew=new D("",{factory:()=>I(ew,{optional:!0,skipSelf:!0})||function jL(){return typeof $localize<"u"&&$localize.locale||$a}()});let ZL=(()=>{class e{zone=I(J);changeDetectionScheduler=I(yr);applicationRef=I(on);applicationErrorHandler=I(Sn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const QL=new D("",{factory:()=>!1});function lw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let JL=(()=>{class e{subscription=new Ze;initialized=!1;zone=I(J);pendingTasks=I(Mn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const rc=new D(""),n1=new D("");function Di(e){return!e.moduleRef}let ro=null;let Cw=(()=>class e{static __NG_ELEMENT_ID__=E1})();function E1(e){return function w1(e,t,n){if(vt(e)&&!n){const r=Ve(e.index,t);return new zo(r,r)}return 175&e.type?new zo(t[15],t):null}(O(),m(),!(16&~e))}function A1(e){const{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;Q(w.BootstrapApplicationStart);try{const i=o?.injector??function a1(e=[]){if(ro)return ro;const t=function gw(e=[],t){return nt.create({name:t,providers:[{provide:pl,useValue:"platform"},{provide:rc,useValue:new Set([()=>ro=null])},...e]})}(e);return ro=t,function mO(){!function dC(e){kh=e}(()=>{throw new E(600,"")})}(),function mw(e){const t=e.get(Gg,null);op(e,()=>{t?.forEach(n=>n())})}(t),t}(r),s=[[{provide:yr,useExisting:VL},{provide:J,useClass:$k},{provide:_s,useValue:!0}],Gp,...n||[]];return function dw(e){const t=Di(e)?e.r3Injector:e.moduleRef.injector,n=t.get(J);return n.run(()=>{Di(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Sn);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Di(e)){const i=()=>t.destroy(),s=e.platformInjector.get(rc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{const i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(rc);s.add(i),e.moduleRef.onDestroy(()=>{Na(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return function o1(e,t,n){try{const r=n();return Pd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}(r,n,()=>{const i=t.get(Mn),s=i.add(),a=t.get(Rv);return a.runInitializers(),a.donePromise.then(()=>{if(function uP(e){"string"==typeof e&&(_b=e.toLowerCase().replace(/_/g,"-"))}(t.get(ew,$a)||$a),!t.get(n1,!0))return Di(e)?t.get(on):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Di(e)){const u=t.get(on);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return e.moduleRef}).finally(()=>{i.remove(s)})})})}({r3Injector:new Hy({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{Q(w.BootstrapApplicationEnd)}}const W1={providers:[function KL(e){const t=e?.scheduleInRootZone,n=function YL({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new J({...lw(),scheduleInRootZone:t}),[{provide:_s,useValue:!1},{provide:J,useFactory:e},{provide:qt,multi:!0,useFactory:()=>{const n=I(ZL,{optional:!0});return()=>n.initialize()}},{provide:qt,multi:!0,useFactory:()=>{const n=I(JL);return()=>{n.initialize()}}},{provide:qp,useValue:t??jp}]}({ngZoneFactory:()=>{const r=lw(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&ke("NgZone_CoalesceEvent"),new J(r)},scheduleInRootZone:t});return function ul(e){return{\u0275providers:e}}([{provide:QL,useValue:!0},n])}({eventCoalescing:!0})]};function ct(e,t){return function cC(e,t){const n=Object.create(lC);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(lo(n),Hi(n),n.value===$t)throw n.error;return n.value};return r[Ee]=n,r}(e,t?.equal)}Error,Error;let Zw=null;function Ci(){return Zw}class aV{}function cn(e){return this instanceof cn?(this.v=e,this):new cn(e)}function Jw(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 Pf(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Xw=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function eD(e){return me(e?.then)}function tD(e){return me(e[zc])}function nD(e){return Symbol.asyncIterator&&me(e?.[Symbol.asyncIterator])}function rD(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 oD=function OV(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function iD(e){return me(e?.[oD])}function sD(e){return function Kw(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(h,p){r[h]&&(o[h]=function(g){return new Promise(function(_,b){i.push([h,g,_,b])>1||c(h,g)})},p&&(o[h]=p(o[h])))}function c(h,p){try{!function l(h){h.value instanceof cn?Promise.resolve(h.value.v).then(u,d):f(i[0][2],h)}(r[h](p))}catch(g){f(i[0][3],g)}}function u(h){c("next",h)}function d(h){c("throw",h)}function f(h,p){h(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield cn(n.read());if(o)return yield cn(void 0);yield yield cn(r)}}finally{n.releaseLock()}})}function aD(e){return me(e?.getReader)}function ln(e){if(e instanceof Pe)return e;if(null!=e){if(tD(e))return function PV(e){return new Pe(t=>{const n=e[zc]();if(me(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Xw(e))return function FV(e){return new Pe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(eD(e))return function LV(e){return new Pe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Rh)})}(e);if(nD(e))return cD(e);if(iD(e))return function VV(e){return new Pe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(aD(e))return function jV(e){return cD(sD(e))}(e)}throw rD(e)}function cD(e){return new Pe(t=>{(function HV(e,t){var n,r,o,i;return function Qw(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Jw(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function It(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function lD(e,t=0){return Tn((n,r)=>{n.subscribe(Kt(r,o=>It(r,e,()=>r.next(o),t),()=>It(r,e,()=>r.complete(),t),o=>It(r,e,()=>r.error(o),t)))})}function uD(e,t=0){return Tn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function dD(e,t){if(!e)throw new Error("Iterable cannot be null");return new Pe(n=>{It(n,t,()=>{const r=e[Symbol.asyncIterator]();It(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ki(e,t){return t?function zV(e,t){if(null!=e){if(tD(e))return function BV(e,t){return ln(e).pipe(uD(t),lD(t))}(e,t);if(Xw(e))return function $V(e,t){return new Pe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(eD(e))return function UV(e,t){return ln(e).pipe(uD(t),lD(t))}(e,t);if(nD(e))return dD(e,t);if(iD(e))return function GV(e,t){return new Pe(n=>{let r;return It(n,t,()=>{r=e[oD](),It(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>me(r?.return)&&r.return()})}(e,t);if(aD(e))return function qV(e,t){return dD(sD(e),t)}(e,t)}throw rD(e)}(e,t):ln(e)}const{isArray:WV}=Array,{getPrototypeOf:ZV,prototype:QV,keys:YV}=Object;function fD(e){if(1===e.length){const t=e[0];if(WV(t))return{args:t,keys:null};if(function KV(e){return e&&"object"==typeof e&&ZV(e)===QV}(t)){const n=YV(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Lf(e){return e[e.length-1]}function hD(e){return me(Lf(e))?e.pop():void 0}function Vf(e){return function JV(e){return e&&me(e.schedule)}(Lf(e))?e.pop():void 0}const{isArray:XV}=Array;function pD(e){return Co(t=>function ej(e,t){return XV(t)?e(...t):e(t)}(e,t))}function gD(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let mD=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(k(ei),k(Ft))};static \u0275dir=G({type:e})}return e})(),Jn=(()=>{class e extends mD{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ie(e)))(o||e)}})();static \u0275dir=G({type:e,features:[Y]})}return e})();const Ct=new D(""),rj={provide:Ct,useExisting:te(()=>cc),multi:!0},ij=new D("");let cc=(()=>{class e extends mD{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,null==this._compositionMode&&(this._compositionMode=!function oj(){const e=Ci()?Ci().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(k(ei),k(Ft),k(ij,8))};static \u0275dir=G({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&Ke("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[se([rj]),Y]})}return e})();function jf(e){return null==e||0===Hf(e)}function Hf(e){return null==e?null:Array.isArray(e)||"string"==typeof e?e.length:e instanceof Set?e.size:null}const Re=new D(""),un=new D(""),sj=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Bf{static min(t){return function yD(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function vD(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function bD(e){return jf(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function ED(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function wD(e){return jf(e.value)||sj.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function DD(e){return t=>{const n=t.value?.length??Hf(t.value);return null===n||0===n?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}(t)}static maxLength(t){return function ID(e){return t=>{const n=t.value?.length??Hf(t.value);return null!==n&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}(t)}static pattern(t){return function CD(e){if(!e)return lc;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(jf(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return AD(t)}static composeAsync(t){return xD(t)}}function lc(e){return null}function kD(e){return null!=e}function MD(e){return Pd(e)?ki(e):e}function SD(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function TD(e,t){return t.map(n=>n(e))}function ND(e){return e.map(t=>function aj(e){return!e.validate}(t)?t:n=>t.validate(n))}function AD(e){if(!e)return null;const t=e.filter(kD);return 0==t.length?null:function(n){return SD(TD(n,t))}}function Uf(e){return null!=e?AD(ND(e)):null}function xD(e){if(!e)return null;const t=e.filter(kD);return 0==t.length?null:function(n){return function tj(...e){const t=hD(e),{args:n,keys:r}=fD(e),o=new Pe(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u<s;u++){let d=!1;ln(n[u]).subscribe(Kt(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?gD(r,a):a),i.complete())}))}});return t?o.pipe(pD(t)):o}(TD(n,t).map(MD)).pipe(Co(SD))}}function $f(e){return null!=e?xD(ND(e)):null}function RD(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function OD(e){return e._rawValidators}function PD(e){return e._rawAsyncValidators}function Gf(e){return e?Array.isArray(e)?e:[e]:[]}function uc(e,t){return Array.isArray(e)?e.includes(t):e===t}function FD(e,t){const n=Gf(t);return Gf(e).forEach(o=>{uc(n,o)||n.push(o)}),n}function LD(e,t){return Gf(t).filter(n=>!uc(e,n))}class VD{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Uf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=$f(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Oe extends VD{name;get formDirective(){return null}get path(){return null}}class dn extends VD{_parent=null;name=null;valueAccessor=null}class jD{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let HD=(()=>{class e extends jD{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(k(dn,2))};static \u0275dir=G({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Za("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[Y]})}return e})(),BD=(()=>{class e extends jD{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(k(Oe,10))};static \u0275dir=G({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&Za("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[Y]})}return e})();const Mi="VALID",fc="INVALID",oo="PENDING",Si="DISABLED";class io{}class GD extends io{value;source;constructor(t,n){super(),this.value=t,this.source=n}}class Wf extends io{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}}class Zf extends io{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}}class hc extends io{status;source;constructor(t,n){super(),this.status=t,this.source=n}}class qD extends io{source;constructor(t){super(),this.source=t}}class Qf extends io{source;constructor(t){super(),this.source=t}}function Yf(e){return(pc(e)?e.validators:e)||null}function Kf(e,t){return(pc(t)?t.asyncValidators:e)||null}function pc(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function zD(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new E(1e3,"");if(!r[n])throw new E(1001,"")}function WD(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new E(1002,"")})}class gc{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return ye(this.statusReactive)}set status(t){ye(()=>this.statusReactive.set(t))}_status=ct(()=>this.statusReactive());statusReactive=ot(void 0);get valid(){return this.status===Mi}get invalid(){return this.status===fc}get pending(){return this.status==oo}get disabled(){return this.status===Si}get enabled(){return this.status!==Si}errors;get pristine(){return ye(this.pristineReactive)}set pristine(t){ye(()=>this.pristineReactive.set(t))}_pristine=ct(()=>this.pristineReactive());pristineReactive=ot(!0);get dirty(){return!this.pristine}get touched(){return ye(this.touchedReactive)}set touched(t){ye(()=>this.touchedReactive.set(t))}_touched=ct(()=>this.touchedReactive());touchedReactive=ot(!1);get untouched(){return!this.touched}_events=new or;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(FD(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(FD(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(LD(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(LD(t,this._rawAsyncValidators))}hasValidator(t){return uc(this._rawValidators,t)}hasAsyncValidator(t){return uc(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const n=!1===this.touched;this.touched=!0;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new Zf(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){const n=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&!1!==t.emitEvent&&this._events.next(new Zf(!1,r))}markAsDirty(t={}){const n=!0===this.pristine;this.pristine=!1;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new Wf(!1,r))}markAsPristine(t={}){const n=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&!1!==t.emitEvent&&this._events.next(new Wf(!0,r))}markAsPending(t={}){this.status=oo;const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new hc(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:n})}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Si,this.errors=null,this._forEachChild(o=>{o.disable({...t,onlySelf:!0})}),this._updateValue();const r=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new GD(this.value,r)),this._events.next(new hc(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Mi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Mi||this.status===oo)&&this._runAsyncValidator(r,t.emitEvent)}const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new GD(this.value,n)),this._events.next(new hc(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:n})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Si:Mi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=oo,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n,shouldHaveEmitted:!1!==t};const r=MD(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new hc(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new xe,this.statusChanges=new xe}_calculateStatus(){return this._allControlsDisabled()?Si:this.errors?fc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(oo)?oo:this._anyControlsHaveStatus(fc)?fc:Mi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){const r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new Wf(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Zf(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){pc(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function pj(e){return Array.isArray(e)?Uf(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function gj(e){return Array.isArray(e)?$f(e):e||null}(this._rawAsyncValidators)}}class Ti extends gc{constructor(t,n,r){super(Yf(n),Kf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){WD(this,0,t),Object.keys(t).forEach(r=>{zD(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{...n,onlySelf:!0})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),!1!==n?.emitEvent&&this._events.next(new Qf(this))}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class ZD extends Ti{}const so=new D("",{factory:()=>mc}),mc="always";function Ni(e,t,n=mc){Jf(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function _j(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&QD(e,t)})}(e,t),function vj(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function yj(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&QD(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function mj(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function yc(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),bc(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function vc(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Jf(e,t){const n=OD(e);null!==t.validator?e.setValidators(RD(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=PD(e);null!==t.asyncValidator?e.setAsyncValidators(RD(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();vc(t._rawValidators,o),vc(t._rawAsyncValidators,o)}function bc(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=OD(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.validator);i.length!==o.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const o=PD(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(n=!0,e.setAsyncValidators(i))}}}const r=()=>{};return vc(t._rawValidators,r),vc(t._rawAsyncValidators,r),n}function QD(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function JD(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function XD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const xi=class extends gc{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(Yf(n),Kf(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pc(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=XD(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),n.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,!1!==n?.emitEvent&&this._events.next(new Qf(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){JD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){JD(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){XD(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};Promise.resolve();let nI=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})();class sI extends gc{constructor(t,n,r){super(Yf(n),Kf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){Array.isArray(t)?t.forEach(r=>{this.controls.push(r),this._registerControl(r)}):(this.controls.push(t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){WD(this,0,t),t.forEach((r,o)=>{zD(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{...n,onlySelf:!0})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),!1!==n?.emitEvent&&this._events.next(new Qf(this))}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}let Ic=(()=>{class e extends Oe{callSetDisabledState;get submitted(){return ye(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}_submitted=ct(()=>this._submittedReactive());_submittedReactive=ot(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(n,r,o){super(),this.callSetDisabledState=o,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this.onChanges(n)}ngOnDestroy(){this.onDestroy()}onChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(bc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(n){const r=this.form.get(n.path);return Ni(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){yc(n.control||null,n,!1),function Dj(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}getFormArray(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}updateModel(n,r){this.form.get(n.path).setValue(r)}onReset(){this.resetForm()}resetForm(n=void 0,r={}){this.form.reset(n,r),this._submittedReactive.set(!1)}onSubmit(n){return this.submitted=!0,function KD(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new qD(this.control)),"dialog"===n?.target?.method}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(yc(r||null,n),(e=>e instanceof xi)(o)&&(Ni(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function YD(e,t){Jf(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function bj(e,t){return bc(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Jf(this.form,this),this._oldForm&&bc(this._oldForm,this)}_checkFormPresent(){}static \u0275fac=function(r){return new(r||e)(k(Re,10),k(un,10),k(so,8))};static \u0275dir=G({type:e,features:[Y,Dr]})}return e})();const nh=new D(""),Vj={provide:dn,useExisting:te(()=>rh)};let rh=(()=>{class e extends dn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(n){}model;update=new xe;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function th(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===cc?n=i:function wj(e){return Object.getPrototypeOf(e.constructor)===Jn}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._added||this._setUpControl(),function eh(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function _c(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||e)(k(Oe,13),k(Re,10),k(un,10),k(Ct,10),k(nh,8))};static \u0275dir=G({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[se([Vj]),Y,Dr]})}return e})();const jj={provide:Oe,useExisting:te(()=>oh)};let oh=(()=>{class e extends Ic{form=null;ngSubmit=new xe;get control(){return this.form}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ie(e)))(o||e)}})();static \u0275dir=G({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&Ke("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[se([jj]),Y]})}return e})();const Hj={provide:Ct,useExisting:te(()=>kc),multi:!0};function uI(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let kc=(()=>{class e extends Jn{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;appRefInjector=I(on).injector;destroyRef=I(rt);cdr=I(Cw);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,Ou({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(n){this.cdr.markForCheck(),this.value=n;const o=uI(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function Bj(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ie(e)))(o||e)}})();static \u0275dir=G({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&Ke("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[se([Hj]),Y]})}return e})(),dI=(()=>{class e{_element;_renderer;_select;id;constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(uI(this.id,n)),this._select._writeValueAfterRender())}set value(n){this._setElementValue(n),this._select&&this._select._writeValueAfterRender()}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select._writeValueAfterRender())}static \u0275fac=function(r){return new(r||e)(k(Ft),k(ei),k(kc,9))};static \u0275dir=G({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();const Uj={provide:Ct,useExisting:te(()=>ih),multi:!0};function fI(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ih=(()=>{class e extends Jn{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a<s.length;a++){const l=this._getOptionValue(s[a].value);o.push(l)}}else{const s=r.options;for(let a=0;a<s.length;a++){const c=s[a];if(c.selected){const l=this._getOptionValue(c.value);o.push(l)}}}this.value=o,n(o)}}_registerOption(n){const r=(this._idCounter++).toString();return this._optionMap.set(r,n),r}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,n))return r;return null}_getOptionValue(n){const r=function $j(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r)._value:n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ie(e)))(o||e)}})();static \u0275dir=G({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&Ke("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[se([Uj]),Y]})}return e})(),hI=(()=>{class e{_element;_renderer;_select;id;_value;constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(fI(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(fI(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||e)(k(Ft),k(ei),k(ih,9))};static \u0275dir=G({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})(),Jj=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ea({type:e});static \u0275inj=ho({})}return e})();function DI(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let Xj=(()=>{class e{useNonNullable=!1;get nonNullable(){const n=new e;return n.useNonNullable=!0,n}group(n,r=null){const o=this._reduceControls(n);let i={};return DI(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Ti(o,i)}record(n,r=null){const o=this._reduceControls(n);return new ZD(o,r)}control(n,r,o){let i={};return this.useNonNullable?(DI(r)?i=r:(i.validators=r,i.asyncValidators=o),new xi(n,{...i,nonNullable:!0})):new xi(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new sI(i,r,o)}_reduceControls(n){const r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){return n instanceof xi||n instanceof gc?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eH=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:nh,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:so,useValue:n.callSetDisabledState??mc}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ea({type:e});static \u0275inj=ho({imports:[Jj]})}return e})();function Mc(e){e||(e=I(rt));const t=new Pe(n=>{if(!e.destroyed)return e.onDestroy(n.next.bind(n));n.next()});return n=>n.pipe(function tH(e){return Tn((t,n)=>{ln(e).subscribe(Kt(n,()=>n.complete(),Hc)),!n.closed&&t.subscribe(n)})}(t))}function II(e,t,n=1/0){return me(t)?II((r,o)=>Co((i,s)=>t(r,i,o,s))(ln(e(r,o))),n):("number"==typeof t&&(n=t),Tn((r,o)=>function iH(e,t,n,r,o,i,s,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=g=>l<r?p(g):c.push(g),p=g=>{i&&t.next(g),l++;let _=!1;ln(n(g,u++)).subscribe(Kt(t,b=>{o?.(b),i?h(b):t.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){const b=c.shift();s?It(t,s,()=>p(b)):p(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(Kt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function aH(){return function sH(e=1/0){return II(Zi,e)}(1)}function CI(...e){return aH()(ki(e,Vf(e)))}function kI(...e){const t=Vf(e);return Tn((n,r)=>{(t?CI(e,n,t):CI(e,n)).subscribe(r)})}function MI(e,t,n){e?It(n,e,t):t()}class uH extends Ze{constructor(t,n){super()}schedule(t,n=0){return this}}const Sc={setInterval(e,t,...n){const{delegate:r}=Sc;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Sc;return(t?.clearInterval||clearInterval)(e)},delegate:void 0},SI={now:()=>(SI.delegate||Date).now(),delegate:void 0};class Oi{constructor(t,n=Oi.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}Oi.now=SI.now;const hH=new class fH extends Oi{constructor(t,n=Oi.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}(class dH extends uH{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const o=this.id,i=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Sc.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&Sc.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Gi(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}),gH=Vc(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function _H(e){throw new gH(e)}function TI(e){return"string"==typeof e&&""!==e.trim()}class bH{static splunkJs=void 0;static get(){return this.splunkJs||(this.splunkJs=globalThis.splunkjs.noConflict()),this.splunkJs}}class NI{namespace;service=void 0;constructor(t){this.namespace=t}getService(){if(this.service)return this.service;const t=bH.get();{const n=new t.SplunkWebHttp;this.service=new t.Service(n,this.namespace)}return this.service}}let AI=(()=>{class e{appName="bitwarden_event_logs";static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xI=(()=>{class e{globalNamespaceService=new NI({owner:"-",app:"-",sharing:"app"});bitwardenAppService;constructor(n){this.bitwardenAppService=new NI({owner:"nobody",app:n.appName,sharing:"app"})}getAllIndexes(){var n=this;return ce(function*(){const r=n.globalNamespaceService.getService().indexes(n.globalNamespaceService.namespace);return yield r.fetch(),r.list()})()}upsertStoragePassword(n,r,o){var i=this;return ce(function*(){const s=i.bitwardenAppService.getService().storagePasswords(i.bitwardenAppService.namespace);yield s.fetch(),yield s.createOrReplace({name:r,realm:n,password:o})})()}getConfigurationFile(n,r){var o=this;return ce(function*(){const i=o.bitwardenAppService.getService().configurations(o.bitwardenAppService.namespace);return yield i.fetch(),(yield i.getConfFile(n)).item(r)})()}upsertConfigurationFile(n,r,o){var i=this;return ce(function*(){const s=i.bitwardenAppService.getService().configurations(i.bitwardenAppService.namespace);yield s.fetch(),yield s.createAsync(n,r,o)})()}reloadApp(n){var r=this;return ce(function*(){const o=r.bitwardenAppService.getService().apps(r.bitwardenAppService.namespace);yield o.fetch();const i=o.item(n);console.debug("App properties",i.properties()),yield i.reload()})()}static \u0275fac=function(r){return new(r||e)(q(AI))};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),EH=(()=>{class e{config;splunkService;inputStanzaName;constructor(n,r){this.config=n,this.splunkService=r,this.inputStanzaName="script://$SPLUNK_HOME/etc/apps/"+this.config.appName+"/bin/bitwarden_event_logs.py"}upsertApiKey(n,r){var o=this;return ce(function*(){const i=o.config.appName+"_realm",s=n+"_"+r;yield o.splunkService.upsertStoragePassword(i,"api_key",s)})()}getInputsConfigurationFile(){var n=this;return ce(function*(){const o=(yield n.splunkService.getConfigurationFile("inputs",n.inputStanzaName)).properties();if(console.debug("Properties from inputs.conf",o),Object.keys(o).includes("index"))return{index:o.index}})()}updateInputsConfigurationFile(n){var r=this;return ce(function*(){yield r.splunkService.upsertConfigurationFile("inputs",r.inputStanzaName,n)})()}getScriptConfigurationFile(){var n=this;return ce(function*(){const o=(yield n.splunkService.getConfigurationFile("script","config")).properties();console.debug("Properties from script.conf",o);const i=Object.keys(o);if(i.includes("apiUrl")&&i.includes("identityUrl"))return{apiUrl:o.apiUrl,identityUrl:o.identityUrl,startDate:i.includes("startDate")?o.startDate:void 0}})()}updateScriptConfigurationFile(n){var r=this;return ce(function*(){yield r.splunkService.upsertConfigurationFile("script","config",n)})()}updateAppConfigurationFile(n){var r=this;return ce(function*(){yield r.splunkService.upsertConfigurationFile("app","install",{is_configured:n.toString()})})()}reloadApp(){var n=this;return ce(function*(){yield n.splunkService.reloadApp(n.config.appName)})()}static \u0275fac=function(r){return new(r||e)(q(AI),q(xI))};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wH=["id","app-root"];function DH(e,t){1&e&&(V(0,"div",3),B(1,"Loading configuration..."),F())}function IH(e,t){1&e&&(V(0,"div",11),B(1,"Client Id is required"),F())}function CH(e,t){1&e&&(V(0,"div",11),B(1,"Client Secret is required"),F())}function kH(e,t){1&e&&B(0," Server Url is required ")}function MH(e,t){1&e&&B(0," URLs starting with 'http://' are considered insecure and are not allowed in Splunk. Please use 'https://' instead. ")}function SH(e,t){1&e&&B(0," Invalid Url ")}function TH(e,t){if(1&e&&(V(0,"div",11),pt(1,kH,1,0)(2,MH,1,0)(3,SH,1,0),F()),2&e){const n=yi();$e(),gt(n.setupForm.controls.serverUrl.hasError("required")?1:n.setupForm.controls.serverUrl.hasError("insecureUrl")?2:3)}}function NH(e,t){if(1&e&&(V(0,"option",32),B(1),F()),2&e){const n=t.$implicit;ui("value",n),$e(),Ya(" ",n," ")}}function AH(e,t){1&e&&function ab(e,t,n,r,o,i,s,a,c,l,u,d,f){ke("NgControlFlow");const h=m(),p=x(),g=void 0!==c,_=m(),b=a?s.bind(_[15][8]):s,y=new Z0(g,b);_[M+e]=y,Un(h,p,e+1,t,n,r,o,Ne(p.consts,i),256),g&&Un(h,p,e+2,c,l,u,d,Ne(p.consts,f),512)}(0,NH,2,2,"option",32,sb),2&e&&cb(yi().indexes())}function xH(e,t){1&e&&(V(0,"option",24),B(1,"Loading.."),F())}function RH(e,t){1&e&&(V(0,"div",11),B(1,"Index is required"),F())}function OH(e,t){1&e&&(V(0,"div",29),B(1," Form contains errors. "),F())}function PH(e,t){1&e&&(V(0,"div",33),B(1," Setup configuration saved. "),F())}function FH(e,t){if(1&e&&(V(0,"div",29)(1,"strong",34),B(2,"Error: "),F(),V(3,"span",35),B(4),F()()),2&e){let n;const r=yi(2);$e(4),gf(null==(n=r.submitResult())?null:n.message)}}function LH(e,t){1&e&&pt(0,PH,2,0,"div",33)(1,FH,5,1,"div",29),2&e&&gt(yi().submitResult().success?0:1)}let VH=(()=>{class e{bitwardenSplunkService;setupForm;loadingConfiguration=ot(!0);indexes;submitLoading=ot(!1);submitResult=ot(void 0);constructor(n,r,o){this.bitwardenSplunkService=o,this.setupForm=r.group({clientId:["",Bf.required],clientSecret:["",Bf.required],serverUrlType:["bitwarden.com"],serverUrl:[""],startDate:[""],index:[""],indexOverride:[""]},{validators:e=>{const t=e.get("index"),n=e.get("indexOverride");if(!t||!n)return null;const o=n.value;return TI(t.value)||TI(o)?null:{indexRequired:!0}}}),this.setupForm.controls.serverUrlType.valueChanges.pipe(kI(this.setupForm.controls.serverUrlType.value),Mc()).subscribe(s=>{const a=this.setupForm.controls.serverUrl;"self-hosted"===s?(a.setValidators([Bf.required,e=>{if(!e.value)return null;const t=e.value.trim();return t.startsWith("http://")?{insecureUrl:!0}:URL.canParse(t)||!t.startsWith("https://")&&URL.canParse("https://"+t)?null:{invalidUrl:!0}}]),a.enable()):(a.clearValidators(),a.disable()),a.updateValueAndValidity()}),this.setupForm.controls.indexOverride.valueChanges.pipe(kI(this.setupForm.controls.indexOverride.value),Mc()).subscribe(s=>{const a=this.setupForm.controls.index;s&&s.length>0?a.disable():a.enable()});const i=ki(n.getAllIndexes()).pipe(Co(s=>s.map(a=>a.name)));this.indexes=function rH(e,t){const r=t?.manualCleanup?null:t?.injector?.get(rt)??I(rt),o=function oH(e=Object.is){return(t,n)=>1===t.kind&&1===n.kind&&e(t.value,n.value)}(t?.equal);let i,s;i=ot(t?.requireSync?{kind:0}:{kind:1,value:t?.initialValue},{equal:o});const a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(t?.requireSync&&0===i().kind)throw new E(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),ct(()=>{const c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new E(601,!1)}},{equal:t?.equal})}(i),this.loadConfiguration(i)}onSubmit(){var n=this;return ce(function*(){if(n.setupForm.invalid)return void n.setupForm.markAllAsTouched();n.submitLoading.set(!0),n.submitResult.set(void 0);const r=n.setupForm.value;try{yield n.bitwardenSplunkService.upsertApiKey(r.clientId,r.clientSecret);const o=r.indexOverride?r.indexOverride:r.index;let i,s;if(console.debug("Index",o),yield n.bitwardenSplunkService.updateInputsConfigurationFile({index:o}),n.isServerUrlBitwardenCloud(r.serverUrlType)){const a="bitwarden.com"===r.serverUrlType?"bitwarden.com":"bitwarden.eu";i=`https://api.${a}`,s=`https://identity.${a}`}else{const a=/^https?:\/\//.test(r.serverUrl),c=new URL(a?r.serverUrl:"https://"+r.serverUrl);c.pathname.endsWith("/")||(c.pathname=c.pathname+"/"),i=c.href+"api",s=c.href+"identity"}console.debug("Bitwarden urls",i,s),yield n.bitwardenSplunkService.updateScriptConfigurationFile({apiUrl:i,identityUrl:s,startDate:r.startDate}),yield n.bitwardenSplunkService.updateAppConfigurationFile(!0),yield n.bitwardenSplunkService.reloadApp(),n.submitResult.set({success:!0})}catch(o){console.error(o);let i="An error occurred. Please try again.";o instanceof Error&&(i+=" Error: "+o.message),n.submitResult.set({success:!1,message:i})}finally{n.submitLoading.set(!1)}})()}loadConfiguration(n){(function cH(...e){const t=Vf(e),n=hD(e),{args:r,keys:o}=fD(e);if(0===r.length)return ki([],t);const i=new Pe(function lH(e,t,n=Zi){return r=>{MI(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let c=0;c<o;c++)MI(t,()=>{const l=ki(e[c],t);let u=!1;l.subscribe(Kt(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>gD(o,s):Zi));return n?i.pipe(pD(n)):i})([n,this.bitwardenSplunkService.getInputsConfigurationFile(),this.bitwardenSplunkService.getScriptConfigurationFile()]).pipe(function mH(e,t){const{first:n,each:r,with:o=_H,scheduler:i=t??hH,meta:s=null}=function pH(e){return e instanceof Date&&!isNaN(e)}(e)?{first:e}:"number"==typeof e?{each:e}:e;if(null==n&&null==r)throw new TypeError("No timeout provided.");return Tn((a,c)=>{let l,u,d=null,f=0;const h=p=>{u=It(c,i,()=>{try{l.unsubscribe(),ln(o({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(g){c.error(g)}},p)};l=a.subscribe(Kt(c,p=>{u?.unsubscribe(),f++,c.next(d=p),r>0&&h(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!f&&h(null!=n?"number"==typeof n?n:+n-i.now():r)})}(6e4),Mc()).subscribe({next:([r,o,i])=>{console.debug("Bitwarden app Configuration loaded"),console.debug("Available Splunk indexes",r),console.debug("Inputs configuration",o),console.debug("Script configuration",i);const s={};if(void 0!==o&&(r.includes(o.index)?s.index=o.index:s.indexOverride=o.index),void 0!==i&&URL.canParse(i.apiUrl)){const a=new URL(i.apiUrl);"api.bitwarden.com"===a.host?s.serverUrlType="bitwarden.com":"api.bitwarden.eu"===a.host?s.serverUrlType="bitwarden.eu":(s.serverUrlType="self-hosted",a.pathname=a.pathname.replace(/\/api$/i,""),s.serverUrl=a.href),s.startDate=i.startDate??""}this.setupForm.patchValue(s),this.loadingConfiguration.set(!1)},error:r=>{console.error("Failed to load configuration.",r),this.loadingConfiguration.set(!1)}})}isServerUrlBitwardenCloud(n){return"bitwarden.com"===n||"bitwarden.eu"===n}static \u0275fac=function(r){return new(r||e)(k(xI),k(Xj),k(EH))};static \u0275cmp=Uy({type:e,selectors:[["","id","app-root"]],attrs:wH,decls:82,vars:12,consts:[[3,"ngSubmit","formGroup"],[1,"p-8"],[1,"mt-1","text-2xl","font-semibold","text-gray-900"],[1,"mt-1","text-gray-600"],["href","https://bitwarden.com/help/splunk-siem/#connect-your-bitwarden-organization","target","_blank","rel","noopener noreferrer",1,"font-medium","text-blue-600","hover:underline"],[1,"mt-8","grid","gap-x-4","gap-y-2"],[1,"font-semibold","text-gray-900"],["href","https://bitwarden.com/help/public-api/#authentication","target","_blank","rel","noopener noreferrer",1,"font-medium","text-blue-600","hover:underline"],["for","clientId",1,"block","text-sm","font-medium","leading-6","text-gray-900"],[1,"flex","sm:max-w-md"],["type","text","formControlName","clientId","id","clientId",1,"block","flex-1","border","rounded-md","border-gray-300","focus:border-indigo-600","bg-transparent","py-1.5","pl-1","text-gray-900","placeholder:text-gray-400","sm:text-sm","sm:leading-6"],[1,"text-red-600","text-sm"],["for","clientSecret",1,"block","text-sm","font-medium","leading-6","text-gray-900"],["type","password","formControlName","clientSecret","id","clientSecret",1,"block","flex-1","border","rounded-md","border-gray-300","focus:border-indigo-600","bg-transparent","py-1.5","pl-1","text-gray-900","placeholder:text-gray-400","sm:text-sm","sm:leading-6"],[1,"mt-6","font-semibold","text-gray-900"],["for","serverUrl",1,"block","text-sm","font-medium","leading-6","text-gray-900"],[1,"mt-2"],["id","serverUrlType","formControlName","serverUrlType",1,"block","w-full","rounded-md","border-0","py-1.5","text-gray-900","shadow-xs","ring-1","ring-inset","ring-gray-300","focus:ring-2","focus:ring-inset","focus:ring-indigo-600","sm:max-w-xs","sm:text-sm","sm:leading-6"],["value","bitwarden.com"],["value","bitwarden.eu"],["value","self-hosted"],["type","url","formControlName","serverUrl","id","serverUrl","placeholder","Select server url from dropdown or type your self-hosted domain",1,"block","flex-1","border","rounded-md","border-gray-300","focus:border-indigo-600","bg-transparent","py-1.5","pl-1","text-gray-900","placeholder:text-gray-400","sm:text-sm","sm:leading-6"],["for","index",1,"block","text-sm","font-medium","leading-6","text-gray-900"],["id","index","formControlName","index",1,"block","w-full","rounded-md","border-0","py-1.5","text-gray-900","shadow-xs","ring-1","ring-inset","ring-gray-300","focus:ring-2","focus:ring-inset","focus:ring-indigo-600","sm:max-w-xs","sm:text-sm","sm:leading-6"],["disabled","","value","","selected",""],["type","text","formControlName","indexOverride","id","indexOverride","placeholder","Select index from the dropdown or type the index name manually",1,"block","flex-1","border","rounded-md","border-gray-300","focus:border-indigo-600","bg-transparent","py-1.5","pl-1","text-gray-900","placeholder:text-gray-400","sm:text-sm","sm:leading-6"],[1,"text-sm"],["for","startDate",1,"block","text-sm","font-medium","leading-6","text-gray-900"],["type","date","formControlName","startDate","id","startDate",1,"block","flex-1","border","rounded-md","border-gray-300","focus:border-indigo-600","bg-transparent","py-1.5","pl-1","text-gray-900","placeholder:text-gray-400","sm:text-sm","sm:leading-6"],["role","alert",1,"mt-6","bg-red-100","border","border-red-400","text-red-700","px-4","py-3","rounded-sm","relative"],[1,"mt-6","flex","items-center","justify-start","gap-x-6"],["type","submit",1,"rounded-md","bg-indigo-600","px-3","py-2","text-sm","font-semibold","text-white","shadow-xs","hover:bg-indigo-500","focus-visible:outline-solid","focus-visible:outline-2","focus-visible:outline-offset-2","focus-visible:outline-indigo-600","disabled:bg-gray-400",3,"disabled"],[3,"value"],["role","alert",1,"mt-6","bg-green-100","border","border-green-400","text-green-700","px-4","py-3","rounded-sm","relative"],[1,"font-bold"],[1,"block","sm:inline"]],template:function(r,o){1&r&&(V(0,"form",0),Ke("ngSubmit",function(){return o.onSubmit()}),V(1,"div",1)(2,"h1",2),B(3," Bitwarden Event Logs Setup "),F(),pt(4,DH,2,0,"div",3),V(5,"p",3),B(6," Enter the information below to complete setup."),Bt(7,"br"),B(8," See "),V(9,"a",4),B(10," Bitwarden Splunk SIEM documentation "),F(),B(11," for more information. "),F(),V(12,"div",5)(13,"h3",6),B(14,"Bitwarden API Key"),F(),V(15,"p"),B(16," Your "),V(17,"a",7),B(18,"API key"),F(),B(19," can be found in the Bitwarden organization Admin Console. "),F(),V(20,"div")(21,"label",8),B(22,"Client Id"),F(),V(23,"div",9),Bt(24,"input",10),F(),pt(25,IH,2,0,"div",11),F(),V(26,"div")(27,"label",12),B(28,"Client Secret"),F(),V(29,"div",9),Bt(30,"input",13),F(),pt(31,CH,2,0,"div",11),F(),V(32,"h3",14),B(33,"Bitwarden Server Url"),F(),V(34,"p"),B(35," Self-hosted Bitwarden servers may need to reconfigure their installation's URL. "),F(),V(36,"div")(37,"label",15),B(38,"Server Url"),F(),V(39,"div",16)(40,"select",17)(41,"option",18),B(42,"Bitwarden US (bitwarden.com)"),F(),V(43,"option",19),B(44,"Bitwarden EU (bitwarden.eu)"),F(),V(45,"option",20),B(46,"Self-Hosted"),F()()(),V(47,"div",9),Bt(48,"input",21),F(),pt(49,TH,4,1,"div",11),F(),V(50,"h3",14),B(51,"Splunk Index"),F(),V(52,"p"),B(53,"Choose a Splunk index for the Bitwarden event logs."),F(),V(54,"div")(55,"label",22),B(56,"Index"),F(),V(57,"div",16)(58,"select",23),pt(59,AH,2,0)(60,xH,2,0,"option",24),F()(),V(61,"div",9),Bt(62,"input",25),F(),pt(63,RH,2,0,"div",11),F(),V(64,"h3",14),B(65,"Event Logs"),F(),V(66,"p"),B(67," Choose the earliest Bitwarden event date to retrieve. The default is 1 year before today's date."),Bt(68,"br"),V(69,"span",26),B(70,"This only works for first time setup. Make sure you have no other Bitwarden events to avoid duplications."),F()(),V(71,"div")(72,"label",27),B(73,"Start date (optional)"),F(),V(74,"div")(75,"div",9),Bt(76,"input",28),F()()(),pt(77,OH,2,0,"div",29),pt(78,LH,2,1),V(79,"div",30)(80,"button",31),B(81," Save "),F()()()()()),2&r&&(ui("formGroup",o.setupForm),$e(),Qb(o.loadingConfiguration()?"opacity-50 pointer-events-none":""),$e(3),gt(o.loadingConfiguration()?4:-1),$e(21),gt(o.setupForm.controls.clientId.invalid&&o.setupForm.controls.clientId.touched?25:-1),$e(6),gt(o.setupForm.controls.clientSecret.invalid&&o.setupForm.controls.clientSecret.touched?31:-1),$e(18),gt(o.setupForm.controls.serverUrl.invalid&&o.setupForm.controls.serverUrl.touched?49:-1),$e(10),gt(void 0!==o.indexes?59:60),$e(4),gt(o.setupForm.hasError("indexRequired")&&(o.setupForm.controls.index.touched||o.setupForm.controls.indexOverride.touched)?63:-1),$e(14),gt(o.setupForm.invalid&&o.setupForm.touched?77:-1),$e(),gt(o.submitResult()?78:-1),$e(2),ui("disabled",o.setupForm.invalid||o.submitLoading()))},dependencies:[eH,nI,dI,hI,cc,kc,HD,BD,oh,rh],styles:['/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-100: oklch(93.6% .032 17.717);--color-red-400: oklch(70.4% .191 22.216);--color-red-600: oklch(57.7% .245 27.325);--color-red-700: oklch(50.5% .213 27.518);--color-green-100: oklch(96.2% .044 156.743);--color-green-400: oklch(79.2% .209 151.711);--color-green-700: oklch(52.7% .154 150.069);--color-blue-600: oklch(54.6% .245 262.881);--color-indigo-500: oklch(58.5% .233 277.117);--color-indigo-600: oklch(51.1% .262 276.966);--color-gray-300: oklch(87.2% .01 258.338);--color-gray-400: oklch(70.7% .022 261.325);--color-gray-600: oklch(44.6% .03 256.802);--color-gray-900: oklch(21% .034 264.665);--color-white: #fff;--spacing: .25rem;--container-xs: 20rem;--container-md: 28rem;--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-2xl: 1.5rem;--text-2xl--line-height: calc(2 / 1.5);--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--radius-sm: .25rem;--radius-md: .375rem;--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor}@supports (color: color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.pointer-events-none{pointer-events:none}.relative{position:relative}.static{position:static}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.block{display:block}.flex{display:flex}.grid{display:grid}.w-full{width:100%}.flex-1{flex:1}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0px}.border-gray-300{border-color:var(--color-gray-300)}.border-green-400{border-color:var(--color-green-400)}.border-red-400{border-color:var(--color-red-400)}.bg-green-100{background-color:var(--color-green-100)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-red-100{background-color:var(--color-red-100)}.bg-transparent{background-color:transparent}.p-8{padding:calc(var(--spacing) * 8)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.pl-1{padding-left:calc(var(--spacing) * 1)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading, var(--text-2xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height))}.leading-6{--tw-leading: calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.font-bold{--tw-font-weight: var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-blue-600{color:var(--color-blue-600)}.text-gray-600{color:var(--color-gray-600)}.text-gray-900{color:var(--color-gray-900)}.text-green-700{color:var(--color-green-700)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-white{color:var(--color-white)}.opacity-50{opacity:50%}.shadow-xs{--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-gray-300{--tw-ring-color: var(--color-gray-300)}.ring-inset{--tw-ring-inset: inset}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}@media(hover:hover){.hover\\:bg-indigo-500:hover{background-color:var(--color-indigo-500)}}@media(hover:hover){.hover\\:underline:hover{text-decoration-line:underline}}.focus\\:border-indigo-600:focus{border-color:var(--color-indigo-600)}.focus\\:ring-2:focus{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-indigo-600:focus{--tw-ring-color: var(--color-indigo-600)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-indigo-600:focus-visible{outline-color:var(--color-indigo-600)}.focus-visible\\:outline-solid:focus-visible{--tw-outline-style: solid;outline-style:solid}.disabled\\:bg-gray-400:disabled{background-color:var(--color-gray-400)}@media(width>=40rem){.sm\\:inline{display:inline}}@media(width>=40rem){.sm\\:max-w-md{max-width:var(--container-md)}}@media(width>=40rem){.sm\\:max-w-xs{max-width:var(--container-xs)}}@media(width>=40rem){.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height))}}@media(width>=40rem){.sm\\:leading-6{--tw-leading: calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}}}@layer base{[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;background-color:#fff;border-color:#6a7282;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: oklch(54.6% .245 262.881);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#155dfc}input::placeholder,textarea::placeholder{color:#6a7282;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'none\' viewBox=\'0 0 20 20\'%3e%3cpath stroke=\'oklch(55.1%25 0.027 264.364)\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'1.5\' d=\'M6 8l4 4 4-4\'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#155dfc;background-color:#fff;border-color:#6a7282;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: oklch(54.6% .245 262.881);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox=\'0 0 16 16\' fill=\'white\' xmlns=\'http://www.w3.org/2000/svg\'%3e%3cpath d=\'M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z\'/%3e%3c/svg%3e")}@media(forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox=\'0 0 16 16\' fill=\'white\' xmlns=\'http://www.w3.org/2000/svg\'%3e%3ccircle cx=\'8\' cy=\'8\' r=\'3\'/%3e%3c/svg%3e")}@media(forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'none\' viewBox=\'0 0 16 16\'%3e%3cpath stroke=\'white\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M4 8h8\'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media(forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}}@property --tw-border-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-leading{syntax: "*"; inherits: false;}@property --tw-font-weight{syntax: "*"; inherits: false;}@property --tw-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: "*"; inherits: false;}@property --tw-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: "*"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: "*"; inherits: false;}@property --tw-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: "*"; inherits: false;}@property --tw-inset-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: "*"; inherits: false;}@property --tw-ring-offset-width{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: "*"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-outline-style{syntax: "*"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-leading: initial;--tw-font-weight: initial;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-outline-style: solid}}}\n'],encapsulation:3})}return e})();class GI{_doc;constructor(t){this._doc=t}manager}let dh=(()=>{class e extends GI{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(q(Ot))};static \u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const fh=new D("");let qI=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});const o=n.filter(s=>!(s instanceof dh));this._plugins=o.slice().reverse();const i=n.find(s=>s instanceof dh);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(q(fh),q(J))};static \u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const hh="ng-app-id";function zI(e){for(const t of e)t.remove()}function WI(e,t){const n=t.createElement("style");return n.textContent=e,n}function ph(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let ZI=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,function mB(e,t,n,r){const o=e.head?.querySelectorAll(`style[${hh}="${t}"],link[${hh}="${t}"]`);if(o)for(const i of o)i.removeAttribute(hh),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(const o of n)this.addUsage(o,this.inline,WI);r?.forEach(o=>this.addUsage(o,this.external,ph))}removeStyles(n,r){for(const o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){const i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){const o=r.get(n);o&&(o.usage--,o.usage<=0&&(zI(o.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])zI(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:o}]of this.inline)o.push(this.addElement(n,WI(r,this.doc)));for(const[r,{elements:o}]of this.external)o.push(this.addElement(n,ph(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(q(Ot),q(Mr),q(zg,8),q(qg))};static \u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const gh={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/Math/MathML"},mh=/%COMP%/g,wB=new D("",{factory:()=>!0});function YI(e,t){return t.map(n=>n.replace(mh,e))}let KI=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new _h(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof eC?o.applyToHost(n):o instanceof yh&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case st.Emulated:i=new eC(c,l,r,this.appId,u,s,a,d);break;case st.ShadowDom:return new XI(c,n,r,s,a,this.nonce,d,l);case st.ExperimentalIsolatedShadowDom:return new XI(c,n,r,s,a,this.nonce,d);default:i=new yh(c,l,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(q(qI),q(ZI),q(Mr),q(wB),q(Ot),q(J),q(zg),q(Uo,8))};static \u0275prov=H({token:e,factory:e.\u0275fac})}return e})();class _h{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(gh[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(JI(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(JI(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new E(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=gh[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=gh[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(On.DashCase|On.Important)?t.style.setProperty(n,r,o&On.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&On.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if("string"==typeof t&&!(t=Ci().getGlobalEventTarget(this.doc,t)))throw new E(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&n.preventDefault()}}}function JI(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class XI extends _h{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=YI(r.id,l);for(const d of l){const f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}const u=r.getExternalStyles?.();if(u)for(const d of u){const f=ph(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class yh extends _h{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?YI(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===Pn.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class eC extends yh{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){const l=o+"-"+r.id;super(t,n,r,i,s,a,c,l),this.contentAttr=function DB(e){return"_ngcontent-%COMP%".replace(mh,e)}(l),this.hostAttr=function IB(e){return"_nghost-%COMP%".replace(mh,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class vh extends aV{supportsDOMEvents=!0;static makeCurrent(){!function sV(e){Zw??=e}(new vh)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}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 kB(){return Vi=Vi||document.head.querySelector("base"),Vi?Vi.getAttribute("href"):null}();return null==n?null:function MB(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Vi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function jH(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Vi=null,TB=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const tC=["alt","control","meta","shift"],NB={"\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"},AB={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};function bh(){return(bh=ce(function*(e,t,n){return A1({rootComponent:e,...nC(t,n)})})).apply(this,arguments)}function nC(e,t){return{platformRef:t?.platformRef,appProviders:[...jB,...e?.providers??[]],platformProviders:LB}}const LB=[{provide:qg,useValue:"browser"},{provide:Gg,useValue:function OB(){vh.makeCurrent()},multi:!0},{provide:Ot,useFactory:function FB(){return function pS(e){tu=e}(document),document}}],jB=[{provide:pl,useValue:"root"},{provide:Io,useFactory:function PB(){return new Io}},{provide:fh,useClass:dh,multi:!0},{provide:fh,useClass:(()=>{class e extends GI{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o,i){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ci().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),tC.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=NB[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),tC.forEach(s=>{s!==o&&(0,AB[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static \u0275fac=function(r){return new(r||e)(q(Ot))};static \u0275prov=H({token:e,factory:e.\u0275fac})}return e})(),multi:!0},KI,ZI,qI,{provide:rd,useExisting:KI},{provide:class HH{},useClass:TB},[]];(function RB(e,t,n){return bh.apply(this,arguments)})(VH,W1).catch(e=>console.error(e))}},ve=>{ve(ve.s=76)}]);