-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-TZCYHXTL.js
8 lines (8 loc) · 178 KB
/
main-TZCYHXTL.js
1
2
3
4
5
6
7
8
var Sf=Object.defineProperty,Tf=Object.defineProperties;var Nf=Object.getOwnPropertyDescriptors;var Ta=Object.getOwnPropertySymbols;var xf=Object.prototype.hasOwnProperty,Af=Object.prototype.propertyIsEnumerable;var Na=(e,t,n)=>t in e?Sf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(e,t)=>{for(var n in t||={})xf.call(t,n)&&Na(e,n,t[n]);if(Ta)for(var n of Ta(t))Af.call(t,n)&&Na(e,n,t[n]);return e},R=(e,t)=>Tf(e,Nf(t));function jo(e,t){return Object.is(e,t)}var H=null,Fn=!1,Bo=1,de=Symbol("SIGNAL");function _(e){let t=H;return H=e,t}function xa(){return H}var Qt={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(e){if(Fn)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(Pn(H),t<H.producerNode.length&&H.producerNode[t]!==e&&Yt(H)){let n=H.producerNode[t];kn(n,H.producerIndexOfThis[t])}H.producerNode[t]!==e&&(H.producerNode[t]=e,H.producerIndexOfThis[t]=Yt(H)?Oa(e,H,t):0),H.producerLastReadVersion[t]=e.version}function Ff(){Bo++}function $o(e){if(!(Yt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Bo)){if(!e.producerMustRecompute(e)&&!Go(e)){Vo(e);return}e.producerRecomputeValue(e),Vo(e)}}function Aa(e){if(e.liveConsumerNode===void 0)return;let t=Fn;Fn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Of(n)}finally{Fn=t}}function Fa(){return H?.consumerAllowSignalWrites!==!1}function Of(e){e.dirty=!0,Aa(e),e.consumerMarkedDirty?.(e)}function Vo(e){e.dirty=!1,e.lastCleanEpoch=Bo}function Rn(e){return e&&(e.nextProducerIndex=0),_(e)}function Uo(e,t){if(_(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Yt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)kn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Go(e){Pn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||($o(n),r!==n.version))return!0}return!1}function zo(e){if(Pn(e),Yt(e))for(let t=0;t<e.producerNode.length;t++)kn(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Oa(e,t,n){if(Ra(e),e.liveConsumerNode.length===0&&ka(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Oa(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function kn(e,t){if(Ra(e),e.liveConsumerNode.length===1&&ka(e))for(let r=0;r<e.producerNode.length;r++)kn(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Pn(o),o.producerIndexOfThis[r]=t}}function Yt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Pn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ra(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ka(e){return e.producerNode!==void 0}function Pa(e){let t=Object.create(Rf);t.computation=e;let n=()=>{if($o(t),Ho(t),t.value===On)throw t.error;return t.value};return n[de]=t,n}var Po=Symbol("UNSET"),Lo=Symbol("COMPUTING"),On=Symbol("ERRORED"),Rf=R(A({},Qt),{value:Po,dirty:!0,error:null,equal:jo,producerMustRecompute(e){return e.value===Po||e.value===Lo},producerRecomputeValue(e){if(e.value===Lo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Lo;let n=Rn(e),r;try{r=e.computation()}catch(o){r=On,e.error=o}finally{Uo(e,n)}if(t!==Po&&t!==On&&r!==On&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function kf(){throw new Error}var La=kf;function Va(){La()}function ja(e){La=e}var Pf=null;function Ba(e){let t=Object.create($a);t.value=e;let n=()=>(Ho(t),t.value);return n[de]=t,n}function Wo(e,t){Fa()||Va(),e.equal(e.value,t)||(e.value=t,Lf(e))}function Ha(e,t){Fa()||Va(),Wo(e,t(e.value))}var $a=R(A({},Qt),{equal:jo,value:void 0});function Lf(e){e.version++,Ff(),Aa(e),Pf?.()}function M(e){return typeof e=="function"}function Ln(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Vn=Ln(e=>function(n){e(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 Kt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Y=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;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(M(r))try{r()}catch(i){t=i instanceof Vn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ua(i)}catch(s){t=t??[],s instanceof Vn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Vn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ua(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Kt(n,t)}remove(t){let{_finalizers:n}=this;n&&Kt(n,t),t instanceof e&&t._removeParent(this)}};Y.EMPTY=(()=>{let e=new Y;return e.closed=!0,e})();var qo=Y.EMPTY;function jn(e){return e instanceof Y||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function Ua(e){M(e)?e():e.unsubscribe()}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var gt={setTimeout(e,t,...n){let{delegate:r}=gt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=gt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Bn(e){gt.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function Zo(){}var Ga=Yo("C",void 0,void 0);function za(e){return Yo("E",void 0,e)}function Wa(e){return Yo("N",e,void 0)}function Yo(e,t,n){return{kind:e,value:t,error:n}}var Qe=null;function mt(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!Qe;if(t&&(Qe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Qe;if(Qe=null,n)throw r}}else e()}function qa(e){pe.useDeprecatedSynchronousErrorHandling&&Qe&&(Qe.errorThrown=!0,Qe.error=e)}var Ke=class extends Y{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,jn(t)&&t.add(this)):this.destination=Bf}static create(t,n,r){return new yt(t,n,r)}next(t){this.isStopped?Ko(Wa(t),this):this._next(t)}error(t){this.isStopped?Ko(za(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ko(Ga,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Vf=Function.prototype.bind;function Qo(e,t){return Vf.call(e,t)}var Jo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Hn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Hn(r)}else Hn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Hn(n)}}},yt=class extends Ke{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&pe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Qo(t.next,i),error:t.error&&Qo(t.error,i),complete:t.complete&&Qo(t.complete,i)}):o=t}this.destination=new Jo(o)}};function Hn(e){pe.useDeprecatedSynchronousErrorHandling?qa(e):Bn(e)}function jf(e){throw e}function Ko(e,t){let{onStoppedNotification:n}=pe;n&>.setTimeout(()=>n(e,t))}var Bf={closed:!0,next:Zo,error:jf,complete:Zo};var vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Za(e){return e}function Ya(e){return e.length===0?Za:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var U=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=$f(n)?n:new yt(n,r,o);return mt(()=>{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=Qa(r),new r((o,i)=>{let s=new yt({next:a=>{try{n(a)}catch(c){i(c),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)}[vt](){return this}pipe(...n){return Ya(n)(this)}toPromise(n){return n=Qa(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Qa(e){var t;return(t=e??pe.Promise)!==null&&t!==void 0?t:Promise}function Hf(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function $f(e){return e&&e instanceof Ke||Hf(e)&&jn(e)}function Uf(e){return M(e?.lift)}function Dt(e){return t=>{if(Uf(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ct(e,t,n,r,o){return new Xo(e,t,n,r,o)}var Xo=class extends Ke{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Ka=Ln(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Te=(()=>{class e extends U{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new $n(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ka}next(n){mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){mt(()=>{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(){mt(()=>{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?qo:(this.currentObservers=null,i.push(n),new Y(()=>{this.currentObservers=null,Kt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new U;return n.source=this,n}}return e.create=(t,n)=>new $n(t,n),e})(),$n=class extends Te{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:qo}};var Jt=class extends Te{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function Gf(e){return e[e.length-1]}function Ja(e){return M(Gf(e))?e.pop():void 0}function ec(e,t,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{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Xa(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Je(e){return this instanceof Je?(this.v=e,this):new Je(e)}function tc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),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(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(b){return new Promise(function(L,P){i.push([f,b,L,P])>1||c(f,b)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(b){p(i[0][3],b)}}function u(f){f.value instanceof Je?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function nc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Xa=="function"?Xa(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Un=e=>e&&typeof e.length=="number"&&typeof e!="function";function Gn(e){return M(e?.then)}function zn(e){return M(e[vt])}function Wn(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function qn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function zf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Zn=zf();function Yn(e){return M(e?.[Zn])}function Qn(e){return tc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Je(n.read());if(o)return yield Je(void 0);yield yield Je(r)}}finally{n.releaseLock()}})}function Kn(e){return M(e?.getReader)}function Ve(e){if(e instanceof U)return e;if(e!=null){if(zn(e))return Wf(e);if(Un(e))return qf(e);if(Gn(e))return Zf(e);if(Wn(e))return rc(e);if(Yn(e))return Yf(e);if(Kn(e))return Qf(e)}throw qn(e)}function Wf(e){return new U(t=>{let n=e[vt]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qf(e){return new U(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Zf(e){return new U(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Bn)})}function Yf(e){return new U(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function rc(e){return new U(t=>{Kf(e,t).catch(n=>t.error(n))})}function Qf(e){return rc(Qn(e))}function Kf(e,t){var n,r,o,i;return ec(this,void 0,void 0,function*(){try{for(n=nc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function De(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Jn(e,t=0){return Dt((n,r)=>{n.subscribe(Ct(r,o=>De(r,e,()=>r.next(o),t),()=>De(r,e,()=>r.complete(),t),o=>De(r,e,()=>r.error(o),t)))})}function Xn(e,t=0){return Dt((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function oc(e,t){return Ve(e).pipe(Xn(t),Jn(t))}function ic(e,t){return Ve(e).pipe(Xn(t),Jn(t))}function sc(e,t){return new U(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ac(e,t){return new U(n=>{let r;return De(n,t,()=>{r=e[Zn](),De(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>M(r?.return)&&r.return()})}function er(e,t){if(!e)throw new Error("Iterable cannot be null");return new U(n=>{De(n,t,()=>{let r=e[Symbol.asyncIterator]();De(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function cc(e,t){return er(Qn(e),t)}function uc(e,t){if(e!=null){if(zn(e))return oc(e,t);if(Un(e))return sc(e,t);if(Gn(e))return ic(e,t);if(Wn(e))return er(e,t);if(Yn(e))return ac(e,t);if(Kn(e))return cc(e,t)}throw qn(e)}function ei(e,t){return t?uc(e,t):Ve(e)}function Xe(e,t){return Dt((n,r)=>{let o=0;n.subscribe(Ct(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Jf}=Array;function Xf(e,t){return Jf(t)?e(...t):e(t)}function lc(e){return Xe(t=>Xf(e,t))}var{isArray:ep}=Array,{getPrototypeOf:tp,prototype:np,keys:rp}=Object;function dc(e){if(e.length===1){let t=e[0];if(ep(t))return{args:t,keys:null};if(op(t)){let n=rp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function op(e){return e&&typeof e=="object"&&tp(e)===np}function fc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ti(...e){let t=Ja(e),{args:n,keys:r}=dc(e),o=new U(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;Ve(n[l]).subscribe(Ct(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?fc(r,a):a),i.complete())}))}});return t?o.pipe(lc(t)):o}var sp="https://g.co/ng/security#xss",m=class extends Error{code;constructor(t,n){super(ss(t,n)),this.code=t}};function ss(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function dn(e){return{toString:e}.toString()}var tr="__parameters__";function ap(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Xc(e,t,n){return dn(()=>{let r=ap(t);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(c,u,l){let d=c.hasOwnProperty(tr)?c[tr]:Object.defineProperty(c,tr,{value:[]})[tr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var se=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function cp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(te).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function gi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var up=O({__forward_ref__:O});function dt(e){return e.__forward_ref__=dt,e.toString=function(){return te(this())},e}function Q(e){return eu(e)?e():e}function eu(e){return typeof e=="function"&&e.hasOwnProperty(up)&&e.__forward_ref__===dt}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function W(e){return{providers:e.providers||[],imports:e.imports||[]}}function as(e){return pc(e,tu)||pc(e,nu)}function pc(e,t){return e.hasOwnProperty(t)?e[t]:null}function lp(e){let t=e&&(e[tu]||e[nu]);return t||null}function hc(e){return e&&(e.hasOwnProperty(gc)||e.hasOwnProperty(dp))?e[gc]:null}var tu=O({\u0275prov:O}),gc=O({\u0275inj:O}),nu=O({ngInjectableDef:O}),dp=O({ngInjectorDef:O}),y=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,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 ru(e){return e&&!!e.\u0275providers}var fp=O({\u0275cmp:O}),pp=O({\u0275dir:O}),hp=O({\u0275pipe:O}),gp=O({\u0275mod:O}),lr=O({\u0275fac:O}),tn=O({__NG_ELEMENT_ID__:O}),mc=O({__NG_ENV_ID__:O});function tt(e){return typeof e=="string"?e:e==null?"":String(e)}function mp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():tt(e)}function yp(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new m(-200,e)}function cs(e,t){throw new m(-201,!1)}var C=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(C||{}),mi;function ou(){return mi}function X(e){let t=mi;return mi=e,t}function iu(e,t,n){let r=as(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&C.Optional)return null;if(t!==void 0)return t;cs(e,"Injector")}var vp={},rn=vp,yi="__NG_DI_FLAG__",dr="ngTempTokenPath",Dp="ngTokenPath",Cp=/\n/gm,Ep="\u0275",yc="__source",It;function _p(){return It}function je(e){let t=It;return It=e,t}function wp(e,t=C.Default){if(It===void 0)throw new m(-203,!1);return It===null?iu(e,void 0,t):It.get(e,t&C.Optional?null:void 0,t)}function w(e,t=C.Default){return(ou()||wp)(Q(e),t)}function x(e,t=C.Default){return w(e,jr(t))}function jr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function vi(e){let t=[];for(let n=0;n<e.length;n++){let r=Q(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=C.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Ip(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(w(o,i))}else t.push(w(r))}return t}function su(e,t){return e[yi]=t,e.prototype[yi]=t,e}function Ip(e){return e[yi]}function bp(e,t,n,r){let o=e[dr];throw t[yc]&&o.unshift(t[yc]),e.message=Mp(`
`+e.message,o,n,r),e[Dp]=o,e[dr]=null,e}function Mp(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==Ep?e.slice(2):e;let o=te(t);if(Array.isArray(t))o=t.map(te).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Cp,`
`)}`}var au=su(Xc("Optional"),8);var Sp=su(Xc("SkipSelf"),4);function rt(e,t){let n=e.hasOwnProperty(lr);return n?e[lr]:null}function us(e,t){e.forEach(n=>Array.isArray(n)?us(n,t):t(n))}function cu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function fr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Tp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Br(e,t,n){let r=fn(e,t);return r>=0?e[r|1]=n:(r=~r,Tp(e,r,t,n)),r}function ni(e,t){let n=fn(e,t);if(n>=0)return e[n|1]}function fn(e,t){return Np(e,t,1)}function Np(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Mt={},ee=[],on=new y(""),uu=new y("",-1),lu=new y(""),pr=class{get(t,n=rn){if(n===rn){let r=new Error(`NullInjectorError: No provider for ${te(t)}!`);throw r.name="NullInjectorError",r}return n}};function xp(e,t){let n=e[gp]||null;if(!n&&t===!0)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}function St(e){return e[fp]||null}function du(e){return e[pp]||null}function fu(e){return e[hp]||null}function Ap(e){let t=St(e)||du(e)||fu(e);return t!==null?t.standalone:!1}function Fp(...e){return{\u0275providers:pu(!0,e),\u0275fromNgModule:!0}}function pu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return us(t,s=>{let a=s;Di(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&hu(o,i),n}function hu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ls(o,i=>{t(i,r)})}}function Di(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=hc(e),s=!i&&St(e);if(!i&&!s){let c=e.ngModule;if(i=hc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Di(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{us(i.imports,l=>{Di(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&hu(u,t)}if(!a){let u=rt(o)||(()=>new o);t({provide:o,useFactory:u,deps:ee},o),t({provide:lu,useValue:o,multi:!0},o),t({provide:on,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ls(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ls(e,t){for(let n of e)ru(n)&&(n=n.\u0275providers),Array.isArray(n)?ls(n,t):t(n)}var Op=O({provide:String,useValue:O});function gu(e){return e!==null&&typeof e=="object"&&Op in e}function Rp(e){return!!(e&&e.useExisting)}function kp(e){return!!(e&&e.useFactory)}function Tt(e){return typeof e=="function"}function Pp(e){return!!e.useClass}var Hr=new y(""),sr={},Lp={},ri;function ds(){return ri===void 0&&(ri=new pr),ri}var $e=class{},sn=class extends $e{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ei(t,s=>this.processProvider(s)),this.records.set(uu,Et(void 0,this)),o.has("environment")&&this.records.set($e,Et(void 0,this));let i=this.records.get(Hr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(lu,ee,C.Self))}destroy(){Xt(this),this._destroyed=!0;let t=_(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(),_(t)}}onDestroy(t){return Xt(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Xt(this);let n=je(this),r=X(void 0),o;try{return t()}finally{je(n),X(r)}}get(t,n=rn,r=C.Default){if(Xt(this),t.hasOwnProperty(mc))return t[mc](this);r=jr(r);let o,i=je(this),s=X(void 0);try{if(!(r&C.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=$p(t)&&as(t);u&&this.injectableDefInScope(u)?c=Et(Ci(t),sr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&C.Self?ds():this.parent;return n=r&C.Optional&&n===rn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[dr]=a[dr]||[]).unshift(te(t)),i)throw a;return bp(a,t,"R3InjectorError",this.source)}else throw a}finally{X(s),je(i)}}resolveInjectorInitializers(){let t=_(null),n=je(this),r=X(void 0),o;try{let i=this.get(on,ee,C.Self);for(let s of i)s()}finally{je(n),X(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(te(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Q(t);let n=Tt(t)?t:Q(t&&t.provide),r=jp(t);if(!Tt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Et(void 0,sr,!0),o.factory=()=>vi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===sr&&(n.value=Lp,n.value=n.factory()),typeof n.value=="object"&&n.value&&Hp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ci(e){let t=as(e),n=t!==null?t.factory:rt(e);if(n!==null)return n;if(e instanceof y)throw new m(204,!1);if(e instanceof Function)return Vp(e);throw new m(204,!1)}function Vp(e){if(e.length>0)throw new m(204,!1);let n=lp(e);return n!==null?()=>n.factory(e):()=>new e}function jp(e){if(gu(e))return Et(void 0,e.useValue);{let t=mu(e);return Et(t,sr)}}function mu(e,t,n){let r;if(Tt(e)){let o=Q(e);return rt(o)||Ci(o)}else if(gu(e))r=()=>Q(e.useValue);else if(kp(e))r=()=>e.useFactory(...vi(e.deps||[]));else if(Rp(e))r=()=>w(Q(e.useExisting));else{let o=Q(e&&(e.useClass||e.provide));if(Bp(e))r=()=>new o(...vi(e.deps));else return rt(o)||Ci(o)}return r}function Xt(e){if(e.destroyed)throw new m(205,!1)}function Et(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Bp(e){return!!e.deps}function Hp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function $p(e){return typeof e=="function"||typeof e=="object"&&e instanceof y}function Ei(e,t){for(let n of e)Array.isArray(n)?Ei(n,t):n&&ru(n)?Ei(n.\u0275providers,t):t(n)}function yu(e,t){e instanceof sn&&Xt(e);let n,r=je(e),o=X(void 0);try{return t()}finally{je(r),X(o)}}function Up(){return ou()!==void 0||_p()!=null}function Gp(e){let t=se.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function zp(e){return typeof e=="function"}var Fe=0,D=1,g=2,K=3,ge=4,ye=5,hr=6,gr=7,me=8,Nt=9,Ue=10,V=11,an=12,vc=13,Lt=14,_e=15,xt=16,_t=17,At=18,$r=19,vu=20,Be=21,oi=22,mr=23,ae=24,we=25,Du=1;var ot=7,yr=8,vr=9,fe=10,Dr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Dr||{});function He(e){return Array.isArray(e)&&typeof e[Du]=="object"}function Oe(e){return Array.isArray(e)&&e[Du]===!0}function Cu(e){return(e.flags&4)!==0}function Ur(e){return e.componentOffset>-1}function fs(e){return(e.flags&1)===1}function Ge(e){return!!e.template}function _i(e){return(e[g]&512)!==0}var wi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Eu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ps=(()=>{let e=()=>_u;return e.ngInherit=!0,e})();function _u(e){return e.type.prototype.ngOnChanges&&(e.setInput=qp),Wp}function Wp(){let e=Iu(this),t=e?.current;if(t){let n=e.previous;if(n===Mt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qp(e,t,n,r,o){let i=this.declaredInputs[r],s=Iu(e)||Zp(e,{previous:Mt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new wi(u&&u.currentValue,n,c===Mt),Eu(e,t,o,n)}var wu="__ngSimpleChanges__";function Iu(e){return e[wu]||null}function Zp(e,t){return e[wu]=t}var Dc=null;var Ce=function(e,t,n){Dc?.(e,t,n)},Yp="svg",Qp="math";function Ie(e){for(;Array.isArray(e);)e=e[Fe];return e}function bu(e,t){return Ie(t[e])}function ve(e,t){return Ie(t[e.index])}function Mu(e,t){return e.data[t]}function Kp(e,t){return e[t]}function Ze(e,t){let n=t[e];return He(n)?n:n[Fe]}function hs(e){return(e[g]&128)===128}function Jp(e){return Oe(e[K])}function Cr(e,t){return t==null?null:e[t]}function Su(e){e[_t]=0}function gs(e){e[g]&1024||(e[g]|=1024,hs(e)&&zr(e))}function Xp(e,t){for(;e>0;)t=t[Lt],e--;return t}function Gr(e){return!!(e[g]&9216||e[ae]?.dirty)}function Ii(e){e[Ue].changeDetectionScheduler?.notify(9),e[g]&64&&(e[g]|=1024),Gr(e)&&zr(e)}function zr(e){e[Ue].changeDetectionScheduler?.notify(0);let t=it(e);for(;t!==null&&!(t[g]&8192||(t[g]|=8192,!hs(t)));)t=it(t)}function Tu(e,t){if((e[g]&256)===256)throw new m(911,!1);e[Be]===null&&(e[Be]=[]),e[Be].push(t)}function eh(e,t){if(e[Be]===null)return;let n=e[Be].indexOf(t);n!==-1&&e[Be].splice(n,1)}function it(e){let t=e[K];return Oe(t)?t[K]:t}var v={lFrame:Bu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var bi=!1;function th(){return v.lFrame.elementDepthCount}function nh(){v.lFrame.elementDepthCount++}function rh(){v.lFrame.elementDepthCount--}function Nu(){return v.bindingsEnabled}function oh(){return v.skipHydrationRootTNode!==null}function ih(e){return v.skipHydrationRootTNode===e}function sh(){v.skipHydrationRootTNode=null}function S(){return v.lFrame.lView}function J(){return v.lFrame.tView}function xu(e){return v.lFrame.contextLView=e,e[me]}function Au(e){return v.lFrame.contextLView=null,e}function ne(){let e=Fu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Fu(){return v.lFrame.currentTNode}function ah(){let e=v.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function pn(e,t){let n=v.lFrame;n.currentTNode=e,n.isParent=t}function Ou(){return v.lFrame.isParent}function ch(){v.lFrame.isParent=!1}function Ru(){return bi}function Cc(e){let t=bi;return bi=e,t}function ku(){let e=v.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Pu(){return v.lFrame.bindingIndex}function uh(e){return v.lFrame.bindingIndex=e}function ms(){return v.lFrame.bindingIndex++}function Wr(e){let t=v.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function lh(){return v.lFrame.inI18n}function dh(e,t){let n=v.lFrame;n.bindingIndex=n.bindingRootIndex=e,Mi(t)}function fh(){return v.lFrame.currentDirectiveIndex}function Mi(e){v.lFrame.currentDirectiveIndex=e}function ph(e){let t=v.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Lu(e){v.lFrame.currentQueryIndex=e}function hh(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[ye]:null}function Vu(e,t,n){if(n&C.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&C.Host);)if(o=hh(i),o===null||(i=i[Lt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=v.lFrame=ju();return r.currentTNode=t,r.lView=e,!0}function ys(e){let t=ju(),n=e[D];v.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ju(){let e=v.lFrame,t=e===null?null:e.child;return t===null?Bu(e):t}function Bu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Hu(){let e=v.lFrame;return v.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var $u=Hu;function vs(){let e=Hu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function gh(e){return(v.lFrame.contextLView=Xp(e,v.lFrame.contextLView))[me]}function Re(){return v.lFrame.selectedIndex}function st(e){v.lFrame.selectedIndex=e}function Ds(){let e=v.lFrame;return Mu(e.tView,e.selectedIndex)}function mh(){return v.lFrame.currentNamespace}var Uu=!0;function Cs(){return Uu}function Es(e){Uu=e}function yh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=_u(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function _s(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function ar(e,t,n){Gu(e,t,3,n)}function cr(e,t,n,r){(e[g]&3)===n&&Gu(e,t,n,r)}function ii(e,t){let n=e[g];(n&3)===t&&(n&=16383,n+=1,e[g]=n)}function Gu(e,t,n,r){let o=r!==void 0?e[_t]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[_t]+=65536),(a<i||i==-1)&&(vh(e,n,t,c),e[_t]=(e[_t]&4294901760)+c+2),c++}function Ec(e,t){Ce(4,e,t);let n=_(null);try{t.call(e)}finally{_(n),Ce(5,e,t)}}function vh(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[g]>>14<e[_t]>>16&&(e[g]&3)===t&&(e[g]+=16384,Ec(a,i)):Ec(a,i)}var bt=-1,at=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Dh(e){return e instanceof at}function Ch(e){return(e.flags&8)!==0}function Eh(e){return(e.flags&16)!==0}function Si(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];wh(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function _h(e){return e===3||e===4||e===6}function wh(e){return e.charCodeAt(0)===64}function cn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?_c(e,n,o,null,t[++r]):_c(e,n,o,null,null))}}return e}function _c(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var si={},Ti=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=jr(r);let o=this.injector.get(t,si,r);return o!==si||n===si?o:this.parentInjector.get(t,n,r)}};function zu(e){return e!==bt}function Er(e){return e&32767}function Ih(e){return e>>16}function _r(e,t){let n=Ih(e),r=t;for(;n>0;)r=r[Lt],n--;return r}var Ni=!0;function wr(e){let t=Ni;return Ni=e,t}var bh=256,Wu=bh-1,qu=5,Mh=0,Ee={};function Sh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(tn)&&(r=n[tn]),r==null&&(r=n[tn]=Mh++);let o=r&Wu,i=1<<o;t.data[e+(o>>qu)]|=i}function Ir(e,t){let n=Zu(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,ai(r.data,e),ai(t,null),ai(r.blueprint,null));let o=ws(e,t),i=e.injectorIndex;if(zu(o)){let s=Er(o),a=_r(o,t),c=a[D].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ws(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Xu(o),r===null)return bt;if(n++,o=o[Lt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return bt}function xi(e,t,n){Sh(e,t,n)}function Yu(e,t,n){if(n&C.Optional||e!==void 0)return e;cs(t,"NodeInjector")}function Qu(e,t,n,r){if(n&C.Optional&&r===void 0&&(r=null),!(n&(C.Self|C.Host))){let o=e[Nt],i=X(void 0);try{return o?o.get(t,r,n&C.Optional):iu(t,r,n&C.Optional)}finally{X(i)}}return Yu(r,t,n)}function Ku(e,t,n,r=C.Default,o){if(e!==null){if(t[g]&2048&&!(r&C.Self)){let s=Fh(e,t,n,r,Ee);if(s!==Ee)return s}let i=Ju(e,t,n,r,Ee);if(i!==Ee)return i}return Qu(t,n,r,o)}function Ju(e,t,n,r,o){let i=xh(n);if(typeof i=="function"){if(!Vu(t,e,r))return r&C.Host?Yu(o,n,r):Qu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&C.Optional))cs(n);else return s}finally{$u()}}else if(typeof i=="number"){let s=null,a=Zu(e,t),c=bt,u=r&C.Host?t[_e][ye]:null;for((a===-1||r&C.SkipSelf)&&(c=a===-1?ws(e,t):t[a+8],c===bt||!Ic(r,!1)?a=-1:(s=t[D],a=Er(c),t=_r(c,t)));a!==-1;){let l=t[D];if(wc(i,a,l.data)){let d=Th(a,t,n,s,r,u);if(d!==Ee)return d}c=t[a+8],c!==bt&&Ic(r,t[D].data[a+8]===u)&&wc(i,a,t)?(s=l,a=Er(c),t=_r(c,t)):a=-1}}return o}function Th(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?Ur(a)&&Ni:r!=s&&(a.type&3)!==0,u=o&C.Host&&i===a,l=Nh(a,s,n,c,u);return l!==null?Ft(t,s,l,a):Ee}function Nh(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Ge(f)&&f.type===n)return c}return null}function Ft(e,t,n,r){let o=e[n],i=t.data;if(Dh(o)){let s=o;s.resolving&&yp(mp(i[n]));let a=wr(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?X(s.injectImpl):null,l=Vu(e,r,C.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&yh(n,i[n],t)}finally{u!==null&&X(u),wr(a),s.resolving=!1,$u()}}return o}function xh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(tn)?e[tn]:void 0;return typeof t=="number"?t>=0?t&Wu:Ah:t}function wc(e,t,n){let r=1<<e;return!!(n[t+(e>>qu)]&r)}function Ic(e,t){return!(e&C.Self)&&!(e&C.Host&&t)}var nt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ku(this._tNode,this._lView,t,jr(r),n)}};function Ah(){return new nt(ne(),S())}function Is(e){return dn(()=>{let t=e.prototype.constructor,n=t[lr]||Ai(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[lr]||Ai(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ai(e){return eu(e)?()=>{let t=Ai(Q(e));return t&&t()}:rt(e)}function Fh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[g]&2048&&!(s[g]&512);){let a=Ju(i,s,n,r|C.Self,Ee);if(a!==Ee)return a;let c=i.parent;if(!c){let u=s[vu];if(u){let l=u.get(n,Ee,r);if(l!==Ee)return l}c=Xu(s),s=s[Lt]}i=c}return o}function Xu(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[ye]:null}function bc(e,t=null,n=null,r){let o=el(e,t,n,r);return o.resolveInjectorInitializers(),o}function el(e,t=null,n=null,r,o=new Set){let i=[n||ee,Fp(e)];return r=r||(typeof e=="object"?void 0:te(e)),new sn(i,t||ds(),r||null,o)}var Ne=class e{static THROW_IF_NOT_FOUND=rn;static NULL=new pr;static create(t,n){if(Array.isArray(t))return bc({name:""},n,t,"");{let r=t.name??"";return bc({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>w(uu)});static __NG_ELEMENT_ID__=-1};var Oh=new y("");Oh.__NG_ELEMENT_ID__=e=>{let t=ne();if(t===null)throw new m(204,!1);if(t.type&2)return t.value;if(e&C.Optional)return null;throw new m(204,!1)};var tl=!1,nl=(()=>{class e{static __NG_ELEMENT_ID__=Rh;static __NG_ENV_ID__=n=>n}return e})(),Fi=class extends nl{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Tu(this._lView,t),()=>eh(this._lView,t)}};function Rh(){return new Fi(S())}var un=class{},bs=new y("",{providedIn:"root",factory:()=>!1});var rl=new y(""),ol=new y(""),qr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Jt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();var Oi=class extends Te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Up()&&(this.destroyRef=x(nl,{optional:!0})??void 0,this.pendingTasks=x(qr,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Y&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},G=Oi;function br(...e){}function il(e){let t,n;function r(){e=br;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Mc(e){return queueMicrotask(()=>e()),()=>{e=br}}var Ms="isAngularZone",Mr=Ms+"_ID",kh=0,k=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new G(!1);onMicrotaskEmpty=new G(!1);onStable=new G(!1);onError=new G(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=tl}=t;if(typeof Zone>"u")throw new m(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(Ms)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Ph,br,br);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Ph={};function Ss(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Lh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){il(()=>{e.callbackScheduled=!1,Ri(e),e.isCheckStableRunning=!0,Ss(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ri(e)}function Vh(e){let t=()=>{Lh(e)},n=kh++;e._inner=e._inner.fork({name:"angular",properties:{[Ms]:!0,[Mr]:n,[Mr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(jh(c))return r.invokeTask(i,s,a,c);try{return Sc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Tc(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Sc(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Bh(c)&&t(),Tc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ri(e),Ss(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ri(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Sc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tc(e){e._nesting--,Ss(e)}var Sr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new G;onMicrotaskEmpty=new G;onStable=new G;onError=new G;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function jh(e){return sl(e,"__ignore_ng_zone__")}function Bh(e){return sl(e,"__scheduler_tick__")}function sl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function Hh(e="zone.js",t){return e==="noop"?new Sr:e==="zone.js"?new k(t):e}var ze=class{_console=console;handleError(t){this._console.error("ERROR",t)}},$h=new y("",{providedIn:"root",factory:()=>{let e=x(k),t=x(ze);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Uh(){return Zr(ne(),S())}function Zr(e,t){return new ft(ve(e,t))}var ft=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Uh}return e})();function al(e){return(e.flags&128)===128}var cl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(cl||{}),ul=new Map,Gh=0;function zh(){return Gh++}function Wh(e){ul.set(e[$r],e)}function ki(e){ul.delete(e[$r])}var Nc="__ngContext__";function ct(e,t){He(t)?(e[Nc]=t[$r],Wh(t)):e[Nc]=t}function ll(e){return fl(e[an])}function dl(e){return fl(e[ge])}function fl(e){for(;e!==null&&!Oe(e);)e=e[ge];return e}var Pi;function pl(e){Pi=e}function qh(){if(Pi!==void 0)return Pi;if(typeof document<"u")return document;throw new m(210,!1)}var Ts=new y("",{providedIn:"root",factory:()=>Zh}),Zh="ng",Ns=new y(""),Vt=new y("",{providedIn:"platform",factory:()=>"unknown"});var xs=new y("",{providedIn:"root",factory:()=>qh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Yh="h",Qh="b";var hl=!1,Kh=new y("",{providedIn:"root",factory:()=>hl});var xc=new Set;function Yr(e){xc.has(e)||(xc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Jh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();var Xh=()=>null;function As(e,t,n=!1){return Xh(e,t,n)}var be=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(be||{});var Li=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${sp})`}};function hn(e){return e instanceof Li?e.changingThisBreaksApplicationSecurity:e}function eg(e){return e instanceof Function?e():e}var We=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(We||{}),xe=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(xe||{}),tg;function Fs(e,t){return tg(e,t)}function wt(e,t,n,r,o){if(r!=null){let i,s=!1;Oe(r)?i=r:He(r)&&(s=!0,r=r[Fe]);let a=Ie(r);e===0&&n!==null?o==null?Dl(t,n,a):Tr(t,n,a,o||null,!0):e===1&&n!==null?Tr(t,n,a,o||null,!0):e===2?mg(t,a,s):e===3&&t.destroyNode(a),i!=null&&vg(t,e,i,n,o)}}function ng(e,t){return e.createText(t)}function rg(e,t,n){e.setValue(t,n)}function gl(e,t,n){return e.createElement(t,n)}function og(e,t){ml(e,t),t[Fe]=null,t[ye]=null}function ig(e,t,n,r,o,i){r[Fe]=o,r[ye]=t,Qr(e,r,n,1,o,i)}function ml(e,t){t[Ue].changeDetectionScheduler?.notify(10),Qr(e,t,t[V],2,null,null)}function sg(e){let t=e[an];if(!t)return ci(e[D],e);for(;t;){let n=null;if(He(t))n=t[an];else{let r=t[fe];r&&(n=r)}if(!n){for(;t&&!t[ge]&&t!==e;)He(t)&&ci(t[D],t),t=t[K];t===null&&(t=e),He(t)&&ci(t[D],t),n=t&&t[ge]}t=n}}function ag(e,t,n,r){let o=fe+r,i=n.length;r>0&&(n[o-1][ge]=t),r<i-fe?(t[ge]=n[o],cu(n,fe+r,t)):(n.push(t),t[ge]=null),t[K]=n;let s=t[xt];s!==null&&n!==s&&yl(s,t);let a=t[At];a!==null&&a.insertView(e),Ii(t),t[g]|=128}function yl(e,t){let n=e[vr],r=t[K];if(He(r))e[g]|=Dr.HasTransplantedViews;else{let o=r[K][_e];t[_e]!==o&&(e[g]|=Dr.HasTransplantedViews)}n===null?e[vr]=[t]:n.push(t)}function Os(e,t){let n=e[vr],r=n.indexOf(t);n.splice(r,1)}function Vi(e,t){if(e.length<=fe)return;let n=fe+t,r=e[n];if(r){let o=r[xt];o!==null&&o!==e&&Os(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=fr(e,fe+t);og(r[D],r);let s=i[At];s!==null&&s.detachView(i[D]),r[K]=null,r[ge]=null,r[g]&=-129}return r}function vl(e,t){if(!(t[g]&256)){let n=t[V];n.destroyNode&&Qr(e,t,n,3,null,null),sg(t)}}function ci(e,t){if(t[g]&256)return;let n=_(null);try{t[g]&=-129,t[g]|=256,t[ae]&&zo(t[ae]),ug(e,t),cg(e,t),t[D].type===1&&t[V].destroy();let r=t[xt];if(r!==null&&Oe(t[K])){r!==t[K]&&Os(r,t);let o=t[At];o!==null&&o.detachView(e)}ki(t)}finally{_(n)}}function cg(e,t){let n=e.cleanup,r=t[gr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[gr]=null);let o=t[Be];if(o!==null){t[Be]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[mr];if(i!==null){t[mr]=null;for(let s of i)s.destroy()}}function ug(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof at)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Ce(4,a,c);try{c.call(a)}finally{Ce(5,a,c)}}else{Ce(4,o,i);try{i.call(o)}finally{Ce(5,o,i)}}}}}function lg(e,t,n){return dg(e,t.parent,n)}function dg(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Fe];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===be.None||i===be.Emulated)return null}return ve(r,n)}}function Tr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Dl(e,t,n){e.appendChild(t,n)}function Ac(e,t,n,r,o){r!==null?Tr(e,t,n,r,o):Dl(e,t,n)}function Cl(e,t){return e.parentNode(t)}function fg(e,t){return e.nextSibling(t)}function pg(e,t,n){return gg(e,t,n)}function hg(e,t,n){return e.type&40?ve(e,n):null}var gg=hg,Fc;function Rs(e,t,n,r){let o=lg(e,r,t),i=t[V],s=r.parent||t[ye],a=pg(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ac(i,o,n[c],a,!1);else Ac(i,o,n,a,!1);Fc!==void 0&&Fc(i,r,t,n,o)}function en(e,t){if(t!==null){let n=t.type;if(n&3)return ve(t,e);if(n&4)return ji(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return en(e,r);{let o=e[t.index];return Oe(o)?ji(-1,o):Ie(o)}}else{if(n&128)return en(e,t.next);if(n&32)return Fs(t,e)()||Ie(e[t.index]);{let r=El(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=it(e[_e]);return en(o,r)}else return en(e,t.next)}}}return null}function El(e,t){if(t!==null){let r=e[_e][ye],o=t.projection;return r.projection[o]}return null}function ji(e,t){let n=fe+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return en(r,o)}return t[ot]}function mg(e,t,n){e.removeChild(null,t,n)}function ks(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&ct(Ie(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)ks(e,t,n.child,r,o,i,!1),wt(t,e,o,a,i);else if(c&32){let u=Fs(n,r),l;for(;l=u();)wt(t,e,o,l,i);wt(t,e,o,a,i)}else c&16?yg(e,t,r,n,o,i):wt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Qr(e,t,n,r,o,i){ks(n,r,e.firstChild,t,o,i,!1)}function yg(e,t,n,r,o,i){let s=n[_e],c=s[ye].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];wt(t,e,o,l,i)}else{let u=c,l=s[K];al(r)&&(u.flags|=128),ks(e,t,u,l,o,i,!0)}}function vg(e,t,n,r,o){let i=n[ot],s=Ie(n);i!==s&&wt(t,e,r,i,o);for(let a=fe;a<n.length;a++){let c=n[a];Qr(c[D],c,e,t,r,i)}}function Dg(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:xe.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=xe.Important),e.setStyle(n,r,o,i))}}function Cg(e,t,n){e.setAttribute(t,"style",n)}function _l(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function wl(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Si(e,t,r),o!==null&&_l(e,t,o),i!==null&&Cg(e,t,i)}function Eg(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Il="ng-template";function _g(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Eg(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ps(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ps(e){return e.type===4&&e.value!==Il}function wg(e,t,n){let r=e.type===4&&!n?Il:e.value;return t===r}function Ig(e,t,n){let r=4,o=e.attrs,i=o!==null?Sg(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!he(r)&&!he(c))return!1;if(s&&he(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!wg(e,c,n)||c===""&&t.length===1){if(he(r))return!1;s=!0}}else if(r&8){if(o===null||!_g(e,o,c,n)){if(he(r))return!1;s=!0}}else{let u=t[++a],l=bg(c,o,Ps(e),n);if(l===-1){if(he(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(he(r))return!1;s=!0}}}}return he(r)||s}function he(e){return(e&1)===0}function bg(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Tg(t,e)}function Mg(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ig(e,t[r],n))return!0;return!1}function Sg(e){for(let t=0;t<e.length;t++){let n=e[t];if(_h(n))return t}return e.length}function Tg(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Oc(e,t){return e?":not("+t.trim()+")":t}function Ng(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!he(s)&&(t+=Oc(i,o),o=""),r=s,i=i||!he(r);n++}return o!==""&&(t+=Oc(i,o)),t}function xg(e){return e.map(Ng).join(",")}function Ag(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!he(o))break;o=i}r++}return{attrs:t,classes:n}}var re={};function oe(e=1){bl(J(),S(),Re()+e,!1)}function bl(e,t,n,r){if(!r)if((t[g]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ar(t,i,n)}else{let i=e.preOrderHooks;i!==null&&cr(t,i,0,n)}st(n)}function T(e,t=C.Default){let n=S();if(n===null)return w(e,t);let r=ne();return Ku(r,n,Q(e),t)}function Ml(e,t,n,r,o,i){let s=_(null);try{let a=null;o&We.SignalBased&&(a=t[r][de]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&We.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Eu(t,a,r,i)}finally{_(s)}}function Fg(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)st(~o);else{let i=o,s=n[++r],a=n[++r];dh(s,i);let c=t[i];a(2,c)}}}finally{st(-1)}}function Kr(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Fe]=o,d[g]=r|4|128|8|64|1024,(u!==null||e&&e[g]&2048)&&(d[g]|=2048),Su(d),d[K]=d[Lt]=e,d[me]=n,d[Ue]=s||e&&e[Ue],d[V]=a||e&&e[V],d[Nt]=c||e&&e[Nt]||null,d[ye]=i,d[$r]=zh(),d[hr]=l,d[vu]=u,d[_e]=t.type==2?e[_e]:d,d}function Jr(e,t,n,r,o){let i=e.data[t];if(i===null)i=Og(e,t,n,r,o),lh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=ah();i.injectorIndex=s===null?-1:s.injectorIndex}return pn(i,!0),i}function Og(e,t,n,r,o){let i=Fu(),s=Ou(),a=s?i:i&&i.parent,c=e.data[t]=Vg(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Sl(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Tl(e,t,n,r,o){let i=Re(),s=r&2;try{st(-1),s&&t.length>we&&bl(e,t,we,!1),Ce(s?2:0,o),n(r,o)}finally{st(i),Ce(s?3:1,o)}}function Nl(e,t,n){if(Cu(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{_(r)}}}function xl(e,t,n){Nu()&&(Gg(e,t,n,ve(n,t)),(n.flags&64)===64&&kl(e,t,n))}function Al(e,t,n=ve){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Fl(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ls(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ls(e,t,n,r,o,i,s,a,c,u,l){let d=we+r,p=d+o,f=Rg(d,p),h=typeof u=="function"?u():u;return f[D]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function Rg(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:re);return n}function kg(e,t,n,r){let i=r.get(Kh,hl)||n===be.ShadowDom,s=e.selectRootElement(t,i);return Pg(s),s}function Pg(e){Lg(e)}var Lg=()=>null;function Vg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return oh()&&(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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Rc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=We.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?kc(r,n,u,a,c):kc(r,n,u,a)}return r}function kc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function jg(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=Rc(0,d.inputs,l,c,f),u=Rc(1,d.outputs,l,u,h);let b=c!==null&&s!==null&&!Ps(t)?Xg(c,l,s):null;a.push(b)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function Bg(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Vs(e,t,n,r,o,i,s,a){let c=ve(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(js(e,n,l,r,o),Ur(t)&&Hg(n,t.index)):t.type&3?(r=Bg(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Hg(e,t){let n=Ze(t,e);n[g]&16||(n[g]|=64)}function Ol(e,t,n,r){if(Nu()){let o=r===null?null:{"":-1},i=Wg(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Rl(e,t,n,s,o,a),o&&qg(n,r,o)}n.mergedAttrs=cn(n.mergedAttrs,n.attrs)}function Rl(e,t,n,r,o,i){for(let u=0;u<r.length;u++)xi(Ir(n,t),e,r[u].type);Yg(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=Sl(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=cn(n.mergedAttrs,l.hostAttrs),Qg(e,n,t,c,l),Zg(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}jg(e,n,i)}function $g(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Ug(s)!=a&&s.push(a),s.push(n,r,i)}}function Ug(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Gg(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Ur(n)&&Kg(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ir(n,t),ct(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=Ft(t,e,a,n);if(ct(u,t),s!==null&&Jg(t,a-o,u,c,n,s),Ge(c)){let l=Ze(n.index,t);l[me]=Ft(t,e,a,n)}}}function kl(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=fh();try{st(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Mi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&zg(c,u)}}finally{st(-1),Mi(s)}}function zg(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Wg(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Mg(t,s.selectors,!1))if(r||(r=[]),Ge(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;Bi(e,t,c)}else r.unshift(s),Bi(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Bi(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function qg(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}}function Zg(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ge(t)&&(n[""]=e)}}function Yg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Qg(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=rt(o.type,!0)),s=new at(i,Ge(o),T);e.blueprint[r]=s,n[r]=s,$g(e,t,r,Sl(e,n,o.hostVars,re),o)}function Pl(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Kg(e,t,n){let r=ve(t,e),o=Fl(n),i=e[Ue].rendererFactory,s=Xr(e,Kr(e,o,null,Pl(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function Jg(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Ml(r,n,c,u,l,d)}}function Xg(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Ll(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Vl(e,t){let n=e.contentQueries;if(n!==null){let r=_(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Lu(i),a.contentQueries(2,t[s],s)}}}finally{_(r)}}}function Xr(e,t){return e[an]?e[vc][ge]=t:e[an]=t,e[vc]=t,t}function Hi(e,t,n){Lu(0);let r=_(null);try{t(e,n)}finally{_(r)}}function em(e){return e[gr]??=[]}function tm(e){return e.cleanup??=[]}function jl(e,t){let n=e[Nt],r=n?n.get(ze,null):null;r&&r.handleError(t)}function js(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=t[s],l=e.data[s];Ml(l,u,r,a,c,o)}}function Bs(e,t,n){let r=bu(t,e);rg(e[V],r,n)}function nm(e,t){let n=Ze(t,e),r=n[D];rm(r,n);let o=n[Fe];o!==null&&n[hr]===null&&(n[hr]=As(o,n[Nt])),Hs(r,n,n[me])}function rm(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Hs(e,t,n){ys(t);try{let r=e.viewQuery;r!==null&&Hi(1,r,n);let o=e.template;o!==null&&Tl(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[At]?.finishViewCreation(e),e.staticContentQueries&&Vl(e,t),e.staticViewQueries&&Hi(2,e.viewQuery,n);let i=e.components;i!==null&&om(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[g]&=-5,vs()}}function om(e,t){for(let n=0;n<t.length;n++)nm(e,t[n])}function im(e,t,n,r){let o=_(null);try{let i=t.tView,a=e[g]&4096?4096:16,c=Kr(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[xt]=u;let l=e[At];return l!==null&&(c[At]=l.createEmbeddedView(i)),Hs(i,c,n),c}finally{_(o)}}function Pc(e,t){return!t||t.firstChild===null||al(e)}function sm(e,t,n,r=!0){let o=t[D];if(ag(o,t,e,n),r){let s=ji(n,e),a=t[V],c=Cl(a,e[ot]);c!==null&&ig(o,e[ye],a,t,c,s)}let i=t[hr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Nr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Ie(i)),Oe(i)&&am(i,r);let s=n.type;if(s&8)Nr(e,t,n.child,r);else if(s&32){let a=Fs(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=El(t,n);if(Array.isArray(a))r.push(...a);else{let c=it(t[_e]);Nr(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function am(e,t){for(let n=fe;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&Nr(r[D],r,o,t)}e[ot]!==e[Fe]&&t.push(e[ot])}var Bl=[];function cm(e){return e[ae]??um(e)}function um(e){let t=Bl.pop()??Object.create(dm);return t.lView=e,t}function lm(e){e.lView[ae]!==e&&(e.lView=null,Bl.push(e))}var dm=R(A({},Qt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{zr(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function fm(e){let t=e[ae]??Object.create(pm);return t.lView=e,t}var pm=R(A({},Qt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=it(e.lView);for(;t&&!Hl(t[D]);)t=it(t);t&&gs(t)},consumerOnSignalRead(){this.lView[ae]=this}});function Hl(e){return e.type!==2}function $l(e){if(e[mr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[mr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[g]&8192)}}var hm=100;function Ul(e,t=!0,n=0){let o=e[Ue].rendererFactory,i=!1;i||o.begin?.();try{gm(e,n)}catch(s){throw t&&jl(e,s),s}finally{i||o.end?.()}}function gm(e,t){let n=Ru();try{Cc(!0),$i(e,t);let r=0;for(;Gr(e);){if(r===hm)throw new m(103,!1);r++,$i(e,1)}}finally{Cc(n)}}function mm(e,t,n,r){let o=t[g];if((o&256)===256)return;let i=!1,s=!1;ys(t);let a=!0,c=null,u=null;i||(Hl(e)?(u=cm(t),c=Rn(u)):xa()===null?(a=!1,u=fm(t),c=Rn(u)):t[ae]&&(zo(t[ae]),t[ae]=null));try{Su(t),uh(e.bindingStartIndex),n!==null&&Tl(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ar(t,f,null)}else{let f=e.preOrderHooks;f!==null&&cr(t,f,0,null),ii(t,0)}if(s||ym(t),$l(t),Gl(t,0),e.contentQueries!==null&&Vl(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ar(t,f)}else{let f=e.contentHooks;f!==null&&cr(t,f,1),ii(t,1)}Fg(e,t);let d=e.components;d!==null&&Wl(t,d,0);let p=e.viewQuery;if(p!==null&&Hi(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ar(t,f)}else{let f=e.viewHooks;f!==null&&cr(t,f,2),ii(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[oi]){for(let f of t[oi])f();t[oi]=null}i||(t[g]&=-73)}catch(l){throw i||zr(t),l}finally{u!==null&&(Uo(u,c),a&&lm(u)),vs()}}function Gl(e,t){for(let n=ll(e);n!==null;n=dl(n))for(let r=fe;r<n.length;r++){let o=n[r];zl(o,t)}}function ym(e){for(let t=ll(e);t!==null;t=dl(t)){if(!(t[g]&Dr.HasTransplantedViews))continue;let n=t[vr];for(let r=0;r<n.length;r++){let o=n[r];gs(o)}}}function vm(e,t,n){let r=Ze(t,e);zl(r,n)}function zl(e,t){hs(e)&&$i(e,t)}function $i(e,t){let r=e[D],o=e[g],i=e[ae],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Go(i)),s||=!1,i&&(i.dirty=!1),e[g]&=-9217,s)mm(r,e,r.template,e[me]);else if(o&8192){$l(e),Gl(e,1);let a=r.components;a!==null&&Wl(e,a,1)}}function Wl(e,t,n){for(let r=0;r<t.length;r++)vm(e,t[r],n)}function $s(e,t){let n=Ru()?64:1088;for(e[Ue].changeDetectionScheduler?.notify(t);e;){e[g]|=n;let r=it(e);if(_i(e)&&!r)return e;e=r}return null}var ut=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[D];return Nr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[me]}get dirty(){return!!(this._lView[g]&9280)||!!this._lView[ae]?.dirty}set context(t){this._lView[me]=t}get destroyed(){return(this._lView[g]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[K];if(Oe(t)){let n=t[yr],r=n?n.indexOf(this):-1;r>-1&&(Vi(t,r),fr(n,r))}this._attachedToViewContainer=!1}vl(this._lView[D],this._lView)}onDestroy(t){Tu(this._lView,t)}markForCheck(){$s(this._cdRefInjectingView||this._lView,4)}markForRefresh(){gs(this._cdRefInjectingView||this._lView)}detach(){this._lView[g]&=-129}reattach(){Ii(this._lView),this._lView[g]|=128}detectChanges(){this._lView[g]|=1024,Ul(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=_i(this._lView),n=this._lView[xt];n!==null&&!t&&Os(n,this._lView),ml(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=_i(this._lView),r=this._lView[xt];r!==null&&!n&&yl(r,this._lView),Ii(this._lView)}},Us=(()=>{class e{static __NG_ELEMENT_ID__=Em}return e})(),Dm=Us,Cm=class extends Dm{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=im(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ut(o)}};function Em(){return _m(ne(),S())}function _m(e,t){return e.type&4?new Cm(t,e,Zr(e,t)):null}var Ui=class{resolveComponentFactory(t){throw Error(`No component factory found for ${te(t)}.`)}},Ot=class{static NULL=new Ui},qe=class{},Gi=class{},zi=class{},xr=class{},Rt=class{},jt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>wm()}return e})();function wm(){let e=S(),t=ne(),n=Ze(t.index,e);return(He(n)?n:e)[V]}var Im=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();function Wi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=gi(o,a);else if(i==2){let c=a,u=t[++s];r=gi(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Ar=class extends Ot{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=St(t);return new Fr(n,this.ngModule)}};function Lc(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:We.None;t?n.push({propName:s,templateName:r,isSignal:(a&We.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function bm(e){let t=e.toLowerCase();return t==="svg"?Yp:t==="math"?Qp:null}var Fr=class extends xr{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Lc(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Lc(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=xg(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=_(null);try{o=o||this.ngModule;let s=o instanceof $e?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Ti(t,s):t,c=a.get(Rt,null);if(c===null)throw new m(407,!1);let u=a.get(Im,null),l=a.get(un,null),d={rendererFactory:c,sanitizer:u,changeDetectionScheduler:l},p=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?kg(p,r,this.componentDef.encapsulation,a):gl(p,f,bm(f)),b=512;this.componentDef.signals?b|=4096:this.componentDef.onPush||(b|=16);let L=null;h!==null&&(L=As(h,a,!0));let P=Ls(0,null,null,1,0,null,null,null,null,null,null),B=Kr(null,P,null,b,null,null,d,p,a,null,L);ys(B);let le,Z,Se=null;try{let ie=this.componentDef,ht,ko=null;ie.findHostDirectiveDefs?(ht=[],ko=new Map,ie.findHostDirectiveDefs(ie,ht,ko),ht.push(ie)):ht=[ie];let Mf=Mm(B,h);Se=Sm(Mf,h,ie,ht,B,d,p),Z=Mu(P,we),h&&xm(p,ie,h,r),n!==void 0&&Am(Z,this.ngContentSelectors,n),le=Nm(Se,ie,ht,ko,B,[Fm]),Hs(P,B,null)}catch(ie){throw Se!==null&&ki(Se),ki(B),ie}finally{vs()}return new qi(this.componentType,le,Zr(Z,B),B,Z)}finally{_(i)}}},qi=class extends zi{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new ut(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;js(i[D],i,o,t,n),this.previousInputValues.set(t,n);let s=Ze(this._tNode.index,i);$s(s,1)}}get injector(){return new nt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Mm(e,t){let n=e[D],r=we;return e[r]=t,Jr(n,r,2,"#host",null)}function Sm(e,t,n,r,o,i,s){let a=o[D];Tm(r,e,t,s);let c=null;t!==null&&(c=As(t,o[Nt]));let u=i.rendererFactory.createRenderer(t,n),l=Kr(o,Fl(n),null,Pl(n),o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&Bi(a,e,r.length-1),Xr(o,l),o[e.index]=l}function Tm(e,t,n,r){for(let o of e)t.mergedAttrs=cn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(Wi(t,t.mergedAttrs,!0),n!==null&&wl(r,n,t))}function Nm(e,t,n,r,o,i){let s=ne(),a=o[D],c=ve(s,o);Rl(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=Ft(o,a,d,s);ct(p,o)}kl(a,o,s),c&&ct(c,o);let u=Ft(o,a,s.directiveStart+s.componentOffset,s);if(e[me]=o[me]=u,i!==null)for(let l of i)l(u,t);return Nl(a,s,o),u}function xm(e,t,n,r){if(r)Si(e,n,["ng-version","19.0.0"]);else{let{attrs:o,classes:i}=Ag(t.selectors[0]);o&&Si(e,n,o),i&&i.length>0&&_l(e,n,i.join(" "))}}function Am(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}function Fm(){let e=ne();_s(S()[D],e)}var Or=class extends qe{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ar(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=xp(t);this._bootstrapComponents=eg(i.bootstrap),this._r3Injector=el(t,n,[{provide:qe,useValue:this},{provide:Ot,useValue:this.componentFactoryResolver},...r],te(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Zi=class extends Gi{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Or(this.moduleType,t,[])}};function Om(e,t,n){return new Or(e,t,n,!1)}var Yi=class extends qe{injector;componentFactoryResolver=new Ar(this);instance=null;constructor(t){super();let n=new sn([...t.providers,{provide:qe,useValue:this},{provide:Ot,useValue:this.componentFactoryResolver}],t.parent||ds(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Rm(e,t,n=null){return new Yi({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var km=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=pu(!1,n.type),o=r.length>0?Rm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(w($e))})}return e})();function Me(e){return dn(()=>{let t=Zl(e),n=R(A({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===cl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(km).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||be.Emulated,styles:e.styles||ee,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Yr("NgStandalone"),Yl(n);let r=e.dependencies;return n.directiveDefs=jc(r,!1),n.pipeDefs=jc(r,!0),n.id=Vm(n),n})}function Pm(e){return St(e)||du(e)}function Lm(e){return e!==null}function q(e){return dn(()=>({type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vc(e,t){if(e==null)return Mt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=We.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==We.None?[r,a]:r,t[i]=s):n[i]=r}return n}function ce(e){return dn(()=>{let t=Zl(e);return Yl(t),t})}function ql(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Zl(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Mt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vc(e.inputs,t),outputs:Vc(e.outputs),debugInfo:null}}function Yl(e){e.features?.forEach(t=>t(e))}function jc(e,t){if(!e)return null;let n=t?fu:Pm;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Lm)}function Vm(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function jm(e){return typeof e=="function"&&e[de]!==void 0}var Gs=new y(""),gn=new y(""),eo=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,o){this._ngZone=n,this.registry=r,zs||(Bm(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(w(k),w(to),w(gn))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),to=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return zs?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Bm(e){zs=e}var zs;function mn(e){return!!e&&typeof e.then=="function"}function Ql(e){return!!e&&typeof e.subscribe=="function"}var Hm=new y("");var Kl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=x(Hm,{optional:!0})??[];injector=x(Ne);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=yu(this.injector,o);if(mn(i))n.push(i);else if(Ql(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$m=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new Qi})}return e})(),Qi=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Um=new y("");function Gm(){ja(()=>{throw new m(600,!1)})}function zm(e){return e.isBoundToModule}var Wm=10;function qm(e,t,n){try{let r=n();return mn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function Jl(e,t){return Array.isArray(t)?t.reduce(Jl,e):A(A({},e),t)}var Bt=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=x($h);afterRenderManager=x(Jh);zonelessEnabled=x(bs);rootEffectScheduler=x($m);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new Te;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=x(qr).hasPendingTasks.pipe(Xe(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=x($e);get injector(){return this._injector}bootstrap(n,r){let o=n instanceof xr;if(!this._injector.get(Kl).done){let p=!o&&Ap(n),f=!1;throw new m(405,f)}let s;o?s=n:s=this._injector.get(Ot).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=zm(s)?void 0:this._injector.get(qe),c=r||s.selector,u=s.create(Ne.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(Gs,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),ur(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new m(101,!1);let n=_(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,_(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Rt,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<Wm;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o,notifyErrorHandler:i}of this.allViews)Zm(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Gr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ur(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Um,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ur(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ur(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Zm(e,t,n,r){if(!n&&!Gr(e))return;Ul(e,t,n&&!r?0:1)}var nw=new RegExp(`^(\\d+)*(${Qh}|${Yh})*(.*)`);var Ym=()=>null;function Bc(e,t){return Ym(e,t)}var Ws=(()=>{class e{static __NG_ELEMENT_ID__=Qm}return e})();function Qm(){let e=ne();return Jm(e,S())}var Km=Ws,Xl=class extends Km{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Zr(this._hostTNode,this._hostLView)}get injector(){return new nt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ws(this._hostTNode,this._hostLView);if(zu(t)){let n=_r(t,this._hostLView),r=Er(t),o=n[D].data[r+8];return new nt(o,n)}else return new nt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Hc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-fe}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Bc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Pc(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!zp(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Fr(St(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let b=(s?u:this.parentInjector).get($e,null);b&&(i=b)}let l=St(c.componentType??{}),d=Bc(this._lContainer,l?.id??null),p=d?.firstChild??null,f=c.create(u,o,p,i);return this.insertImpl(f.hostView,a,Pc(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Jp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[K],u=new Xl(c,c[ye],c[K]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return sm(s,o,i,r),t.attachToViewContainerRef(),cu(ui(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Hc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Vi(this._lContainer,n);r&&(fr(ui(this._lContainer),n),vl(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=Vi(this._lContainer,n);return r&&fr(ui(this._lContainer),n)!=null?new ut(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Hc(e){return e[yr]}function ui(e){return e[yr]||(e[yr]=[])}function Jm(e,t){let n,r=t[e.index];return Oe(r)?n=r:(n=Ll(r,t,null,e),t[e.index]=n,Xr(t,n)),ey(n,t,e,r),new Xl(n,e,t)}function Xm(e,t){let n=e[V],r=n.createComment(""),o=ve(t,e),i=Cl(n,o);return Tr(n,i,r,fg(n,o),!1),r}var ey=ry,ty=()=>!1;function ny(e,t,n){return ty(e,t,n)}function ry(e,t,n,r){if(e[ot])return;let o;n.type&8?o=Ie(r):o=Xm(t,n),e[ot]=o}function yn(e,t){Yr("NgSignals");let n=Ba(e),r=n[de];return t?.equal&&(r.equal=t.equal),n.set=o=>Wo(r,o),n.update=o=>Ha(r,o),n.asReadonly=oy.bind(n),n}function oy(){let e=this[de];if(e.readonlyFn===void 0){let t=()=>this();t[de]=e,e.readonlyFn=t}return e.readonlyFn}function ed(e){return jm(e)&&typeof e.set=="function"}function iy(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(uy))}return i}return Rr.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(f=>{a[u+p]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>ly(i));t.push(c)}),ay(),Promise.all(t).then(()=>{})}var Rr=new Map,sy=new Set;function ay(){let e=Rr;return Rr=new Map,e}function cy(){return Rr.size===0}function uy(e){return typeof e=="string"?e:e.text()}function ly(e){sy.delete(e)}function dy(e){return Object.getPrototypeOf(e.prototype).constructor}function ke(e){let t=dy(e.type),n=!0,r=[e];for(;t;){let o;if(Ge(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=nr(e.inputs),s.inputTransforms=nr(e.inputTransforms),s.declaredInputs=nr(e.declaredInputs),s.outputs=nr(e.outputs);let a=o.hostBindings;a&&my(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&hy(e,c),u&&gy(e,u),fy(e,o),cp(e.outputs,o.outputs),Ge(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===ke&&(n=!1)}}t=Object.getPrototypeOf(t)}py(r)}function fy(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function py(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=cn(o.hostAttrs,n=cn(n,o.hostAttrs))}}function nr(e){return e===Mt?{}:e===ee?[]:e}function hy(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function gy(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function my(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function td(e){return vy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function yy(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function vy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Dy(e,t,n){return e[t]=n}function Ae(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function nd(e,t,n,r){let o=Ae(e,t,n);return Ae(e,t+1,r)||o}function Cy(e,t,n,r,o){let i=nd(e,t,n,r);return Ae(e,t+2,o)||i}function Ey(e){return(e.flags&32)===32}function _y(e,t,n,r,o,i,s,a,c){let u=t.consts,l=Jr(t,e,4,s||null,a||null);Ol(t,n,l,Cr(u,c)),_s(t,l);let d=l.tView=Ls(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function wy(e,t,n,r,o,i,s,a,c,u){let l=n+we,d=t.firstCreatePass?_y(l,t,e,r,o,i,s,a,c):t.data[l];pn(d,!1);let p=Iy(t,e,d,n);Cs()&&Rs(t,e,p,d),ct(p,e);let f=Ll(p,e,p,d);return e[l]=f,Xr(e,f),ny(f,d,e),fs(d)&&xl(t,e,d),c!=null&&Al(e,d,u),d}function qs(e,t,n,r,o,i,s,a){let c=S(),u=J(),l=Cr(u.consts,i);return wy(c,u,e,t,n,r,o,l,s,a),qs}var Iy=by;function by(e,t,n,r){return Es(!0),t[V].createComment("")}function rd(e,t,n,r){return Ae(e,ms(),n)?t+tt(n)+r:re}function My(e,t,n,r,o,i){let s=Pu(),a=nd(e,s,n,o);return Wr(2),a?t+tt(n)+r+tt(o)+i:re}function Sy(e,t,n,r,o,i,s,a){let c=Pu(),u=Cy(e,c,n,o,s);return Wr(3),u?t+tt(n)+r+tt(o)+i+tt(s)+a:re}function rr(e,t){return e<<17|t<<2}function lt(e){return e>>17&32767}function Ty(e){return(e&2)==2}function Ny(e,t){return e&131071|t<<17}function Ki(e){return e|2}function kt(e){return(e&131068)>>2}function li(e,t){return e&-131069|t<<2}function xy(e){return(e&1)===1}function Ji(e){return e|1}function Ay(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=lt(s),c=kt(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||fn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=lt(e[a+1]);e[r+1]=rr(p,a),p!==0&&(e[p+1]=li(e[p+1],r)),e[a+1]=Ny(e[a+1],r)}else e[r+1]=rr(a,0),a!==0&&(e[a+1]=li(e[a+1],r)),a=r;else e[r+1]=rr(c,0),a===0?a=r:e[c+1]=li(e[c+1],r),c=r;u&&(e[r+1]=Ki(e[r+1])),$c(e,l,r,!0),$c(e,l,r,!1),Fy(t,l,e,r,i),s=rr(a,c),i?t.classBindings=s:t.styleBindings=s}function Fy(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&fn(i,t)>=0&&(n[r+1]=Ji(n[r+1]))}function $c(e,t,n,r){let o=e[n+1],i=t===null,s=r?lt(o):kt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Oy(c,t)&&(a=!0,e[s+1]=r?Ji(u):Ki(u)),s=r?lt(u):kt(u)}a&&(e[n+1]=r?Ki(o):Ji(o))}function Oy(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?fn(e,t)>=0:!1}var $={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function od(e){return e.substring($.key,$.keyEnd)}function Ry(e){return e.substring($.value,$.valueEnd)}function ky(e){return ad(e),id(e,Pt(e,0,$.textEnd))}function id(e,t){let n=$.textEnd;return n===t?-1:(t=$.keyEnd=Ly(e,$.key=t,n),Pt(e,t,n))}function Py(e){return ad(e),sd(e,Pt(e,0,$.textEnd))}function sd(e,t){let n=$.textEnd,r=$.key=Pt(e,t,n);return n===r?-1:(r=$.keyEnd=Vy(e,r,n),r=Uc(e,r,n,58),r=$.value=Pt(e,r,n),r=$.valueEnd=jy(e,r,n),Uc(e,r,n,59))}function ad(e){$.key=0,$.keyEnd=0,$.value=0,$.valueEnd=0,$.textEnd=e.length}function Pt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ly(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Vy(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Uc(e,t,n,r){return t=Pt(e,t,n),t<n&&t++,t}function jy(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Gc(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Gc(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Gc(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Ht(e,t,n){let r=S(),o=ms();if(Ae(r,o,t)){let i=J(),s=Ds();Vs(i,s,r,e,t,r[V],n,!1)}return Ht}function Xi(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";js(e,n,i[s],s,r)}function no(e,t){return $y(e,t,null,!0),no}function cd(e){ld(pd,By,e,!1)}function By(e,t){for(let n=Py(t);n>=0;n=sd(t,n))pd(e,od(t),Ry(t))}function ud(e){ld(Zy,Hy,e,!0)}function Hy(e,t){for(let n=ky(t);n>=0;n=id(t,n))Br(e,od(t),!0)}function $y(e,t,n,r){let o=S(),i=J(),s=Wr(2);if(i.firstUpdatePass&&fd(i,e,s,r),t!==re&&Ae(o,s,t)){let a=i.data[Re()];hd(i,a,o,o[V],e,o[s+1]=Qy(t,n),r,s)}}function ld(e,t,n,r){let o=J(),i=Wr(2);o.firstUpdatePass&&fd(o,null,i,r);let s=S();if(n!==re&&Ae(s,i,n)){let a=o.data[Re()];if(gd(a,r)&&!dd(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=gi(c,n||"")),Xi(o,a,s,n,r)}else Yy(o,a,s,s[V],s[i+1],s[i+1]=qy(e,t,n),r,i)}}function dd(e,t){return t>=e.expandoStartIndex}function fd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Re()],s=dd(e,n);gd(i,r)&&t===null&&!s&&(t=!1),t=Uy(o,i,t,r),Ay(o,i,t,n,s,r)}}function Uy(e,t,n,r){let o=ph(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=di(null,e,t,n,r),n=ln(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=di(o,e,t,n,r),i===null){let c=Gy(e,t,r);c!==void 0&&Array.isArray(c)&&(c=di(null,e,t,c[1],r),c=ln(c,t.attrs,r),zy(e,t,r,c))}else i=Wy(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Gy(e,t,n){let r=n?t.classBindings:t.styleBindings;if(kt(r)!==0)return e[lt(r)]}function zy(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[lt(o)]=r}function Wy(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=ln(r,s,n)}return ln(r,t.attrs,n)}function di(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=ln(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function ln(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Br(e,s,n?!0:t[++i]))}return e===void 0?null:e}function qy(e,t,n){if(n==null||n==="")return ee;let r=[],o=hn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function pd(e,t,n){Br(e,t,hn(n))}function Zy(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Br(e,r,n)}function Yy(e,t,n,r,o,i,s,a){o===re&&(o=ee);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,b;l===d?(c+=2,u+=2,p!==f&&(h=d,b=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,b=f),h!==null&&hd(e,t,n,r,h,b,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function hd(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=xy(u)?zc(c,t,n,o,kt(u),s):void 0;if(!kr(l)){kr(i)||Ty(u)&&(i=zc(c,null,n,o,a,s));let d=bu(Re(),n);Dg(r,s,d,o,i)}}function zc(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===re&&(p=d?ee:void 0);let f=d?ni(p,r):l===r?p:void 0;if(u&&!kr(f)&&(f=ni(c,r)),kr(f)&&(a=f,s))return a;let h=e[o+1];o=s?lt(h):kt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ni(c,r))}return a}function kr(e){return e!==void 0}function Qy(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=te(hn(e)))),e}function gd(e,t){return(e.flags&(t?8:16))!==0}function Ky(e,t,n,r,o,i){let s=t.consts,a=Cr(s,o),c=Jr(t,e,2,r,a);return Ol(t,n,c,Cr(s,i)),c.attrs!==null&&Wi(c,c.attrs,!1),c.mergedAttrs!==null&&Wi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function E(e,t,n,r){let o=S(),i=J(),s=we+e,a=o[V],c=i.firstCreatePass?Ky(s,i,o,t,n,r):i.data[s],u=Jy(i,o,c,a,t,e);o[s]=u;let l=fs(c);return pn(c,!0),wl(a,u,c),!Ey(c)&&Cs()&&Rs(i,o,u,c),th()===0&&ct(u,o),nh(),l&&(xl(i,o,c),Nl(i,c,o)),r!==null&&Al(o,c),E}function I(){let e=ne();Ou()?ch():(e=e.parent,pn(e,!1));let t=e;ih(t)&&sh(),rh();let n=J();return n.firstCreatePass&&(_s(n,e),Cu(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Ch(t)&&Xi(n,t,S(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Eh(t)&&Xi(n,t,S(),t.stylesWithoutHost,!1),I}function vn(e,t,n,r){return E(e,t,n,r),I(),vn}var Jy=(e,t,n,r,o,i)=>(Es(!0),gl(r,o,mh()));function md(){return S()}var et=void 0;function Xy(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var ev=["en",[["a","p"],["AM","PM"],et],[["AM","PM"],et,et],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],et,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],et,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",et,"{1} 'at' {0}",et],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Xy],fi={};function Zs(e){let t=tv(e),n=Wc(t);if(n)return n;let r=t.split("-")[0];if(n=Wc(r),n)return n;if(r==="en")return ev;throw new m(701,!1)}function Wc(e){return e in fi||(fi[e]=se.ng&&se.ng.common&&se.ng.common.locales&&se.ng.common.locales[e]),fi[e]}var $t=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}($t||{});function tv(e){return e.toLowerCase().replace(/_/g,"-")}var Pr="en-US";var nv=Pr;function rv(e){typeof e=="string"&&(nv=e.toLowerCase().replace(/_/g,"-"))}var ov=(e,t,n)=>{};function j(e,t,n,r){let o=S(),i=J(),s=ne();return yd(i,o,o[V],s,e,t,r),j}function iv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[gr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function yd(e,t,n,r,o,i,s){let a=fs(r),u=e.firstCreatePass&&tm(e),l=t[me],d=em(t),p=!0;if(r.type&3||s){let b=ve(r,t),L=s?s(b):b,P=d.length,B=s?Z=>s(Ie(Z[r.index])):r.index,le=null;if(!s&&a&&(le=iv(e,t,o,r.index)),le!==null){let Z=le.__ngLastListenerFn__||le;Z.__ngNextListenerFn__=i,le.__ngLastListenerFn__=i,p=!1}else{i=Zc(r,t,l,i),ov(b,o,i);let Z=n.listen(L,o,i);d.push(i,Z),u&&u.push(o,B,P,P+1)}}else i=Zc(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let b=h.length;if(b)for(let L=0;L<b;L+=2){let P=h[L],B=h[L+1],Se=t[P][B].subscribe(i),ie=d.length;d.push(i,Se),u&&u.push(o,r.index,ie,-(ie+1))}}}function qc(e,t,n,r){let o=_(null);try{return Ce(6,t,n),n(r)!==!1}catch(i){return jl(e,i),!1}finally{Ce(7,t,n),_(o)}}function Zc(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Ze(e.index,t):t;$s(s,5);let a=qc(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=qc(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function vd(e=1){return gh(e)}function Ys(e,t,n,r,o){let i=S(),s=rd(i,t,n,r);if(s!==re){let a=J(),c=Ds();Vs(a,c,i,e,s,i[V],o,!1)}return Ys}function sv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function N(e,t=""){let n=S(),r=J(),o=e+we,i=r.firstCreatePass?Jr(r,o,1,t,null):r.data[o],s=av(r,n,i,t,e);n[o]=s,Cs()&&Rs(r,n,s,i),pn(i,!1)}var av=(e,t,n,r,o)=>(Es(!0),ng(t[V],r));function Ut(e,t,n){let r=S(),o=rd(r,e,t,n);return o!==re&&Bs(r,Re(),o),Ut}function Qs(e,t,n,r,o){let i=S(),s=My(i,e,t,n,r,o);return s!==re&&Bs(i,Re(),s),Qs}function Ks(e,t,n,r,o,i,s){let a=S(),c=Sy(a,e,t,n,r,o,i,s);return c!==re&&Bs(a,Re(),c),Ks}function ro(e,t,n){ed(t)&&(t=t());let r=S(),o=ms();if(Ae(r,o,t)){let i=J(),s=Ds();Vs(i,s,r,e,t,r[V],n,!1)}return ro}function Js(e,t){let n=ed(e);return n&&e.set(t),n}function oo(e,t){let n=S(),r=J(),o=ne();return yd(r,n,n[V],o,e,t),oo}function cv(e,t,n){let r=J();if(r.firstCreatePass){let o=Ge(e);es(n,r.data,r.blueprint,o,!0),es(t,r.data,r.blueprint,o,!1)}}function es(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i<e.length;i++)es(e[i],t,n,r,o);else{let i=J(),s=S(),a=ne(),c=Tt(e)?e:Q(e.provide),u=mu(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Tt(e)||!e.multi){let f=new at(u,o,T),h=hi(c,t,o?l:l+p,d);h===-1?(xi(Ir(a,s),i,c),pi(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=hi(c,t,l+p,d),h=hi(c,t,l,l+p),b=f>=0&&n[f],L=h>=0&&n[h];if(o&&!L||!o&&!b){xi(Ir(a,s),i,c);let P=dv(o?lv:uv,n.length,o,r,u);!o&&L&&(n[h].providerFactory=P),pi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(P),s.push(P)}else{let P=Dd(n[o?h:f],u,!o&&r);pi(i,e,f>-1?f:h,P)}!o&&r&&L&&n[h].componentProviders++}}}function pi(e,t,n,r){let o=Tt(t),i=Pp(t);if(o||i){let c=(i?Q(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Dd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function hi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function uv(e,t,n,r){return ts(this.multi,[])}function lv(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Ft(n,n[D],this.providerFactory.index,r);i=a.slice(0,s),ts(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],ts(o,i);return i}function ts(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function dv(e,t,n,r,o){let i=new at(e,n,T);return i.multi=[],i.index=t,i.componentProviders=0,Dd(i,o,r&&!n),i}function Dn(e,t=[]){return n=>{n.providersResolver=(r,o)=>cv(r,o?o(e):e,t)}}function Cd(e,t,n,r){return Ed(S(),ku(),e,t,n,r)}function fv(e,t){let n=e[t];return n===re?void 0:n}function Ed(e,t,n,r,o,i){let s=t+n;return Ae(e,s,o)?Dy(e,s+1,i?r.call(i,o):r(o)):fv(e,s+1)}function _d(e,t){let n=J(),r,o=e+we;n.firstCreatePass?(r=pv(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=rt(r.type,!0)),s,a=X(T);try{let c=wr(!1),u=i();return wr(c),sv(n,S(),o,u),u}finally{X(a)}}function pv(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function wd(e,t,n){let r=e+we,o=S(),i=Kp(o,r);return hv(o,r)?Ed(o,ku(),t,i.transform,n,i):i.transform(n)}function hv(e,t){return e[D].data[t].pure}var or=null;function gv(e){or!==null&&(e.defaultEncapsulation!==or.defaultEncapsulation||e.preserveWhitespaces!==or.preserveWhitespaces)||(or=e)}var mv=new y("");function yv(e,t,n){let r=new Zi(n);return Promise.resolve(r)}function Yc(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var vv=(()=>{class e{zone=x(k);changeDetectionScheduler=x(un);applicationRef=x(Bt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dv({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new k(R(A({},Id()),{scheduleInRootZone:n})),[{provide:k,useFactory:e},{provide:on,multi:!0,useFactory:()=>{let r=x(vv,{optional:!0});return()=>r.initialize()}},{provide:on,multi:!0,useFactory:()=>{let r=x(Cv);return()=>{r.initialize()}}},t===!0?{provide:rl,useValue:!0}:[],{provide:ol,useValue:n??tl}]}function Id(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Cv=(()=>{class e{subscription=new Y;initialized=!1;zone=x(k);pendingTasks=x(qr);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{k.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ev=(()=>{class e{appRef=x(Bt);taskService=x(qr);ngZone=x(k);zonelessEnabled=x(bs);disableScheduling=x(rl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Y;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Mr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(x(ol,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 Sr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Mc:il;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Mr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Mc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _v(){return typeof $localize<"u"&&$localize.locale||Pr}var io=new y("",{providedIn:"root",factory:()=>x(io,C.Optional|C.SkipSelf)||_v()});var Lr=new y("");function ir(e){return!e.moduleRef}function wv(e){let t=ir(e)?e.r3Injector:e.moduleRef.injector,n=t.get(k);return n.run(()=>{ir(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ze,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),ir(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Lr);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Lr);s.add(i),e.moduleRef.onDestroy(()=>{ur(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return qm(r,n,()=>{let i=t.get(Kl);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(io,Pr);if(rv(s||Pr),ir(e)){let a=t.get(Bt);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return Iv(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Iv(e,t){let n=e.injector.get(Bt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new m(-403,!1);t.push(e)}var bd=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>Hh(r?.ngZone,R(A({},Id({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[Dv({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:un,useExisting:Ev}],c=Om(n.moduleType,this.injector,a);return wv({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=Jl({},r);return yv(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new m(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(Lr,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(w(Ne))};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),nn=null,Md=new y("");function bv(e){if(nn&&!nn.get(Md,!1))throw new m(400,!1);Gm(),nn=e;let t=e.get(bd);return Tv(e),t}function Xs(e,t,n=[]){let r=`Platform: ${t}`,o=new y(r);return(i=[])=>{let s=Sd();if(!s||s.injector.get(Md,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):bv(Mv(a,r))}return Sv(o)}}function Mv(e=[],t){return Ne.create({name:t,providers:[{provide:Hr,useValue:"platform"},{provide:Lr,useValue:new Set([()=>nn=null])},...e]})}function Sv(e){let t=Sd();if(!t)throw new m(401,!1);return t}function Sd(){return nn?.get(bd)??null}function Tv(e){let t=e.get(Ns,null);yu(e,()=>{t?.forEach(n=>n())})}var so=(()=>{class e{static __NG_ELEMENT_ID__=Nv}return e})();function Nv(e){return xv(ne(),S(),(e&16)===16)}function xv(e,t,n){if(Ur(e)&&!n){let r=Ze(e.index,t);return new ut(r,r)}else if(e.type&175){let r=t[_e];return new ut(r,t)}return null}var ns=class{constructor(){}supports(t){return td(t)}create(t){return new rs(t)}},Av=(e,t)=>t,rs=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Av}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Qc(r,o,i)?n:r,a=Qc(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let p=0;p<u;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<u&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!td(t))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,yy(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new os(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Vr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Vr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},os=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},is=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Vr=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new is,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Qc(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function Kc(){return new ea([new ns])}var ea=(()=>{class e{factories;static \u0275prov=F({token:e,providedIn:"root",factory:Kc});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Kc()),deps:[[e,new Sp,new au]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return e})();var Td=Xs(null,"core",[]),Nd=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(w(Bt))};static \u0275mod=q({type:e});static \u0275inj=W({})}return e})();function ta(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Cn(e,t){Yr("NgSignals");let n=Pa(e);return t?.equal&&(n[de].equal=t.equal),n}function Pe(e){let t=_(null);try{return e()}finally{_(t)}}var Jc=class{[de];constructor(t){this[de]=t}destroy(){this[de].destroy()}};var Rd=null;function pt(){return Rd}function kd(e){Rd??=e}var ao=class{};var Ye=new y("");var Pd=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Pd||{});var Le={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function En(e,t){let n=Zs(e),r=n[$t.NumberSymbols][t];if(typeof r>"u"){if(t===Le.CurrencyDecimal)return n[$t.NumberSymbols][Le.Decimal];if(t===Le.CurrencyGroup)return n[$t.NumberSymbols][Le.Group]}return r}function Fv(e,t){return Zs(e)[$t.NumberFormats][t]}var Ov=/^(\d+)?\.((\d+)(-(\d+))?)?$/,xd=22,co=".",_n="0",Rv=";",kv=",",na="#";function Pv(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=En(n,Le.Infinity);else{let u=Bv(e);s&&(u=jv(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let B=i.match(Ov);if(B===null)throw new Error(`${i} is not a valid digit info`);let le=B[1],Z=B[3],Se=B[5];le!=null&&(l=ra(le)),Z!=null&&(d=ra(Z)),Se!=null?p=ra(Se):Z!=null&&d>p&&(p=d)}Hv(u,d,p);let f=u.digits,h=u.integerLen,b=u.exponent,L=[];for(c=f.every(B=>!B);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?L=f.splice(h,f.length):(L=f,f=[0]);let P=[];for(f.length>=t.lgSize&&P.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)P.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&P.unshift(f.join("")),a=P.join(En(n,r)),L.length&&(a+=En(n,o)+L.join("")),b&&(a+=En(n,Le.Exponential)+"+"+b)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Lv(e,t,n){let r=Fv(t,Pd.Decimal),o=Vv(r,En(t,Le.MinusSign));return Pv(e,o,t,Le.Group,Le.Decimal,n)}function Vv(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(Rv),o=r[0],i=r[1],s=o.indexOf(co)!==-1?o.split(co):[o.substring(0,o.lastIndexOf(_n)+1),o.substring(o.lastIndexOf(_n)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(na));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===_n?n.minFrac=n.maxFrac=l+1:d===na?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(kv);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(na);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function jv(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function Bv(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(co))>-1&&(t=t.replace(co,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===_n;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===_n;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>xd&&(r=r.splice(0,xd-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function Hv(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function ra(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function Ld(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var oa=/\s+/,Ad=[],lo=(()=>{class e{_ngEl;_renderer;initialClasses=Ad;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(oa):Ad}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(oa):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(oa).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(T(ft),T(jt))};static \u0275dir=ce({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var ia=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Vd=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new ia(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Fd(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Fd(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(T(Ws),T(Us),T(ea))};static \u0275dir=ce({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Fd(e,t){e.context.$implicit=t.item}function $v(e,t){return new m(2100,!1)}var jd=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!Uv(n))return null;o||=this._locale;try{let i=Gv(n);return Lv(i,o,r)}catch(i){throw $v(e,i.message)}}static \u0275fac=function(r){return new(r||e)(T(io,16))};static \u0275pipe=ql({name:"number",type:e,pure:!0})}return e})();function Uv(e){return!(e==null||e===""||e!==e)}function Gv(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var fo=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=W({})}return e})(),Bd="browser",zv="server";function sa(e){return e===zv}var uo=class{};var ca=class extends ao{supportsDOMEvents=!0},ua=class e extends ca{static makeCurrent(){kd(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=qv();return n==null?null:Zv(n)}resetBaseElement(){wn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ld(document.cookie,t)}},wn=null;function qv(){return wn=wn||document.querySelector("base"),wn?wn.getAttribute("href"):null}function Zv(e){return new URL(e,document.baseURI).pathname}var la=class{addToWindow(t){se.getAngularTestability=(r,o=!0)=>{let i=t.findTestabilityInTree(r,o);if(i==null)throw new m(5103,!1);return i},se.getAllAngularTestabilities=()=>t.getAllTestabilities(),se.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let o=se.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};se.frameworkStabilizers||(se.frameworkStabilizers=[]),se.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;let o=t.getTestability(n);return o??(r?pt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},Yv=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),da=new y(""),qd=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(w(da),w(k))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),po=class{_doc;constructor(t){this._doc=t}manager},fa="ng-app-id";function $d(e){for(let t of e)t.remove()}function Ud(e,t){let n=t.createElement("style");return n.textContent=e,n}function Qv(e,t,n){let r=e.head?.querySelectorAll(`style[${fa}="${t}"]`);if(r)for(let o of r)o.textContent&&(o.removeAttribute(fa),n.set(o.textContent,{usage:0,elements:[o]}))}function pa(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Zd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=sa(i),Qv(n,r,this.inline),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Ud);r?.forEach(o=>this.addUsage(o,this.external,pa))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&($d(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])$d(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Ud(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,pa(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(fa,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(w(Ye),w(Ts),w(xs,8),w(Vt))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),aa={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"},ga=/%COMP%/g,Yd="%COMP%",Kv=`_nghost-${Yd}`,Jv=`_ngcontent-${Yd}`,Xv=!0,eD=new y("",{providedIn:"root",factory:()=>Xv});function tD(e){return Jv.replace(ga,e)}function nD(e){return Kv.replace(ga,e)}function Qd(e,t){return t.map(n=>n.replace(ga,e))}var Gd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.platformIsServer=sa(a),this.defaultRenderer=new In(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===be.ShadowDom&&(r=R(A({},r),{encapsulation:be.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof ho?o.applyToHost(n):o instanceof bn&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case be.Emulated:i=new ho(c,u,r,this.appId,l,s,a,d);break;case be.ShadowDom:return new ha(c,u,n,r,s,a,this.nonce,d);default:i=new bn(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||e)(w(qd),w(Zd),w(Ts),w(eD),w(Ye),w(Vt),w(k),w(xs))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),In=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(aa[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(zd(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(zd(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=aa[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=aa[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(xe.DashCase|xe.Important)?t.style.setProperty(n,r,o&xe.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&xe.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=pt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function zd(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ha=class extends In{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Qd(o.id,o.styles);for(let d of u){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=d,this.shadowRoot.appendChild(p)}let l=o.getExternalStyles?.();if(l)for(let d of l){let p=pa(d,i);a&&p.setAttribute("nonce",a),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},bn=class extends In{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?Qd(c,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ho=class extends bn{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=tD(u),this.hostAttr=nD(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},rD=(()=>{class e extends po{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static \u0275fac=function(r){return new(r||e)(w(Ye))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),Wd=["alt","control","meta","shift"],oD={"\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"},iD={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},sD=(()=>{class e extends po{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>pt().onAndCancel(n,i.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Wd.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=oD[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Wd.forEach(s=>{if(s!==o){let a=iD[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(w(Ye))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();function aD(){ua.makeCurrent()}function cD(){return new ze}function uD(){return pl(document),document}var lD=[{provide:Vt,useValue:Bd},{provide:Ns,useValue:aD,multi:!0},{provide:Ye,useFactory:uD,deps:[]}],Kd=Xs(Td,"browser",lD),dD=new y(""),fD=[{provide:gn,useClass:la,deps:[]},{provide:Gs,useClass:eo,deps:[k,to,gn]},{provide:eo,useClass:eo,deps:[k,to,gn]}],pD=[{provide:Hr,useValue:"root"},{provide:ze,useFactory:cD,deps:[]},{provide:da,useClass:rD,multi:!0,deps:[Ye,k,Vt]},{provide:da,useClass:sD,multi:!0,deps:[Ye]},Gd,Zd,qd,{provide:Rt,useExisting:Gd},{provide:uo,useClass:Yv,deps:[]},[]],Jd=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(w(dD,12))};static \u0275mod=q({type:e});static \u0275inj=W({providers:[...pD,...fD],imports:[fo,Nd]})}return e})();var go=class e{counter=0;increaseBy(t){this.counter+=t}decreaseBy(t){if(this.counter===0){alert("\xA1Para ya, loco! El valor no puede ser negativo");return}this.counter-=t}resetCounter(){this.counter=0}constructor(){}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Me({type:e,selectors:[["ct-counter"]],standalone:!1,decls:14,vars:1,consts:[[1,"buttons-wrapper"],[3,"click"]],template:function(n,r){n&1&&(E(0,"h2"),N(1),I(),E(2,"p"),N(3,"This is my "),E(4,"code"),N(5,"CounterComponent"),I()(),E(6,"div",0)(7,"button",1),j("click",function(){return r.decreaseBy(1)}),N(8,"- 1"),I(),E(9,"button",1),j("click",function(){return r.resetCounter()}),N(10,"Reinicia el contador"),I(),E(11,"button",1),j("click",function(){return r.increaseBy(1)}),N(12,"+ 1"),I()(),vn(13,"hr")),n&2&&(oe(),Ut("Contador: ",r.counter,""))},styles:[".buttons-wrapper[_ngcontent-%COMP%]{display:grid;place-content:center;place-items:center;grid-template-columns:5ch .5fr 5ch;gap:2em}button[_ngcontent-%COMP%]{min-inline-size:5ch;border-radius:.2em;border-color:#8a2be2;background-color:#b49bcc;color:#1e003b;padding:.5em}"]})};var z=[];for(let e=0;e<256;++e)z.push((e+256).toString(16).slice(1));function Xd(e,t=0){return(z[e[t+0]]+z[e[t+1]]+z[e[t+2]]+z[e[t+3]]+"-"+z[e[t+4]]+z[e[t+5]]+"-"+z[e[t+6]]+z[e[t+7]]+"-"+z[e[t+8]]+z[e[t+9]]+"-"+z[e[t+10]]+z[e[t+11]]+z[e[t+12]]+z[e[t+13]]+z[e[t+14]]+z[e[t+15]]).toLowerCase()}var ma,mD=new Uint8Array(16);function ya(){if(!ma){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ma=crypto.getRandomValues.bind(crypto)}return ma(mD)}var yD=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),va={randomUUID:yD};function vD(e,t,n){if(va.randomUUID&&!t&&!e)return va.randomUUID();e=e||{};let r=e.random||(e.rng||ya)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let o=0;o<16;++o)t[n+o]=r[o];return t}return Xd(r)}var Gt=vD;var yo=class e{characters=[{id:Gt(),name:"Krillin",power:1e3},{id:Gt(),name:"Goku",power:9500},{id:Gt(),name:"Vegeta",power:7500}];addCharacter(t){let n=R(A({},t),{id:Gt()});this.characters.push(n)}deleteCharacterById(t){this.characters=this.characters.filter(n=>n.id!==t)}constructor(){}static \u0275fac=function(n){return new(n||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})};var CD=e=>({highlighted:e});function ED(e,t){if(e&1){let n=md();E(0,"li",1)(1,"span"),N(2),_d(3,"number"),I(),E(4,"button",2),j("click",function(){let o=xu(n).$implicit,i=vd();return Au(i.onDeleteCharacterById(o.id))}),N(5," X "),I()()}if(e&2){let n=t.$implicit,r=t.index,o=t.first;Ht("ngClass",Cd(6,CD,o)),oe(2),Ks("",r+1,". ",n.name," | Power: ",wd(3,4,n.power),"")}}var vo=class e{charactersList=[{id:"id",name:"Trunks",power:10}];onDelete=new G;onDeleteCharacterById(t){this.onDelete.emit(t)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Me({type:e,selectors:[["ct-dbz-list"]],inputs:{charactersList:"charactersList"},outputs:{onDelete:"onDelete"},standalone:!1,decls:2,vars:1,consts:[[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["id","delete-character","title","Bot\xF3n para eliminar un personaje de la lista",3,"click"]],template:function(n,r){n&1&&(E(0,"ul"),qs(1,ED,6,8,"li",0),I()),n&2&&(oe(),Ht("ngForOf",r.charactersList))},dependencies:[lo,Vd,jd],encapsulation:2})};var cf=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(T(jt),T(ft))};static \u0275dir=ce({type:e})}return e})(),uf=(()=>{class e extends cf{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Is(e)))(o||e)}})();static \u0275dir=ce({type:e,features:[ke]})}return e})(),Ca=new y("");var wD={provide:Ca,useExisting:dt(()=>Mo),multi:!0};function ID(){let e=pt()?pt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var bD=new y(""),Mo=(()=>{class e extends cf{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!ID())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(T(jt),T(ft),T(bD,8))};static \u0275dir=ce({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&j("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Dn([wD]),ke]})}return e})();var lf=new y(""),df=new y("");function ff(e){return e!=null}function pf(e){return mn(e)?ei(e):e}function hf(e){let t={};return e.forEach(n=>{t=n!=null?A(A({},t),n):t}),Object.keys(t).length===0?null:t}function gf(e,t){return t.map(n=>n(e))}function MD(e){return!e.validate}function mf(e){return e.map(t=>MD(t)?t:n=>t.validate(n))}function SD(e){if(!e)return null;let t=e.filter(ff);return t.length==0?null:function(n){return hf(gf(n,t))}}function Ea(e){return e!=null?SD(mf(e)):null}function TD(e){if(!e)return null;let t=e.filter(ff);return t.length==0?null:function(n){let r=gf(n,t).map(pf);return ti(r).pipe(Xe(hf))}}function _a(e){return e!=null?TD(mf(e)):null}function ef(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function ND(e){return e._rawValidators}function xD(e){return e._rawAsyncValidators}function Da(e){return e?Array.isArray(e)?e:[e]:[]}function Co(e,t){return Array.isArray(e)?e.includes(t):e===t}function tf(e,t){let n=Da(t);return Da(e).forEach(o=>{Co(n,o)||n.push(o)}),n}function nf(e,t){return Da(t).filter(n=>!Co(e,n))}var Eo=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Ea(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=_a(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},qt=class extends Eo{name;get formDirective(){return null}get path(){return null}},An=class extends Eo{_parent=null;name=null;valueAccessor=null},_o=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},AD={"[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"},AI=R(A({},AD),{"[class.ng-submitted]":"isSubmitted"}),yf=(()=>{class e extends _o{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(T(An,2))};static \u0275dir=ce({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&no("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[ke]})}return e})(),vf=(()=>{class e extends _o{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(T(qt,10))};static \u0275dir=ce({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&no("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[ke]})}return e})();var Mn="VALID",Do="INVALID",zt="PENDING",Sn="DISABLED",Zt=class{},wo=class extends Zt{value;source;constructor(t,n){super(),this.value=t,this.source=n}},Nn=class extends Zt{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},xn=class extends Zt{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},Wt=class extends Zt{status;source;constructor(t,n){super(),this.status=t,this.source=n}};function Df(e){return(So(e)?e.validators:e)||null}function FD(e){return Array.isArray(e)?Ea(e):e||null}function Cf(e,t){return(So(t)?t.asyncValidators:e)||null}function OD(e){return Array.isArray(e)?_a(e):e||null}function So(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function RD(e,t,n){let r=e.controls;if(!(t?Object.keys(r):r).length)throw new m(1e3,"");if(!r[n])throw new m(1001,"")}function kD(e,t,n){e._forEachChild((r,o)=>{if(n[o]===void 0)throw new m(1002,"")})}var Io=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return Pe(this.statusReactive)}set status(t){Pe(()=>this.statusReactive.set(t))}_status=Cn(()=>this.statusReactive());statusReactive=yn(void 0);get valid(){return this.status===Mn}get invalid(){return this.status===Do}get pending(){return this.status==zt}get disabled(){return this.status===Sn}get enabled(){return this.status!==Sn}errors;get pristine(){return Pe(this.pristineReactive)}set pristine(t){Pe(()=>this.pristineReactive.set(t))}_pristine=Cn(()=>this.pristineReactive());pristineReactive=yn(!0);get dirty(){return!this.pristine}get touched(){return Pe(this.touchedReactive)}set touched(t){Pe(()=>this.touchedReactive.set(t))}_touched=Cn(()=>this.touchedReactive());touchedReactive=yn(!1);get untouched(){return!this.touched}_events=new Te;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(tf(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(tf(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(nf(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(nf(t,this._rawAsyncValidators))}hasValidator(t){return Co(this._rawValidators,t)}hasAsyncValidator(t){return Co(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(R(A({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new xn(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new xn(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(R(A({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Nn(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new Nn(!0,r))}markAsPending(t={}){this.status=zt;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Wt(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(R(A({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Sn,this.errors=null,this._forEachChild(o=>{o.disable(R(A({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new wo(this.value,r)),this._events.next(new Wt(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(R(A({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Mn,this._forEachChild(r=>{r.enable(R(A({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(R(A({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Mn||this.status===zt)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new wo(this.value,n)),this._events.next(new Wt(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(R(A({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Sn:Mn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=zt,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=pf(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new Wt(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new G,this.statusChanges=new G}_calculateStatus(){return this._allControlsDisabled()?Sn:this.errors?Do:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zt)?zt:this._anyControlsHaveStatus(Do)?Do:Mn}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new Nn(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new xn(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){So(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=FD(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=OD(this._rawAsyncValidators)}},bo=class extends Io{constructor(t,n,r){super(Df(n),Cf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){kD(this,!0,t),Object.keys(t).forEach(r=>{RD(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){t!=null&&(Object.keys(t).forEach(r=>{let o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var wa=new y("CallSetDisabledState",{providedIn:"root",factory:()=>Ia}),Ia="always";function PD(e,t){return[...t.path,e]}function Ef(e,t,n=Ia){_f(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),VD(e,t),BD(e,t),jD(e,t),LD(e,t)}function rf(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function LD(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function _f(e,t){let n=ND(e);t.validator!==null?e.setValidators(ef(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=xD(e);t.asyncValidator!==null?e.setAsyncValidators(ef(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();rf(t._rawValidators,o),rf(t._rawAsyncValidators,o)}function VD(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&wf(e,t)})}function jD(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&wf(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function wf(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function BD(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function HD(e,t){e==null,_f(e,t)}function $D(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function UD(e){return Object.getPrototypeOf(e.constructor)===uf}function GD(e,t){e._syncPendingControls(),t.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function zD(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===Mo?n=i:UD(i)?r=i:o=i}),o||r||n||null}var WD={provide:qt,useExisting:dt(()=>ba)},Tn=Promise.resolve(),ba=(()=>{class e extends qt{callSetDisabledState;get submitted(){return Pe(this.submittedReactive)}_submitted=Cn(()=>this.submittedReactive());submittedReactive=yn(!1);_directives=new Set;form;ngSubmit=new G;options;constructor(n,r,o){super(),this.callSetDisabledState=o,this.form=new bo({},Ea(n),_a(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Tn.then(()=>{let r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Ef(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Tn.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Tn.then(()=>{let r=this._findContainer(n.path),o=new bo({});HD(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Tn.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Tn.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submittedReactive.set(!0),GD(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static \u0275fac=function(r){return new(r||e)(T(lf,10),T(df,10),T(wa,8))};static \u0275dir=ce({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&j("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Dn([WD]),ke]})}return e})();function of(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function sf(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var qD=class extends Io{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(Df(n),Cf(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),So(n)&&(n.nonNullable||n.initialValueIsDefault)&&(sf(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){of(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){of(this._onDisabledChange,t)}_forEachChild(t){}_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(t){sf(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var ZD={provide:An,useExisting:dt(()=>Ma)},af=Promise.resolve(),Ma=(()=>{class e extends An{_changeDetectorRef;callSetDisabledState;control=new qD;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new G;constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=zD(this,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),$D(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ef(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(n){af.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&ta(r);af.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?PD(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(T(qt,9),T(lf,10),T(df,10),T(Ca,10),T(so,8),T(wa,8))};static \u0275dir=ce({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"],standalone:!1,features:[Dn([ZD]),ke,ps]})}return e})(),If=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=ce({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})(),YD={provide:Ca,useExisting:dt(()=>Sa),multi:!0},Sa=(()=>{class e extends uf{writeValue(n){let r=n??"";this.setProperty("value",r)}registerOnChange(n){this.onChange=r=>{n(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Is(e)))(o||e)}})();static \u0275dir=ce({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&j("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Dn([YD]),ke]})}return e})();var QD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=W({})}return e})();var bf=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:wa,useValue:n.callSetDisabledState??Ia}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=W({imports:[QD]})}return e})();var To=class e{onNewCharacter=new G;character={id:"",name:"",power:0};emitCharacter(){let t=this.character.name.length,n=this.character;t!==0&&(this.onNewCharacter.emit(n),this.character={id:"",name:" ",power:0})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Me({type:e,selectors:[["ct-dbz-add-character"]],outputs:{onNewCharacter:"onNewCharacter"},standalone:!1,decls:5,vars:2,consts:[["action","","method","get",3,"ngSubmit"],["type","text","name","","id","","value","Songoku, for example","name","name",3,"ngModelChange","ngModel"],["type","number","name","","id","","value","10.000, for example","name","power",3,"ngModelChange","ngModel"],["type","submit"]],template:function(n,r){n&1&&(E(0,"form",0),j("ngSubmit",function(){return r.emitCharacter()}),E(1,"input",1),oo("ngModelChange",function(i){return Js(r.character.name,i)||(r.character.name=i),i}),I(),E(2,"input",2),oo("ngModelChange",function(i){return Js(r.character.power,i)||(r.character.power=i),i}),I(),E(3,"button",3),N(4,"A\xF1ade el personaje"),I()()),n&2&&(oe(),ro("ngModel",r.character.name),oe(),ro("ngModel",r.character.power))},dependencies:[If,Mo,Sa,yf,vf,Ma,ba],encapsulation:2})};var No=class e{constructor(t){this.dbzService=t}get characters(){return[...this.dbzService.characters]}onDeleteCharacter(t){this.dbzService.deleteCharacterById(t)}onNewCharacter(t){this.dbzService.addCharacter(t)}static \u0275fac=function(n){return new(n||e)(T(yo))};static \u0275cmp=Me({type:e,selectors:[["ct-dbz-main-page"]],standalone:!1,decls:19,vars:1,consts:[["title","Dragon Ball Z"],[3,"onDelete","charactersList"],[3,"onNewCharacter"]],template:function(n,r){n&1&&(E(0,"h2")(1,"code"),N(2,"DBZ MainPageComponent"),I(),N(3," is running just fine"),I(),E(4,"main")(5,"section")(6,"h3"),N(7,"Personajes de "),E(8,"abbr",0),N(9,"DBZ"),I(),N(10,":"),I(),E(11,"ct-dbz-list",1),j("onDelete",function(i){return r.onDeleteCharacter(i)}),I()(),E(12,"section")(13,"h3"),N(14," Agrega un personaje de "),E(15,"abbr",0),N(16,"DBZ"),I(),N(17," a t\xFA lista "),I(),E(18,"ct-dbz-add-character",2),j("onNewCharacter",function(i){return r.onNewCharacter(i)}),I()()()),n&2&&(oe(11),Ht("charactersList",r.characters))},dependencies:[vo,To],encapsulation:2})};var xo=class e{title="Bases";autor="Carlos";outlineStyle="outline: 1px solid rgb(255,0,43);";counter=0;increaseBy(t){this.counter+=t}decreaseBy(t){if(this.counter===0){alert("\xA1Para ya, loco! El valor no puede ser negativo");return}this.counter-=t}resetCounter(){this.counter=0}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Me({type:e,selectors:[["ct-root"]],standalone:!1,decls:22,vars:10,consts:[[3,"ngClass"],[1,"buttons-wrapper"],[3,"click"]],template:function(n,r){n&1&&(E(0,"h1",0),N(1),I(),E(2,"p"),N(3),I(),E(4,"h2"),N(5,"Contador de "),E(6,"code"),N(7,"app.component"),I(),N(8),I(),E(9,"div",1)(10,"button",2),j("click",function(){return r.decreaseBy(1)}),N(11,"- 1"),I(),E(12,"button",2),j("click",function(){return r.resetCounter()}),N(13,"Reinicia el contador"),I(),E(14,"button",2),j("click",function(){return r.increaseBy(1)}),N(15,"+ 1"),I()(),vn(16,"hr")(17,"hr")(18,"ct-counter")(19,"hr")(20,"ct-dbz-main-page")(21,"hr")),n&2&&(cd(r.outlineStyle),ud(r.title),Ys("ngClass","clases-de-ngClass ",r.autor,""),oe(),Ut(" \xA1\xA1El app.component -",r.title,`- est\xE1 funcionando!!
`),oe(2),Qs("Bienvenido a la app ",r.title.toUpperCase(),", modificada por ",r.autor,""),oe(5),Ut(": ",r.counter,""))},dependencies:[lo,go,No],styles:["button[_ngcontent-%COMP%]{background-color:#7f51a7;color:#fe0;outline:1px solid #f8dda3}"]})};var Ao=class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=q({type:e});static \u0275inj=W({})};var Fo=class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=q({type:e});static \u0275inj=W({imports:[fo,bf]})};var Oo=class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=q({type:e});static \u0275inj=W({})};var Ro=class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=q({type:e,bootstrap:[xo]});static \u0275inj=W({imports:[Jd,Ao,Oo,Fo]})};Kd().bootstrapModule(Ro,{ngZoneEventCoalescing:!0}).catch(e=>console.error(e));