From c4ab9356a0887e278f1d9f2ba9c2a406ef838d76 Mon Sep 17 00:00:00 2001 From: actionanand Date: Thu, 3 Oct 2024 19:19:58 +0000 Subject: [PATCH] deploy: 7e108e24a472ba86316a29ac28e9433c1b31dec0 --- 404.html | 2 +- index.html | 2 +- main-AYZLNMP2.js | 7 +++++++ main-NQFDXTXA.js | 7 ------- 4 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 main-AYZLNMP2.js delete mode 100644 main-NQFDXTXA.js diff --git a/404.html b/404.html index f7e8902..d517e62 100644 --- a/404.html +++ b/404.html @@ -9,5 +9,5 @@ - + diff --git a/index.html b/index.html index f7e8902..d517e62 100644 --- a/index.html +++ b/index.html @@ -9,5 +9,5 @@ - + diff --git a/main-AYZLNMP2.js b/main-AYZLNMP2.js new file mode 100644 index 0000000..b659e2b --- /dev/null +++ b/main-AYZLNMP2.js @@ -0,0 +1,7 @@ +var uf=Object.defineProperty,cf=Object.defineProperties;var lf=Object.getOwnPropertyDescriptors;var Ea=Object.getOwnPropertySymbols;var df=Object.prototype.hasOwnProperty,ff=Object.prototype.propertyIsEnumerable;var Ca=(t,e,n)=>e in t?uf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,O=(t,e)=>{for(var n in e||={})df.call(e,n)&&Ca(t,n,e[n]);if(Ea)for(var n of Ea(e))ff.call(e,n)&&Ca(t,n,e[n]);return t},P=(t,e)=>cf(t,lf(e));function wa(t,e){return Object.is(t,e)}var k=null,Wn=!1,qn=1,he=Symbol("SIGNAL");function M(t){let e=k;return k=t,e}function Ia(){return k}var fn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Bo(t){if(Wn)throw new Error("");if(k===null)return;k.consumerOnSignalRead(t);let e=k.nextProducerIndex++;if(Kn(k),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function $o(t){Kn(t);for(let e=0;e0}function Kn(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function xa(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Ta(t){return t.producerNode!==void 0}function Go(t){let e=Object.create(gf);e.computation=t;let n=()=>{if(ba(e),Bo(e),e.value===Zn)throw e.error;return e.value};return n[he]=e,n}var Vo=Symbol("UNSET"),jo=Symbol("COMPUTING"),Zn=Symbol("ERRORED"),gf=P(O({},fn),{value:Vo,dirty:!0,error:null,equal:wa,producerMustRecompute(t){return t.value===Vo||t.value===jo},producerRecomputeValue(t){if(t.value===jo)throw new Error("Detected cycle in computations.");let e=t.value;t.value=jo;let n=Yn(t),r;try{r=t.computation()}catch(o){r=Zn,t.error=o}finally{Ho(t,n)}if(e!==Vo&&e!==Zn&&r!==Zn&&t.equal(e,r)){t.value=e;return}t.value=r,t.version++}});function mf(){throw new Error}var Na=mf;function Aa(){Na()}function Oa(t){Na=t}var yf=null;function Fa(t){let e=Object.create(Pa);e.value=t;let n=()=>(Bo(e),e.value);return n[he]=e,n}function zo(t,e){Ma()||Aa(),t.equal(t.value,e)||(t.value=e,vf(t))}function Ra(t,e){Ma()||Aa(),zo(t,e(t.value))}var Pa=P(O({},fn),{equal:wa,value:void 0});function vf(t){t.version++,hf(),_a(t),yf?.()}function S(t){return typeof t=="function"}function Jn(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Xn=Jn(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function et(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var H=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){e=i instanceof Xn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ka(i)}catch(s){e=e??[],s instanceof Xn?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Xn(e)}}add(e){var n;if(e&&e!==this)if(this.closed)ka(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&et(n,e)}remove(e){let{_finalizers:n}=this;n&&et(n,e),e instanceof t&&e._removeParent(this)}};H.EMPTY=(()=>{let t=new H;return t.closed=!0,t})();var Wo=H.EMPTY;function er(t){return t instanceof H||t&&"closed"in t&&S(t.remove)&&S(t.add)&&S(t.unsubscribe)}function ka(t){S(t)?t():t.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var St={setTimeout(t,e,...n){let{delegate:r}=St;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=St;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function tr(t){St.setTimeout(()=>{let{onUnhandledError:e}=ae;if(e)e(t);else throw t})}function qo(){}var La=Zo("C",void 0,void 0);function Va(t){return Zo("E",void 0,t)}function ja(t){return Zo("N",t,void 0)}function Zo(t,e,n){return{kind:t,value:e,error:n}}var tt=null;function xt(t){if(ae.useDeprecatedSynchronousErrorHandling){let e=!tt;if(e&&(tt={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=tt;if(tt=null,n)throw r}}else t()}function Ba(t){ae.useDeprecatedSynchronousErrorHandling&&tt&&(tt.errorThrown=!0,tt.error=t)}var nt=class extends H{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,er(e)&&e.add(this)):this.destination=Cf}static create(e,n,r){return new Tt(e,n,r)}next(e){this.isStopped?Qo(ja(e),this):this._next(e)}error(e){this.isStopped?Qo(Va(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Qo(La,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Df=Function.prototype.bind;function Yo(t,e){return Df.call(t,e)}var Ko=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){nr(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){nr(r)}else nr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){nr(n)}}},Tt=class extends nt{constructor(e,n,r){super();let o;if(S(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Yo(e.next,i),error:e.error&&Yo(e.error,i),complete:e.complete&&Yo(e.complete,i)}):o=e}this.destination=new Ko(o)}};function nr(t){ae.useDeprecatedSynchronousErrorHandling?Ba(t):tr(t)}function Ef(t){throw t}function Qo(t,e){let{onStoppedNotification:n}=ae;n&&St.setTimeout(()=>n(t,e))}var Cf={closed:!0,next:qo,error:Ef,complete:qo};var Nt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ha(t){return t}function $a(t){return t.length===0?Ha:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var L=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=If(n)?n:new Tt(n,r,o);return xt(()=>{let{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 r=Ua(r),new r((o,i)=>{let s=new Tt({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Nt](){return this}pipe(...n){return $a(n)(this)}toPromise(n){return n=Ua(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function Ua(t){var e;return(e=t??ae.Promise)!==null&&e!==void 0?e:Promise}function wf(t){return t&&S(t.next)&&S(t.error)&&S(t.complete)}function If(t){return t&&t instanceof nt||wf(t)&&er(t)}function bf(t){return S(t?.lift)}function ke(t){return e=>{if(bf(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Le(t,e,n,r,o){return new Jo(t,e,n,r,o)}var Jo=class extends nt{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};var Ga=Jn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{class t extends L{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new rr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ga}next(n){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Wo:(this.currentObservers=null,i.push(n),new H(()=>{this.currentObservers=null,et(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new L;return n.source=this,n}}return t.create=(e,n)=>new rr(e,n),t})(),rr=class extends pe{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:Wo}};var hn=class extends pe{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var Xo={now(){return(Xo.delegate||Date).now()},delegate:void 0};var or=class extends H{constructor(e,n){super()}schedule(e,n=0){return this}};var pn={setInterval(t,e,...n){let{delegate:r}=pn;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=pn;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var ir=class extends or{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return pn.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&pn.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,et(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var At=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};At.now=Xo.now;var sr=class extends At{constructor(e,n=At.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var za=new sr(ir);function Wa(t){return t&&S(t.schedule)}function qa(t){return t[t.length-1]}function Za(t){return S(qa(t))?t.pop():void 0}function Ya(t){return Wa(qa(t))?t.pop():void 0}function Ka(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(t,e||[])).next())})}function Qa(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function rt(t){return this instanceof rt?(this.v=t,this):new rt(t)}function Ja(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(R){return new Promise(function(z,U){i.push([f,R,z,U])>1||u(f,R)})},m&&(o[f]=m(o[f])))}function u(f,m){try{c(r[f](m))}catch(R){h(i[0][3],R)}}function c(f){f.value instanceof rt?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function h(f,m){f(m),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Xa(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Qa=="function"?Qa(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var ar=t=>t&&typeof t.length=="number"&&typeof t!="function";function ur(t){return S(t?.then)}function cr(t){return S(t[Nt])}function lr(t){return Symbol.asyncIterator&&S(t?.[Symbol.asyncIterator])}function dr(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function _f(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fr=_f();function hr(t){return S(t?.[fr])}function pr(t){return Ja(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield rt(n.read());if(o)return yield rt(void 0);yield yield rt(r)}}finally{n.releaseLock()}})}function gr(t){return S(t?.getReader)}function Ve(t){if(t instanceof L)return t;if(t!=null){if(cr(t))return Mf(t);if(ar(t))return Sf(t);if(ur(t))return xf(t);if(lr(t))return eu(t);if(hr(t))return Tf(t);if(gr(t))return Nf(t)}throw dr(t)}function Mf(t){return new L(e=>{let n=t[Nt]();if(S(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Sf(t){return new L(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,tr)})}function Tf(t){return new L(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function eu(t){return new L(e=>{Af(t,e).catch(n=>e.error(n))})}function Nf(t){return eu(pr(t))}function Af(t,e){var n,r,o,i;return Ka(this,void 0,void 0,function*(){try{for(n=Xa(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.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}}e.complete()})}function ge(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function mr(t,e=0){return ke((n,r)=>{n.subscribe(Le(r,o=>ge(r,t,()=>r.next(o),e),()=>ge(r,t,()=>r.complete(),e),o=>ge(r,t,()=>r.error(o),e)))})}function yr(t,e=0){return ke((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function tu(t,e){return Ve(t).pipe(yr(e),mr(e))}function nu(t,e){return Ve(t).pipe(yr(e),mr(e))}function ru(t,e){return new L(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function ou(t,e){return new L(n=>{let r;return ge(n,e,()=>{r=t[fr](),ge(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function vr(t,e){if(!t)throw new Error("Iterable cannot be null");return new L(n=>{ge(n,e,()=>{let r=t[Symbol.asyncIterator]();ge(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function iu(t,e){return vr(pr(t),e)}function su(t,e){if(t!=null){if(cr(t))return tu(t,e);if(ar(t))return ru(t,e);if(ur(t))return nu(t,e);if(lr(t))return vr(t,e);if(hr(t))return ou(t,e);if(gr(t))return iu(t,e)}throw dr(t)}function gn(t,e){return e?su(t,e):Ve(t)}function Dr(...t){let e=Ya(t);return gn(t,e)}function ot(t,e){return ke((n,r)=>{let o=0;n.subscribe(Le(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:Of}=Array;function Ff(t,e){return Of(e)?t(...e):t(e)}function au(t){return ot(e=>Ff(t,e))}var{isArray:Rf}=Array,{getPrototypeOf:Pf,prototype:kf,keys:Lf}=Object;function uu(t){if(t.length===1){let e=t[0];if(Rf(e))return{args:e,keys:null};if(Vf(e)){let n=Lf(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function Vf(t){return t&&typeof t=="object"&&Pf(t)===kf}function cu(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function ei(...t){let e=Za(t),{args:n,keys:r}=uu(t),o=new L(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=h},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?cu(r,a):a),i.complete())}))}});return e?o.pipe(au(e)):o}function Ot(t,e=za){return ke((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+t,l=e.now();if(l{i=c,s=e.now(),o||(o=e.schedule(u,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var jf="https://g.co/ng/security#xss",E=class extends Error{constructor(e,n){super(cs(e,n)),this.code=e}};function cs(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Mn(t){return{toString:t}.toString()}var Er="__parameters__";function Bf(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function qu(t,e,n){return Mn(()=>{let r=Bf(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Er)?u[Er]:Object.defineProperty(u,Er,{value:[]})[Er];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function A(t){for(let e in t)if(t[e]===A)return e;throw Error("Could not find renamed property on target object.")}function Hf(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function ee(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(ee).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` +`);return n===-1?e:e.substring(0,n)}function lu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var $f=A({__forward_ref__:A});function re(t){return t.__forward_ref__=re,t.toString=function(){return ee(this())},t}function W(t){return Zu(t)?t():t}function Zu(t){return typeof t=="function"&&t.hasOwnProperty($f)&&t.__forward_ref__===re}function F(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Qt(t){return{providers:t.providers||[],imports:t.imports||[]}}function ls(t){return du(t,Yu)||du(t,Qu)}function du(t,e){return t.hasOwnProperty(e)?t[e]:null}function Uf(t){let e=t&&(t[Yu]||t[Qu]);return e||null}function fu(t){return t&&(t.hasOwnProperty(hu)||t.hasOwnProperty(Gf))?t[hu]:null}var Yu=A({\u0275prov:A}),hu=A({\u0275inj:A}),Qu=A({ngInjectableDef:A}),Gf=A({ngInjectorDef:A}),_=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ku(t){return t&&!!t.\u0275providers}var zf=A({\u0275cmp:A}),Wf=A({\u0275dir:A}),qf=A({\u0275pipe:A});var Nr=A({\u0275fac:A}),yn=A({__NG_ELEMENT_ID__:A}),pu=A({__NG_ENV_ID__:A});function vn(t){return typeof t=="string"?t:t==null?"":String(t)}function Zf(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():vn(t)}function Yf(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new E(-200,t)}function ds(t,e){throw new E(-201,!1)}var b=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(b||{}),pi;function Ju(){return pi}function me(t){let e=pi;return pi=t,e}function Xu(t,e,n){let r=ls(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&b.Optional)return null;if(e!==void 0)return e;ds(t,"Injector")}var Qf={},Dn=Qf,gi="__NG_DI_FLAG__",Ar="ngTempTokenPath",Kf="ngTokenPath",Jf=/\n/gm,Xf="\u0275",gu="__source",Vt;function eh(){return Vt}function Ft(t){let e=Vt;return Vt=t,e}function th(t,e=b.Default){if(Vt===void 0)throw new E(-203,!1);return Vt===null?Xu(t,void 0,e):Vt.get(t,e&b.Optional?null:void 0,e)}function T(t,e=b.Default){return(Ju()||th)(W(t),e)}function w(t,e=b.Default){return T(t,Xr(e))}function Xr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function mi(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ee(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(Jf,` + `)}`}var tc=ec(qu("Optional"),8);var ih=ec(qu("SkipSelf"),4);function Bt(t,e){let n=t.hasOwnProperty(Nr);return n?t[Nr]:null}function sh(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?fs(n,e):e(n))}function nc(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Or(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function uh(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(o===1)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=n,t[e+1]=r}}function ch(t,e,n){let r=Sn(t,e);return r>=0?t[r|1]=n:(r=~r,uh(t,r,e,n)),r}function ti(t,e){let n=Sn(t,e);if(n>=0)return t[n|1]}function Sn(t,e){return lh(t,e,1)}function lh(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=t[i<e?o=i:r=i+1}return~(o<e){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ue(r))return!1;s=!0}}}}return ue(r)||s}function ue(t){return(t&1)===0}function yh(t,e,n,r){if(e===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ue(s)&&(e+=yu(i,o),o=""),r=s,i=i||!ue(r);n++}return o!==""&&(e+=yu(i,o)),e}function wh(t){return t.map(Ch).join(",")}function Ih(t){let e=[],n=[],r=1,o=2;for(;r{let e=cc(t),n=P(O({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ic.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||De.Emulated,styles:t.styles||K,_:null,schemas:t.schemas||null,tView:null,id:""});lc(n);let r=t.dependencies;return n.directiveDefs=Du(r,!1),n.pipeDefs=Du(r,!0),n.id=Sh(n),n})}function bh(t){return $t(t)||ac(t)}function _h(t){return t!==null}function Kt(t){return Mn(()=>({type:t.type,bootstrap:t.bootstrap||K,declarations:t.declarations||K,imports:t.imports||K,exports:t.exports||K,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function vu(t,e){if(t==null)return Ht;let n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i,s,a=He.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(n[i]=a!==He.None?[r,a]:r,e[i]=s):n[i]=r}return n}function B(t){return Mn(()=>{let e=cc(t);return lc(e),e})}function $t(t){return t[zf]||null}function ac(t){return t[Wf]||null}function uc(t){return t[qf]||null}function Mh(t){let e=$t(t)||ac(t)||uc(t);return e!==null?e.standalone:!1}function cc(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ht,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||K,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vu(t.inputs,e),outputs:vu(t.outputs),debugInfo:null}}function lc(t){t.features?.forEach(e=>e(t))}function Du(t,e){if(!t)return null;let n=e?uc:bh;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(_h)}function Sh(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of n)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function xh(...t){return{\u0275providers:dc(!0,t),\u0275fromNgModule:!0}}function dc(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return fs(e,s=>{let a=s;vi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&fc(o,i),n}function fc(t,e){for(let n=0;n{e(i,r)})}}function vi(t,e,n,r){if(t=W(t),!t)return!1;let o=null,i=fu(t),s=!i&&$t(t);if(!i&&!s){let u=t.ngModule;if(i=fu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)vi(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{fs(i.imports,l=>{vi(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&fc(c,e)}if(!a){let c=Bt(o)||(()=>new o);e({provide:o,useFactory:c,deps:K},o),e({provide:oc,useValue:o,multi:!0},o),e({provide:En,useValue:()=>T(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;ps(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function ps(t,e){for(let n of t)Ku(n)&&(n=n.\u0275providers),Array.isArray(n)?ps(n,e):e(n)}var Th=A({provide:String,useValue:A});function hc(t){return t!==null&&typeof t=="object"&&Th in t}function Nh(t){return!!(t&&t.useExisting)}function Ah(t){return!!(t&&t.useFactory)}function Ut(t){return typeof t=="function"}function Oh(t){return!!t.useClass}var eo=new _(""),br={},Fh={},ni;function gs(){return ni===void 0&&(ni=new Fr),ni}var $e=class{},Rr=class extends $e{get destroyed(){return this._destroyed}constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ei(e,s=>this.processProvider(s)),this.records.set(rc,Rt(void 0,this)),o.has("environment")&&this.records.set($e,Rt(void 0,this));let i=this.records.get(eo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(oc,K,b.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=Ft(this),r=me(void 0),o;try{return e()}finally{Ft(n),me(r)}}get(e,n=Dn,r=b.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(pu))return e[pu](this);r=Xr(r);let o,i=Ft(this),s=me(void 0);try{if(!(r&b.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=Vh(e)&&ls(e);c&&this.injectableDefInScope(c)?u=Rt(Di(e),br):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&b.Self?gs():this.parent;return n=r&b.Optional&&n===Dn?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Ar]=a[Ar]||[]).unshift(ee(e)),i)throw a;return rh(a,e,"R3InjectorError",this.source)}else throw a}finally{me(s),Ft(i)}}resolveInjectorInitializers(){let e=M(null),n=Ft(this),r=me(void 0),o;try{let i=this.get(En,K,b.Self);for(let s of i)s()}finally{Ft(n),me(r),M(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(ee(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(e){e=W(e);let n=Ut(e)?e:W(e&&e.provide),r=Ph(e);if(!Ut(e)&&e.multi===!0){let o=this.records.get(n);o||(o=Rt(void 0,br,!0),o.factory=()=>mi(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}this.records.set(n,r)}hydrate(e,n){let r=M(null);try{return n.value===br&&(n.value=Fh,n.value=n.factory()),typeof n.value=="object"&&n.value&&Lh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=W(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Di(t){let e=ls(t),n=e!==null?e.factory:Bt(t);if(n!==null)return n;if(t instanceof _)throw new E(204,!1);if(t instanceof Function)return Rh(t);throw new E(204,!1)}function Rh(t){if(t.length>0)throw new E(204,!1);let n=Uf(t);return n!==null?()=>n.factory(t):()=>new t}function Ph(t){if(hc(t))return Rt(void 0,t.useValue);{let e=pc(t);return Rt(e,br)}}function pc(t,e,n){let r;if(Ut(t)){let o=W(t);return Bt(o)||Di(o)}else if(hc(t))r=()=>W(t.useValue);else if(Ah(t))r=()=>t.useFactory(...mi(t.deps||[]));else if(Nh(t))r=()=>T(W(t.useExisting));else{let o=W(t&&(t.useClass||t.provide));if(kh(t))r=()=>new o(...mi(t.deps));else return Bt(o)||Di(o)}return r}function Rt(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function kh(t){return!!t.deps}function Lh(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Vh(t){return typeof t=="function"||typeof t=="object"&&t instanceof _}function Ei(t,e){for(let n of t)Array.isArray(n)?Ei(n,e):n&&Ku(n)?Ei(n.\u0275providers,e):e(n)}function gc(){return Ju()!==void 0||eh()!=null}function jh(t){if(!gc())throw new E(-203,!1)}function Bh(t){return typeof t=="function"}var Ae=0,D=1,y=2,G=3,ce=4,de=5,Pr=6,kr=7,ne=8,Gt=9,xe=10,$=11,wn=12,Eu=13,Jt=14,Ee=15,ut=16,Pt=17,Te=18,to=19,mc=20,je=21,ri=22,te=23,le=25,yc=1;var ct=7,Lr=8,zt=9,Z=10,Vr=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Vr||{});function Be(t){return Array.isArray(t)&&typeof t[yc]=="object"}function Oe(t){return Array.isArray(t)&&t[yc]===!0}function vc(t){return(t.flags&4)!==0}function no(t){return t.componentOffset>-1}function ms(t){return(t.flags&1)===1}function Ue(t){return!!t.template}function Ci(t){return(t[y]&512)!==0}var wi=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Dc(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function We(){return Ec}function Ec(t){return t.type.prototype.ngOnChanges&&(t.setInput=$h),Hh}We.ngInherit=!0;function Hh(){let t=wc(this),e=t?.current;if(e){let n=t.previous;if(n===Ht)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function $h(t,e,n,r,o){let i=this.declaredInputs[r],s=wc(t)||Uh(t,{previous:Ht,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new wi(c&&c.currentValue,n,u===Ht),Dc(t,e,o,n)}var Cc="__ngSimpleChanges__";function wc(t){return t[Cc]||null}function Uh(t,e){return t[Cc]=e}var Cu=null;var ye=function(t,e,n){Cu?.(t,e,n)},Gh="svg",zh="math";function Ce(t){for(;Array.isArray(t);)t=t[Ae];return t}function Ic(t,e){return Ce(e[t])}function oe(t,e){return Ce(e[t.index])}function ys(t,e){return t.data[e]}function Wh(t,e){return t[e]}function qe(t,e){let n=e[t];return Be(n)?n:n[Ae]}function vs(t){return(t[y]&128)===128}function qh(t){return Oe(t[G])}function jr(t,e){return e==null?null:t[e]}function bc(t){t[Pt]=0}function _c(t){t[y]&1024||(t[y]|=1024,vs(t)&&oo(t))}function Zh(t,e){for(;t>0;)e=e[Jt],t--;return e}function ro(t){return!!(t[y]&9216||t[te]?.dirty)}function Ii(t){t[xe].changeDetectionScheduler?.notify(8),t[y]&64&&(t[y]|=1024),ro(t)&&oo(t)}function oo(t){t[xe].changeDetectionScheduler?.notify(0);let e=lt(t);for(;e!==null&&!(e[y]&8192||(e[y]|=8192,!vs(e)));)e=lt(e)}function Mc(t,e){if((t[y]&256)===256)throw new E(911,!1);t[je]===null&&(t[je]=[]),t[je].push(e)}function Yh(t,e){if(t[je]===null)return;let n=t[je].indexOf(e);n!==-1&&t[je].splice(n,1)}function lt(t){let e=t[G];return Oe(e)?e[G]:e}var C={lFrame:Lc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Sc=!1;function Qh(){return C.lFrame.elementDepthCount}function Kh(){C.lFrame.elementDepthCount++}function Jh(){C.lFrame.elementDepthCount--}function xc(){return C.bindingsEnabled}function Xh(){return C.skipHydrationRootTNode!==null}function ep(t){return C.skipHydrationRootTNode===t}function tp(){C.skipHydrationRootTNode=null}function N(){return C.lFrame.lView}function ie(){return C.lFrame.tView}function Tc(t){return C.lFrame.contextLView=t,t[ne]}function Nc(t){return C.lFrame.contextLView=null,t}function J(){let t=Ac();for(;t!==null&&t.type===64;)t=t.parent;return t}function Ac(){return C.lFrame.currentTNode}function np(){let t=C.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function xn(t,e){let n=C.lFrame;n.currentTNode=t,n.isParent=e}function Oc(){return C.lFrame.isParent}function rp(){C.lFrame.isParent=!1}function op(){return C.lFrame.contextLView}function Fc(){return Sc}function wu(t){Sc=t}function ip(){let t=C.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function sp(){return C.lFrame.bindingIndex}function ap(t){return C.lFrame.bindingIndex=t}function io(){return C.lFrame.bindingIndex++}function Rc(t){let e=C.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function up(){return C.lFrame.inI18n}function cp(t,e){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=t,bi(e)}function lp(){return C.lFrame.currentDirectiveIndex}function bi(t){C.lFrame.currentDirectiveIndex=t}function dp(t){let e=C.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function fp(){return C.lFrame.currentQueryIndex}function Ds(t){C.lFrame.currentQueryIndex=t}function hp(t){let e=t[D];return e.type===2?e.declTNode:e.type===1?t[de]:null}function Pc(t,e,n){if(n&b.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&b.Host);)if(o=hp(i),o===null||(i=i[Jt],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=C.lFrame=kc();return r.currentTNode=e,r.lView=t,!0}function Es(t){let e=kc(),n=t[D];C.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function kc(){let t=C.lFrame,e=t===null?null:t.child;return e===null?Lc(t):e}function Lc(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Vc(){let t=C.lFrame;return C.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var jc=Vc;function Cs(){let t=Vc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function pp(t){return(C.lFrame.contextLView=Zh(t,C.lFrame.contextLView))[ne]}function vt(){return C.lFrame.selectedIndex}function dt(t){C.lFrame.selectedIndex=t}function Bc(){let t=C.lFrame;return ys(t.tView,t.selectedIndex)}function gp(){return C.lFrame.currentNamespace}var Hc=!0;function ws(){return Hc}function Is(t){Hc=t}function mp(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=Ec(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function bs(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[Pt]+=65536),(a>14>16&&(t[y]&3)===e&&(t[y]+=16384,Iu(a,i)):Iu(a,i)}var jt=-1,ft=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function vp(t){return t instanceof ft}function Dp(t){return(t.flags&8)!==0}function Ep(t){return(t.flags&16)!==0}var ii={},_i=class{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){r=Xr(r);let o=this.injector.get(e,ii,r);return o!==ii||n===ii?o:this.parentInjector.get(e,n,r)}};function Uc(t){return t!==jt}function Br(t){return t&32767}function Cp(t){return t>>16}function Hr(t,e){let n=Cp(t),r=e;for(;n>0;)r=r[Jt],n--;return r}var Mi=!0;function bu(t){let e=Mi;return Mi=t,e}var wp=256,Gc=wp-1,zc=5,Ip=0,ve={};function bp(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(yn)&&(r=n[yn]),r==null&&(r=n[yn]=Ip++);let o=r&Gc,i=1<>zc)]|=i}function $r(t,e){let n=Wc(t,e);if(n!==-1)return n;let r=e[D];r.firstCreatePass&&(t.injectorIndex=e.length,si(r.data,t),si(e,null),si(r.blueprint,null));let o=_s(t,e),i=t.injectorIndex;if(Uc(o)){let s=Br(o),a=Hr(o,e),u=a[D].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function si(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Wc(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function _s(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;o!==null;){if(r=Kc(o),r===null)return jt;if(n++,o=o[Jt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jt}function Si(t,e,n){bp(t,e,n)}function qc(t,e,n){if(n&b.Optional||t!==void 0)return t;ds(e,"NodeInjector")}function Zc(t,e,n,r){if(n&b.Optional&&r===void 0&&(r=null),!(n&(b.Self|b.Host))){let o=t[Gt],i=me(void 0);try{return o?o.get(e,r,n&b.Optional):Xu(e,r,n&b.Optional)}finally{me(i)}}return qc(r,e,n)}function Yc(t,e,n,r=b.Default,o){if(t!==null){if(e[y]&2048&&!(r&b.Self)){let s=xp(t,e,n,r,ve);if(s!==ve)return s}let i=Qc(t,e,n,r,ve);if(i!==ve)return i}return Zc(e,n,r,o)}function Qc(t,e,n,r,o){let i=Mp(n);if(typeof i=="function"){if(!Pc(e,t,r))return r&b.Host?qc(o,n,r):Zc(e,n,r,o);try{let s;if(s=i(r),s==null&&!(r&b.Optional))ds(n);else return s}finally{jc()}}else if(typeof i=="number"){let s=null,a=Wc(t,e),u=jt,c=r&b.Host?e[Ee][de]:null;for((a===-1||r&b.SkipSelf)&&(u=a===-1?_s(t,e):e[a+8],u===jt||!Mu(r,!1)?a=-1:(s=e[D],a=Br(u),e=Hr(u,e)));a!==-1;){let l=e[D];if(_u(i,a,l.data)){let d=_p(a,e,n,s,r,c);if(d!==ve)return d}u=e[a+8],u!==jt&&Mu(r,e[D].data[a+8]===c)&&_u(i,a,e)?(s=l,a=Br(u),e=Hr(u,e)):a=-1}}return o}function _p(t,e,n,r,o,i){let s=e[D],a=s.data[t+8],u=r==null?no(a)&&Mi:r!=s&&(a.type&3)!==0,c=o&b.Host&&i===a,l=Sr(a,s,n,u,c);return l!==null?ht(e,s,l,a):ve}function Sr(t,e,n,r,o){let i=t.providerIndexes,s=e.data,a=i&1048575,u=t.directiveStart,c=t.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:c;for(let f=d;f=u&&m.type===n)return f}if(o){let f=s[u];if(f&&Ue(f)&&f.type===n)return u}return null}function ht(t,e,n,r){let o=t[n],i=e.data;if(vp(o)){let s=o;s.resolving&&Yf(Zf(i[n]));let a=bu(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?me(s.injectImpl):null,l=Pc(t,r,b.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&mp(n,i[n],e)}finally{c!==null&&me(c),bu(a),s.resolving=!1,jc()}}return o}function Mp(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(yn)?t[yn]:void 0;return typeof e=="number"?e>=0?e&Gc:Sp:e}function _u(t,e,n){let r=1<>zc)]&r)}function Mu(t,e){return!(t&b.Self)&&!(t&b.Host&&e)}var at=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Yc(this._tNode,this._lView,e,Xr(r),n)}};function Sp(){return new at(J(),N())}function Tn(t){return Mn(()=>{let e=t.prototype.constructor,n=e[Nr]||xi(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[Nr]||xi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function xi(t){return Zu(t)?()=>{let e=xi(W(t));return e&&e()}:Bt(t)}function xp(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Qc(i,s,n,r|b.Self,ve);if(a!==ve)return a;let u=i.parent;if(!u){let c=s[mc];if(c){let l=c.get(n,ve,r);if(l!==ve)return l}u=Kc(s),s=s[Jt]}i=u}return o}function Kc(t){let e=t[D],n=e.type;return n===2?e.declTNode:n===1?t[de]:null}function Su(t,e=null,n=null,r){let o=Tp(t,e,n,r);return o.resolveInjectorInitializers(),o}function Tp(t,e=null,n=null,r,o=new Set){let i=[n||K,xh(t)];return r=r||(typeof t=="object"?void 0:ee(t)),new Rr(i,e||gs(),r||null,o)}var it=class it{static create(e,n){if(Array.isArray(e))return Su({name:""},n,e,"");{let r=e.name??"";return Su({name:r},e.parent,e.providers,r)}}};it.THROW_IF_NOT_FOUND=Dn,it.NULL=new Fr,it.\u0275prov=F({token:it,providedIn:"any",factory:()=>T(rc)}),it.__NG_ELEMENT_ID__=-1;var Ge=it;var Np=new _("");Np.__NG_ELEMENT_ID__=t=>{let e=J();if(e===null)throw new E(204,!1);if(e.type&2)return e.value;if(t&b.Optional)return null;throw new E(204,!1)};var Ap="ngOriginalError";function ai(t){return t[Ap]}var Jc=!0,Dt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Op,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Ti=class extends Dt{constructor(e){super(),this._lView=e}onDestroy(e){return Mc(this._lView,e),()=>Yh(this._lView,e)}};function Op(){return new Ti(N())}var so=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new hn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Ni=class extends pe{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,gc()&&(this.destroyRef=w(Dt,{optional:!0})??void 0,this.pendingTasks=w(so,{optional:!0})??void 0)}emit(e){let n=M(null);try{super.next(e)}finally{M(n)}}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof H&&e.add(a),a}wrapInTimeout(e){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{e(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},V=Ni;function Ur(...t){}function Xc(t){let e,n;function r(){t=Ur;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function xu(t){return queueMicrotask(()=>t()),()=>{t=Ur}}var Ms="isAngularZone",Gr=Ms+"_ID",Fp=0,j=class t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new V(!1),this.onMicrotaskEmpty=new V(!1),this.onStable=new V(!1),this.onError=new V(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Jc}=e;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let 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,kp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ms)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new E(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,Rp,Ur,Ur);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Rp={};function Ss(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Pp(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Xc(()=>{t.callbackScheduled=!1,Ai(t),t.isCheckStableRunning=!0,Ss(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Ai(t)}function kp(t){let e=()=>{Pp(t)},n=Fp++;t._inner=t._inner.fork({name:"angular",properties:{[Ms]:!0,[Gr]:n,[Gr+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(Lp(u))return r.invokeTask(i,s,a,u);try{return Tu(t),r.invokeTask(i,s,a,u)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Nu(t)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Tu(t),r.invoke(i,s,a,u,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Vp(u)&&e(),Nu(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ai(t),Ss(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ai(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Tu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Nu(t){t._nesting--,Ss(t)}var Oi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new V,this.onMicrotaskEmpty=new V,this.onStable=new V,this.onError=new V}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}};function Lp(t){return el(t,"__ignore_ng_zone__")}function Vp(t){return el(t,"__scheduler_tick__")}function el(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Ne=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&ai(e);for(;n&&ai(n);)n=ai(n);return n||null}},jp=new _("",{providedIn:"root",factory:()=>{let t=w(j),e=w(Ne);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function Bp(){return Xt(J(),N())}function Xt(t,e){return new Ie(oe(t,e))}var Ie=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=Bp;let t=e;return t})();function Hp(t){return t instanceof Ie?t.nativeElement:t}function $p(){return this._results[Symbol.iterator]()}var Fi=class t{get changes(){return this._changes??=new V}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=$p)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=ah(e);(this._changesDetected=!sh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function tl(t){return(t.flags&128)===128}var nl=new Map,Up=0;function Gp(){return Up++}function zp(t){nl.set(t[to],t)}function Ri(t){nl.delete(t[to])}var Au="__ngContext__";function pt(t,e){Be(e)?(t[Au]=e[to],zp(e)):t[Au]=e}function rl(t){return il(t[wn])}function ol(t){return il(t[ce])}function il(t){for(;t!==null&&!Oe(t);)t=t[ce];return t}var Pi;function sl(t){Pi=t}function Wp(){if(Pi!==void 0)return Pi;if(typeof document<"u")return document;throw new E(210,!1)}var xs=new _("",{providedIn:"root",factory:()=>qp}),qp="ng",Ts=new _(""),Et=new _("",{providedIn:"platform",factory:()=>"unknown"});var Ns=new _("",{providedIn:"root",factory:()=>Wp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Zp="h",Yp="b";var Qp=()=>null;function As(t,e,n=!1){return Qp(t,e,n)}var al=!1,Kp=new _("",{providedIn:"root",factory:()=>al});var ki=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jf})`}};function Os(t){return t instanceof ki?t.changingThisBreaksApplicationSecurity:t}function Jp(t){return(t??w(Ge)).get(Et)==="browser"}var we=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(we||{}),Xp;function Fs(t,e){return Xp(t,e)}function kt(t,e,n,r,o){if(r!=null){let i,s=!1;Oe(r)?i=r:Be(r)&&(s=!0,r=r[Ae]);let a=Ce(r);t===0&&n!==null?o==null?dl(e,n,a):Wr(e,n,a,o||null,!0):t===1&&n!==null?Wr(e,n,a,o||null,!0):t===2?pg(e,a,s):t===3&&e.destroyNode(a),i!=null&&mg(e,t,i,n,o)}}function eg(t,e){return t.createText(e)}function tg(t,e,n){t.setValue(e,n)}function ul(t,e,n){return t.createElement(e,n)}function ng(t,e){cl(t,e),e[Ae]=null,e[de]=null}function rg(t,e,n,r,o,i){r[Ae]=o,r[de]=e,ao(t,r,n,1,o,i)}function cl(t,e){e[xe].changeDetectionScheduler?.notify(9),ao(t,e,e[$],2,null,null)}function og(t){let e=t[wn];if(!e)return ui(t[D],t);for(;e;){let n=null;if(Be(e))n=e[wn];else{let r=e[Z];r&&(n=r)}if(!n){for(;e&&!e[ce]&&e!==t;)Be(e)&&ui(e[D],e),e=e[G];e===null&&(e=t),Be(e)&&ui(e[D],e),n=e&&e[ce]}e=n}}function ig(t,e,n,r){let o=Z+r,i=n.length;r>0&&(n[o-1][ce]=e),r0&&(t[n-1][ce]=r[ce]);let i=Or(t,Z+e);ng(r[D],r);let s=i[Te];s!==null&&s.detachView(i[D]),r[G]=null,r[ce]=null,r[y]&=-129}return r}function Ps(t,e){if(!(e[y]&256)){let n=e[$];n.destroyNode&&ao(t,e,n,3,null,null),og(e)}}function ui(t,e){if(e[y]&256)return;let n=M(null);try{e[y]&=-129,e[y]|=256,e[te]&&Uo(e[te]),ag(t,e),sg(t,e),e[D].type===1&&e[$].destroy();let r=e[ut];if(r!==null&&Oe(e[G])){r!==e[G]&&Rs(r,e);let o=e[Te];o!==null&&o.detachView(t)}Ri(e)}finally{M(n)}}function sg(t,e){let n=t.cleanup,r=e[kr];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(e[kr]=null);let o=e[je];if(o!==null){e[je]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===De.None||i===De.Emulated)return null}return oe(r,n)}}function Wr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function dl(t,e,n){t.appendChild(e,n)}function Ou(t,e,n,r,o){r!==null?Wr(t,e,n,r,o):dl(t,e,n)}function fl(t,e){return t.parentNode(e)}function lg(t,e){return t.nextSibling(e)}function dg(t,e,n){return hg(t,e,n)}function fg(t,e,n){return t.type&40?oe(t,n):null}var hg=fg,Fu;function ks(t,e,n,r){let o=ug(t,r,e),i=e[$],s=r.parent||e[de],a=dg(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;ule&&ml(t,e,le,!1),ye(s?2:0,o),n(r,o)}finally{dt(i),ye(s?3:1,o)}}function El(t,e,n){if(vc(e)){let r=M(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function _g(t,e,n,r){let o=Tl(e);o.push(n),t.firstCreatePass&&Nl(t).push(r,o.length-1)}function Mg(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return Xh()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ru(t,e,n,r,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;r??={};let a,u=He.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}t===0?Pu(r,n,c,a,u):Pu(r,n,c,a)}return r}function Pu(t,e,n,r,o){let i;t.hasOwnProperty(n)?(i=t[n]).push(e,r):i=t[n]=[e,r],o!==void 0&&i.push(o)}function Sg(t,e,n){let r=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function Fg(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;no(n)&&Bg(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||$r(n,e),pt(r,e);let s=n.initialInputs;for(let a=o;a{oo(t.lView)},consumerOnSignalRead(){this.lView[te]=this}});function tm(t){let e=t[te]??Object.create(nm);return e.lView=t,e}var nm=P(O({},fn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=lt(t.lView);for(;e&&!kl(e[D]);)e=lt(e);e&&_c(e)},consumerOnSignalRead(){this.lView[te]=this}});function kl(t){return t.type!==2}var rm=100;function Ll(t,e=!0,n=0){let r=t[xe],o=r.rendererFactory,i=!1;i||o.begin?.();try{om(t,n)}catch(s){throw e&&Al(t,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function om(t,e){let n=Fc();try{wu(!0),Hi(t,e);let r=0;for(;ro(t);){if(r===rm)throw new E(103,!1);r++,Hi(t,1)}}finally{wu(n)}}function im(t,e,n,r){let o=e[y];if((o&256)===256)return;let i=!1,s=!1;!i&&e[xe].inlineEffectRunner?.flush(),Es(e);let a=!0,u=null,c=null;i||(kl(t)?(c=Kg(e),u=Yn(c)):Ia()===null?(a=!1,c=tm(e),u=Yn(c)):e[te]&&(Uo(e[te]),e[te]=null));try{bc(e),ap(t.bindingStartIndex),n!==null&&Dl(t,e,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=t.preOrderCheckHooks;f!==null&&_r(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Mr(e,f,0,null),oi(e,0)}if(s||sm(e),Vl(e,0),t.contentQueries!==null&&xl(t,e),!i)if(l){let f=t.contentCheckHooks;f!==null&&_r(e,f)}else{let f=t.contentHooks;f!==null&&Mr(e,f,1),oi(e,1)}Dg(t,e);let d=t.components;d!==null&&Bl(e,d,0);let h=t.viewQuery;if(h!==null&&ji(2,h,r),!i)if(l){let f=t.viewCheckHooks;f!==null&&_r(e,f)}else{let f=t.viewHooks;f!==null&&Mr(e,f,2),oi(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[ri]){for(let f of e[ri])f();e[ri]=null}i||(e[y]&=-73)}catch(l){throw i||oo(e),l}finally{c!==null&&(Ho(c,u),a&&Xg(c)),Cs()}}function Vl(t,e){for(let n=rl(t);n!==null;n=ol(n))for(let r=Z;r-1&&(zr(e,r),Or(n,r))}this._attachedToViewContainer=!1}Ps(this._lView[D],this._lView)}onDestroy(e){Mc(this._lView,e)}markForCheck(){Hs(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[y]&=-129}reattach(){Ii(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,Ll(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ci(this._lView),n=this._lView[ut];n!==null&&!e&&Rs(n,this._lView),cl(this._lView[D],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=e;let n=Ci(this._lView),r=this._lView[ut];r!==null&&!n&&ll(r,this._lView),Ii(this._lView)}},In=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=lm;let t=e;return t})(),um=In,cm=class extends um{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=Fl(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new gt(o)}};function lm(){return $s(J(),N())}function $s(t,e){return t.type&4?new cm(e,t,Xt(t,e)):null}var Yw=new RegExp(`^(\\d+)*(${Yp}|${Zp})*(.*)`);var dm=()=>null;function $i(t,e){return dm(t,e)}var Wt=class{},Hl=new _("",{providedIn:"root",factory:()=>!1});var $l=new _(""),Ul=new _(""),Ui=class{},Zr=class{};function fm(t){let e=Error(`No component factory found for ${ee(t)}.`);return e[hm]=t,e}var hm="ngComponent";var Gi=class{resolveComponentFactory(e){throw fm(e)}},Zs=class Zs{};Zs.NULL=new Gi;var bn=Zs,qt=class{},en=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>pm();let t=e;return t})();function pm(){let t=N(),e=J(),n=qe(e.index,t);return(Be(n)?n:t)[$]}var gm=(()=>{let e=class e{};e.\u0275prov=F({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();function zi(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,i=0;if(e!==null)for(let s=0;s0&&pl(t,n,i.join(" "))}}function wm(t,e,n){let r=t.projection=[];for(let o=0;o{let e=class e{};e.__NG_ELEMENT_ID__=bm;let t=e;return t})();function bm(){let t=J();return zl(t,N())}var _m=fo,Gl=class extends _m{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Xt(this._hostTNode,this._hostLView)}get injector(){return new at(this._hostTNode,this._hostLView)}get parentInjector(){let e=_s(this._hostTNode,this._hostLView);if(Uc(e)){let n=Hr(e,this._hostLView),r=Br(e),o=n[D].data[r+8];return new at(o,n)}else return new at(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=Lu(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-Z}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=$i(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Bi(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!Bh(e),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let u=s?e:new Yr($t(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let R=(s?c:this.parentInjector).get($e,null);R&&(i=R)}let l=$t(u.componentType??{}),d=$i(this._lContainer,l?.id??null),h=d?.firstChild??null,f=u.create(c,o,h,i);return this.insertImpl(f.hostView,a,Bi(this._hostTNode,d)),f}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(qh(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[G],c=new Gl(u,u[de],u[G]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return Rl(s,o,i,r),e.attachToViewContainerRef(),nc(ci(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=Lu(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=zr(this._lContainer,n);r&&(Or(ci(this._lContainer),n),Ps(r[D],r))}detach(e){let n=this._adjustIndex(e,-1),r=zr(this._lContainer,n);return r&&Or(ci(this._lContainer),n)!=null?new gt(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Lu(t){return t[Lr]}function ci(t){return t[Lr]||(t[Lr]=[])}function zl(t,e){let n,r=e[t.index];return Oe(r)?n=r:(n=Sl(r,e,null,t),e[t.index]=n,lo(e,n)),Sm(n,e,t,r),new Gl(n,t,e)}function Mm(t,e){let n=t[$],r=n.createComment(""),o=oe(e,t),i=fl(n,o);return Wr(n,i,r,lg(n,o),!1),r}var Sm=Nm,xm=()=>!1;function Tm(t,e,n){return xm(t,e,n)}function Nm(t,e,n,r){if(t[ct])return;let o;n.type&8?o=Ce(r):o=Mm(e,n),t[ct]=o}var Zi=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Yi=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=Z;de.trim())}function Vm(t,e,n){t.queries===null&&(t.queries=new Ki),t.queries.track(new Ji(e,n))}function Zl(t,e){return t.queries.getByIndex(e)}function jm(t,e){let n=t[D],r=Zl(n,e);return r.crossesNgTemplate?Xi(n,t,e,[]):Wl(n,t,r,e)}var Vu=new Set;function tn(t){Vu.has(t)||(Vu.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Ct(t,e){tn("NgSignals");let n=Fa(t),r=n[he];return e?.equal&&(r.equal=e.equal),n.set=o=>zo(r,o),n.update=o=>Ra(r,o),n.asReadonly=Bm.bind(n),n}function Bm(){let t=this[he];if(t.readonlyFn===void 0){let e=()=>this();e[he]=t,t.readonlyFn=e}return t.readonlyFn}function Yl(t,e){let n,r=Go(()=>{n._dirtyCounter();let o=Gm(n,t);if(e&&o===void 0)throw new E(-951,!1);return o});return n=r[he],n._dirtyCounter=Ct(0),n._flatValue=void 0,r}function Hm(){return Yl(!0,!1)}function $m(){return Yl(!0,!0)}function Um(t,e){let n=t[he];n._lView=N(),n._queryIndex=e,n._queryList=ql(n._lView,e),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Gm(t,e){let n=t._lView,r=t._queryIndex;if(n===void 0||r===void 0||n[y]&4)return e?void 0:K;let o=ql(n,r),i=jm(n,r);return o.reset(i,Hp),e?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function ju(t,e){return Hm()}function zm(t,e){return $m()}var Ql=(ju.required=zm,ju);function Wm(t){return Object.getPrototypeOf(t.prototype).constructor}function Y(t){let e=Wm(t.type),n=!0,r=[t];for(;e;){let o;if(Ue(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new E(903,!1);o=e.\u0275dir}if(o){if(n){r.push(o);let s=t;s.inputs=Cr(t.inputs),s.inputTransforms=Cr(t.inputTransforms),s.declaredInputs=Cr(t.declaredInputs),s.outputs=Cr(t.outputs);let a=o.hostBindings;a&&Km(t,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Ym(t,u),c&&Qm(t,c),qm(t,o),Hf(t.outputs,o.outputs),Ue(o)&&o.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=Cn(o.hostAttrs,n=Cn(n,o.hostAttrs))}}function Cr(t){return t===Ht?{}:t===K?[]:t}function Ym(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function Qm(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function Km(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}var Zt=class{};var Qr=class extends Zt{constructor(e){super(),this.componentFactoryResolver=new Wi(this),this.instance=null;let n=new Rr([...e.providers,{provide:Zt,useValue:this},{provide:bn,useValue:this.componentFactoryResolver}],e.parent||gs(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Jm(t,e,n=null){return new Qr({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}function Kl(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Xm(t,e,n){return t[e]=n}function ey(t,e){return t[e]}function mt(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function ty(t,e,n,r){let o=mt(t,e,n);return mt(t,e+1,r)||o}function ny(t){return(t.flags&32)===32}function ry(t,e,n,r,o,i,s,a,u){let c=e.consts,l=co(e,t,4,s||null,a||null);bl(e,n,l,jr(c,u)),bs(e,l);let d=l.tView=Vs(2,l,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function oy(t,e,n,r,o,i,s,a,u,c){let l=n+le,d=e.firstCreatePass?ry(l,e,t,r,o,i,s,a,u):e.data[l];xn(d,!1);let h=iy(e,t,d,n);ws()&&ks(e,t,h,d),pt(h,t);let f=Sl(h,t,h,d);return t[l]=f,lo(t,f),Tm(f,d,t),ms(d)&&Cl(e,t,d),u!=null&&wl(t,d,c),d}function wt(t,e,n,r,o,i,s,a){let u=N(),c=ie(),l=jr(c.consts,i);return oy(u,c,t,e,n,r,o,l,s,a),wt}var iy=sy;function sy(t,e,n,r){return Is(!0),e[$].createComment("")}var Lt=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Lt||{}),Jl=(()=>{let e=class e{constructor(){this.impl=null}execute(){this.impl?.execute()}};e.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),st=class st{constructor(){this.ngZone=w(j),this.scheduler=w(Wt),this.errorHandler=w(Ne,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(let e of st.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[e]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[e](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&this.sequences.delete(e);for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};st.PHASES=[Lt.EarlyRead,Lt.Write,Lt.MixedReadWrite,Lt.Read],st.\u0275prov=F({token:st,providedIn:"root",factory:()=>new st});var es=st,ts=class{constructor(e,n,r,o){this.impl=e,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}};function Us(t,e){!e?.injector&&jh(Us);let n=e?.injector??w(Ge);return Jp(n)?(tn("NgAfterNextRender"),uy(t,n,e,!0)):cy}function ay(t,e){if(t instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[e]=t,n}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function uy(t,e,n,r){let o=e.get(Jl);o.impl??=e.get(es);let i=n?.phase??Lt.MixedReadWrite,s=new ts(o.impl,ay(t,i),r,e.get(Dt));return o.impl.register(s),s}var cy={destroy(){}};function ho(t,e,n,r){let o=N(),i=io();if(mt(o,i,e)){let s=ie(),a=Bc();Hg(a,o,t,e,n,r)}return ho}function ly(t,e,n,r){return mt(t,io(),n)?e+vn(n)+r:be}function dy(t,e,n,r,o,i){let s=sp(),a=ty(t,s,n,o);return Rc(2),a?e+vn(n)+r+vn(o)+i:be}function wr(t,e){return t<<17|e<<2}function yt(t){return t>>17&32767}function fy(t){return(t&2)==2}function hy(t,e){return t&131071|e<<17}function ns(t){return t|2}function Yt(t){return(t&131068)>>2}function li(t,e){return t&-131069|e<<2}function py(t){return(t&1)===1}function rs(t){return t|1}function gy(t,e,n,r,o,i){let s=i?e.classBindings:e.styleBindings,a=yt(s),u=Yt(s);t[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Sn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let h=yt(t[a+1]);t[r+1]=wr(h,a),h!==0&&(t[h+1]=li(t[h+1],r)),t[a+1]=hy(t[a+1],r)}else t[r+1]=wr(a,0),a!==0&&(t[a+1]=li(t[a+1],r)),a=r;else t[r+1]=wr(u,0),a===0?a=r:t[u+1]=li(t[u+1],r),u=r;c&&(t[r+1]=ns(t[r+1])),Bu(t,l,r,!0),Bu(t,l,r,!1),my(e,l,t,r,i),s=wr(a,u),i?e.classBindings=s:e.styleBindings=s}function my(t,e,n,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&Sn(i,e)>=0&&(n[r+1]=rs(n[r+1]))}function Bu(t,e,n,r){let o=t[n+1],i=e===null,s=r?yt(o):Yt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=t[s],c=t[s+1];yy(u,e)&&(a=!0,t[s+1]=r?rs(c):ns(c)),s=r?yt(c):Yt(c)}a&&(t[n+1]=r?ns(o):rs(o))}function yy(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Sn(t,e)>=0:!1}function Ze(t,e,n){let r=N(),o=io();if(mt(r,o,e)){let i=ie(),s=Bc();Tg(i,s,r,t,e,r[$],n,!1)}return Ze}function Hu(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";js(t,n,i[s],s,r)}function po(t,e){return vy(t,e,null,!0),po}function vy(t,e,n,r){let o=N(),i=ie(),s=Rc(2);if(i.firstUpdatePass&&Ey(i,t,s,r),e!==be&&mt(o,s,e)){let a=i.data[vt()];_y(i,a,o,o[$],t,o[s+1]=My(e,n),r,s)}}function Dy(t,e){return e>=t.expandoStartIndex}function Ey(t,e,n,r){let o=t.data;if(o[n+1]===null){let i=o[vt()],s=Dy(t,n);Sy(i,r)&&e===null&&!s&&(e=!1),e=Cy(o,i,e,r),gy(o,i,e,n,s,r)}}function Cy(t,e,n,r){let o=dp(t),i=r?e.residualClasses:e.residualStyles;if(o===null)(r?e.classBindings:e.styleBindings)===0&&(n=di(null,t,e,n,r),n=_n(n,e.attrs,r),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(n=di(o,t,e,n,r),i===null){let u=wy(t,e,r);u!==void 0&&Array.isArray(u)&&(u=di(null,t,e,u[1],r),u=_n(u,e.attrs,r),Iy(t,e,r,u))}else i=by(t,e,r)}return i!==void 0&&(r?e.residualClasses=i:e.residualStyles=i),n}function wy(t,e,n){let r=n?e.classBindings:e.styleBindings;if(Yt(r)!==0)return t[yt(r)]}function Iy(t,e,n,r){let o=n?e.classBindings:e.styleBindings;t[yt(o)]=r}function by(t,e,n){let r,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0;){let u=t[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,h=n[o+1];h===be&&(h=d?K:void 0);let f=d?ti(h,r):l===r?h:void 0;if(c&&!Kr(f)&&(f=ti(u,r)),Kr(f)&&(a=f,s))return a;let m=t[o+1];o=s?yt(m):Yt(m)}if(e!==null){let u=i?e.residualClasses:e.residualStyles;u!=null&&(a=ti(u,r))}return a}function Kr(t){return t!==void 0}function My(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ee(Os(t)))),t}function Sy(t,e){return(t.flags&(e?8:16))!==0}function Ye(t,e){tn("NgControlFlow");let n=N(),r=io(),o=n[r]!==be?n[r]:-1,i=o!==-1?Uu(n,le+o):void 0,s=0;if(mt(n,r,t)){let a=M(null);try{if(i!==void 0&&Yg(i,s),t!==-1){let u=le+t,c=Uu(n,u),l=xy(n[D],u),d=$i(c,l.tView.ssrId),h=Fl(n,l,e,{dehydratedView:d});Rl(c,h,s,Bi(l,d))}}finally{M(a)}}else if(i!==void 0){let a=Zg(i,s);a!==void 0&&(a[ne]=e)}}function Uu(t,e){return t[e]}function xy(t,e){return ys(t,e)}function Ty(t,e,n,r,o,i){let s=e.consts,a=jr(s,o),u=co(e,t,2,r,a);return bl(e,n,u,jr(s,i)),u.attrs!==null&&zi(u,u.attrs,!1),u.mergedAttrs!==null&&zi(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function g(t,e,n,r){let o=N(),i=ie(),s=le+t,a=o[$],u=i.firstCreatePass?Ty(s,i,o,e,n,r):i.data[s],c=Ny(i,o,u,a,e,t);o[s]=c;let l=ms(u);return xn(u,!0),gl(a,c,u),!ny(u)&&ws()&&ks(i,o,c,u),Qh()===0&&pt(c,o),Kh(),l&&(Cl(i,o,u),El(i,u,o)),r!==null&&wl(o,u),g}function p(){let t=J();Oc()?rp():(t=t.parent,xn(t,!1));let e=t;ep(e)&&tp(),Jh();let n=ie();return n.firstCreatePass&&(bs(n,t),vc(t)&&n.queries.elementEnd(t)),e.classesWithoutHost!=null&&Dp(e)&&Hu(n,e,N(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Ep(e)&&Hu(n,e,N(),e.stylesWithoutHost,!1),p}function x(t,e,n,r){return g(t,e,n,r),p(),x}var Ny=(t,e,n,r,o,i)=>(Is(!0),ul(r,o,gp()));function Xl(){return N()}var Jr="en-US";var Ay=Jr;function Oy(t){typeof t=="string"&&(Ay=t.toLowerCase().replace(/_/g,"-"))}var Fy=(t,e,n)=>{};function fe(t,e,n,r){let o=N(),i=ie(),s=J();return Py(i,o,o[$],s,t,e,r),fe}function Ry(t,e,n,r){let o=t.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Py(t,e,n,r,o,i,s){let a=ms(r),c=t.firstCreatePass&&Nl(t),l=e[ne],d=Tl(e),h=!0;if(r.type&3||s){let R=oe(r,e),z=s?s(R):R,U=d.length,X=s?se=>s(Ce(se[r.index])):r.index,Se=null;if(!s&&a&&(Se=Ry(t,e,o,r.index)),Se!==null){let se=Se.__ngLastListenerFn__||Se;se.__ngNextListenerFn__=i,Se.__ngLastListenerFn__=i,h=!1}else{i=zu(r,e,l,i),Fy(R,o,i);let se=n.listen(z,o,i);d.push(i,se),c&&c.push(o,X,U,U+1)}}else i=zu(r,e,l,i);let f=r.outputs,m;if(h&&f!==null&&(m=f[o])){let R=m.length;if(R)for(let z=0;z-1?qe(t.index,e):e;Hs(s,5);let a=Gu(e,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=Gu(e,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function Nn(t=1){return pp(t)}function ed(t,e,n,r){Um(t,km(e,n,r))}function td(t=1){Ds(fp()+t)}function go(t){let e=op();return Wh(e,le+t)}function v(t,e=""){let n=N(),r=ie(),o=t+le,i=r.firstCreatePass?co(r,o,1,e,null):r.data[o],s=ky(r,n,i,e,t);n[o]=s,ws()&&ks(r,n,s,i),xn(i,!1)}var ky=(t,e,n,r,o)=>(Is(!0),eg(e[$],r));function Gs(t){return nn("",t,""),Gs}function nn(t,e,n){let r=N(),o=ly(r,t,e,n);return o!==be&&Ol(r,vt(),o),nn}function zs(t,e,n,r,o){let i=N(),s=dy(i,t,e,n,r,o);return s!==be&&Ol(i,vt(),s),zs}function Ly(t,e,n){let r=ie();if(r.firstCreatePass){let o=Ue(t);os(n,r.data,r.blueprint,o,!0),os(e,r.data,r.blueprint,o,!1)}}function os(t,e,n,r,o){if(t=W(t),Array.isArray(t))for(let i=0;i>20;if(Ut(t)||!t.multi){let f=new ft(c,o,I),m=hi(u,e,o?l:l+h,d);m===-1?(Si($r(a,s),i,u),fi(i,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[m]=f,s[m]=f)}else{let f=hi(u,e,l+h,d),m=hi(u,e,l,l+h),R=f>=0&&n[f],z=m>=0&&n[m];if(o&&!z||!o&&!R){Si($r(a,s),i,u);let U=By(o?jy:Vy,n.length,o,r,c);!o&&z&&(n[m].providerFactory=U),fi(i,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(U),s.push(U)}else{let U=nd(n[o?m:f],c,!o&&r);fi(i,t,f>-1?f:m,U)}!o&&r&&z&&n[m].componentProviders++}}}function fi(t,e,n,r){let o=Ut(e),i=Oh(e);if(o||i){let u=(i?W(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function nd(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function hi(t,e,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Ly(r,o?o(t):t,e)}}var Hy=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=dc(!1,r.type),i=o.length>0?Jm([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(T($e))});let t=e;return t})();function Qe(t){tn("NgStandalone"),t.getStandaloneInjector=e=>e.get(Hy).getOrCreateStandaloneInjector(t)}function rd(t,e,n){let r=ip()+t,o=N();return o[r]===be?Xm(o,r,n?e.call(n):e()):ey(o,r)}var od=new _("");function An(t){return!!t&&typeof t.then=="function"}function id(t){return!!t&&typeof t.subscribe=="function"}var $y=new _(""),sd=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=w($y,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(An(s))r.push(s);else if(id(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Uy=new _("");function Gy(){Oa(()=>{throw new E(600,!1)})}function zy(t){return t.isBoundToModule}var Wy=10;function qy(t,e,n){try{let r=n();return An(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var On=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(jp),this.afterRenderManager=w(Jl),this.zonelessEnabled=w(Hl),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new pe,this.afterTick=new pe,this.componentTypes=[],this.components=[],this.isStable=w(so).hasPendingTasks.pipe(ot(r=>!r)),this._injector=w($e)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let r;return new Promise(o=>{r=this.isStable.subscribe({next:i=>{i&&o()}})}).finally(()=>{r.unsubscribe()})}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Zr;if(!this._injector.get(sd).done){let f=!i&&Mh(r),m=!1;throw new E(405,m)}let a;i?a=r:a=this._injector.get(bn).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=zy(a)?void 0:this._injector.get(Zt),c=o||a.selector,l=a.create(Ge.NULL,[],c,u),d=l.location.nativeElement,h=l.injector.get(od,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),xr(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new E(101,!1);let r=M(null);try{this._runningTick=!0,this.synchronize()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,M(r),this.afterTick.next()}}synchronize(){let r=null;this._injector.destroyed||(r=this._injector.get(qt,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let o=0;for(;this.dirtyFlags!==0&&o++ro(r))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;xr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Uy,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>xr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new E(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function xr(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Zy(t,e,n,r){if(!n&&!ro(t))return;Ll(t,e,n&&!r?0:1)}var Yy=(()=>{let e=class e{constructor(){this.zone=w(j),this.changeDetectionScheduler=w(Wt),this.applicationRef=w(On)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Qy({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new j(P(O({},Ky()),{scheduleInRootZone:n})),[{provide:j,useFactory:t},{provide:En,multi:!0,useFactory:()=>{let r=w(Yy,{optional:!0});return()=>r.initialize()}},{provide:En,multi:!0,useFactory:()=>{let r=w(Jy);return()=>{r.initialize()}}},e===!0?{provide:$l,useValue:!0}:[],{provide:Ul,useValue:n??Jc}]}function Ky(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Jy=(()=>{let e=class e{constructor(){this.subscription=new H,this.initialized=!1,this.zone=w(j),this.pendingTasks=w(so)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{j.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Xy=(()=>{let e=class e{constructor(){this.appRef=w(On),this.taskService=w(so),this.ngZone=w(j),this.zonelessEnabled=w(Hl),this.disableScheduling=w($l,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new H,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Gr):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w(Ul,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Oi||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?xu:Xc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Gr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(r),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,xu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ev(){return typeof $localize<"u"&&$localize.locale||Jr}var Ws=new _("",{providedIn:"root",factory:()=>w(Ws,b.Optional|b.SkipSelf)||ev()});var ad=new _("");function Ir(t){return!!t.platformInjector}function tv(t){let e=Ir(t)?t.r3Injector:t.moduleRef.injector,n=e.get(j);return n.run(()=>{Ir(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(Ne,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Ir(t)){let i=()=>e.destroy(),s=t.platformInjector.get(ad);s.add(i),e.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else t.moduleRef.onDestroy(()=>{xr(t.allPlatformModules,t.moduleRef),o.unsubscribe()});return qy(r,n,()=>{let i=e.get(sd);return i.runInitializers(),i.donePromise.then(()=>{let s=e.get(Ws,Jr);if(Oy(s||Jr),Ir(t)){let a=e.get(On);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return nv(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function nv(t,e){let n=t.injector.get(On);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new E(-403,!1);e.push(t)}var Tr=null;function rv(t=[],e){return Ge.create({name:e,providers:[{provide:eo,useValue:"platform"},{provide:ad,useValue:new Set([()=>Tr=null])},...t]})}function ov(t=[]){if(Tr)return Tr;let e=rv(t);return Tr=e,Gy(),iv(e),e}function iv(t){t.get(Ts,null)?.forEach(n=>n())}var mo=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=sv;let t=e;return t})();function sv(t){return av(J(),N(),(t&16)===16)}function av(t,e,n){if(no(t)&&!n){let r=qe(t.index,e);return new gt(r,r)}else if(t.type&175){let r=e[Ee];return new gt(r,e)}return null}var ss=class{constructor(){}supports(e){return e instanceof Map||Kl(e)}create(){return new as}},as=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let n;for(n=this._mapHead;n!==null;n=n._next)e(n)}forEachPreviousItem(e){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)e(n)}forEachChangedItem(e){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)e(n)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Kl(e)))throw new E(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){let r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new us(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}},us=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Wu(){return new qs([new ss])}var qs=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||Wu()),deps:[[e,new ih,new tc]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new E(901,!1)}};e.\u0275prov=F({token:e,providedIn:"root",factory:Wu});let t=e;return t})();function ud(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=ov(r),i=[Qy({}),{provide:Wt,useExisting:Xy},...n||[]],s=new Qr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return tv({r3Injector:s.injector,platformInjector:o,rootComponent:e})}catch(e){return Promise.reject(e)}}var cd=new _("");function Fn(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function rn(t,e){tn("NgSignals");let n=Go(t);return e?.equal&&(n[he].equal=e.equal),n}function Me(t){let e=M(null);try{return t()}finally{M(e)}}var dd=null;function on(){return dd}function fd(t){dd??=t}var yo=class{};var Fe=new _("");function hd(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var pd=(()=>{let e=class e{constructor(r,o,i){this._ngEl=r,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){let r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){let[i,s]=r.split("."),a=i.indexOf("-")===-1?void 0:we.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(I(Ie),I(qs),I(en))},e.\u0275dir=B({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})();var gd="browser",uv="server";function Ys(t){return t===uv}var vo=class{};var Js=class extends yo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Xs=class t extends Js{static makeCurrent(){fd(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=lv();return n==null?null:dv(n)}resetBaseElement(){Rn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return hd(document.cookie,e)}},Rn=null;function lv(){return Rn=Rn||document.querySelector("base"),Rn?Rn.getAttribute("href"):null}function dv(t){return new URL(t,document.baseURI).pathname}var fv=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Do=new _(""),Dd=(()=>{let e=class e{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new E(5101,!1);return this._eventNameToPlugin.set(r,o),o}};e.\u0275fac=function(o){return new(o||e)(T(Do),T(j))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Pn=class{constructor(e){this._doc=e}},Qs="ng-app-id",Ed=(()=>{let e=class e{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ys(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Qs}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Qs),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Qs,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(T(Fe),T(xs),T(Ns,8),T(Et))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Ks={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"},ta=/%COMP%/g,Cd="%COMP%",hv=`_nghost-${Cd}`,pv=`_ngcontent-${Cd}`,gv=!0,mv=new _("",{providedIn:"root",factory:()=>gv});function yv(t){return pv.replace(ta,t)}function vv(t){return hv.replace(ta,t)}function wd(t,e){return e.map(n=>n.replace(ta,t))}var md=(()=>{let e=class e{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ys(u),this.defaultRenderer=new kn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===De.ShadowDom&&(o=P(O({},o),{encapsulation:De.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Eo?i.applyToHost(r):i instanceof Ln&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case De.Emulated:s=new Eo(c,l,o,this.appId,d,a,u,h);break;case De.ShadowDom:return new ea(c,l,r,o,a,u,this.nonce,h);default:s=new Ln(c,l,o,d,a,u,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(T(Dd),T(Ed),T(xs),T(mv),T(Fe),T(Et),T(j),T(Ns))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),kn=class{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Ks[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(yd(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(yd(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){n.remove()}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new E(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;let i=Ks[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=Ks[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(we.DashCase|we.Important)?e.style.setProperty(n,r,o&we.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&we.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=on().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function yd(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ea=class extends kn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=wd(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(null,n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ln=class extends kn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?wd(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Eo=class extends Ln{constructor(e,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(e,n,r,i,s,a,u,c),this.contentAttr=yv(c),this.hostAttr=vv(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},Dv=(()=>{let e=class e extends Pn{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(T(Fe))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Ev=(()=>{let e=class e extends Pn{constructor(r){super(r),this.delegate=w(cd,{optional:!0})}supports(r){return this.delegate?this.delegate.supports(r):!1}addEventListener(r,o,i){return this.delegate.addEventListener(r,o,i)}removeEventListener(r,o,i){return this.delegate.removeEventListener(r,o,i)}};e.\u0275fac=function(o){return new(o||e)(T(Fe))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),vd=["alt","control","meta","shift"],Cv={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},wv={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Iv=(()=>{let e=class e extends Pn{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>on().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),vd.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=Cv[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),vd.forEach(a=>{if(a!==i){let u=wv[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{e.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(o){return new(o||e)(T(Fe))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})();function Id(t,e){return ud(O({rootComponent:t},bv(e)))}function bv(t){return{appProviders:[...Tv,...t?.providers??[]],platformProviders:xv}}function _v(){Xs.makeCurrent()}function Mv(){return new Ne}function Sv(){return sl(document),document}var xv=[{provide:Et,useValue:gd},{provide:Ts,useValue:_v,multi:!0},{provide:Fe,useFactory:Sv,deps:[]}];var Tv=[{provide:eo,useValue:"root"},{provide:Ne,useFactory:Mv,deps:[]},{provide:Do,useClass:Dv,multi:!0,deps:[Fe,j,Et]},{provide:Do,useClass:Iv,multi:!0,deps:[Fe]},{provide:Do,useClass:Ev,multi:!0},md,Ed,Dd,{provide:qt,useExisting:md},{provide:vo,useClass:fv,deps:[]},[]];var Nd=(()=>{let e=class e{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};e.\u0275fac=function(o){return new(o||e)(I(en),I(Ie))},e.\u0275dir=B({type:e});let t=e;return t})(),Nv=(()=>{let e=class e extends Nd{};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=Tn(e)))(i||e)}})(),e.\u0275dir=B({type:e,features:[Y]});let t=e;return t})(),Ao=new _("");var Av={provide:Ao,useExisting:re(()=>cn),multi:!0};function Ov(){let t=on()?on().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Fv=new _(""),cn=(()=>{let e=class e extends Nd{constructor(r,o,i){super(r,o),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Ov())}writeValue(r){let o=r??"";this.setProperty("value",o)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};e.\u0275fac=function(o){return new(o||e)(I(en),I(Ie),I(Fv,8))},e.\u0275dir=B({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(o,i){o&1&&fe("input",function(a){return i._handleInput(a.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(a){return i._compositionEnd(a.target.value)})},features:[_e([Av]),Y]});let t=e;return t})();function Ke(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function Ad(t){return t!=null&&typeof t.length=="number"}var Xe=new _(""),Gn=new _(""),Rv=/^(?=.{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])?)*$/,bt=class{static min(e){return Pv(e)}static max(e){return kv(e)}static required(e){return Od(e)}static requiredTrue(e){return Lv(e)}static email(e){return Fd(e)}static minLength(e){return Rd(e)}static maxLength(e){return Vv(e)}static pattern(e){return jv(e)}static nullValidator(e){return wo(e)}static compose(e){return Bd(e)}static composeAsync(e){return Hd(e)}};function Pv(t){return e=>{if(Ke(e.value)||Ke(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(Ke(e.value)||Ke(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function Od(t){return Ke(t.value)?{required:!0}:null}function Lv(t){return t.value===!0?null:{required:!0}}function Fd(t){return Ke(t.value)||Rv.test(t.value)?null:{email:!0}}function Rd(t){return e=>Ke(e.value)||!Ad(e.value)?null:e.value.lengthAd(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function jv(t){if(!t)return wo;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(Ke(r.value))return null;let o=r.value;return e.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}function wo(t){return null}function Pd(t){return t!=null}function kd(t){return An(t)?gn(t):t}function Ld(t){let e={};return t.forEach(n=>{e=n!=null?O(O({},e),n):e}),Object.keys(e).length===0?null:e}function Vd(t,e){return e.map(n=>n(t))}function Bv(t){return!t.validate}function jd(t){return t.map(e=>Bv(e)?e:n=>e.validate(n))}function Bd(t){if(!t)return null;let e=t.filter(Pd);return e.length==0?null:function(n){return Ld(Vd(n,e))}}function ia(t){return t!=null?Bd(jd(t)):null}function Hd(t){if(!t)return null;let e=t.filter(Pd);return e.length==0?null:function(n){let r=Vd(n,e).map(kd);return ei(r).pipe(ot(Ld))}}function sa(t){return t!=null?Hd(jd(t)):null}function bd(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function $d(t){return t._rawValidators}function Ud(t){return t._rawAsyncValidators}function na(t){return t?Array.isArray(t)?t:[t]:[]}function Io(t,e){return Array.isArray(t)?t.includes(e):t===e}function _d(t,e){let n=na(e);return na(t).forEach(o=>{Io(n,o)||n.push(o)}),n}function Md(t,e){return na(e).filter(n=>!Io(t,n))}var bo=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=ia(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=sa(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},Re=class extends bo{get formDirective(){return null}get path(){return null}},Pe=class extends bo{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},_o=class{constructor(e){this._cd=e}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}},Hv={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Eb=P(O({},Hv),{"[class.ng-submitted]":"isSubmitted"}),Oo=(()=>{let e=class e extends _o{constructor(r){super(r)}};e.\u0275fac=function(o){return new(o||e)(I(Pe,2))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,i){o&2&&po("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Y]});let t=e;return t})(),Fo=(()=>{let e=class e extends _o{constructor(r){super(r)}};e.\u0275fac=function(o){return new(o||e)(I(Re,10))},e.\u0275dir=B({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(o,i){o&2&&po("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Y]});let t=e;return t})();var Vn="VALID",Co="INVALID",sn="PENDING",jn="DISABLED",Je=class{},Mo=class extends Je{constructor(e,n){super(),this.value=e,this.source=n}},Hn=class extends Je{constructor(e,n){super(),this.pristine=e,this.source=n}},$n=class extends Je{constructor(e,n){super(),this.touched=e,this.source=n}},an=class extends Je{constructor(e,n){super(),this.status=e,this.source=n}},ra=class extends Je{constructor(e){super(),this.source=e}},oa=class extends Je{constructor(e){super(),this.source=e}};function Gd(t){return(Ro(t)?t.validators:t)||null}function $v(t){return Array.isArray(t)?ia(t):t||null}function zd(t,e){return(Ro(e)?e.asyncValidators:t)||null}function Uv(t){return Array.isArray(t)?sa(t):t||null}function Ro(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Gv(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new E(1e3,"");if(!r[n])throw new E(1001,"")}function zv(t,e,n){t._forEachChild((r,o)=>{if(n[o]===void 0)throw new E(1002,"")})}var So=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=rn(()=>this.statusReactive()),this.statusReactive=Ct(void 0),this._pristine=rn(()=>this.pristineReactive()),this.pristineReactive=Ct(!0),this._touched=rn(()=>this.touchedReactive()),this.touchedReactive=Ct(!1),this._events=new pe,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Me(this.statusReactive)}set status(e){Me(()=>this.statusReactive.set(e))}get valid(){return this.status===Vn}get invalid(){return this.status===Co}get pending(){return this.status==sn}get disabled(){return this.status===jn}get enabled(){return this.status!==jn}get pristine(){return Me(this.pristineReactive)}set pristine(e){Me(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Me(this.touchedReactive)}set touched(e){Me(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(_d(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(_d(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Md(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Md(e,this._rawAsyncValidators))}hasValidator(e){return Io(this._rawValidators,e)}hasAsyncValidator(e){return Io(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let n=this.touched===!1;this.touched=!0;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(P(O({},e),{sourceControl:r})),n&&e.emitEvent!==!1&&this._events.next(new $n(!0,r))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(e))}markAsUntouched(e={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=e.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:r})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r),n&&e.emitEvent!==!1&&this._events.next(new $n(!1,r))}markAsDirty(e={}){let n=this.pristine===!0;this.pristine=!1;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(P(O({},e),{sourceControl:r})),n&&e.emitEvent!==!1&&this._events.next(new Hn(!1,r))}markAsPristine(e={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=e.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&e.emitEvent!==!1&&this._events.next(new Hn(!0,r))}markAsPending(e={}){this.status=sn;let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new an(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(P(O({},e),{sourceControl:n}))}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=jn,this.errors=null,this._forEachChild(o=>{o.disable(P(O({},e),{onlySelf:!0}))}),this._updateValue();let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Mo(this.value,r)),this._events.next(new an(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(P(O({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=Vn,this._forEachChild(r=>{r.enable(P(O({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(P(O({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e,n){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Vn||this.status===sn)&&this._runAsyncValidator(r,e.emitEvent)}let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Mo(this.value,n)),this._events.next(new an(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(P(O({},e),{sourceControl:n}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?jn:Vn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,n){if(this.asyncValidator){this.status=sn,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=kd(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(e,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,n,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new an(this.status,n)),this._parent&&this._parent._updateControlsErrors(e,n,r)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?jn:this.errors?Co:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(sn)?sn:this._anyControlsHaveStatus(Co)?Co:Vn}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),o&&this._events.next(new Hn(this.pristine,n))}_updateTouched(e={},n){this.touched=this._anyControlsTouched(),this._events.next(new $n(this.touched,n)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ro(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=$v(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Uv(this._rawAsyncValidators)}},un=class extends So{constructor(e,n,r){super(Gd(n),zd(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){zv(this,!0,e),Object.keys(e).forEach(r=>{Gv(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(r=>{let o=this.controls[r];o&&o.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,o)=>{r.reset(e?e[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var ln=new _("CallSetDisabledState",{providedIn:"root",factory:()=>Po}),Po="always";function Wd(t,e){return[...e.path,t]}function Un(t,e,n=Po){aa(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),qv(t,e),Yv(t,e),Zv(t,e),Wv(t,e)}function xo(t,e,n=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),No(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function To(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function Wv(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function aa(t,e){let n=$d(t);e.validator!==null?t.setValidators(bd(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=Ud(t);e.asyncValidator!==null?t.setAsyncValidators(bd(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let o=()=>t.updateValueAndValidity();To(e._rawValidators,o),To(e._rawAsyncValidators,o)}function No(t,e){let n=!1;if(t!==null){if(e.validator!==null){let o=$d(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==e.validator);i.length!==o.length&&(n=!0,t.setValidators(i))}}if(e.asyncValidator!==null){let o=Ud(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==e.asyncValidator);i.length!==o.length&&(n=!0,t.setAsyncValidators(i))}}}let r=()=>{};return To(e._rawValidators,r),To(e._rawAsyncValidators,r),n}function qv(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&qd(t,e)})}function Zv(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&qd(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function qd(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Yv(t,e){let n=(r,o)=>{e.valueAccessor.writeValue(r),o&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function Zd(t,e){t==null,aa(t,e)}function Qv(t,e){return No(t,e)}function ua(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function Kv(t){return Object.getPrototypeOf(t.constructor)===Nv}function Yd(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function ca(t,e){if(!e)return null;Array.isArray(e);let n,r,o;return e.forEach(i=>{i.constructor===cn?n=i:Kv(i)?r=i:o=i}),o||r||n||null}function Jv(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var Xv={provide:Re,useExisting:re(()=>la)},Bn=Promise.resolve(),la=(()=>{let e=class e extends Re{get submitted(){return Me(this.submittedReactive)}constructor(r,o,i){super(),this.callSetDisabledState=i,this._submitted=rn(()=>this.submittedReactive()),this.submittedReactive=Ct(!1),this._directives=new Set,this.ngSubmit=new V,this.form=new un({},ia(r),sa(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(r){Bn.then(()=>{let o=this._findContainer(r.path);r.control=o.registerControl(r.name,r.control),Un(r.control,r,this.callSetDisabledState),r.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(r)})}getControl(r){return this.form.get(r.path)}removeControl(r){Bn.then(()=>{let o=this._findContainer(r.path);o&&o.removeControl(r.name),this._directives.delete(r)})}addFormGroup(r){Bn.then(()=>{let o=this._findContainer(r.path),i=new un({});Zd(i,r),o.registerControl(r.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(r){Bn.then(()=>{let o=this._findContainer(r.path);o&&o.removeControl(r.name)})}getFormGroup(r){return this.form.get(r.path)}updateModel(r,o){Bn.then(()=>{this.form.get(r.path).setValue(o)})}setValue(r){this.control.setValue(r)}onSubmit(r){return this.submittedReactive.set(!0),Yd(this.form,this._directives),this.ngSubmit.emit(r),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(r){return r.pop(),r.length?this.form.get(r):this.form}};e.\u0275fac=function(o){return new(o||e)(I(Xe,10),I(Gn,10),I(ln,8))},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(o,i){o&1&&fe("submit",function(a){return i.onSubmit(a)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_e([Xv]),Y]});let t=e;return t})();function Sd(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function xd(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var zn=class extends So{constructor(e=null,n,r){super(Gd(n),zd(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ro(n)&&(n.nonNullable||n.initialValueIsDefault)&&(xd(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Sd(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Sd(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){xd(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var eD=t=>t instanceof zn;var tD={provide:Pe,useExisting:re(()=>da)},Td=Promise.resolve(),da=(()=>{let e=class e extends Pe{constructor(r,o,i,s,a,u){super(),this._changeDetectorRef=a,this.callSetDisabledState=u,this.control=new zn,this._registered=!1,this.name="",this.update=new V,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=ca(this,s)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){let o=r.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),ua(r,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Un(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(r){Td.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){let o=r.isDisabled.currentValue,i=o!==0&&Fn(o);Td.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?Wd(r,this._parent):[r]}};e.\u0275fac=function(o){return new(o||e)(I(Re,9),I(Xe,10),I(Gn,10),I(Ao,10),I(mo,8),I(ln,8))},e.\u0275dir=B({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_e([tD]),Y,We]});let t=e;return t})(),ko=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var fa=new _(""),nD={provide:Pe,useExisting:re(()=>ha)},ha=(()=>{let e=class e extends Pe{set isDisabled(r){}constructor(r,o,i,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new V,this._ngModelWarningSent=!1,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=ca(this,i)}ngOnChanges(r){if(this._isControlChanged(r)){let o=r.form.previousValue;o&&xo(o,this,!1),Un(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ua(r,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&xo(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_isControlChanged(r){return r.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(o){return new(o||e)(I(Xe,10),I(Gn,10),I(Ao,10),I(fa,8),I(ln,8))},e.\u0275dir=B({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[_e([nD]),Y,We]});let t=e;return t})(),rD={provide:Re,useExisting:re(()=>pa)},pa=(()=>{let e=class e extends Re{get submitted(){return Me(this._submittedReactive)}set submitted(r){this._submittedReactive.set(r)}constructor(r,o,i){super(),this.callSetDisabledState=i,this._submitted=rn(()=>this._submittedReactive()),this._submittedReactive=Ct(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new V,this._setValidators(r),this._setAsyncValidators(o)}ngOnChanges(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(No(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(r){let o=this.form.get(r.path);return Un(o,r,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),o}getControl(r){return this.form.get(r.path)}removeControl(r){xo(r.control||null,r,!1),Jv(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}getFormArray(r){return this.form.get(r.path)}updateModel(r,o){this.form.get(r.path).setValue(o)}onSubmit(r){return this._submittedReactive.set(!0),Yd(this.form,this.directives),this.ngSubmit.emit(r),this.form._events.next(new ra(this.control)),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this._submittedReactive.set(!1),this.form._events.next(new oa(this.form))}_updateDomValue(){this.directives.forEach(r=>{let o=r.control,i=this.form.get(r.path);o!==i&&(xo(o||null,r),eD(i)&&(Un(i,r,this.callSetDisabledState),r.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){let o=this.form.get(r.path);Zd(o,r),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){if(this.form){let o=this.form.get(r.path);o&&Qv(o,r)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){aa(this.form,this),this._oldForm&&No(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(o){return new(o||e)(I(Xe,10),I(Gn,10),I(ln,8))},e.\u0275dir=B({type:e,selectors:[["","formGroup",""]],hostBindings:function(o,i){o&1&&fe("submit",function(a){return i.onSubmit(a)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_e([rD]),Y,We]});let t=e;return t})();var oD={provide:Pe,useExisting:re(()=>ga)},ga=(()=>{let e=class e extends Pe{set isDisabled(r){}constructor(r,o,i,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new V,this._ngModelWarningSent=!1,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=ca(this,s)}ngOnChanges(r){this._added||this._setUpControl(),ua(r,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}get path(){return Wd(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(o){return new(o||e)(I(Re,13),I(Xe,10),I(Gn,10),I(Ao,10),I(fa,8))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[_e([oD]),Y,We]});let t=e;return t})();function iD(t){return typeof t=="number"?t:parseInt(t,10)}var ma=(()=>{let e=class e{constructor(){this._validator=wo}ngOnChanges(r){if(this.inputName in r){let o=this.normalizeInput(r[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):wo,this._onChange&&this._onChange()}}validate(r){return this._validator(r)}registerOnValidatorChange(r){this._onChange=r}enabled(r){return r!=null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=B({type:e,features:[We]});let t=e;return t})();var sD={provide:Xe,useExisting:re(()=>ya),multi:!0};var ya=(()=>{let e=class e extends ma{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Fn,this.createValidator=r=>Od}enabled(r){return r}};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=Tn(e)))(i||e)}})(),e.\u0275dir=B({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(o,i){o&2&&ho("required",i._enabled?"":null)},inputs:{required:"required"},features:[_e([sD]),Y]});let t=e;return t})();var aD={provide:Xe,useExisting:re(()=>va),multi:!0},va=(()=>{let e=class e extends ma{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Fn,this.createValidator=r=>Fd}enabled(r){return r}};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=Tn(e)))(i||e)}})(),e.\u0275dir=B({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[_e([aD]),Y]});let t=e;return t})(),uD={provide:Xe,useExisting:re(()=>Da),multi:!0},Da=(()=>{let e=class e extends ma{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=r=>iD(r),this.createValidator=r=>Rd(r)}};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=Tn(e)))(i||e)}})(),e.\u0275dir=B({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(o,i){o&2&&ho("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[_e([uD]),Y]});let t=e;return t})();var Qd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Kt({type:e}),e.\u0275inj=Qt({});let t=e;return t})();var Kd=(()=>{let e=class e{static withConfig(r){return{ngModule:e,providers:[{provide:ln,useValue:r.callSetDisabledState??Po}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Kt({type:e}),e.\u0275inj=Qt({imports:[Qd]});let t=e;return t})(),Jd=(()=>{let e=class e{static withConfig(r){return{ngModule:e,providers:[{provide:fa,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:ln,useValue:r.callSetDisabledState??Po}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Kt({type:e}),e.\u0275inj=Qt({imports:[Qd]});let t=e;return t})();var cD=["formEl"];function lD(t,e){t&1&&(g(0,"p",11),v(1,"Invalid email address entered!"),p())}function dD(t,e){if(t&1&&(g(0,"p",11),v(1),p()),t&2){let n=Nn();q(),nn("Password must be atleast ",n.minPassLength," characters!")}}var ef=(()=>{let e=class e{constructor(){this.minPassLength=5,this.formObj=Ql.required("formEl"),this.destroyRef=w(Dt),Us(()=>{let r=localStorage.getItem("saved-login-form");if(r){let i=JSON.parse(r).email;setTimeout(()=>{this.formObj().controls.emailField.setValue(i)},1)}let o=this.formObj().valueChanges?.pipe(Ot(1e3)).subscribe({next:i=>{localStorage.setItem("saved-login-form",JSON.stringify({email:i.emailField}))}});this.destroyRef.onDestroy(()=>o?.unsubscribe())})}onSubmit(r){r.form.invalid||(console.log("Form Obj(NgForm) : ",r),console.log("formEl.form.controls['emailField'] => ",r.form.controls.emailField),console.log("formEl.form.controls['emailField'].value => ",r.form.controls.emailField.value),console.log("formEl.form.value['emailField'] => ",r.form.value.emailField),r.form.reset())}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=ze({type:e,selectors:[["app-login"]],viewQuery:function(o,i){o&1&&ed(i.formObj,cD,5),o&2&&td()},standalone:!0,features:[Qe],decls:19,vars:3,consts:[["formEl","ngForm"],["emailCtrl","ngModel"],["passwordCtrl","ngModel"],[3,"ngSubmit"],[1,"control-row"],[1,"control","no-margin"],["for","email"],["id","email","type","email","name","emailField","ngModel","","required","","email",""],["for","password"],["id","password","type","password","name","passField","ngModel","","required","",3,"minlength"],[1,"button"],[1,"control-error"]],template:function(o,i){if(o&1){let s=Xl();g(0,"form",3,0),fe("ngSubmit",function(){Tc(s);let u=go(1);return Nc(i.onSubmit(u))}),g(2,"h2"),v(3,"Login"),p(),g(4,"div",4)(5,"div",5)(6,"label",6),v(7,"Email"),p(),x(8,"input",7,1),p(),g(10,"div",5)(11,"label",8),v(12,"Password"),p(),x(13,"input",9,2),p(),g(15,"button",10),v(16,"Login"),p()(),wt(17,lD,2,0,"p",11)(18,dD,2,1,"p",11),p()}if(o&2){let s=go(9),a=go(14);q(13),Ze("minlength",i.minPassLength),q(4),Ye(s.touched&&s.dirty&&s.invalid?17:-1),q(),Ye(a.touched&&a.dirty&&a.invalid?18:-1)}},dependencies:[Kd,ko,cn,Oo,Fo,ya,Da,va,da,la],styles:[".control-row[_ngcontent-%COMP%]{align-items:flex-end}.control[_ngcontent-%COMP%]{flex:1}button[_ngcontent-%COMP%]{padding:.6rem 1.75rem}"]});let t=e;return t})();function fD(t,e){if(t&1&&(g(0,"p",8),v(1),p()),t&2){let n=Nn();q(),nn("Invalid email address entered & Avoid using ",n.reservedEmailVal,"")}}function hD(t,e){if(t&1&&(g(0,"p",8),v(1),p()),t&2){let n=Nn();q(),zs(" Password must be atleast ",n.minLength," characters & should contain the symbol ",n.reqSymbolVal," ")}}var tf="?",nf="ar@example.com";function pD(t){return t.value.includes(tf)?null:{PassNotHaveSymbol:!0}}function gD(t){return t.value!==nf?Dr(null):Dr({isReservedEmailUsed:!0})}var rf=(()=>{let e=class e{constructor(){this.minLength=5,this.reqSymbolVal=tf,this.reservedEmailVal=nf,this.destroyRef=w(Dt),this.formObj=new un({emailField:new zn("",{validators:[bt.required,bt.email],asyncValidators:[gD]}),passField:new zn("",[bt.required,bt.minLength(this.minLength),pD])})}ngOnInit(){let r=localStorage.getItem("saved-login-form");if(r){let i=JSON.parse(r).email;this.formObj.patchValue({emailField:i})}let o=this.formObj.valueChanges.pipe(Ot(1e3)).subscribe({next:i=>{localStorage.setItem("saved-login-form",JSON.stringify({email:i.emailField}))}});this.destroyRef.onDestroy(()=>o.unsubscribe())}get isEmailValid(){return this.formObj.controls.emailField.touched&&this.formObj.controls.emailField.dirty&&this.formObj.controls.emailField.invalid}get isPassValid(){return this.formObj.controls.passField.touched&&this.formObj.controls.passField.dirty&&this.formObj.controls.passField.invalid}onSubmit(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=ze({type:e,selectors:[["app-login2"]],standalone:!0,features:[Qe],decls:16,vars:4,consts:[[3,"ngSubmit","formGroup"],[1,"control-row"],[1,"control","no-margin"],["for","email"],["id","email","type","email",3,"formControl"],["for","password"],["id","password","type","password","formControlName","passField"],[1,"button"],[1,"control-error"]],template:function(o,i){o&1&&(g(0,"form",0),fe("ngSubmit",function(){return i.onSubmit()}),g(1,"h2"),v(2,"Login"),p(),g(3,"div",1)(4,"div",2)(5,"label",3),v(6,"Email"),p(),x(7,"input",4),p(),g(8,"div",2)(9,"label",5),v(10,"Password"),p(),x(11,"input",6),p(),g(12,"button",7),v(13,"Login"),p()(),wt(14,fD,2,1,"p",8)(15,hD,2,2,"p",8),p()),o&2&&(Ze("formGroup",i.formObj),q(7),Ze("formControl",i.formObj.controls.emailField),q(7),Ye(i.isEmailValid?14:-1),q(),Ye(i.isPassValid?15:-1))},dependencies:[Jd,ko,cn,Oo,Fo,ha,pa,ga],styles:[".control-row[_ngcontent-%COMP%]{align-items:flex-end}.control[_ngcontent-%COMP%]{flex:1}button[_ngcontent-%COMP%]{padding:.6rem 1.75rem}"]});let t=e;return t})();var of=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=ze({type:e,selectors:[["app-signup"]],standalone:!0,features:[Qe],decls:108,vars:0,consts:[[1,"control"],["for","email"],["id","email","type","email","name","email"],[1,"control-row"],["for","password"],["id","password","type","password","name","password"],["for","confirm-password"],["id","confirm-password","type","password","name","confirm-password"],["for","first-name"],["type","text","id","first-name","name","first-name"],["for","last-name"],["type","text","id","last-name","name","last-name"],["for","street"],["type","text","id","street","name","street"],["for","number"],["type","text","id","number","name","number"],["for","postal-code"],["type","text","id","postal-code","name","postal-code"],["for","city"],["type","text","id","city","name","city"],["for","role"],["id","role","name","role"],["value","student"],["value","teacher"],["value","employee"],["value","founder"],["value","other"],[1,"radio"],["type","radio","id","male","name","genger","value","male"],["for","html"],["type","radio","id","female","name","genger","value","female"],["for","css"],["type","radio","id","others","name","genger","value","others"],["type","checkbox","id","google","name","acquisition","value","google"],["for","google"],["type","checkbox","id","friend","name","acquisition","value","friend"],["for","friend"],["type","checkbox","id","other","name","acquisition","value","other"],["for","other"],["for","terms-and-conditions"],["type","checkbox","id","terms-and-conditions","name","terms"],[1,"form-actions"],["type","reset",1,"button","button-flat"],["type","submit",1,"button"]],template:function(o,i){o&1&&(g(0,"form")(1,"h2"),v(2,"Welcome on board!"),p(),g(3,"p"),v(4,"We just need a little bit of data from you to get you started \u{1F680}"),p(),g(5,"div",0)(6,"label",1),v(7,"Email"),p(),x(8,"input",2),p(),g(9,"div",3)(10,"div",0)(11,"label",4),v(12,"Password"),p(),x(13,"input",5),p(),g(14,"div",0)(15,"label",6),v(16,"Confirm Password"),p(),x(17,"input",7),p()(),x(18,"hr"),g(19,"div")(20,"div",3)(21,"div",0)(22,"label",8),v(23,"First Name"),p(),x(24,"input",9),p(),g(25,"div",0)(26,"label",10),v(27,"Last Name"),p(),x(28,"input",11),p()(),g(29,"fieldset")(30,"legend"),v(31,"Your Address"),p(),g(32,"div",3)(33,"div",0)(34,"label",12),v(35,"Street"),p(),x(36,"input",13),p(),g(37,"div",0)(38,"label",14),v(39,"Number"),p(),x(40,"input",15),p()(),g(41,"div",3)(42,"div",0)(43,"label",16),v(44,"Postal Code"),p(),x(45,"input",17),p(),g(46,"div",0)(47,"label",18),v(48,"City"),p(),x(49,"input",19),p()()()(),x(50,"hr"),g(51,"div",3)(52,"div",0)(53,"label",20),v(54,"What best describes your role?"),p(),g(55,"select",21)(56,"option",22),v(57,"Student"),p(),g(58,"option",23),v(59,"Teacher"),p(),g(60,"option",24),v(61,"Employee"),p(),g(62,"option",25),v(63,"Founder"),p(),g(64,"option",26),v(65,"Other"),p()()()(),x(66,"br"),g(67,"div",3)(68,"label",20),v(69," Your Gender "),p(),g(70,"div",27),x(71,"input",28),g(72,"label",29),v(73,"Male"),p()(),g(74,"div",27),x(75,"input",30),g(76,"label",31),v(77,"Female"),p()(),g(78,"div",27),x(79,"input",32),g(80,"label",29),v(81,"Not Ready To Tell"),p()()(),x(82,"br"),g(83,"fieldset")(84,"legend"),v(85,"How did you find us?"),p(),g(86,"div",0),x(87,"input",33),g(88,"label",34),v(89,"Google"),p()(),g(90,"div",0),x(91,"input",35),g(92,"label",36),v(93,"Referred by friend"),p()(),g(94,"div",0),x(95,"input",37),g(96,"label",38),v(97,"Other"),p()()(),g(98,"div",3)(99,"div",0)(100,"label",39),x(101,"input",40),v(102," I agree to the terms and conditions "),p()()(),g(103,"p",41)(104,"button",42),v(105,"Reset"),p(),g(106,"button",43),v(107,"Sign up"),p()()())}});let t=e;return t})();var mD=()=>({cursor:"pointer"});function yD(t,e){t&1&&x(0,"app-login")}function vD(t,e){t&1&&x(0,"app-login2")}function DD(t,e){t&1&&x(0,"app-signup")}var sf=(()=>{let e=class e{constructor(){this.formNumber=0,this.selectedForm={TD_LOGIN:0,RF_LOGIN:1,RF_SIGNUP:2}}get formTitle(){return this.formNumber===0?"Angular Forms - Template Driven":this.formNumber===1?"Angular Forms - Reactive simple":"Angular Forms - Reactive Adv."}onChangeForm(){this.formNumber<2?this.formNumber++:this.formNumber=0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=ze({type:e,selectors:[["app-root"]],standalone:!0,features:[Qe],decls:7,vars:4,consts:[["src","logo.jpg","alt","A form and a pencil",3,"click","ngStyle"]],template:function(o,i){o&1&&(g(0,"header")(1,"img",0),fe("click",function(){return i.onChangeForm()}),p(),g(2,"h1"),v(3),p()(),wt(4,yD,1,0,"app-login")(5,vD,1,0,"app-login2")(6,DD,1,0,"app-signup")),o&2&&(q(),Ze("ngStyle",rd(3,mD)),q(2),Gs(i.formTitle),q(),Ye(i.formNumber===0?4:i.formNumber===1?5:6))},dependencies:[ef,pd,rf,of],encapsulation:2});let t=e;return t})();Id(sf).catch(t=>console.error(t)); diff --git a/main-NQFDXTXA.js b/main-NQFDXTXA.js deleted file mode 100644 index dce9823..0000000 --- a/main-NQFDXTXA.js +++ /dev/null @@ -1,7 +0,0 @@ -var ld=Object.defineProperty,dd=Object.defineProperties;var fd=Object.getOwnPropertyDescriptors;var Us=Object.getOwnPropertySymbols;var hd=Object.prototype.hasOwnProperty,pd=Object.prototype.propertyIsEnumerable;var Gs=(t,e,n)=>e in t?ld(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,S=(t,e)=>{for(var n in e||={})hd.call(e,n)&&Gs(t,n,e[n]);if(Us)for(var n of Us(e))pd.call(e,n)&&Gs(t,n,e[n]);return t},N=(t,e)=>dd(t,fd(e));function zs(t,e){return Object.is(t,e)}var O=null,En=!1,wn=1,ue=Symbol("SIGNAL");function C(t){let e=O;return O=t,e}function Ws(){return O}var $t={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ho(t){if(En)throw new Error("");if(O===null)return;O.consumerOnSignalRead(t);let e=O.nextProducerIndex++;if(Mn(O),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function go(t){Mn(t);for(let e=0;e0}function Mn(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Ks(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Js(t){return t.producerNode!==void 0}function yo(t){let e=Object.create(yd);e.computation=t;let n=()=>{if(qs(e),ho(e),e.value===In)throw e.error;return e.value};return n[ue]=e,n}var lo=Symbol("UNSET"),fo=Symbol("COMPUTING"),In=Symbol("ERRORED"),yd=N(S({},$t),{value:lo,dirty:!0,error:null,equal:zs,producerMustRecompute(t){return t.value===lo||t.value===fo},producerRecomputeValue(t){if(t.value===fo)throw new Error("Detected cycle in computations.");let e=t.value;t.value=fo;let n=bn(t),r;try{r=t.computation()}catch(o){r=In,t.error=o}finally{po(t,n)}if(e!==lo&&e!==In&&r!==In&&t.equal(e,r)){t.value=e;return}t.value=r,t.version++}});function vd(){throw new Error}var Xs=vd;function ea(){Xs()}function ta(t){Xs=t}var Dd=null;function na(t){let e=Object.create(oa);e.value=t;let n=()=>(ho(e),e.value);return n[ue]=e,n}function vo(t,e){Ys()||ea(),t.equal(t.value,e)||(t.value=e,Cd(t))}function ra(t,e){Ys()||ea(),vo(t,e(t.value))}var oa=N(S({},$t),{equal:zs,value:void 0});function Cd(t){t.version++,gd(),Zs(t),Dd?.()}function I(t){return typeof t=="function"}function Sn(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Tn=Sn(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function je(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var P=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){e=i instanceof Tn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ia(i)}catch(s){e=e??[],s instanceof Tn?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Tn(e)}}add(e){var n;if(e&&e!==this)if(this.closed)ia(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&je(n,e)}remove(e){let{_finalizers:n}=this;n&&je(n,e),e instanceof t&&e._removeParent(this)}};P.EMPTY=(()=>{let t=new P;return t.closed=!0,t})();var Do=P.EMPTY;function xn(t){return t instanceof P||t&&"closed"in t&&I(t.remove)&&I(t.add)&&I(t.unsubscribe)}function ia(t){I(t)?t():t.unsubscribe()}var ne={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ut={setTimeout(t,e,...n){let{delegate:r}=ut;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=ut;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Nn(t){ut.setTimeout(()=>{let{onUnhandledError:e}=ne;if(e)e(t);else throw t})}function Co(){}var sa=Eo("C",void 0,void 0);function aa(t){return Eo("E",void 0,t)}function ua(t){return Eo("N",t,void 0)}function Eo(t,e,n){return{kind:t,value:e,error:n}}var Be=null;function ct(t){if(ne.useDeprecatedSynchronousErrorHandling){let e=!Be;if(e&&(Be={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Be;if(Be=null,n)throw r}}else t()}function ca(t){ne.useDeprecatedSynchronousErrorHandling&&Be&&(Be.errorThrown=!0,Be.error=t)}var He=class extends P{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,xn(e)&&e.add(this)):this.destination=Id}static create(e,n,r){return new lt(e,n,r)}next(e){this.isStopped?Io(ua(e),this):this._next(e)}error(e){this.isStopped?Io(aa(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Io(sa,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ed=Function.prototype.bind;function wo(t,e){return Ed.call(t,e)}var bo=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){An(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){An(r)}else An(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){An(n)}}},lt=class extends He{constructor(e,n,r){super();let o;if(I(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ne.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&wo(e.next,i),error:e.error&&wo(e.error,i),complete:e.complete&&wo(e.complete,i)}):o=e}this.destination=new bo(o)}};function An(t){ne.useDeprecatedSynchronousErrorHandling?ca(t):Nn(t)}function wd(t){throw t}function Io(t,e){let{onStoppedNotification:n}=ne;n&&ut.setTimeout(()=>n(t,e))}var Id={closed:!0,next:Co,error:wd,complete:Co};var dt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function la(t){return t}function da(t){return t.length===0?la:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var F=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=_d(n)?n:new lt(n,r,o);return ct(()=>{let{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 r=fa(r),new r((o,i)=>{let s=new lt({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[dt](){return this}pipe(...n){return da(n)(this)}toPromise(n){return n=fa(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function fa(t){var e;return(e=t??ne.Promise)!==null&&e!==void 0?e:Promise}function bd(t){return t&&I(t.next)&&I(t.error)&&I(t.complete)}function _d(t){return t&&t instanceof He||bd(t)&&xn(t)}function Md(t){return I(t?.lift)}function Te(t){return e=>{if(Md(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function xe(t,e,n,r,o){return new _o(t,e,n,r,o)}var _o=class extends He{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};var ha=Sn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{class t extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new On(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ha}next(n){ct(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ct(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ct(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Do:(this.currentObservers=null,i.push(n),new P(()=>{this.currentObservers=null,je(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new F;return n.source=this,n}}return t.create=(e,n)=>new On(e,n),t})(),On=class extends ce{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:Do}};var Ut=class extends ce{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var Mo={now(){return(Mo.delegate||Date).now()},delegate:void 0};var Fn=class extends P{constructor(e,n){super()}schedule(e,n=0){return this}};var Gt={setInterval(t,e,...n){let{delegate:r}=Gt;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Gt;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Rn=class extends Fn{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return Gt.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Gt.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,je(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var ft=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};ft.now=Mo.now;var Pn=class extends ft{constructor(e,n=ft.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var pa=new Pn(Rn);function Sd(t){return t[t.length-1]}function ga(t){return I(Sd(t))?t.pop():void 0}function ya(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(t,e||[])).next())})}function ma(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function $e(t){return this instanceof $e?(this.v=t,this):new $e(t)}function va(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){r[f]&&(o[f]=function(T){return new Promise(function(j,L){i.push([f,T,j,L])>1||u(f,T)})},p&&(o[f]=p(o[f])))}function u(f,p){try{c(r[f](p))}catch(T){h(i[0][3],T)}}function c(f){f.value instanceof $e?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function h(f,p){f(p),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Da(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof ma=="function"?ma(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var kn=t=>t&&typeof t.length=="number"&&typeof t!="function";function Ln(t){return I(t?.then)}function Vn(t){return I(t[dt])}function jn(t){return Symbol.asyncIterator&&I(t?.[Symbol.asyncIterator])}function Bn(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Td(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Hn=Td();function $n(t){return I(t?.[Hn])}function Un(t){return va(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield $e(n.read());if(o)return yield $e(void 0);yield yield $e(r)}}finally{n.releaseLock()}})}function Gn(t){return I(t?.getReader)}function Ne(t){if(t instanceof F)return t;if(t!=null){if(Vn(t))return xd(t);if(kn(t))return Nd(t);if(Ln(t))return Ad(t);if(jn(t))return Ca(t);if($n(t))return Od(t);if(Gn(t))return Fd(t)}throw Bn(t)}function xd(t){return new F(e=>{let n=t[dt]();if(I(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Nd(t){return new F(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Nn)})}function Od(t){return new F(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function Ca(t){return new F(e=>{Rd(t,e).catch(n=>e.error(n))})}function Fd(t){return Ca(Un(t))}function Rd(t,e){var n,r,o,i;return ya(this,void 0,void 0,function*(){try{for(n=Da(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.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}}e.complete()})}function le(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function zn(t,e=0){return Te((n,r)=>{n.subscribe(xe(r,o=>le(r,t,()=>r.next(o),e),()=>le(r,t,()=>r.complete(),e),o=>le(r,t,()=>r.error(o),e)))})}function Wn(t,e=0){return Te((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Ea(t,e){return Ne(t).pipe(Wn(e),zn(e))}function wa(t,e){return Ne(t).pipe(Wn(e),zn(e))}function Ia(t,e){return new F(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function ba(t,e){return new F(n=>{let r;return le(n,e,()=>{r=t[Hn](),le(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function qn(t,e){if(!t)throw new Error("Iterable cannot be null");return new F(n=>{le(n,e,()=>{let r=t[Symbol.asyncIterator]();le(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function _a(t,e){return qn(Un(t),e)}function Ma(t,e){if(t!=null){if(Vn(t))return Ea(t,e);if(kn(t))return Ia(t,e);if(Ln(t))return wa(t,e);if(jn(t))return qn(t,e);if($n(t))return ba(t,e);if(Gn(t))return _a(t,e)}throw Bn(t)}function So(t,e){return e?Ma(t,e):Ne(t)}function Ue(t,e){return Te((n,r)=>{let o=0;n.subscribe(xe(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:Pd}=Array;function kd(t,e){return Pd(e)?t(...e):t(e)}function Sa(t){return Ue(e=>kd(t,e))}var{isArray:Ld}=Array,{getPrototypeOf:Vd,prototype:jd,keys:Bd}=Object;function Ta(t){if(t.length===1){let e=t[0];if(Ld(e))return{args:e,keys:null};if(Hd(e)){let n=Bd(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function Hd(t){return t&&typeof t=="object"&&Vd(t)===jd}function xa(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function To(...t){let e=ga(t),{args:n,keys:r}=Ta(t),o=new F(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=h},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?xa(r,a):a),i.complete())}))}});return e?o.pipe(Sa(e)):o}function xo(t,e=pa){return Te((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+t,l=e.now();if(l{i=c,s=e.now(),o||(o=e.schedule(u,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var $d="https://g.co/ng/security#xss",y=class extends Error{constructor(e,n){super(Ri(e,n)),this.code=e}};function Ri(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Sr(t){return{toString:t}.toString()}function _(t){for(let e in t)if(t[e]===_)return e;throw Error("Could not find renamed property on target object.")}function Ud(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Q(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Q).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` -`);return n===-1?e:e.substring(0,n)}function Na(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Gd=_({__forward_ref__:_});function we(t){return t.__forward_ref__=we,t.toString=function(){return Q(this())},t}function B(t){return fu(t)?t():t}function fu(t){return typeof t=="function"&&t.hasOwnProperty(Gd)&&t.__forward_ref__===we}function x(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Tr(t){return{providers:t.providers||[],imports:t.imports||[]}}function Pi(t){return Aa(t,hu)||Aa(t,pu)}function Aa(t,e){return t.hasOwnProperty(e)?t[e]:null}function zd(t){let e=t&&(t[hu]||t[pu]);return e||null}function Oa(t){return t&&(t.hasOwnProperty(Fa)||t.hasOwnProperty(Wd))?t[Fa]:null}var hu=_({\u0275prov:_}),Fa=_({\u0275inj:_}),pu=_({ngInjectableDef:_}),Wd=_({ngInjectorDef:_}),w=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=x({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gu(t){return t&&!!t.\u0275providers}var qd=_({\u0275cmp:_}),Zd=_({\u0275dir:_}),Yd=_({\u0275pipe:_});var rr=_({\u0275fac:_}),Wt=_({__NG_ELEMENT_ID__:_}),Ra=_({__NG_ENV_ID__:_});function ki(t){return typeof t=="string"?t:t==null?"":String(t)}function Qd(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ki(t)}function Kd(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new y(-200,t)}function Li(t,e){throw new y(-201,!1)}var D=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(D||{}),Uo;function mu(){return Uo}function de(t){let e=Uo;return Uo=t,e}function yu(t,e,n){let r=Pi(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&D.Optional)return null;if(e!==void 0)return e;Li(t,"Injector")}var Jd={},qt=Jd,Xd="__NG_DI_FLAG__",or="ngTempTokenPath",ef="ngTokenPath",tf=/\n/gm,nf="\u0275",Pa="__source",vt;function rf(){return vt}function ht(t){let e=vt;return vt=t,e}function of(t,e=D.Default){if(vt===void 0)throw new y(-203,!1);return vt===null?yu(t,void 0,e):vt.get(t,e&D.Optional?null:void 0,e)}function b(t,e=D.Default){return(mu()||of)(B(t),e)}function E(t,e=D.Default){return b(t,xr(e))}function xr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Go(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(tf,` - `)}`}function Ct(t,e){let n=t.hasOwnProperty(rr);return n?t[rr]:null}function cf(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?Vi(n,e):e(n))}function vu(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ir(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function df(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(o===1)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=n,t[e+1]=r}}function ff(t,e,n){let r=Xt(t,e);return r>=0?t[r|1]=n:(r=~r,df(t,r,e,n)),r}function No(t,e){let n=Xt(t,e);if(n>=0)return t[n|1]}function Xt(t,e){return hf(t,e,1)}function hf(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=t[i<e?o=i:r=i+1}return~(o<e){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(re(r))return!1;s=!0}}}}return re(r)||s}function re(t){return(t&1)===0}function Cf(t,e,n,r){if(e===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!re(s)&&(e+=La(i,o),o=""),r=s,i=i||!re(r);n++}return o!==""&&(e+=La(i,o)),e}function _f(t){return t.map(bf).join(",")}function Mf(t){let e=[],n=[],r=1,o=2;for(;r{let e=_u(t),n=N(S({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Eu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||pe.Emulated,styles:t.styles||z,_:null,schemas:t.schemas||null,tView:null,id:""});Mu(n);let r=t.dependencies;return n.directiveDefs=ja(r,!1),n.pipeDefs=ja(r,!0),n.id=Nf(n),n})}function Sf(t){return wt(t)||Iu(t)}function Tf(t){return t!==null}function Ar(t){return Sr(()=>({type:t.type,bootstrap:t.bootstrap||z,declarations:t.declarations||z,imports:t.imports||z,exports:t.exports||z,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Va(t,e){if(t==null)return Et;let n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i,s,a=Fe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(n[i]=a!==Fe.None?[r,a]:r,e[i]=s):n[i]=r}return n}function W(t){return Sr(()=>{let e=_u(t);return Mu(e),e})}function wt(t){return t[qd]||null}function Iu(t){return t[Zd]||null}function bu(t){return t[Yd]||null}function xf(t){let e=wt(t)||Iu(t)||bu(t);return e!==null?e.standalone:!1}function _u(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Et,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||z,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Va(t.inputs,e),outputs:Va(t.outputs),debugInfo:null}}function Mu(t){t.features?.forEach(e=>e(t))}function ja(t,e){if(!t)return null;let n=e?bu:Sf;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(Tf)}function Nf(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of n)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Af(...t){return{\u0275providers:Su(!0,t),\u0275fromNgModule:!0}}function Su(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return Vi(e,s=>{let a=s;Wo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Tu(o,i),n}function Tu(t,e){for(let n=0;n{e(i,r)})}}function Wo(t,e,n,r){if(t=B(t),!t)return!1;let o=null,i=Oa(t),s=!i&&wt(t);if(!i&&!s){let u=t.ngModule;if(i=Oa(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Wo(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Vi(i.imports,l=>{Wo(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Tu(c,e)}if(!a){let c=Ct(o)||(()=>new o);e({provide:o,useFactory:c,deps:z},o),e({provide:Cu,useValue:o,multi:!0},o),e({provide:Zt,useValue:()=>b(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;Bi(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Bi(t,e){for(let n of t)gu(n)&&(n=n.\u0275providers),Array.isArray(n)?Bi(n,e):e(n)}var Of=_({provide:String,useValue:_});function xu(t){return t!==null&&typeof t=="object"&&Of in t}function Ff(t){return!!(t&&t.useExisting)}function Rf(t){return!!(t&&t.useFactory)}function It(t){return typeof t=="function"}function Pf(t){return!!t.useClass}var Or=new w(""),Kn={},kf={},Ao;function Hi(){return Ao===void 0&&(Ao=new sr),Ao}var Re=class{},ar=class extends Re{get destroyed(){return this._destroyed}constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zo(e,s=>this.processProvider(s)),this.records.set(Du,pt(void 0,this)),o.has("environment")&&this.records.set(Re,pt(void 0,this));let i=this.records.get(Or);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Cu,z,D.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=ht(this),r=de(void 0),o;try{return e()}finally{ht(n),de(r)}}get(e,n=qt,r=D.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Ra))return e[Ra](this);r=xr(r);let o,i=ht(this),s=de(void 0);try{if(!(r&D.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=Hf(e)&&Pi(e);c&&this.injectableDefInScope(c)?u=pt(qo(e),Kn):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&D.Self?Hi():this.parent;return n=r&D.Optional&&n===qt?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[or]=a[or]||[]).unshift(Q(e)),i)throw a;return af(a,e,"R3InjectorError",this.source)}else throw a}finally{de(s),ht(i)}}resolveInjectorInitializers(){let e=C(null),n=ht(this),r=de(void 0),o;try{let i=this.get(Zt,z,D.Self);for(let s of i)s()}finally{ht(n),de(r),C(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(Q(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(e){e=B(e);let n=It(e)?e:B(e&&e.provide),r=Vf(e);if(!It(e)&&e.multi===!0){let o=this.records.get(n);o||(o=pt(void 0,Kn,!0),o.factory=()=>Go(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}this.records.set(n,r)}hydrate(e,n){let r=C(null);try{return n.value===Kn&&(n.value=kf,n.value=n.factory()),typeof n.value=="object"&&n.value&&Bf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=B(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function qo(t){let e=Pi(t),n=e!==null?e.factory:Ct(t);if(n!==null)return n;if(t instanceof w)throw new y(204,!1);if(t instanceof Function)return Lf(t);throw new y(204,!1)}function Lf(t){if(t.length>0)throw new y(204,!1);let n=zd(t);return n!==null?()=>n.factory(t):()=>new t}function Vf(t){if(xu(t))return pt(void 0,t.useValue);{let e=Nu(t);return pt(e,Kn)}}function Nu(t,e,n){let r;if(It(t)){let o=B(t);return Ct(o)||qo(o)}else if(xu(t))r=()=>B(t.useValue);else if(Rf(t))r=()=>t.useFactory(...Go(t.deps||[]));else if(Ff(t))r=()=>b(B(t.useExisting));else{let o=B(t&&(t.useClass||t.provide));if(jf(t))r=()=>new o(...Go(t.deps));else return Ct(o)||qo(o)}return r}function pt(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function jf(t){return!!t.deps}function Bf(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Hf(t){return typeof t=="function"||typeof t=="object"&&t instanceof w}function Zo(t,e){for(let n of t)Array.isArray(n)?Zo(n,e):n&&gu(n)?Zo(n.\u0275providers,e):e(n)}function Au(){return mu()!==void 0||rf()!=null}function $f(t){if(!Au())throw new y(-203,!1)}function Uf(t){return typeof t=="function"}var Ie=0,m=1,g=2,V=3,oe=4,se=5,ur=6,cr=7,J=8,bt=9,ve=10,k=11,Qt=12,Ba=13,Nt=14,ge=15,qe=16,gt=17,De=18,Fr=19,Ou=20,Ae=21,Oo=22,K=23,ie=25,Fu=1;var Ze=7,lr=8,_t=9,$=10,dr=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(dr||{});function Oe(t){return Array.isArray(t)&&typeof t[Fu]=="object"}function be(t){return Array.isArray(t)&&t[Fu]===!0}function Ru(t){return(t.flags&4)!==0}function Rr(t){return t.componentOffset>-1}function $i(t){return(t.flags&1)===1}function Pe(t){return!!t.template}function Yo(t){return(t[g]&512)!==0}var Qo=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Pu(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function Pr(){return ku}function ku(t){return t.type.prototype.ngOnChanges&&(t.setInput=zf),Gf}Pr.ngInherit=!0;function Gf(){let t=Vu(this),e=t?.current;if(e){let n=t.previous;if(n===Et)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function zf(t,e,n,r,o){let i=this.declaredInputs[r],s=Vu(t)||Wf(t,{previous:Et,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Qo(c&&c.currentValue,n,u===Et),Pu(t,e,o,n)}var Lu="__ngSimpleChanges__";function Vu(t){return t[Lu]||null}function Wf(t,e){return t[Lu]=e}var Ha=null;var fe=function(t,e,n){Ha?.(t,e,n)},qf="svg",Zf="math";function me(t){for(;Array.isArray(t);)t=t[Ie];return t}function ju(t,e){return me(e[t])}function X(t,e){return me(e[t.index])}function Ui(t,e){return t.data[e]}function Yf(t,e){return t[e]}function Le(t,e){let n=e[t];return Oe(n)?n:n[Ie]}function Gi(t){return(t[g]&128)===128}function Qf(t){return be(t[V])}function fr(t,e){return e==null?null:t[e]}function Bu(t){t[gt]=0}function Hu(t){t[g]&1024||(t[g]|=1024,Gi(t)&&Lr(t))}function Kf(t,e){for(;t>0;)e=e[Nt],t--;return e}function kr(t){return!!(t[g]&9216||t[K]?.dirty)}function Ko(t){t[ve].changeDetectionScheduler?.notify(8),t[g]&64&&(t[g]|=1024),kr(t)&&Lr(t)}function Lr(t){t[ve].changeDetectionScheduler?.notify(0);let e=Ye(t);for(;e!==null&&!(e[g]&8192||(e[g]|=8192,!Gi(e)));)e=Ye(e)}function $u(t,e){if((t[g]&256)===256)throw new y(911,!1);t[Ae]===null&&(t[Ae]=[]),t[Ae].push(e)}function Jf(t,e){if(t[Ae]===null)return;let n=t[Ae].indexOf(e);n!==-1&&t[Ae].splice(n,1)}function Ye(t){let e=t[V];return be(e)?e[V]:e}var v={lFrame:Ju(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Uu=!1;function Xf(){return v.lFrame.elementDepthCount}function eh(){v.lFrame.elementDepthCount++}function th(){v.lFrame.elementDepthCount--}function Gu(){return v.bindingsEnabled}function nh(){return v.skipHydrationRootTNode!==null}function rh(t){return v.skipHydrationRootTNode===t}function oh(){v.skipHydrationRootTNode=null}function M(){return v.lFrame.lView}function ee(){return v.lFrame.tView}function zu(t){return v.lFrame.contextLView=t,t[J]}function Wu(t){return v.lFrame.contextLView=null,t}function q(){let t=qu();for(;t!==null&&t.type===64;)t=t.parent;return t}function qu(){return v.lFrame.currentTNode}function ih(){let t=v.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function en(t,e){let n=v.lFrame;n.currentTNode=t,n.isParent=e}function Zu(){return v.lFrame.isParent}function sh(){v.lFrame.isParent=!1}function ah(){return v.lFrame.contextLView}function Yu(){return Uu}function $a(t){Uu=t}function uh(t){return v.lFrame.bindingIndex=t}function Vr(){return v.lFrame.bindingIndex++}function ch(t){let e=v.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function lh(){return v.lFrame.inI18n}function dh(t,e){let n=v.lFrame;n.bindingIndex=n.bindingRootIndex=t,Jo(e)}function fh(){return v.lFrame.currentDirectiveIndex}function Jo(t){v.lFrame.currentDirectiveIndex=t}function hh(t){let e=v.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ph(){return v.lFrame.currentQueryIndex}function zi(t){v.lFrame.currentQueryIndex=t}function gh(t){let e=t[m];return e.type===2?e.declTNode:e.type===1?t[se]:null}function Qu(t,e,n){if(n&D.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&D.Host);)if(o=gh(i),o===null||(i=i[Nt],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=v.lFrame=Ku();return r.currentTNode=e,r.lView=t,!0}function Wi(t){let e=Ku(),n=t[m];v.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Ku(){let t=v.lFrame,e=t===null?null:t.child;return e===null?Ju(t):e}function Ju(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Xu(){let t=v.lFrame;return v.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var ec=Xu;function qi(){let t=Xu();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function mh(t){return(v.lFrame.contextLView=Kf(t,v.lFrame.contextLView))[J]}function At(){return v.lFrame.selectedIndex}function Qe(t){v.lFrame.selectedIndex=t}function tc(){let t=v.lFrame;return Ui(t.tView,t.selectedIndex)}function yh(){return v.lFrame.currentNamespace}var nc=!0;function Zi(){return nc}function Yi(t){nc=t}function vh(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=ku(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function Qi(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[gt]+=65536),(a>14>16&&(t[g]&3)===e&&(t[g]+=16384,Ua(a,i)):Ua(a,i)}var Dt=-1,Ke=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Ch(t){return t instanceof Ke}function Eh(t){return(t.flags&8)!==0}function wh(t){return(t.flags&16)!==0}var Ro={},Xo=class{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){r=xr(r);let o=this.injector.get(e,Ro,r);return o!==Ro||n===Ro?o:this.parentInjector.get(e,n,r)}};function oc(t){return t!==Dt}function hr(t){return t&32767}function Ih(t){return t>>16}function pr(t,e){let n=Ih(t),r=e;for(;n>0;)r=r[Nt],n--;return r}var ei=!0;function Ga(t){let e=ei;return ei=t,e}var bh=256,ic=bh-1,sc=5,_h=0,he={};function Mh(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Wt)&&(r=n[Wt]),r==null&&(r=n[Wt]=_h++);let o=r&ic,i=1<>sc)]|=i}function gr(t,e){let n=ac(t,e);if(n!==-1)return n;let r=e[m];r.firstCreatePass&&(t.injectorIndex=e.length,Po(r.data,t),Po(e,null),Po(r.blueprint,null));let o=Ki(t,e),i=t.injectorIndex;if(oc(o)){let s=hr(o),a=pr(o,e),u=a[m].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function Po(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ac(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ki(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;o!==null;){if(r=fc(o),r===null)return Dt;if(n++,o=o[Nt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Dt}function ti(t,e,n){Mh(t,e,n)}function uc(t,e,n){if(n&D.Optional||t!==void 0)return t;Li(e,"NodeInjector")}function cc(t,e,n,r){if(n&D.Optional&&r===void 0&&(r=null),!(n&(D.Self|D.Host))){let o=t[bt],i=de(void 0);try{return o?o.get(e,r,n&D.Optional):yu(e,r,n&D.Optional)}finally{de(i)}}return uc(r,e,n)}function lc(t,e,n,r=D.Default,o){if(t!==null){if(e[g]&2048&&!(r&D.Self)){let s=Nh(t,e,n,r,he);if(s!==he)return s}let i=dc(t,e,n,r,he);if(i!==he)return i}return cc(e,n,r,o)}function dc(t,e,n,r,o){let i=Th(n);if(typeof i=="function"){if(!Qu(e,t,r))return r&D.Host?uc(o,n,r):cc(e,n,r,o);try{let s;if(s=i(r),s==null&&!(r&D.Optional))Li(n);else return s}finally{ec()}}else if(typeof i=="number"){let s=null,a=ac(t,e),u=Dt,c=r&D.Host?e[ge][se]:null;for((a===-1||r&D.SkipSelf)&&(u=a===-1?Ki(t,e):e[a+8],u===Dt||!Wa(r,!1)?a=-1:(s=e[m],a=hr(u),e=pr(u,e)));a!==-1;){let l=e[m];if(za(i,a,l.data)){let d=Sh(a,e,n,s,r,c);if(d!==he)return d}u=e[a+8],u!==Dt&&Wa(r,e[m].data[a+8]===c)&&za(i,a,e)?(s=l,a=hr(u),e=pr(u,e)):a=-1}}return o}function Sh(t,e,n,r,o,i){let s=e[m],a=s.data[t+8],u=r==null?Rr(a)&&ei:r!=s&&(a.type&3)!==0,c=o&D.Host&&i===a,l=er(a,s,n,u,c);return l!==null?Je(e,s,l,a):he}function er(t,e,n,r,o){let i=t.providerIndexes,s=e.data,a=i&1048575,u=t.directiveStart,c=t.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:c;for(let f=d;f=u&&p.type===n)return f}if(o){let f=s[u];if(f&&Pe(f)&&f.type===n)return u}return null}function Je(t,e,n,r){let o=t[n],i=e.data;if(Ch(o)){let s=o;s.resolving&&Kd(Qd(i[n]));let a=Ga(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?de(s.injectImpl):null,l=Qu(t,r,D.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&vh(n,i[n],e)}finally{c!==null&&de(c),Ga(a),s.resolving=!1,ec()}}return o}function Th(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Wt)?t[Wt]:void 0;return typeof e=="number"?e>=0?e&ic:xh:e}function za(t,e,n){let r=1<>sc)]&r)}function Wa(t,e){return!(t&D.Self)&&!(t&D.Host&&e)}var We=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return lc(this._tNode,this._lView,e,xr(r),n)}};function xh(){return new We(q(),M())}function tn(t){return Sr(()=>{let e=t.prototype.constructor,n=e[rr]||ni(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[rr]||ni(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ni(t){return fu(t)?()=>{let e=ni(B(t));return e&&e()}:Ct(t)}function Nh(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[g]&2048&&!(s[g]&512);){let a=dc(i,s,n,r|D.Self,he);if(a!==he)return a;let u=i.parent;if(!u){let c=s[Ou];if(c){let l=c.get(n,he,r);if(l!==he)return l}u=fc(s),s=s[Nt]}i=u}return o}function fc(t){let e=t[m],n=e.type;return n===2?e.declTNode:n===1?t[se]:null}function qa(t,e=null,n=null,r){let o=Ah(t,e,n,r);return o.resolveInjectorInitializers(),o}function Ah(t,e=null,n=null,r,o=new Set){let i=[n||z,Af(t)];return r=r||(typeof t=="object"?void 0:Q(t)),new ar(i,e||Hi(),r||null,o)}var Ge=class Ge{static create(e,n){if(Array.isArray(e))return qa({name:""},n,e,"");{let r=e.name??"";return qa({name:r},e.parent,e.providers,r)}}};Ge.THROW_IF_NOT_FOUND=qt,Ge.NULL=new sr,Ge.\u0275prov=x({token:Ge,providedIn:"any",factory:()=>b(Du)}),Ge.__NG_ELEMENT_ID__=-1;var ke=Ge;var Oh=new w("");Oh.__NG_ELEMENT_ID__=t=>{let e=q();if(e===null)throw new y(204,!1);if(e.type&2)return e.value;if(t&D.Optional)return null;throw new y(204,!1)};var Fh="ngOriginalError";function ko(t){return t[Fh]}var hc=!0,nn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Rh,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),ri=class extends nn{constructor(e){super(),this._lView=e}onDestroy(e){return $u(this._lView,e),()=>Jf(this._lView,e)}};function Rh(){return new ri(M())}var jr=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ut(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var oi=class extends ce{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Au()&&(this.destroyRef=E(nn,{optional:!0})??void 0,this.pendingTasks=E(jr,{optional:!0})??void 0)}emit(e){let n=C(null);try{super.next(e)}finally{C(n)}}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof P&&e.add(a),a}wrapInTimeout(e){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{e(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},H=oi;function mr(...t){}function pc(t){let e,n;function r(){t=mr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function Za(t){return queueMicrotask(()=>t()),()=>{t=mr}}var Ji="isAngularZone",yr=Ji+"_ID",Ph=0,R=class t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new H(!1),this.onMicrotaskEmpty=new H(!1),this.onStable=new H(!1),this.onError=new H(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=hc}=e;if(typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let 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,Vh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ji)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new y(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,kh,mr,mr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},kh={};function Xi(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Lh(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){pc(()=>{t.callbackScheduled=!1,ii(t),t.isCheckStableRunning=!0,Xi(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),ii(t)}function Vh(t){let e=()=>{Lh(t)},n=Ph++;t._inner=t._inner.fork({name:"angular",properties:{[Ji]:!0,[yr]:n,[yr+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(jh(u))return r.invokeTask(i,s,a,u);try{return Ya(t),r.invokeTask(i,s,a,u)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Qa(t)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Ya(t),r.invoke(i,s,a,u,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Bh(u)&&e(),Qa(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,ii(t),Xi(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function ii(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Ya(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Qa(t){t._nesting--,Xi(t)}var si=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new H,this.onMicrotaskEmpty=new H,this.onStable=new H,this.onError=new H}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}};function jh(t){return gc(t,"__ignore_ng_zone__")}function Bh(t){return gc(t,"__scheduler_tick__")}function gc(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Ce=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&ko(e);for(;n&&ko(n);)n=ko(n);return n||null}},Hh=new w("",{providedIn:"root",factory:()=>{let t=E(R),e=E(Ce);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function $h(){return Ot(q(),M())}function Ot(t,e){return new Ve(X(t,e))}var Ve=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=$h;let t=e;return t})();function Uh(t){return t instanceof Ve?t.nativeElement:t}function Gh(){return this._results[Symbol.iterator]()}var ai=class t{get changes(){return this._changes??=new H}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Gh)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=lf(e);(this._changesDetected=!cf(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function mc(t){return(t.flags&128)===128}var yc=new Map,zh=0;function Wh(){return zh++}function qh(t){yc.set(t[Fr],t)}function ui(t){yc.delete(t[Fr])}var Ka="__ngContext__";function Xe(t,e){Oe(e)?(t[Ka]=e[Fr],qh(e)):t[Ka]=e}function vc(t){return Cc(t[Qt])}function Dc(t){return Cc(t[oe])}function Cc(t){for(;t!==null&&!be(t);)t=t[oe];return t}var ci;function Ec(t){ci=t}function Zh(){if(ci!==void 0)return ci;if(typeof document<"u")return document;throw new y(210,!1)}var es=new w("",{providedIn:"root",factory:()=>Yh}),Yh="ng",ts=new w(""),nt=new w("",{providedIn:"platform",factory:()=>"unknown"});var ns=new w("",{providedIn:"root",factory:()=>Zh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Qh="h",Kh="b";var Jh=()=>null;function rs(t,e,n=!1){return Jh(t,e,n)}var wc=!1,Xh=new w("",{providedIn:"root",factory:()=>wc});var li=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$d})`}};function os(t){return t instanceof li?t.changingThisBreaksApplicationSecurity:t}function ep(t){return(t??E(ke)).get(nt)==="browser"}var Ee=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Ee||{}),tp;function is(t,e){return tp(t,e)}function mt(t,e,n,r,o){if(r!=null){let i,s=!1;be(r)?i=r:Oe(r)&&(s=!0,r=r[Ie]);let a=me(r);t===0&&n!==null?o==null?Mc(e,n,a):Dr(e,n,a,o||null,!0):t===1&&n!==null?Dr(e,n,a,o||null,!0):t===2?mp(e,a,s):t===3&&e.destroyNode(a),i!=null&&vp(e,t,i,n,o)}}function np(t,e){return t.createText(e)}function rp(t,e,n){t.setValue(e,n)}function Ic(t,e,n){return t.createElement(e,n)}function op(t,e){bc(t,e),e[Ie]=null,e[se]=null}function ip(t,e,n,r,o,i){r[Ie]=o,r[se]=e,Br(t,r,n,1,o,i)}function bc(t,e){e[ve].changeDetectionScheduler?.notify(9),Br(t,e,e[k],2,null,null)}function sp(t){let e=t[Qt];if(!e)return Lo(t[m],t);for(;e;){let n=null;if(Oe(e))n=e[Qt];else{let r=e[$];r&&(n=r)}if(!n){for(;e&&!e[oe]&&e!==t;)Oe(e)&&Lo(e[m],e),e=e[V];e===null&&(e=t),Oe(e)&&Lo(e[m],e),n=e&&e[oe]}e=n}}function ap(t,e,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][oe]=e),r0&&(t[n-1][oe]=r[oe]);let i=ir(t,$+e);op(r[m],r);let s=i[De];s!==null&&s.detachView(i[m]),r[V]=null,r[oe]=null,r[g]&=-129}return r}function as(t,e){if(!(e[g]&256)){let n=e[k];n.destroyNode&&Br(t,e,n,3,null,null),sp(e)}}function Lo(t,e){if(e[g]&256)return;let n=C(null);try{e[g]&=-129,e[g]|=256,e[K]&&mo(e[K]),cp(t,e),up(t,e),e[m].type===1&&e[k].destroy();let r=e[qe];if(r!==null&&be(e[V])){r!==e[V]&&ss(r,e);let o=e[De];o!==null&&o.detachView(t)}ui(e)}finally{C(n)}}function up(t,e){let n=t.cleanup,r=e[cr];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(e[cr]=null);let o=e[Ae];if(o!==null){e[Ae]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===pe.None||i===pe.Emulated)return null}return X(r,n)}}function Dr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function Mc(t,e,n){t.appendChild(e,n)}function Ja(t,e,n,r,o){r!==null?Dr(t,e,n,r,o):Mc(t,e,n)}function Sc(t,e){return t.parentNode(e)}function fp(t,e){return t.nextSibling(e)}function hp(t,e,n){return gp(t,e,n)}function pp(t,e,n){return t.type&40?X(t,n):null}var gp=pp,Xa;function us(t,e,n,r){let o=lp(t,r,e),i=e[k],s=r.parent||e[se],a=hp(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;uie&&Ac(t,e,ie,!1),fe(s?2:0,o),n(r,o)}finally{Qe(i),fe(s?3:1,o)}}function Pc(t,e,n){if(Ru(e)){let r=C(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Sp(t,e,n,r){let o=Gc(e);o.push(n),t.firstCreatePass&&zc(t).push(r,o.length-1)}function Tp(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return nh()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function eu(t,e,n,r,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;r??={};let a,u=Fe.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}t===0?tu(r,n,c,a,u):tu(r,n,c,a)}return r}function tu(t,e,n,r,o){let i;t.hasOwnProperty(n)?(i=t[n]).push(e,r):i=t[n]=[e,r],o!==void 0&&i.push(o)}function xp(t,e,n){let r=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function Pp(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;Rr(n)&&$p(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||gr(n,e),Xe(r,e);let s=n.initialInputs;for(let a=o;a{Lr(t.lView)},consumerOnSignalRead(){this.lView[K]=this}});function og(t){let e=t[K]??Object.create(ig);return e.lView=t,e}var ig=N(S({},$t),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Ye(t.lView);for(;e&&!Qc(e[m]);)e=Ye(e);e&&Hu(e)},consumerOnSignalRead(){this.lView[K]=this}});function Qc(t){return t.type!==2}var sg=100;function Kc(t,e=!0,n=0){let r=t[ve],o=r.rendererFactory,i=!1;i||o.begin?.();try{ag(t,n)}catch(s){throw e&&Wc(t,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function ag(t,e){let n=Yu();try{$a(!0),gi(t,e);let r=0;for(;kr(t);){if(r===sg)throw new y(103,!1);r++,gi(t,1)}}finally{$a(n)}}function ug(t,e,n,r){let o=e[g];if((o&256)===256)return;let i=!1,s=!1;!i&&e[ve].inlineEffectRunner?.flush(),Wi(e);let a=!0,u=null,c=null;i||(Qc(t)?(c=eg(e),u=bn(c)):Ws()===null?(a=!1,c=og(e),u=bn(c)):e[K]&&(mo(e[K]),e[K]=null));try{Bu(e),uh(t.bindingStartIndex),n!==null&&Rc(t,e,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=t.preOrderCheckHooks;f!==null&&Jn(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Xn(e,f,0,null),Fo(e,0)}if(s||cg(e),Jc(e,0),t.contentQueries!==null&&Uc(t,e),!i)if(l){let f=t.contentCheckHooks;f!==null&&Jn(e,f)}else{let f=t.contentHooks;f!==null&&Xn(e,f,1),Fo(e,1)}Ep(t,e);let d=t.components;d!==null&&el(e,d,0);let h=t.viewQuery;if(h!==null&&hi(2,h,r),!i)if(l){let f=t.viewCheckHooks;f!==null&&Jn(e,f)}else{let f=t.viewHooks;f!==null&&Xn(e,f,2),Fo(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Oo]){for(let f of e[Oo])f();e[Oo]=null}i||(e[g]&=-73)}catch(l){throw i||Lr(e),l}finally{c!==null&&(po(c,u),a&&ng(c)),qi()}}function Jc(t,e){for(let n=vc(t);n!==null;n=Dc(n))for(let r=$;r-1&&(vr(e,r),ir(n,r))}this._attachedToViewContainer=!1}as(this._lView[m],this._lView)}onDestroy(e){$u(this._lView,e)}markForCheck(){hs(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[g]&=-129}reattach(){Ko(this._lView),this._lView[g]|=128}detectChanges(){this._lView[g]|=1024,Kc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Yo(this._lView),n=this._lView[qe];n!==null&&!e&&ss(n,this._lView),bc(this._lView[m],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=e;let n=Yo(this._lView),r=this._lView[qe];r!==null&&!n&&_c(r,this._lView),Ko(this._lView)}},Er=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=hg;let t=e;return t})(),dg=Er,fg=class extends dg{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=qc(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new et(o)}};function hg(){return ps(q(),M())}function ps(t,e){return t.type&4?new fg(e,t,Ot(t,e)):null}var LE=new RegExp(`^(\\d+)*(${Kh}|${Qh})*(.*)`);var pg=()=>null;function mi(t,e){return pg(t,e)}var Mt=class{},tl=new w("",{providedIn:"root",factory:()=>!1});var nl=new w(""),rl=new w(""),yi=class{},wr=class{};function gg(t){let e=Error(`No component factory found for ${Q(t)}.`);return e[mg]=t,e}var mg="ngComponent";var vi=class{resolveComponentFactory(e){throw gg(e)}},Is=class Is{};Is.NULL=new vi;var Kt=Is,St=class{},Gr=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>yg();let t=e;return t})();function yg(){let t=M(),e=q(),n=Le(e.index,t);return(Oe(n)?n:t)[k]}var vg=(()=>{let e=class e{};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();function Di(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,i=0;if(e!==null)for(let s=0;s0&&xc(t,n,i.join(" "))}}function _g(t,e,n){let r=t.projection=[];for(let o=0;o{let e=class e{};e.__NG_ELEMENT_ID__=Sg;let t=e;return t})();function Sg(){let t=q();return il(t,M())}var Tg=gs,ol=class extends Tg{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Ot(this._hostTNode,this._hostLView)}get injector(){return new We(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ki(this._hostTNode,this._hostLView);if(oc(e)){let n=pr(e,this._hostLView),r=hr(e),o=n[m].data[r+8];return new We(o,n)}else return new We(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=ru(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-$}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=mi(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,pi(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!Uf(e),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let u=s?e:new Ir(wt(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(s?c:this.parentInjector).get(Re,null);T&&(i=T)}let l=wt(u.componentType??{}),d=mi(this._lContainer,l?.id??null),h=d?.firstChild??null,f=u.create(c,o,h,i);return this.insertImpl(f.hostView,a,pi(this._hostTNode,d)),f}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(Qf(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[V],c=new ol(u,u[se],u[V]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return Zc(s,o,i,r),e.attachToViewContainerRef(),vu(Vo(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=ru(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=vr(this._lContainer,n);r&&(ir(Vo(this._lContainer),n),as(r[m],r))}detach(e){let n=this._adjustIndex(e,-1),r=vr(this._lContainer,n);return r&&ir(Vo(this._lContainer),n)!=null?new et(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function ru(t){return t[lr]}function Vo(t){return t[lr]||(t[lr]=[])}function il(t,e){let n,r=e[t.index];return be(r)?n=r:(n=$c(r,e,null,t),e[t.index]=n,Ur(e,n)),Ng(n,e,t,r),new ol(n,t,e)}function xg(t,e){let n=t[k],r=n.createComment(""),o=X(e,t),i=Sc(n,o);return Dr(n,i,r,fp(n,o),!1),r}var Ng=Fg,Ag=()=>!1;function Og(t,e,n){return Ag(t,e,n)}function Fg(t,e,n,r){if(t[Ze])return;let o;n.type&8?o=me(r):o=xg(e,n),t[Ze]=o}var wi=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Ii=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=$;de.trim())}function Hg(t,e,n){t.queries===null&&(t.queries=new _i),t.queries.track(new Mi(e,n))}function ul(t,e){return t.queries.getByIndex(e)}function $g(t,e){let n=t[m],r=ul(n,e);return r.crossesNgTemplate?Si(n,t,e,[]):sl(n,t,r,e)}var ou=new Set;function Ft(t){ou.has(t)||(ou.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Rt(t,e){Ft("NgSignals");let n=na(t),r=n[ue];return e?.equal&&(r.equal=e.equal),n.set=o=>vo(r,o),n.update=o=>ra(r,o),n.asReadonly=Ug.bind(n),n}function Ug(){let t=this[ue];if(t.readonlyFn===void 0){let e=()=>this();e[ue]=t,t.readonlyFn=e}return t.readonlyFn}function cl(t,e){let n,r=yo(()=>{n._dirtyCounter();let o=qg(n,t);if(e&&o===void 0)throw new y(-951,!1);return o});return n=r[ue],n._dirtyCounter=Rt(0),n._flatValue=void 0,r}function Gg(){return cl(!0,!1)}function zg(){return cl(!0,!0)}function Wg(t,e){let n=t[ue];n._lView=M(),n._queryIndex=e,n._queryList=al(n._lView,e),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function qg(t,e){let n=t._lView,r=t._queryIndex;if(n===void 0||r===void 0||n[g]&4)return e?void 0:z;let o=al(n,r),i=$g(n,r);return o.reset(i,Uh),e?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function iu(t,e){return Gg()}function Zg(t,e){return zg()}var ll=(iu.required=Zg,iu);function Yg(t){return Object.getPrototypeOf(t.prototype).constructor}function ae(t){let e=Yg(t.type),n=!0,r=[t];for(;e;){let o;if(Pe(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new y(903,!1);o=e.\u0275dir}if(o){if(n){r.push(o);let s=t;s.inputs=Zn(t.inputs),s.inputTransforms=Zn(t.inputTransforms),s.declaredInputs=Zn(t.declaredInputs),s.outputs=Zn(t.outputs);let a=o.hostBindings;a&&em(t,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Jg(t,u),c&&Xg(t,c),Qg(t,o),Ud(t.outputs,o.outputs),Pe(o)&&o.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=Yt(o.hostAttrs,n=Yt(n,o.hostAttrs))}}function Zn(t){return t===Et?{}:t===z?[]:t}function Jg(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function Xg(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function em(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}var Tt=class{};var br=class extends Tt{constructor(e){super(),this.componentFactoryResolver=new Ci(this),this.instance=null;let n=new ar([...e.providers,{provide:Tt,useValue:this},{provide:Kt,useValue:this.componentFactoryResolver}],e.parent||Hi(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function tm(t,e,n=null){return new br({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}function on(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function nm(t){return(t.flags&32)===32}function rm(t,e,n,r,o,i,s,a,u){let c=e.consts,l=$r(e,t,4,s||null,a||null);jc(e,n,l,fr(c,u)),Qi(e,l);let d=l.tView=ls(2,l,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function om(t,e,n,r,o,i,s,a,u,c){let l=n+ie,d=e.firstCreatePass?rm(l,e,t,r,o,i,s,a,u):e.data[l];en(d,!1);let h=im(e,t,d,n);Zi()&&us(e,t,h,d),Xe(h,t);let f=$c(h,t,h,d);return t[l]=f,Ur(t,f),Og(f,d,t),$i(d)&&kc(e,t,d),u!=null&&Lc(t,d,c),d}function ms(t,e,n,r,o,i,s,a){let u=M(),c=ee(),l=fr(c.consts,i);return om(u,c,t,e,n,r,o,l,s,a),ms}var im=sm;function sm(t,e,n,r){return Yi(!0),e[k].createComment("")}var yt=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(yt||{}),dl=(()=>{let e=class e{constructor(){this.impl=null}execute(){this.impl?.execute()}};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),ze=class ze{constructor(){this.ngZone=E(R),this.scheduler=E(Mt),this.errorHandler=E(Ce,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(let e of ze.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[e]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[e](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&this.sequences.delete(e);for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};ze.PHASES=[yt.EarlyRead,yt.Write,yt.MixedReadWrite,yt.Read],ze.\u0275prov=x({token:ze,providedIn:"root",factory:()=>new ze});var Ti=ze,xi=class{constructor(e,n,r,o){this.impl=e,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}};function ys(t,e){!e?.injector&&$f(ys);let n=e?.injector??E(ke);return ep(n)?(Ft("NgAfterNextRender"),um(t,n,e,!0)):cm}function am(t,e){if(t instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[e]=t,n}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function um(t,e,n,r){let o=e.get(dl);o.impl??=e.get(Ti);let i=n?.phase??yt.MixedReadWrite,s=new xi(o.impl,am(t,i),r,e.get(nn));return o.impl.register(s),s}var cm={destroy(){}};function zr(t,e,n,r){let o=M(),i=Vr();if(on(o,i,e)){let s=ee(),a=tc();Up(a,o,t,e,n,r)}return zr}function lm(t,e,n,r){return on(t,Vr(),n)?e+ki(n)+r:rt}function Yn(t,e){return t<<17|e<<2}function tt(t){return t>>17&32767}function dm(t){return(t&2)==2}function fm(t,e){return t&131071|e<<17}function Ni(t){return t|2}function xt(t){return(t&131068)>>2}function jo(t,e){return t&-131069|e<<2}function hm(t){return(t&1)===1}function Ai(t){return t|1}function pm(t,e,n,r,o,i){let s=i?e.classBindings:e.styleBindings,a=tt(s),u=xt(s);t[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Xt(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let h=tt(t[a+1]);t[r+1]=Yn(h,a),h!==0&&(t[h+1]=jo(t[h+1],r)),t[a+1]=fm(t[a+1],r)}else t[r+1]=Yn(a,0),a!==0&&(t[a+1]=jo(t[a+1],r)),a=r;else t[r+1]=Yn(u,0),a===0?a=r:t[u+1]=jo(t[u+1],r),u=r;c&&(t[r+1]=Ni(t[r+1])),su(t,l,r,!0),su(t,l,r,!1),gm(e,l,t,r,i),s=Yn(a,u),i?e.classBindings=s:e.styleBindings=s}function gm(t,e,n,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&Xt(i,e)>=0&&(n[r+1]=Ai(n[r+1]))}function su(t,e,n,r){let o=t[n+1],i=e===null,s=r?tt(o):xt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=t[s],c=t[s+1];mm(u,e)&&(a=!0,t[s+1]=r?Ai(c):Ni(c)),s=r?tt(c):xt(c)}a&&(t[n+1]=r?Ni(o):Ai(o))}function mm(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Xt(t,e)>=0:!1}function vs(t,e,n){let r=M(),o=Vr();if(on(r,o,e)){let i=ee(),s=tc();Ap(i,s,r,t,e,r[k],n,!1)}return vs}function au(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";ds(t,n,i[s],s,r)}function Wr(t,e){return ym(t,e,null,!0),Wr}function ym(t,e,n,r){let o=M(),i=ee(),s=ch(2);if(i.firstUpdatePass&&Dm(i,t,s,r),e!==rt&&on(o,s,e)){let a=i.data[At()];bm(i,a,o,o[k],t,o[s+1]=_m(e,n),r,s)}}function vm(t,e){return e>=t.expandoStartIndex}function Dm(t,e,n,r){let o=t.data;if(o[n+1]===null){let i=o[At()],s=vm(t,n);Mm(i,r)&&e===null&&!s&&(e=!1),e=Cm(o,i,e,r),pm(o,i,e,n,s,r)}}function Cm(t,e,n,r){let o=hh(t),i=r?e.residualClasses:e.residualStyles;if(o===null)(r?e.classBindings:e.styleBindings)===0&&(n=Bo(null,t,e,n,r),n=Jt(n,e.attrs,r),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(n=Bo(o,t,e,n,r),i===null){let u=Em(t,e,r);u!==void 0&&Array.isArray(u)&&(u=Bo(null,t,e,u[1],r),u=Jt(u,e.attrs,r),wm(t,e,r,u))}else i=Im(t,e,r)}return i!==void 0&&(r?e.residualClasses=i:e.residualStyles=i),n}function Em(t,e,n){let r=n?e.classBindings:e.styleBindings;if(xt(r)!==0)return t[tt(r)]}function wm(t,e,n,r){let o=n?e.classBindings:e.styleBindings;t[tt(o)]=r}function Im(t,e,n){let r,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0;){let u=t[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,h=n[o+1];h===rt&&(h=d?z:void 0);let f=d?No(h,r):l===r?h:void 0;if(c&&!_r(f)&&(f=No(u,r)),_r(f)&&(a=f,s))return a;let p=t[o+1];o=s?tt(p):xt(p)}if(e!==null){let u=i?e.residualClasses:e.residualStyles;u!=null&&(a=No(u,r))}return a}function _r(t){return t!==void 0}function _m(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Q(os(t)))),t}function Mm(t,e){return(t.flags&(e?8:16))!==0}function Ds(t,e){Ft("NgControlFlow");let n=M(),r=Vr(),o=n[r]!==rt?n[r]:-1,i=o!==-1?cu(n,ie+o):void 0,s=0;if(on(n,r,t)){let a=C(null);try{if(i!==void 0&&Jp(i,s),t!==-1){let u=ie+t,c=cu(n,u),l=Sm(n[m],u),d=mi(c,l.tView.ssrId),h=qc(n,l,e,{dehydratedView:d});Zc(c,h,s,pi(l,d))}}finally{C(a)}}else if(i!==void 0){let a=Kp(i,s);a!==void 0&&(a[J]=e)}}function cu(t,e){return t[e]}function Sm(t,e){return Ui(t,e)}function Tm(t,e,n,r,o,i){let s=e.consts,a=fr(s,o),u=$r(e,t,2,r,a);return jc(e,n,u,fr(s,i)),u.attrs!==null&&Di(u,u.attrs,!1),u.mergedAttrs!==null&&Di(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function Z(t,e,n,r){let o=M(),i=ee(),s=ie+t,a=o[k],u=i.firstCreatePass?Tm(s,i,o,e,n,r):i.data[s],c=xm(i,o,u,a,e,t);o[s]=c;let l=$i(u);return en(u,!0),Nc(a,c,u),!nm(u)&&Zi()&&us(i,o,c,u),Xf()===0&&Xe(c,o),eh(),l&&(kc(i,o,u),Pc(i,u,o)),r!==null&&Lc(o,u),Z}function U(){let t=q();Zu()?sh():(t=t.parent,en(t,!1));let e=t;rh(e)&&oh(),th();let n=ee();return n.firstCreatePass&&(Qi(n,t),Ru(t)&&n.queries.elementEnd(t)),e.classesWithoutHost!=null&&Eh(e)&&au(n,e,M(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&wh(e)&&au(n,e,M(),e.stylesWithoutHost,!1),U}function ot(t,e,n,r){return Z(t,e,n,r),U(),ot}var xm=(t,e,n,r,o,i)=>(Yi(!0),Ic(r,o,yh()));function fl(){return M()}var Mr="en-US";var Nm=Mr;function Am(t){typeof t=="string"&&(Nm=t.toLowerCase().replace(/_/g,"-"))}var Om=(t,e,n)=>{};function Pt(t,e,n,r){let o=M(),i=ee(),s=q();return Rm(i,o,o[k],s,t,e,r),Pt}function Fm(t,e,n,r){let o=t.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Rm(t,e,n,r,o,i,s){let a=$i(r),c=t.firstCreatePass&&zc(t),l=e[J],d=Gc(e),h=!0;if(r.type&3||s){let T=X(r,e),j=s?s(T):T,L=d.length,Y=s?te=>s(me(te[r.index])):r.index,ye=null;if(!s&&a&&(ye=Fm(t,e,o,r.index)),ye!==null){let te=ye.__ngLastListenerFn__||ye;te.__ngNextListenerFn__=i,ye.__ngLastListenerFn__=i,h=!1}else{i=du(r,e,l,i),Om(T,o,i);let te=n.listen(j,o,i);d.push(i,te),c&&c.push(o,Y,L,L+1)}}else i=du(r,e,l,i);let f=r.outputs,p;if(h&&f!==null&&(p=f[o])){let T=p.length;if(T)for(let j=0;j-1?Le(t.index,e):e;hs(s,5);let a=lu(e,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=lu(e,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function hl(t=1){return mh(t)}function pl(t,e,n,r){Wg(t,jg(e,n,r))}function gl(t=1){zi(ph()+t)}function qr(t){let e=ah();return Yf(e,ie+t)}function _e(t,e=""){let n=M(),r=ee(),o=t+ie,i=r.firstCreatePass?$r(r,o,1,e,null):r.data[o],s=Pm(r,n,i,e,t);n[o]=s,Zi()&&us(r,n,s,i),en(i,!1)}var Pm=(t,e,n,r,o)=>(Yi(!0),np(e[k],r));function Cs(t,e,n){let r=M(),o=lm(r,t,e,n);return o!==rt&&qp(r,At(),o),Cs}function km(t,e,n){let r=ee();if(r.firstCreatePass){let o=Pe(t);Oi(n,r.data,r.blueprint,o,!0),Oi(e,r.data,r.blueprint,o,!1)}}function Oi(t,e,n,r,o){if(t=B(t),Array.isArray(t))for(let i=0;i>20;if(It(t)||!t.multi){let f=new Ke(c,o,A),p=$o(u,e,o?l:l+h,d);p===-1?(ti(gr(a,s),i,u),Ho(i,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=$o(u,e,l+h,d),p=$o(u,e,l,l+h),T=f>=0&&n[f],j=p>=0&&n[p];if(o&&!j||!o&&!T){ti(gr(a,s),i,u);let L=jm(o?Vm:Lm,n.length,o,r,c);!o&&j&&(n[p].providerFactory=L),Ho(i,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(L),s.push(L)}else{let L=ml(n[o?p:f],c,!o&&r);Ho(i,t,f>-1?f:p,L)}!o&&r&&j&&n[p].componentProviders++}}}function Ho(t,e,n,r){let o=It(e),i=Pf(e);if(o||i){let u=(i?B(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function ml(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function $o(t,e,n,r){for(let o=n;o{n.providersResolver=(r,o)=>km(r,o?o(t):t,e)}}var Bm=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Su(!1,r.type),i=o.length>0?tm([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(b(Re))});let t=e;return t})();function Zr(t){Ft("NgStandalone"),t.getStandaloneInjector=e=>e.get(Bm).getOrCreateStandaloneInjector(t)}var yl=new w("");function sn(t){return!!t&&typeof t.then=="function"}function vl(t){return!!t&&typeof t.subscribe=="function"}var Hm=new w(""),Dl=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=E(Hm,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(sn(s))r.push(s);else if(vl(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$m=new w("");function Um(){ta(()=>{throw new y(600,!1)})}function Gm(t){return t.isBoundToModule}var zm=10;function Wm(t,e,n){try{let r=n();return sn(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var an=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(Hh),this.afterRenderManager=E(dl),this.zonelessEnabled=E(tl),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ce,this.afterTick=new ce,this.componentTypes=[],this.components=[],this.isStable=E(jr).hasPendingTasks.pipe(Ue(r=>!r)),this._injector=E(Re)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let r;return new Promise(o=>{r=this.isStable.subscribe({next:i=>{i&&o()}})}).finally(()=>{r.unsubscribe()})}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof wr;if(!this._injector.get(Dl).done){let f=!i&&xf(r),p=!1;throw new y(405,p)}let a;i?a=r:a=this._injector.get(Kt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Gm(a)?void 0:this._injector.get(Tt),c=o||a.selector,l=a.create(ke.NULL,[],c,u),d=l.location.nativeElement,h=l.injector.get(yl,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),tr(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new y(101,!1);let r=C(null);try{this._runningTick=!0,this.synchronize()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,C(r),this.afterTick.next()}}synchronize(){let r=null;this._injector.destroyed||(r=this._injector.get(St,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let o=0;for(;this.dirtyFlags!==0&&o++kr(r))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;tr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get($m,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>tr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new y(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function tr(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function qm(t,e,n,r){if(!n&&!kr(t))return;Kc(t,e,n&&!r?0:1)}var Zm=(()=>{let e=class e{constructor(){this.zone=E(R),this.changeDetectionScheduler=E(Mt),this.applicationRef=E(an)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ym({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new R(N(S({},Qm()),{scheduleInRootZone:n})),[{provide:R,useFactory:t},{provide:Zt,multi:!0,useFactory:()=>{let r=E(Zm,{optional:!0});return()=>r.initialize()}},{provide:Zt,multi:!0,useFactory:()=>{let r=E(Km);return()=>{r.initialize()}}},e===!0?{provide:nl,useValue:!0}:[],{provide:rl,useValue:n??hc}]}function Qm(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Km=(()=>{let e=class e{constructor(){this.subscription=new P,this.initialized=!1,this.zone=E(R),this.pendingTasks=E(jr)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{R.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Jm=(()=>{let e=class e{constructor(){this.appRef=E(an),this.taskService=E(jr),this.ngZone=E(R),this.zonelessEnabled=E(tl),this.disableScheduling=E(nl,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new P,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(yr):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(rl,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof si||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Za:pc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(yr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(r),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Za(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Xm(){return typeof $localize<"u"&&$localize.locale||Mr}var Es=new w("",{providedIn:"root",factory:()=>E(Es,D.Optional|D.SkipSelf)||Xm()});var Cl=new w("");function Qn(t){return!!t.platformInjector}function ey(t){let e=Qn(t)?t.r3Injector:t.moduleRef.injector,n=e.get(R);return n.run(()=>{Qn(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(Ce,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Qn(t)){let i=()=>e.destroy(),s=t.platformInjector.get(Cl);s.add(i),e.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else t.moduleRef.onDestroy(()=>{tr(t.allPlatformModules,t.moduleRef),o.unsubscribe()});return Wm(r,n,()=>{let i=e.get(Dl);return i.runInitializers(),i.donePromise.then(()=>{let s=e.get(Es,Mr);if(Am(s||Mr),Qn(t)){let a=e.get(an);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return ty(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function ty(t,e){let n=t.injector.get(an);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new y(-403,!1);e.push(t)}var nr=null;function ny(t=[],e){return ke.create({name:e,providers:[{provide:Or,useValue:"platform"},{provide:Cl,useValue:new Set([()=>nr=null])},...t]})}function ry(t=[]){if(nr)return nr;let e=ny(t);return nr=e,Um(),oy(e),e}function oy(t){t.get(ts,null)?.forEach(n=>n())}var ws=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=iy;let t=e;return t})();function iy(t){return sy(q(),M(),(t&16)===16)}function sy(t,e,n){if(Rr(t)&&!n){let r=Le(t.index,e);return new et(r,r)}else if(t.type&175){let r=e[ge];return new et(r,e)}return null}function El(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=ry(r),i=[Ym({}),{provide:Mt,useExisting:Jm},...n||[]],s=new br({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return ey({r3Injector:s.injector,platformInjector:o,rootComponent:e})}catch(e){return Promise.reject(e)}}var wl=new w("");function un(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function cn(t,e){Ft("NgSignals");let n=yo(t);return e?.equal&&(n[ue].equal=e.equal),n}function Me(t){let e=C(null);try{return t()}finally{C(e)}}var bl=null;function kt(){return bl}function _l(t){bl??=t}var Qr=class{};var Se=new w("");function Ml(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var Sl="browser",ay="server";function bs(t){return t===ay}var Kr=class{};var Ss=class extends Qr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ts=class t extends Ss{static makeCurrent(){_l(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=cy();return n==null?null:ly(n)}resetBaseElement(){ln=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ml(document.cookie,e)}},ln=null;function cy(){return ln=ln||document.querySelector("base"),ln?ln.getAttribute("href"):null}function ly(t){return new URL(t,document.baseURI).pathname}var dy=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Jr=new w(""),Al=(()=>{let e=class e{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new y(5101,!1);return this._eventNameToPlugin.set(r,o),o}};e.\u0275fac=function(o){return new(o||e)(b(Jr),b(R))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),dn=class{constructor(e){this._doc=e}},_s="ng-app-id",Ol=(()=>{let e=class e{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=bs(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${_s}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(_s),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(_s,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(b(Se),b(es),b(ns,8),b(nt))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Ms={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"},Ns=/%COMP%/g,Fl="%COMP%",fy=`_nghost-${Fl}`,hy=`_ngcontent-${Fl}`,py=!0,gy=new w("",{providedIn:"root",factory:()=>py});function my(t){return hy.replace(Ns,t)}function yy(t){return fy.replace(Ns,t)}function Rl(t,e){return e.map(n=>n.replace(Ns,t))}var Tl=(()=>{let e=class e{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=bs(u),this.defaultRenderer=new fn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===pe.ShadowDom&&(o=N(S({},o),{encapsulation:pe.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Xr?i.applyToHost(r):i instanceof hn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case pe.Emulated:s=new Xr(c,l,o,this.appId,d,a,u,h);break;case pe.ShadowDom:return new xs(c,l,r,o,a,u,this.nonce,h);default:s=new hn(c,l,o,d,a,u,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(b(Al),b(Ol),b(es),b(gy),b(Se),b(nt),b(R),b(ns))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),fn=class{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Ms[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(xl(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(xl(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){n.remove()}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new y(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;let i=Ms[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=Ms[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(Ee.DashCase|Ee.Important)?e.style.setProperty(n,r,o&Ee.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Ee.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=kt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function xl(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var xs=class extends fn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Rl(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(null,n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},hn=class extends fn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Rl(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Xr=class extends hn{constructor(e,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(e,n,r,i,s,a,u,c),this.contentAttr=my(c),this.hostAttr=yy(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},vy=(()=>{let e=class e extends dn{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(b(Se))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Dy=(()=>{let e=class e extends dn{constructor(r){super(r),this.delegate=E(wl,{optional:!0})}supports(r){return this.delegate?this.delegate.supports(r):!1}addEventListener(r,o,i){return this.delegate.addEventListener(r,o,i)}removeEventListener(r,o,i){return this.delegate.removeEventListener(r,o,i)}};e.\u0275fac=function(o){return new(o||e)(b(Se))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Nl=["alt","control","meta","shift"],Cy={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ey={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},wy=(()=>{let e=class e extends dn{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>kt().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),Nl.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=Cy[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Nl.forEach(a=>{if(a!==i){let u=Ey[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{e.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(o){return new(o||e)(b(Se))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function Pl(t,e){return El(S({rootComponent:t},Iy(e)))}function Iy(t){return{appProviders:[...Ty,...t?.providers??[]],platformProviders:Sy}}function by(){Ts.makeCurrent()}function _y(){return new Ce}function My(){return Ec(document),document}var Sy=[{provide:nt,useValue:Sl},{provide:ts,useValue:by,multi:!0},{provide:Se,useFactory:My,deps:[]}];var Ty=[{provide:Or,useValue:"root"},{provide:Ce,useFactory:_y,deps:[]},{provide:Jr,useClass:vy,multi:!0,deps:[Se,R,nt]},{provide:Jr,useClass:wy,multi:!0,deps:[Se]},{provide:Jr,useClass:Dy,multi:!0},Tl,Ol,Al,{provide:St,useExisting:Tl},{provide:Kr,useClass:dy,deps:[]},[]];var Gl=(()=>{let e=class e{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};e.\u0275fac=function(o){return new(o||e)(A(Gr),A(Ve))},e.\u0275dir=W({type:e});let t=e;return t})(),xy=(()=>{let e=class e extends Gl{};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=tn(e)))(i||e)}})(),e.\u0275dir=W({type:e,features:[ae]});let t=e;return t})(),zl=new w("");var Ny={provide:zl,useExisting:we(()=>ao),multi:!0};function Ay(){let t=kt()?kt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Oy=new w(""),ao=(()=>{let e=class e extends Gl{constructor(r,o,i){super(r,o),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Ay())}writeValue(r){let o=r??"";this.setProperty("value",o)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};e.\u0275fac=function(o){return new(o||e)(A(Gr),A(Ve),A(Oy,8))},e.\u0275dir=W({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(o,i){o&1&&Pt("input",function(a){return i._handleInput(a.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(a){return i._compositionEnd(a.target.value)})},features:[it([Ny]),ae]});let t=e;return t})();function Os(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function Fy(t){return t!=null&&typeof t.length=="number"}var Cn=new w(""),Wl=new w(""),Ry=/^(?=.{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])?)*$/;function Py(t){return Os(t.value)?{required:!0}:null}function ky(t){return Os(t.value)||Ry.test(t.value)?null:{email:!0}}function Ly(t){return e=>Os(e.value)||!Fy(e.value)?null:e.value.length{e=n!=null?S(S({},e),n):e}),Object.keys(e).length===0?null:e}function Ql(t,e){return e.map(n=>n(t))}function Vy(t){return!t.validate}function Kl(t){return t.map(e=>Vy(e)?e:n=>e.validate(n))}function jy(t){if(!t)return null;let e=t.filter(ql);return e.length==0?null:function(n){return Yl(Ql(n,e))}}function Fs(t){return t!=null?jy(Kl(t)):null}function By(t){if(!t)return null;let e=t.filter(ql);return e.length==0?null:function(n){let r=Ql(n,e).map(Zl);return To(r).pipe(Ue(Yl))}}function Rs(t){return t!=null?By(Kl(t)):null}function Ll(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Hy(t){return t._rawValidators}function $y(t){return t._rawAsyncValidators}function As(t){return t?Array.isArray(t)?t:[t]:[]}function to(t,e){return Array.isArray(t)?t.includes(e):t===e}function Vl(t,e){let n=As(e);return As(t).forEach(o=>{to(n,o)||n.push(o)}),n}function jl(t,e){return As(e).filter(n=>!to(t,n))}var no=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Fs(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Rs(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},jt=class extends no{get formDirective(){return null}get path(){return null}},Dn=class extends no{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ro=class{constructor(e){this._cd=e}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}},Uy={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},oI=N(S({},Uy),{"[class.ng-submitted]":"isSubmitted"}),Jl=(()=>{let e=class e extends ro{constructor(r){super(r)}};e.\u0275fac=function(o){return new(o||e)(A(Dn,2))},e.\u0275dir=W({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,i){o&2&&Wr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[ae]});let t=e;return t})(),Xl=(()=>{let e=class e extends ro{constructor(r){super(r)}};e.\u0275fac=function(o){return new(o||e)(A(jt,10))},e.\u0275dir=W({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(o,i){o&2&&Wr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[ae]});let t=e;return t})();var pn="VALID",eo="INVALID",Lt="PENDING",gn="DISABLED",Bt=class{},oo=class extends Bt{constructor(e,n){super(),this.value=e,this.source=n}},yn=class extends Bt{constructor(e,n){super(),this.pristine=e,this.source=n}},vn=class extends Bt{constructor(e,n){super(),this.touched=e,this.source=n}},Vt=class extends Bt{constructor(e,n){super(),this.status=e,this.source=n}};function ed(t){return(uo(t)?t.validators:t)||null}function Gy(t){return Array.isArray(t)?Fs(t):t||null}function td(t,e){return(uo(e)?e.asyncValidators:t)||null}function zy(t){return Array.isArray(t)?Rs(t):t||null}function uo(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Wy(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new y(1e3,"");if(!r[n])throw new y(1001,"")}function qy(t,e,n){t._forEachChild((r,o)=>{if(n[o]===void 0)throw new y(1002,"")})}var io=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=cn(()=>this.statusReactive()),this.statusReactive=Rt(void 0),this._pristine=cn(()=>this.pristineReactive()),this.pristineReactive=Rt(!0),this._touched=cn(()=>this.touchedReactive()),this.touchedReactive=Rt(!1),this._events=new ce,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Me(this.statusReactive)}set status(e){Me(()=>this.statusReactive.set(e))}get valid(){return this.status===pn}get invalid(){return this.status===eo}get pending(){return this.status==Lt}get disabled(){return this.status===gn}get enabled(){return this.status!==gn}get pristine(){return Me(this.pristineReactive)}set pristine(e){Me(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Me(this.touchedReactive)}set touched(e){Me(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Vl(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Vl(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(jl(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(jl(e,this._rawAsyncValidators))}hasValidator(e){return to(this._rawValidators,e)}hasAsyncValidator(e){return to(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let n=this.touched===!1;this.touched=!0;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(N(S({},e),{sourceControl:r})),n&&e.emitEvent!==!1&&this._events.next(new vn(!0,r))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(e))}markAsUntouched(e={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=e.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:r})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r),n&&e.emitEvent!==!1&&this._events.next(new vn(!1,r))}markAsDirty(e={}){let n=this.pristine===!0;this.pristine=!1;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(N(S({},e),{sourceControl:r})),n&&e.emitEvent!==!1&&this._events.next(new yn(!1,r))}markAsPristine(e={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=e.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&e.emitEvent!==!1&&this._events.next(new yn(!0,r))}markAsPending(e={}){this.status=Lt;let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Vt(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(N(S({},e),{sourceControl:n}))}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=gn,this.errors=null,this._forEachChild(o=>{o.disable(N(S({},e),{onlySelf:!0}))}),this._updateValue();let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new oo(this.value,r)),this._events.next(new Vt(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(N(S({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=pn,this._forEachChild(r=>{r.enable(N(S({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(N(S({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e,n){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===pn||this.status===Lt)&&this._runAsyncValidator(r,e.emitEvent)}let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new oo(this.value,n)),this._events.next(new Vt(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(N(S({},e),{sourceControl:n}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?gn:pn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,n){if(this.asyncValidator){this.status=Lt,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=Zl(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(e,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,n,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new Vt(this.status,n)),this._parent&&this._parent._updateControlsErrors(e,n,r)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?gn:this.errors?eo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Lt)?Lt:this._anyControlsHaveStatus(eo)?eo:pn}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),o&&this._events.next(new yn(this.pristine,n))}_updateTouched(e={},n){this.touched=this._anyControlsTouched(),this._events.next(new vn(this.touched,n)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){uo(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Gy(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=zy(this._rawAsyncValidators)}},so=class extends io{constructor(e,n,r){super(ed(n),td(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){qy(this,!0,e),Object.keys(e).forEach(r=>{Wy(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(r=>{let o=this.controls[r];o&&o.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,o)=>{r.reset(e?e[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Ps=new w("CallSetDisabledState",{providedIn:"root",factory:()=>ks}),ks="always";function Zy(t,e){return[...e.path,t]}function nd(t,e,n=ks){rd(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Qy(t,e),Jy(t,e),Ky(t,e),Yy(t,e)}function Bl(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function Yy(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function rd(t,e){let n=Hy(t);e.validator!==null?t.setValidators(Ll(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=$y(t);e.asyncValidator!==null?t.setAsyncValidators(Ll(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let o=()=>t.updateValueAndValidity();Bl(e._rawValidators,o),Bl(e._rawAsyncValidators,o)}function Qy(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&od(t,e)})}function Ky(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&od(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function od(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Jy(t,e){let n=(r,o)=>{e.valueAccessor.writeValue(r),o&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function Xy(t,e){t==null,rd(t,e)}function ev(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function tv(t){return Object.getPrototypeOf(t.constructor)===xy}function nv(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function rv(t,e){if(!e)return null;Array.isArray(e);let n,r,o;return e.forEach(i=>{i.constructor===ao?n=i:tv(i)?r=i:o=i}),o||r||n||null}var ov={provide:jt,useExisting:we(()=>Ls)},mn=Promise.resolve(),Ls=(()=>{let e=class e extends jt{get submitted(){return Me(this.submittedReactive)}constructor(r,o,i){super(),this.callSetDisabledState=i,this._submitted=cn(()=>this.submittedReactive()),this.submittedReactive=Rt(!1),this._directives=new Set,this.ngSubmit=new H,this.form=new so({},Fs(r),Rs(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(r){mn.then(()=>{let o=this._findContainer(r.path);r.control=o.registerControl(r.name,r.control),nd(r.control,r,this.callSetDisabledState),r.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(r)})}getControl(r){return this.form.get(r.path)}removeControl(r){mn.then(()=>{let o=this._findContainer(r.path);o&&o.removeControl(r.name),this._directives.delete(r)})}addFormGroup(r){mn.then(()=>{let o=this._findContainer(r.path),i=new so({});Xy(i,r),o.registerControl(r.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(r){mn.then(()=>{let o=this._findContainer(r.path);o&&o.removeControl(r.name)})}getFormGroup(r){return this.form.get(r.path)}updateModel(r,o){mn.then(()=>{this.form.get(r.path).setValue(o)})}setValue(r){this.control.setValue(r)}onSubmit(r){return this.submittedReactive.set(!0),nv(this.form,this._directives),this.ngSubmit.emit(r),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(r){return r.pop(),r.length?this.form.get(r):this.form}};e.\u0275fac=function(o){return new(o||e)(A(Cn,10),A(Wl,10),A(Ps,8))},e.\u0275dir=W({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(o,i){o&1&&Pt("submit",function(a){return i.onSubmit(a)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[it([ov]),ae]});let t=e;return t})();function Hl(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function $l(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var iv=class extends io{constructor(e=null,n,r){super(ed(n),td(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),uo(n)&&(n.nonNullable||n.initialValueIsDefault)&&($l(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Hl(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Hl(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){$l(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var sv={provide:Dn,useExisting:we(()=>Vs)},Ul=Promise.resolve(),Vs=(()=>{let e=class e extends Dn{constructor(r,o,i,s,a,u){super(),this._changeDetectorRef=a,this.callSetDisabledState=u,this.control=new iv,this._registered=!1,this.name="",this.update=new H,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=rv(this,s)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){let o=r.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),ev(r,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){nd(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(r){Ul.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){let o=r.isDisabled.currentValue,i=o!==0&&un(o);Ul.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?Zy(r,this._parent):[r]}};e.\u0275fac=function(o){return new(o||e)(A(jt,9),A(Cn,10),A(Wl,10),A(zl,10),A(ws,8),A(Ps,8))},e.\u0275dir=W({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[it([sv]),ae,Pr]});let t=e;return t})(),id=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=W({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();function av(t){return typeof t=="number"?t:parseInt(t,10)}var js=(()=>{let e=class e{constructor(){this._validator=kl}ngOnChanges(r){if(this.inputName in r){let o=this.normalizeInput(r[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):kl,this._onChange&&this._onChange()}}validate(r){return this._validator(r)}registerOnValidatorChange(r){this._onChange=r}enabled(r){return r!=null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=W({type:e,features:[Pr]});let t=e;return t})();var uv={provide:Cn,useExisting:we(()=>Bs),multi:!0};var Bs=(()=>{let e=class e extends js{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=un,this.createValidator=r=>Py}enabled(r){return r}};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=tn(e)))(i||e)}})(),e.\u0275dir=W({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(o,i){o&2&&zr("required",i._enabled?"":null)},inputs:{required:"required"},features:[it([uv]),ae]});let t=e;return t})();var cv={provide:Cn,useExisting:we(()=>Hs),multi:!0},Hs=(()=>{let e=class e extends js{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=un,this.createValidator=r=>ky}enabled(r){return r}};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=tn(e)))(i||e)}})(),e.\u0275dir=W({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[it([cv]),ae]});let t=e;return t})(),lv={provide:Cn,useExisting:we(()=>$s),multi:!0},$s=(()=>{let e=class e extends js{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=r=>av(r),this.createValidator=r=>Ly(r)}};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=tn(e)))(i||e)}})(),e.\u0275dir=W({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(o,i){o&2&&zr("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[it([lv]),ae]});let t=e;return t})();var dv=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Ar({type:e}),e.\u0275inj=Tr({});let t=e;return t})();var sd=(()=>{let e=class e{static withConfig(r){return{ngModule:e,providers:[{provide:Ps,useValue:r.callSetDisabledState??ks}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Ar({type:e}),e.\u0275inj=Tr({imports:[dv]});let t=e;return t})();var hv=["formEl"];function pv(t,e){t&1&&(Z(0,"p",11),_e(1,"Invalid email address entered!"),U())}function gv(t,e){if(t&1&&(Z(0,"p",11),_e(1),U()),t&2){let n=hl();rn(),Cs("Password must be atleast ",n.minPassLength," characters!")}}var ad=(()=>{let e=class e{constructor(){this.minPassLength=5,this.formObj=ll.required("formEl"),this.destroyRef=E(nn),ys(()=>{let r=localStorage.getItem("saved-login-form");if(r){let i=JSON.parse(r).email;setTimeout(()=>{this.formObj().controls.emailField.setValue(i)},1)}let o=this.formObj().valueChanges?.pipe(xo(1e3)).subscribe({next:i=>{localStorage.setItem("saved-login-form",JSON.stringify({email:i.emailField}))}});this.destroyRef.onDestroy(()=>o?.unsubscribe())})}onSubmit(r){r.form.invalid||(console.log("Form Obj(NgForm) : ",r),console.log("formEl.form.controls['emailField'] => ",r.form.controls.emailField),console.log("formEl.form.value['emailField'] => ",r.form.value.emailField),r.form.reset())}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Nr({type:e,selectors:[["app-login"]],viewQuery:function(o,i){o&1&&pl(i.formObj,hv,5),o&2&&gl()},standalone:!0,features:[Zr],decls:19,vars:3,consts:[["formEl","ngForm"],["emailCtrl","ngModel"],["passwordCtrl","ngModel"],[3,"ngSubmit"],[1,"control-row"],[1,"control","no-margin"],["for","email"],["id","email","type","email","name","emailField","ngModel","","required","","email",""],["for","password"],["id","password","type","password","name","passField","ngModel","","required","",3,"minlength"],[1,"button"],[1,"control-error"]],template:function(o,i){if(o&1){let s=fl();Z(0,"form",3,0),Pt("ngSubmit",function(){zu(s);let u=qr(1);return Wu(i.onSubmit(u))}),Z(2,"h2"),_e(3,"Login"),U(),Z(4,"div",4)(5,"div",5)(6,"label",6),_e(7,"Email"),U(),ot(8,"input",7,1),U(),Z(10,"div",5)(11,"label",8),_e(12,"Password"),U(),ot(13,"input",9,2),U(),Z(15,"button",10),_e(16,"Login"),U()(),ms(17,pv,2,0,"p",11)(18,gv,2,1,"p",11),U()}if(o&2){let s=qr(9),a=qr(14);rn(13),vs("minlength",i.minPassLength),rn(4),Ds(s.touched&&s.dirty&&s.invalid?17:-1),rn(),Ds(a.touched&&a.dirty&&a.invalid?18:-1)}},dependencies:[sd,id,ao,Jl,Xl,Bs,$s,Hs,Vs,Ls],styles:[".control-row[_ngcontent-%COMP%]{align-items:flex-end}.control[_ngcontent-%COMP%]{flex:1}button[_ngcontent-%COMP%]{padding:.6rem 1.75rem}"]});let t=e;return t})();var ud=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Nr({type:e,selectors:[["app-root"]],standalone:!0,features:[Zr],decls:5,vars:0,consts:[["src","logo.jpg","alt","A form and a pencil"]],template:function(o,i){o&1&&(Z(0,"header"),ot(1,"img",0),Z(2,"h1"),_e(3,"Angular Forms"),U()(),ot(4,"app-login"))},dependencies:[ad],encapsulation:2});let t=e;return t})();Pl(ud).catch(t=>console.error(t));