todosalud-webc-form-citas 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -73,6 +73,10 @@ export class CitasPage {
73
73
 
74
74
  ### En HTML puro / Vanilla JS
75
75
 
76
+ **Nota importante**: Para uso en HTML puro, se recomienda usar el componente dentro de una aplicación Angular o usar el servidor de desarrollo (`npm start`). Los archivos compilados pueden tener problemas con Zone.js cuando se cargan directamente.
77
+
78
+ Si necesitas usarlo en HTML puro, carga los archivos en este orden:
79
+
76
80
  ```html
77
81
  <!DOCTYPE html>
78
82
  <html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "todosalud-webc-form-citas",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Web Component para formulario de citas médicas TodoSalud",
5
5
  "main": "todosalud-webc-form-citas.js",
6
6
  "scripts": {
@@ -25,6 +25,8 @@
25
25
  "license": "MIT",
26
26
  "files": [
27
27
  "todosalud-webc-form-citas.js",
28
+ "todosalud-webc-form-citas-polyfills.js",
29
+ "todosalud-webc-form-citas-main.js",
28
30
  "todosalud-webc-form-citas.css",
29
31
  "README.md",
30
32
  "package.json"
@@ -0,0 +1,7 @@
1
+ var nd=Object.defineProperty,rd=Object.defineProperties;var od=Object.getOwnPropertyDescriptors;var $s=Object.getOwnPropertySymbols;var id=Object.prototype.hasOwnProperty,sd=Object.prototype.propertyIsEnumerable;var Us=(e,t,n)=>t in e?nd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M=(e,t)=>{for(var n in t||={})id.call(t,n)&&Us(e,n,t[n]);if($s)for(var n of $s(t))sd.call(t,n)&&Us(e,n,t[n]);return e},N=(e,t)=>rd(e,od(t));function to(e,t){return Object.is(e,t)}var O=null,un=!1,no=1,se=Symbol("SIGNAL");function E(e){let t=O;return O=e,t}function ro(){return O}var It={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function dn(e){if(un)throw new Error("");if(O===null)return;O.consumerOnSignalRead(e);let t=O.nextProducerIndex++;if(hn(O),t<O.producerNode.length&&O.producerNode[t]!==e&&wt(O)){let n=O.producerNode[t];pn(n,O.producerIndexOfThis[t])}O.producerNode[t]!==e&&(O.producerNode[t]=e,O.producerIndexOfThis[t]=wt(O)?zs(e,O,t):0),O.producerLastReadVersion[t]=e.version}function Gs(){no++}function oo(e){if(!(wt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===no)){if(!e.producerMustRecompute(e)&&!co(e)){eo(e);return}e.producerRecomputeValue(e),eo(e)}}function io(e){if(e.liveConsumerNode===void 0)return;let t=un;un=!0;try{for(let n of e.liveConsumerNode)n.dirty||ad(n)}finally{un=t}}function so(){return O?.consumerAllowSignalWrites!==!1}function ad(e){e.dirty=!0,io(e),e.consumerMarkedDirty?.(e)}function eo(e){e.dirty=!1,e.lastCleanEpoch=no}function fn(e){return e&&(e.nextProducerIndex=0),E(e)}function ao(e,t){if(E(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(wt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)pn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function co(e){hn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(oo(n),r!==n.version))return!0}return!1}function uo(e){if(hn(e),wt(e))for(let t=0;t<e.producerNode.length;t++)pn(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 zs(e,t,n){if(Ws(e),e.liveConsumerNode.length===0&&qs(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=zs(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function pn(e,t){if(Ws(e),e.liveConsumerNode.length===1&&qs(e))for(let r=0;r<e.producerNode.length;r++)pn(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];hn(o),o.producerIndexOfThis[r]=t}}function wt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function hn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ws(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function qs(e){return e.producerNode!==void 0}function lo(e,t){let n=Object.create(cd);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(oo(n),dn(n),n.value===ln)throw n.error;return n.value};return r[se]=n,r}var Jr=Symbol("UNSET"),Xr=Symbol("COMPUTING"),ln=Symbol("ERRORED"),cd=N(M({},It),{value:Jr,dirty:!0,error:null,equal:to,kind:"computed",producerMustRecompute(e){return e.value===Jr||e.value===Xr},producerRecomputeValue(e){if(e.value===Xr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Xr;let n=fn(e),r,o=!1;try{r=e.computation(),E(null),o=t!==Jr&&t!==ln&&r!==ln&&e.equal(t,r)}catch(i){r=ln,e.error=i}finally{ao(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ud(){throw new Error}var Zs=ud;function Ys(e){Zs(e)}function fo(e){Zs=e}var ld=null;function po(e,t){let n=Object.create(go);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(dn(n),n.value);return r[se]=n,r}function gn(e,t){so()||Ys(e),e.equal(e.value,t)||(e.value=t,dd(e))}function ho(e,t){so()||Ys(e),gn(e,t(e.value))}var go=N(M({},It),{equal:to,value:void 0,kind:"signal"});function dd(e){e.version++,Gs(),io(e),ld?.()}function mo(e){let t=E(null);try{return e()}finally{E(t)}}var yo;function bt(){return yo}function ge(e){let t=yo;return yo=e,t}var mn=Symbol("NotFound");function _(e){return typeof e=="function"}function yn(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=yn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Mt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=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(_(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{Qs(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)Qs(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)&&Mt(n,t)}remove(t){let{_finalizers:n}=this;n&&Mt(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var vo=V.EMPTY;function Dn(e){return e instanceof V||e&&"closed"in e&&_(e.remove)&&_(e.add)&&_(e.unsubscribe)}function Qs(e){_(e)?e():e.unsubscribe()}var X={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ye={setTimeout(e,t,...n){let{delegate:r}=Ye;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ye;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function En(e){Ye.setTimeout(()=>{let{onUnhandledError:t}=X;if(t)t(e);else throw e})}function Do(){}var Ks=Eo("C",void 0,void 0);function Js(e){return Eo("E",void 0,e)}function Xs(e){return Eo("N",e,void 0)}function Eo(e,t,n){return{kind:e,value:t,error:n}}var Pe=null;function Qe(e){if(X.useDeprecatedSynchronousErrorHandling){let t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Pe;if(Pe=null,n)throw r}}else e()}function ea(e){X.useDeprecatedSynchronousErrorHandling&&Pe&&(Pe.errorThrown=!0,Pe.error=e)}var Le=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Dn(t)&&t.add(this)):this.destination=yd}static create(t,n,r){return new Ke(t,n,r)}next(t){this.isStopped?_o(Xs(t),this):this._next(t)}error(t){this.isStopped?_o(Js(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?_o(Ks,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()}}},gd=Function.prototype.bind;function Co(e,t){return gd.call(e,t)}var wo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Cn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Cn(r)}else Cn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Cn(n)}}},Ke=class extends Le{constructor(t,n,r){super();let o;if(_(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&X.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Co(t.next,i),error:t.error&&Co(t.error,i),complete:t.complete&&Co(t.complete,i)}):o=t}this.destination=new wo(o)}};function Cn(e){X.useDeprecatedSynchronousErrorHandling?ea(e):En(e)}function md(e){throw e}function _o(e,t){let{onStoppedNotification:n}=X;n&&Ye.setTimeout(()=>n(e,t))}var yd={closed:!0,next:Do,error:md,complete:Do};var Je=typeof Symbol=="function"&&Symbol.observable||"@@observable";function _n(e){return e}function ta(e){return e.length===0?_n:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var A=(()=>{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=Dd(n)?n:new Ke(n,r,o);return Qe(()=>{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=na(r),new r((o,i)=>{let s=new Ke({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)}[Je](){return this}pipe(...n){return ta(n)(this)}toPromise(n){return n=na(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 na(e){var t;return(t=e??X.Promise)!==null&&t!==void 0?t:Promise}function vd(e){return e&&_(e.next)&&_(e.error)&&_(e.complete)}function Dd(e){return e&&e instanceof Le||vd(e)&&Dn(e)}function Ed(e){return _(e?.lift)}function ae(e){return t=>{if(Ed(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 q(e,t,n,r,o){return new Io(e,t,n,r,o)}var Io=class extends Le{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 ra=yn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new wn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ra}next(n){Qe(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Qe(()=>{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(){Qe(()=>{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?vo:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,Mt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return e.create=(t,n)=>new wn(t,n),e})(),wn=class extends ee{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:vo}};var St=class extends ee{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)}};var bo={now(){return(bo.delegate||Date).now()},delegate:void 0};var Tt=class extends ee{constructor(t=1/0,n=1/0,r=bo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var oa=new A(e=>e.complete());function ia(e){return e&&_(e.schedule)}function Mo(e){return e[e.length-1]}function sa(e){return _(Mo(e))?e.pop():void 0}function aa(e){return ia(Mo(e))?e.pop():void 0}function ca(e,t){return typeof Mo(e)=="number"?e.pop():t}function la(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(f){s(f)}}function c(l){try{u(r.throw(l))}catch(f){s(f)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function ua(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 Ve(e){return this instanceof Ve?(this.v=e,this):new Ve(e)}function da(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(d){return function(h){return Promise.resolve(h).then(d,f)}}function a(d,h){r[d]&&(o[d]=function(b){return new Promise(function(B,k){i.push([d,b,B,k])>1||c(d,b)})},h&&(o[d]=h(o[d])))}function c(d,h){try{u(r[d](h))}catch(b){p(i[0][3],b)}}function u(d){d.value instanceof Ve?Promise.resolve(d.value.v).then(l,f):p(i[0][2],d)}function l(d){c("next",d)}function f(d){c("throw",d)}function p(d,h){d(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function fa(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 ua=="function"?ua(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 In=e=>e&&typeof e.length=="number"&&typeof e!="function";function bn(e){return _(e?.then)}function Mn(e){return _(e[Je])}function Sn(e){return Symbol.asyncIterator&&_(e?.[Symbol.asyncIterator])}function Tn(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 Cd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Nn=Cd();function xn(e){return _(e?.[Nn])}function An(e){return da(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ve(n.read());if(o)return yield Ve(void 0);yield yield Ve(r)}}finally{n.releaseLock()}})}function Rn(e){return _(e?.getReader)}function P(e){if(e instanceof A)return e;if(e!=null){if(Mn(e))return _d(e);if(In(e))return wd(e);if(bn(e))return Id(e);if(Sn(e))return pa(e);if(xn(e))return bd(e);if(Rn(e))return Md(e)}throw Tn(e)}function _d(e){return new A(t=>{let n=e[Je]();if(_(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wd(e){return new A(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Id(e){return new A(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,En)})}function bd(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function pa(e){return new A(t=>{Sd(e,t).catch(n=>t.error(n))})}function Md(e){return pa(An(e))}function Sd(e,t){var n,r,o,i;return la(this,void 0,void 0,function*(){try{for(n=fa(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 Z(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 On(e,t=0){return ae((n,r)=>{n.subscribe(q(r,o=>Z(r,e,()=>r.next(o),t),()=>Z(r,e,()=>r.complete(),t),o=>Z(r,e,()=>r.error(o),t)))})}function Fn(e,t=0){return ae((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ha(e,t){return P(e).pipe(Fn(t),On(t))}function ga(e,t){return P(e).pipe(Fn(t),On(t))}function ma(e,t){return new A(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ya(e,t){return new A(n=>{let r;return Z(n,t,()=>{r=e[Nn](),Z(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)}),()=>_(r?.return)&&r.return()})}function kn(e,t){if(!e)throw new Error("Iterable cannot be null");return new A(n=>{Z(n,t,()=>{let r=e[Symbol.asyncIterator]();Z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function va(e,t){return kn(An(e),t)}function Da(e,t){if(e!=null){if(Mn(e))return ha(e,t);if(In(e))return ma(e,t);if(bn(e))return ga(e,t);if(Sn(e))return kn(e,t);if(xn(e))return ya(e,t);if(Rn(e))return va(e,t)}throw Tn(e)}function Nt(e,t){return t?Da(e,t):P(e)}function me(e,t){return ae((n,r)=>{let o=0;n.subscribe(q(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Td}=Array;function Nd(e,t){return Td(t)?e(...t):e(t)}function Ea(e){return me(t=>Nd(e,t))}var{isArray:xd}=Array,{getPrototypeOf:Ad,prototype:Rd,keys:Od}=Object;function Ca(e){if(e.length===1){let t=e[0];if(xd(t))return{args:t,keys:null};if(Fd(t)){let n=Od(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Fd(e){return e&&typeof e=="object"&&Ad(e)===Rd}function _a(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function wa(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,f=!1,p=()=>{f&&!c.length&&!u&&t.complete()},d=b=>u<r?h(b):c.push(b),h=b=>{i&&t.next(b),u++;let B=!1;P(n(b,l++)).subscribe(q(t,k=>{o?.(k),i?d(k):t.next(k)},()=>{B=!0},void 0,()=>{if(B)try{for(u--;c.length&&u<r;){let k=c.shift();s?Z(t,s,()=>h(k)):h(k)}p()}catch(k){t.error(k)}}))};return e.subscribe(q(t,d,()=>{f=!0,p()})),()=>{a?.()}}function So(e,t,n=1/0){return _(t)?So((r,o)=>me((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),ae((r,o)=>wa(r,o,e,n)))}function Ia(e=1/0){return So(_n,e)}function To(...e){let t=sa(e),{args:n,keys:r}=Ca(e),o=new A(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 f=!1;P(n[l]).subscribe(q(i,p=>{f||(f=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!f)&&(u||i.next(r?_a(r,a):a),i.complete())}))}});return t?o.pipe(Ea(t)):o}function No(...e){let t=aa(e),n=ca(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Ia(n)(Nt(r,t)):oa}function xo(e,t){return ae((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(q(r,c=>{o?.unsubscribe();let u=0,l=i++;P(e(c,l)).subscribe(o=q(r,f=>r.next(t?t(c,f,l,u++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var Pd="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",g=class extends Error{code;constructor(t,n){super(Vd(t,n)),this.code=t}};function Ld(e){return`NG0${Math.abs(e)}`}function Vd(e,t){return`${Ld(e)}${t?": "+t:""}`}function mr(e){return{toString:e}.toString()}var Pn="__parameters__";function jd(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function hc(e,t,n){return mr(()=>{let r=jd(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 f=c.hasOwnProperty(Pn)?c[Pn]:Object.defineProperty(c,Pn,{value:[]})[Pn];for(;f.length<=l;)f.push(null);return(f[l]=f[l]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var _e=globalThis;function S(e){for(let t in e)if(e[t]===S)return t;throw Error("Could not find renamed property on target object.")}function $(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map($).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function ba(e,t){return e?t?`${e} ${t}`:e:t||""}var Bd=S({__forward_ref__:S});function Ii(e){return e.__forward_ref__=Ii,e.toString=function(){return $(this())},e}function ne(e){return Hd(e)?e():e}function Hd(e){return typeof e=="function"&&e.hasOwnProperty(Bd)&&e.__forward_ref__===Ii}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{providers:e.providers||[],imports:e.imports||[]}}function bi(e){return Ma(e,gc)||Ma(e,mc)}function Ma(e,t){return e.hasOwnProperty(t)?e[t]:null}function $d(e){let t=e&&(e[gc]||e[mc]);return t||null}function Sa(e){return e&&(e.hasOwnProperty(Ta)||e.hasOwnProperty(Ud))?e[Ta]:null}var gc=S({\u0275prov:S}),Ta=S({\u0275inj:S}),mc=S({ngInjectableDef:S}),Ud=S({ngInjectorDef:S}),v=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=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function yc(e){return e&&!!e.\u0275providers}var Gd=S({\u0275cmp:S}),zd=S({\u0275dir:S}),Wd=S({\u0275pipe:S}),qd=S({\u0275mod:S}),Na=S({\u0275fac:S}),Ot=S({__NG_ELEMENT_ID__:S}),xa=S({__NG_ENV_ID__:S});function vc(e){return typeof e=="string"?e:e==null?"":String(e)}function Zd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():vc(e)}function Dc(e,t){throw new g(-200,e)}function Mi(e,t){throw new g(-201,!1)}var y=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}(y||{}),$o;function Ec(){return $o}function Y(e){let t=$o;return $o=e,t}function Cc(e,t,n){let r=bi(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&y.Optional)return null;if(t!==void 0)return t;Mi(e,"Injector")}var Yd={},je=Yd,Uo="__NG_DI_FLAG__",Un=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?mn:je,r)}},Gn="ngTempTokenPath",Qd="ngTokenPath",Kd=/\n/gm,Jd="\u0275",Aa="__source";function Xd(e,t=y.Default){if(bt()===void 0)throw new g(-203,!1);if(bt()===null)return Cc(e,void 0,t);{let n=bt(),r;return n instanceof Un?r=n.injector:r=n,r.get(e,t&y.Optional?null:void 0,t)}}function C(e,t=y.Default){return(Ec()||Xd)(ne(e),t)}function I(e,t=y.Default){return C(e,yr(t))}function yr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Go(e){let t=[];for(let n=0;n<e.length;n++){let r=ne(e[n]);if(Array.isArray(r)){if(r.length===0)throw new g(900,!1);let o,i=y.Default;for(let s=0;s<r.length;s++){let a=r[s],c=ef(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function _c(e,t){return e[Uo]=t,e.prototype[Uo]=t,e}function ef(e){return e[Uo]}function tf(e,t,n,r){let o=e[Gn];throw t[Aa]&&o.unshift(t[Aa]),e.message=nf(`
5
+ `+e.message,o,n,r),e[Qd]=o,e[Gn]=null,e}function nf(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Jd?e.slice(2):e;let o=$(t);if(Array.isArray(t))o=t.map($).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):$(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Kd,`
7
+ `)}`}var rf=_c(hc("Optional"),8);var of=_c(hc("SkipSelf"),4);function Ft(e,t){let n=e.hasOwnProperty(Na);return n?e[Na]:null}function Si(e,t){e.forEach(n=>Array.isArray(n)?Si(n,t):t(n))}function wc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function sf(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 af(e,t,n){let r=Bt(e,t);return r>=0?e[r|1]=n:(r=~r,sf(e,r,t,n)),r}function Ao(e,t){let n=Bt(e,t);if(n>=0)return e[n|1]}function Bt(e,t){return cf(e,t,1)}function cf(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 rt={},re=[],Wn=new v(""),Ic=new v("",-1),bc=new v(""),qn=class{get(t,n=je){if(n===je){let r=new Error(`NullInjectorError: No provider for ${$(t)}!`);throw r.name="NullInjectorError",r}return n}};function uf(e,t){let n=e[qd]||null;if(!n&&t===!0)throw new Error(`Type ${$(e)} does not have '\u0275mod' property.`);return n}function kt(e){return e[Gd]||null}function lf(e){return e[zd]||null}function df(e){return e[Wd]||null}function ff(...e){return{\u0275providers:Mc(!0,e),\u0275fromNgModule:!0}}function Mc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Si(t,s=>{let a=s;zo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Sc(o,i),n}function Sc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ti(o,i=>{t(i,r)})}}function zo(e,t,n,r){if(e=ne(e),!e)return!1;let o=null,i=Sa(e),s=!i&&kt(e);if(!i&&!s){let c=e.ngModule;if(i=Sa(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)zo(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Si(i.imports,l=>{zo(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Sc(u,t)}if(!a){let u=Ft(o)||(()=>new o);t({provide:o,useFactory:u,deps:re},o),t({provide:bc,useValue:o,multi:!0},o),t({provide:Wn,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Ti(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Ti(e,t){for(let n of e)yc(n)&&(n=n.\u0275providers),Array.isArray(n)?Ti(n,t):t(n)}var pf=S({provide:String,useValue:S});function Tc(e){return e!==null&&typeof e=="object"&&pf in e}function hf(e){return!!(e&&e.useExisting)}function gf(e){return!!(e&&e.useFactory)}function Wo(e){return typeof e=="function"}var vr=new v(""),jn={},Ra={},Ro;function Ni(){return Ro===void 0&&(Ro=new qn),Ro}var xe=class{},Pt=class extends xe{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,Zo(t,s=>this.processProvider(s)),this.records.set(Ic,Xe(void 0,this)),o.has("environment")&&this.records.set(xe,Xe(void 0,this));let i=this.records.get(vr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(bc,re,y.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?mn:je,r)}destroy(){At(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return At(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){At(this);let n=ge(this),r=Y(void 0),o;try{return t()}finally{ge(n),Y(r)}}get(t,n=je,r=y.Default){if(At(this),t.hasOwnProperty(xa))return t[xa](this);r=yr(r);let o,i=ge(this),s=Y(void 0);try{if(!(r&y.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Cf(t)&&bi(t);u&&this.injectableDefInScope(u)?c=Xe(qo(t),jn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&y.Self?Ni():this.parent;return n=r&y.Optional&&n===je?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Gn]=a[Gn]||[]).unshift($(t)),i)throw a;return tf(a,t,"R3InjectorError",this.source)}else throw a}finally{Y(s),ge(i)}}resolveInjectorInitializers(){let t=E(null),n=ge(this),r=Y(void 0),o;try{let i=this.get(Wn,re,y.Self);for(let s of i)s()}finally{ge(n),Y(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push($(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ne(t);let n=Wo(t)?t:ne(t&&t.provide),r=yf(t);if(!Wo(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Xe(void 0,jn,!0),o.factory=()=>Go(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{return n.value===Ra?Dc($(t)):n.value===jn&&(n.value=Ra,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Ef(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ne(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 qo(e){let t=bi(e),n=t!==null?t.factory:Ft(e);if(n!==null)return n;if(e instanceof v)throw new g(204,!1);if(e instanceof Function)return mf(e);throw new g(204,!1)}function mf(e){if(e.length>0)throw new g(204,!1);let n=$d(e);return n!==null?()=>n.factory(e):()=>new e}function yf(e){if(Tc(e))return Xe(void 0,e.useValue);{let t=vf(e);return Xe(t,jn)}}function vf(e,t,n){let r;if(Wo(e)){let o=ne(e);return Ft(o)||qo(o)}else if(Tc(e))r=()=>ne(e.useValue);else if(gf(e))r=()=>e.useFactory(...Go(e.deps||[]));else if(hf(e))r=(o,i)=>C(ne(e.useExisting),i!==void 0&&i&y.Optional?y.Optional:void 0);else{let o=ne(e&&(e.useClass||e.provide));if(Df(e))r=()=>new o(...Go(e.deps));else return Ft(o)||qo(o)}return r}function At(e){if(e.destroyed)throw new g(205,!1)}function Xe(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Df(e){return!!e.deps}function Ef(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Cf(e){return typeof e=="function"||typeof e=="object"&&e instanceof v}function Zo(e,t){for(let n of e)Array.isArray(n)?Zo(n,t):n&&yc(n)?Zo(n.\u0275providers,t):t(n)}function Nc(e,t){let n;e instanceof Pt?(At(e),n=e):n=new Un(e);let r,o=ge(n),i=Y(void 0);try{return t()}finally{ge(o),Y(i)}}function xc(){return Ec()!==void 0||bt()!=null}function _f(e){let t=_e.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function wf(e){return typeof e=="function"}var we=0,w=1,m=2,j=3,oe=4,ie=5,Zn=6,Yn=7,U=8,ot=9,Ae=10,L=11,Lt=12,Oa=13,lt=14,ye=15,it=16,et=17,st=18,Dr=19,Ac=20,Te=21,Oo=22,Qn=23,Q=24,Fo=25,ve=26,Rc=1;var He=7,Kn=8,Jn=9,K=10;function Ne(e){return Array.isArray(e)&&typeof e[Rc]=="object"}function Ie(e){return Array.isArray(e)&&e[Rc]===!0}function Oc(e){return(e.flags&4)!==0}function Ht(e){return e.componentOffset>-1}function xi(e){return(e.flags&1)===1}function We(e){return!!e.template}function Xn(e){return(e[m]&512)!==0}function dt(e){return(e[m]&256)===256}var Yo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Fc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function If(e){return e.type.prototype.ngOnChanges&&(e.setInput=Mf),bf}function bf(){let e=Pc(this),t=e?.current;if(t){let n=e.previous;if(n===rt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Mf(e,t,n,r,o){let i=this.declaredInputs[r],s=Pc(e)||Sf(e,{previous:rt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Yo(u&&u.currentValue,n,c===rt),Fc(e,t,o,n)}var kc="__ngSimpleChanges__";function Pc(e){return e[kc]||null}function Sf(e,t){return e[kc]=t}var Fa=null;var x=function(e,t=null,n){Fa?.(e,t,n)},Lc="svg",Tf="math";function ue(e){for(;Array.isArray(e);)e=e[we];return e}function Vc(e,t){return ue(t[e])}function be(e,t){return ue(t[e.index])}function jc(e,t){return e.data[t]}function De(e,t){let n=t[e];return Ne(n)?n:n[we]}function Ai(e){return(e[m]&128)===128}function Nf(e){return Ie(e[j])}function er(e,t){return t==null?null:e[t]}function Bc(e){e[et]=0}function Ri(e){e[m]&1024||(e[m]|=1024,Ai(e)&&Er(e))}function xf(e,t){for(;e>0;)t=t[lt],e--;return t}function $t(e){return!!(e[m]&9216||e[Q]?.dirty)}function Qo(e){e[Ae].changeDetectionScheduler?.notify(8),e[m]&64&&(e[m]|=1024),$t(e)&&Er(e)}function Er(e){e[Ae].changeDetectionScheduler?.notify(0);let t=$e(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Ai(t)));)t=$e(t)}function Hc(e,t){if(dt(e))throw new g(911,!1);e[Te]===null&&(e[Te]=[]),e[Te].push(t)}function Af(e,t){if(e[Te]===null)return;let n=e[Te].indexOf(t);n!==-1&&e[Te].splice(n,1)}function $e(e){let t=e[j];return Ie(t)?t[j]:t}function $c(e){return e[Yn]??=[]}function Uc(e){return e.cleanup??=[]}var D={lFrame:Jc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ko=!1;function Rf(){return D.lFrame.elementDepthCount}function Of(){D.lFrame.elementDepthCount++}function Ff(){D.lFrame.elementDepthCount--}function Gc(){return D.bindingsEnabled}function kf(){return D.skipHydrationRootTNode!==null}function Pf(e){return D.skipHydrationRootTNode===e}function Lf(){D.skipHydrationRootTNode=null}function F(){return D.lFrame.lView}function Oe(){return D.lFrame.tView}function Cr(e){return D.lFrame.contextLView=e,e[U]}function _r(e){return D.lFrame.contextLView=null,e}function Me(){let e=zc();for(;e!==null&&e.type===64;)e=e.parent;return e}function zc(){return D.lFrame.currentTNode}function Vf(){let e=D.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ut(e,t){let n=D.lFrame;n.currentTNode=e,n.isParent=t}function Wc(){return D.lFrame.isParent}function jf(){D.lFrame.isParent=!1}function qc(){return Ko}function ka(e){let t=Ko;return Ko=e,t}function Bf(e){return D.lFrame.bindingIndex=e}function Zc(){return D.lFrame.bindingIndex++}function Hf(e){let t=D.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $f(){return D.lFrame.inI18n}function Uf(e,t){let n=D.lFrame;n.bindingIndex=n.bindingRootIndex=e,Jo(t)}function Gf(){return D.lFrame.currentDirectiveIndex}function Jo(e){D.lFrame.currentDirectiveIndex=e}function zf(e){let t=D.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Yc(e){D.lFrame.currentQueryIndex=e}function Wf(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ie]:null}function Qc(e,t,n){if(n&y.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&y.Host);)if(o=Wf(i),o===null||(i=i[lt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=D.lFrame=Kc();return r.currentTNode=t,r.lView=e,!0}function Oi(e){let t=Kc(),n=e[w];D.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Kc(){let e=D.lFrame,t=e===null?null:e.child;return t===null?Jc(e):t}function Jc(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 Xc(){let e=D.lFrame;return D.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var eu=Xc;function Fi(){let e=Xc();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 qf(e){return(D.lFrame.contextLView=xf(e,D.lFrame.contextLView))[U]}function ft(){return D.lFrame.selectedIndex}function Ue(e){D.lFrame.selectedIndex=e}function Zf(){let e=D.lFrame;return jc(e.tView,e.selectedIndex)}function tu(){D.lFrame.currentNamespace=Lc}function nu(){Yf()}function Yf(){D.lFrame.currentNamespace=null}function Qf(){return D.lFrame.currentNamespace}var ru=!0;function ki(){return ru}function Pi(e){ru=e}function Kf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=If(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 ou(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 Bn(e,t,n){iu(e,t,3,n)}function Hn(e,t,n,r){(e[m]&3)===n&&iu(e,t,n,r)}function ko(e,t){let n=e[m];(n&3)===t&&(n&=16383,n+=1,e[m]=n)}function iu(e,t,n,r){let o=r!==void 0?e[et]&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[et]+=65536),(a<i||i==-1)&&(Jf(e,n,t,c),e[et]=(e[et]&4294901760)+c+2),c++}function Pa(e,t){x(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),x(5,e,t)}}function Jf(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[m]>>14<e[et]>>16&&(e[m]&3)===t&&(e[m]+=16384,Pa(a,i)):Pa(a,i)}var nt=-1,Vt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Xf(e){return(e.flags&8)!==0}function ep(e){return(e.flags&16)!==0}function tp(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];rp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function np(e){return e===3||e===4||e===6}function rp(e){return e.charCodeAt(0)===64}function Li(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?La(e,n,o,null,t[++r]):La(e,n,o,null,null))}}return e}function La(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){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function su(e){return e!==nt}function tr(e){return e&32767}function op(e){return e>>16}function nr(e,t){let n=op(e),r=t;for(;n>0;)r=r[lt],n--;return r}var Xo=!0;function Va(e){let t=Xo;return Xo=e,t}var ip=256,au=ip-1,cu=5,sp=0,ce={};function ap(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ot)&&(r=n[Ot]),r==null&&(r=n[Ot]=sp++);let o=r&au,i=1<<o;t.data[e+(o>>cu)]|=i}function uu(e,t){let n=lu(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Po(r.data,e),Po(t,null),Po(r.blueprint,null));let o=Vi(e,t),i=e.injectorIndex;if(su(o)){let s=tr(o),a=nr(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Po(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Vi(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=gu(o),r===null)return nt;if(n++,o=o[lt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return nt}function cp(e,t,n){ap(e,t,n)}function du(e,t,n){if(n&y.Optional||e!==void 0)return e;Mi(t,"NodeInjector")}function fu(e,t,n,r){if(n&y.Optional&&r===void 0&&(r=null),(n&(y.Self|y.Host))===0){let o=e[ot],i=Y(void 0);try{return o?o.get(t,r,n&y.Optional):Cc(t,r,n&y.Optional)}finally{Y(i)}}return du(r,t,n)}function pu(e,t,n,r=y.Default,o){if(e!==null){if(t[m]&2048&&!(r&y.Self)){let s=pp(e,t,n,r,ce);if(s!==ce)return s}let i=hu(e,t,n,r,ce);if(i!==ce)return i}return fu(t,n,r,o)}function hu(e,t,n,r,o){let i=dp(n);if(typeof i=="function"){if(!Qc(t,e,r))return r&y.Host?du(o,n,r):fu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&y.Optional))Mi(n);else return s}finally{eu()}}else if(typeof i=="number"){let s=null,a=lu(e,t),c=nt,u=r&y.Host?t[ye][ie]:null;for((a===-1||r&y.SkipSelf)&&(c=a===-1?Vi(e,t):t[a+8],c===nt||!Ba(r,!1)?a=-1:(s=t[w],a=tr(c),t=nr(c,t)));a!==-1;){let l=t[w];if(ja(i,a,l.data)){let f=up(a,t,n,s,r,u);if(f!==ce)return f}c=t[a+8],c!==nt&&Ba(r,t[w].data[a+8]===u)&&ja(i,a,t)?(s=l,a=tr(c),t=nr(c,t)):a=-1}}return o}function up(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?Ht(a)&&Xo:r!=s&&(a.type&3)!==0,u=o&y.Host&&i===a,l=lp(a,s,n,c,u);return l!==null?ei(t,s,l,a,o):ce}function lp(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,f=r?a:a+l,p=o?a+l:u;for(let d=f;d<p;d++){let h=s[d];if(d<c&&n===h||d>=c&&h.type===n)return d}if(o){let d=s[c];if(d&&We(d)&&d.type===n)return c}return null}function ei(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Vt){let a=i;a.resolving&&Dc(Zd(s[n]));let c=Va(a.canSeeViewProviders);a.resolving=!0;let u,l=a.injectImpl?Y(a.injectImpl):null,f=Qc(e,r,y.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Kf(n,s[n],t)}finally{l!==null&&Y(l),Va(c),a.resolving=!1,eu()}}return i}function dp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ot)?e[Ot]:void 0;return typeof t=="number"?t>=0?t&au:fp:t}function ja(e,t,n){let r=1<<e;return!!(n[t+(e>>cu)]&r)}function Ba(e,t){return!(e&y.Self)&&!(e&y.Host&&t)}var Be=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return pu(this._tNode,this._lView,t,yr(r),n)}};function fp(){return new Be(Me(),F())}function pp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!Xn(s);){let a=hu(i,s,n,r|y.Self,ce);if(a!==ce)return a;let c=i.parent;if(!c){let u=s[Ac];if(u){let l=u.get(n,ce,r);if(l!==ce)return l}c=gu(s),s=s[lt]}i=c}return o}function gu(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ie]:null}function Ha(e,t=null,n=null,r){let o=mu(e,t,n,r);return o.resolveInjectorInitializers(),o}function mu(e,t=null,n=null,r,o=new Set){let i=[n||re,ff(e)];return r=r||(typeof e=="object"?void 0:$(e)),new Pt(i,t||Ni(),r||null,o)}var J=class e{static THROW_IF_NOT_FOUND=je;static NULL=new qn;static create(t,n){if(Array.isArray(t))return Ha({name:""},n,t,"");{let r=t.name??"";return Ha({name:r},t.parent,t.providers,r)}}static \u0275prov=T({token:e,providedIn:"any",factory:()=>C(Ic)});static __NG_ELEMENT_ID__=-1};var hp=new v("");hp.__NG_ELEMENT_ID__=e=>{let t=Me();if(t===null)throw new g(204,!1);if(t.type&2)return t.value;if(e&y.Optional)return null;throw new g(204,!1)};var yu=!1,ji=(()=>{class e{static __NG_ELEMENT_ID__=gp;static __NG_ENV_ID__=n=>n}return e})(),ti=class extends ji{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return dt(n)?(t(),()=>{}):(Hc(n,t),()=>Af(n,t))}};function gp(){return new ti(F())}var Ge=class{},vu=new v("",{providedIn:"root",factory:()=>!1});var Du=new v(""),Eu=new v(""),wr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new St(!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=T({token:e,providedIn:"root",factory:()=>new e})}return e})();var ni=class extends ee{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,xc()&&(this.destroyRef=I(ji,{optional:!0})??void 0,this.pendingTasks=I(wr,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(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 V&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},H=ni;function rr(...e){}function Cu(e){let t,n;function r(){e=rr;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 $a(e){return queueMicrotask(()=>e()),()=>{e=rr}}var Bi="isAngularZone",or=Bi+"_ID",mp=0,R=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=yu}=t;if(typeof Zone>"u")throw new g(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,Dp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Bi)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new g(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new g(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,yp,rr,rr);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)}},yp={};function Hi(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 vp(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Cu(()=>{e.callbackScheduled=!1,ri(e),e.isCheckStableRunning=!0,Hi(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ri(e)}function Dp(e){let t=()=>{vp(e)},n=mp++;e._inner=e._inner.fork({name:"angular",properties:{[Bi]:!0,[or]:n,[or+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ep(c))return r.invokeTask(i,s,a,c);try{return Ua(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ga(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Ua(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Cp(c)&&t(),Ga(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ri(e),Hi(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 Ua(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ga(e){e._nesting--,Hi(e)}var ir=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;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 Ep(e){return _u(e,"__ignore_ng_zone__")}function Cp(e){return _u(e,"__scheduler_tick__")}function _u(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function _p(e="zone.js",t){return e==="noop"?new ir:e==="zone.js"?new R(t):e}var Ee=class{_console=console;handleError(t){this._console.error("ERROR",t)}},wp=new v("",{providedIn:"root",factory:()=>{let e=I(R),t=I(Ee);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Ip(){return Ir(Me(),F())}function Ir(e,t){return new pt(be(e,t))}var pt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ip}return e})();function br(e,t){let n=po(e,t?.equal),r=n[se];return n.set=o=>gn(r,o),n.update=o=>ho(r,o),n.asReadonly=bp.bind(n),n}function bp(){let e=this[se];if(e.readonlyFn===void 0){let t=()=>this();t[se]=e,e.readonlyFn=t}return e.readonlyFn}function wu(e){return(e.flags&128)===128}var Iu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Iu||{}),bu=new Map,Mp=0;function Sp(){return Mp++}function Tp(e){bu.set(e[Dr],e)}function oi(e){bu.delete(e[Dr])}var za="__ngContext__";function Gt(e,t){Ne(t)?(e[za]=t[Dr],Tp(t)):e[za]=t}function Mu(e){return Tu(e[Lt])}function Su(e){return Tu(e[oe])}function Tu(e){for(;e!==null&&!Ie(e);)e=e[oe];return e}var ii;function Nu(e){ii=e}function Np(){if(ii!==void 0)return ii;if(typeof document<"u")return document;throw new g(210,!1)}var $i=new v("",{providedIn:"root",factory:()=>xp}),xp="ng",Ui=new v(""),zt=new v("",{providedIn:"platform",factory:()=>"unknown"});var Gi=new v("",{providedIn:"root",factory:()=>Np().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ap="h",Rp="b";var xu=!1,Op=new v("",{providedIn:"root",factory:()=>xu});var Au=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Au||{}),Mr=new v(""),Wa=new Set;function Fp(e){Wa.has(e)||(Wa.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var kp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})();var Pp=(e,t,n,r)=>{};function Lp(e,t,n,r){Pp(e,t,n,r)}var Vp=()=>null;function Ru(e,t,n=!1){return Vp(e,t,n)}function Ou(e,t){let n=e.contentQueries;if(n!==null){let r=E(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];Yc(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function si(e,t,n){Yc(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Fu(e,t,n){if(Oc(t)){let r=E(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{E(r)}}}var le=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(le||{});var ai=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pd})`}};function jp(e){return e instanceof ai?e.changingThisBreaksApplicationSecurity:e}function Bp(e,t){return e.createText(t)}function Hp(e,t,n){e.setValue(t,n)}function ku(e,t,n){return e.createElement(t,n)}function sr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Pu(e,t,n){e.appendChild(t,n)}function qa(e,t,n,r,o){r!==null?sr(e,t,n,r,o):Pu(e,t,n)}function $p(e,t,n){e.removeChild(null,t,n)}function Up(e,t,n){e.setAttribute(t,"style",n)}function Gp(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Lu(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&tp(e,t,r),o!==null&&Gp(e,t,o),i!==null&&Up(e,t,i)}function zp(e){return e instanceof Function?e():e}function Wp(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 Vu="ng-template";function qp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Wp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(zi(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 zi(e){return e.type===4&&e.value!==Vu}function Zp(e,t,n){let r=e.type===4&&!n?Vu:e.value;return t===r}function Yp(e,t,n){let r=4,o=e.attrs,i=o!==null?Jp(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!te(r)&&!te(c))return!1;if(s&&te(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Zp(e,c,n)||c===""&&t.length===1){if(te(r))return!1;s=!0}}else if(r&8){if(o===null||!qp(e,o,c,n)){if(te(r))return!1;s=!0}}else{let u=t[++a],l=Qp(c,o,zi(e),n);if(l===-1){if(te(r))return!1;s=!0;continue}if(u!==""){let f;if(l>i?f="":f=o[l+1].toLowerCase(),r&2&&u!==f){if(te(r))return!1;s=!0}}}}return te(r)||s}function te(e){return(e&1)===0}function Qp(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 Xp(t,e)}function Kp(e,t,n=!1){for(let r=0;r<t.length;r++)if(Yp(e,t[r],n))return!0;return!1}function Jp(e){for(let t=0;t<e.length;t++){let n=e[t];if(np(n))return t}return e.length}function Xp(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 Za(e,t){return e?":not("+t.trim()+")":t}function eh(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!==""&&!te(s)&&(t+=Za(i,o),o=""),r=s,i=i||!te(r);n++}return o!==""&&(t+=Za(i,o)),t}function th(e){return e.map(eh).join(",")}function nh(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(!te(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ht={};function Wi(e,t,n,r,o,i,s,a,c,u,l){let f=ve+r,p=f+o,d=rh(f,p),h=typeof u=="function"?u():u;return d[w]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,f),bindingStartIndex:f,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 rh(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ht);return n}function oh(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Wi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qi(e,t,n,r,o,i,s,a,c,u,l){let f=t.blueprint.slice();return f[we]=o,f[m]=r|4|128|8|64|1024,(u!==null||e&&e[m]&2048)&&(f[m]|=2048),Bc(f),f[j]=f[lt]=e,f[U]=n,f[Ae]=s||e&&e[Ae],f[L]=a||e&&e[L],f[ot]=c||e&&e[ot]||null,f[ie]=i,f[Dr]=Sp(),f[Zn]=l,f[Ac]=u,f[ye]=t.type==2?e[ye]:f,f}function ih(e,t,n){let r=be(t,e),o=oh(n),i=e[Ae].rendererFactory,s=Zi(e,qi(e,o,null,ju(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function ju(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Bu(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 Zi(e,t){return e[Lt]?e[Oa][oe]=t:e[Lt]=t,e[Oa]=t,t}function fe(e=1){Hu(Oe(),F(),ft()+e,!1)}function Hu(e,t,n,r){if(!r)if((t[m]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Bn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Hn(t,i,0,n)}Ue(n)}var Sr=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Sr||{});function ci(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Sr.SignalBased)!==0&&(c=t[i][se]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Fc(t,c,i,r)}finally{E(o)}}function $u(e,t,n,r,o){let i=ft(),s=r&2;try{Ue(-1),s&&t.length>ve&&Hu(e,t,ve,!1),x(s?2:0,o),n(r,o)}finally{Ue(i),x(s?3:1,o)}}function Yi(e,t,n){fh(e,t,n),(n.flags&64)===64&&ph(e,t,n)}function Uu(e,t,n=be){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 sh(e,t,n,r){let i=r.get(Op,xu)||n===le.ShadowDom,s=e.selectRootElement(t,i);return ah(s),s}function ah(e){ch(e)}var ch=()=>null;function uh(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function lh(e,t,n,r,o,i,s,a){if(!a&&Qi(t,e,n,r,o)){Ht(t)&&dh(n,t.index);return}if(t.type&3){let c=be(t,n);r=uh(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function dh(e,t){let n=De(t,e);n[m]&16||(n[m]|=64)}function fh(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ht(n)&&ih(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||uu(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=ei(t,e,s,n);if(Gt(c,t),i!==null&&gh(t,s-r,c,a,n,i),We(a)){let u=De(n.index,t);u[U]=ei(t,e,s,n)}}}function ph(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Gf();try{Ue(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Jo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&hh(c,u)}}finally{Ue(-1),Jo(s)}}function hh(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Gu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Kp(t,i.selectors,!1)&&(r??=[],We(i)?r.unshift(i):r.push(i))}return r}function gh(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];ci(r,n,c,u)}}function mh(e,t){let n=e[ot],r=n?n.get(Ee,null):null;r&&r.handleError(t)}function Qi(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],f=t.data[u];ci(f,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];ci(l,u,r,o),a=!0}return a}function yh(e,t){let n=De(t,e),r=n[w];vh(r,n);let o=n[we];o!==null&&n[Zn]===null&&(n[Zn]=Ru(o,n[ot])),x(18),Ki(r,n,n[U]),x(19,n[U])}function vh(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ki(e,t,n){Oi(t);try{let r=e.viewQuery;r!==null&&si(1,r,n);let o=e.template;o!==null&&$u(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[st]?.finishViewCreation(e),e.staticContentQueries&&Ou(e,t),e.staticViewQueries&&si(2,e.viewQuery,n);let i=e.components;i!==null&&Dh(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[m]&=-5,Fi()}}function Dh(e,t){for(let n=0;n<t.length;n++)yh(e,t[n])}function Eh(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[m]&4096?4096:16,c=qi(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[it]=u;let l=e[st];return l!==null&&(c[st]=l.createEmbeddedView(i)),Ki(i,c,n),c}finally{E(o)}}function Ya(e,t){return!t||t.firstChild===null||wu(e)}var Ch;function Ji(e,t){return Ch(e,t)}var Ce=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ce||{});function zu(e){return(e.flags&32)===32}function tt(e,t,n,r,o){if(r!=null){let i,s=!1;Ie(r)?i=r:Ne(r)&&(s=!0,r=r[we]);let a=ue(r);e===0&&n!==null?o==null?Pu(t,n,a):sr(t,n,a,o||null,!0):e===1&&n!==null?sr(t,n,a,o||null,!0):e===2?$p(t,a,s):e===3&&t.destroyNode(a),i!=null&&Oh(t,e,i,n,o)}}function _h(e,t){Wu(e,t),t[we]=null,t[ie]=null}function wh(e,t,n,r,o,i){r[we]=o,r[ie]=t,Tr(e,r,n,1,o,i)}function Wu(e,t){t[Ae].changeDetectionScheduler?.notify(9),Tr(e,t,t[L],2,null,null)}function Ih(e){let t=e[Lt];if(!t)return Lo(e[w],e);for(;t;){let n=null;if(Ne(t))n=t[Lt];else{let r=t[K];r&&(n=r)}if(!n){for(;t&&!t[oe]&&t!==e;)Ne(t)&&Lo(t[w],t),t=t[j];t===null&&(t=e),Ne(t)&&Lo(t[w],t),n=t&&t[oe]}t=n}}function Xi(e,t){let n=e[Jn],r=n.indexOf(t);n.splice(r,1)}function qu(e,t){if(dt(t))return;let n=t[L];n.destroyNode&&Tr(e,t,n,3,null,null),Ih(t)}function Lo(e,t){if(dt(t))return;let n=E(null);try{t[m]&=-129,t[m]|=256,t[Q]&&uo(t[Q]),Mh(e,t),bh(e,t),t[w].type===1&&t[L].destroy();let r=t[it];if(r!==null&&Ie(t[j])){r!==t[j]&&Xi(r,t);let o=t[st];o!==null&&o.detachView(e)}oi(t)}finally{E(n)}}function bh(e,t){let n=e.cleanup,r=t[Yn];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[Yn]=null);let o=t[Te];if(o!==null){t[Te]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Qn];if(i!==null){t[Qn]=null;for(let s of i)s.destroy()}}function Mh(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 Vt)){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];x(4,a,c);try{c.call(a)}finally{x(5,a,c)}}else{x(4,o,i);try{i.call(o)}finally{x(5,o,i)}}}}}function Sh(e,t,n){return Th(e,t.parent,n)}function Th(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[we];if(Ht(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===le.None||o===le.Emulated)return null}return be(r,n)}function Nh(e,t,n){return Ah(e,t,n)}function xh(e,t,n){return e.type&40?be(e,n):null}var Ah=xh,Qa;function es(e,t,n,r){let o=Sh(e,r,t),i=t[L],s=r.parent||t[ie],a=Nh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)qa(i,o,n[c],a,!1);else qa(i,o,n,a,!1);Qa!==void 0&&Qa(i,r,t,n,o)}function Rt(e,t){if(t!==null){let n=t.type;if(n&3)return be(t,e);if(n&4)return ui(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Rt(e,r);{let o=e[t.index];return Ie(o)?ui(-1,o):ue(o)}}else{if(n&128)return Rt(e,t.next);if(n&32)return Ji(t,e)()||ue(e[t.index]);{let r=Zu(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=$e(e[ye]);return Rt(o,r)}else return Rt(e,t.next)}}}return null}function Zu(e,t){if(t!==null){let r=e[ye][ie],o=t.projection;return r.projection[o]}return null}function ui(e,t){let n=K+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Rt(r,o)}return t[He]}function ts(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&&Gt(ue(a),r),n.flags|=2),!zu(n))if(c&8)ts(e,t,n.child,r,o,i,!1),tt(t,e,o,a,i);else if(c&32){let u=Ji(n,r),l;for(;l=u();)tt(t,e,o,l,i);tt(t,e,o,a,i)}else c&16?Rh(e,t,r,n,o,i):tt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Tr(e,t,n,r,o,i){ts(n,r,e.firstChild,t,o,i,!1)}function Rh(e,t,n,r,o,i){let s=n[ye],c=s[ie].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];tt(t,e,o,l,i)}else{let u=c,l=s[j];wu(r)&&(u.flags|=128),ts(e,t,u,l,o,i,!0)}}function Oh(e,t,n,r,o){let i=n[He],s=ue(n);i!==s&&tt(t,e,r,i,o);for(let a=K;a<n.length;a++){let c=n[a];Tr(c[w],c,e,t,r,i)}}function Fh(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ce.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ce.Important),e.setStyle(n,r,o,i))}}function ar(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(ue(i)),Ie(i)&&kh(i,r);let s=n.type;if(s&8)ar(e,t,n.child,r);else if(s&32){let a=Ji(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Zu(t,n);if(Array.isArray(a))r.push(...a);else{let c=$e(t[ye]);ar(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function kh(e,t){for(let n=K;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&ar(r[w],r,o,t)}e[He]!==e[we]&&t.push(e[He])}function Yu(e){if(e[Fo]!==null){for(let t of e[Fo])t.impl.addSequence(t);e[Fo].length=0}}var Qu=[];function Ph(e){return e[Q]??Lh(e)}function Lh(e){let t=Qu.pop()??Object.create(jh);return t.lView=e,t}function Vh(e){e.lView[Q]!==e&&(e.lView=null,Qu.push(e))}var jh=N(M({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Er(e.lView)},consumerOnSignalRead(){this.lView[Q]=this}});function Bh(e){let t=e[Q]??Object.create(Hh);return t.lView=e,t}var Hh=N(M({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=$e(e.lView);for(;t&&!Ku(t[w]);)t=$e(t);t&&Ri(t)},consumerOnSignalRead(){this.lView[Q]=this}});function Ku(e){return e.type!==2}function Ju(e){if(e[Qn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Qn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[m]&8192)}}var $h=100;function Xu(e,t=!0,n=0){let o=e[Ae].rendererFactory,i=!1;i||o.begin?.();try{Uh(e,n)}catch(s){throw t&&mh(e,s),s}finally{i||o.end?.()}}function Uh(e,t){let n=qc();try{ka(!0),li(e,t);let r=0;for(;$t(e);){if(r===$h)throw new g(103,!1);r++,li(e,1)}}finally{ka(n)}}function Gh(e,t,n,r){if(dt(t))return;let o=t[m],i=!1,s=!1;Oi(t);let a=!0,c=null,u=null;i||(Ku(e)?(u=Ph(t),c=fn(u)):ro()===null?(a=!1,u=Bh(t),c=fn(u)):t[Q]&&(uo(t[Q]),t[Q]=null));try{Bc(t),Bf(e.bindingStartIndex),n!==null&&$u(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let d=e.preOrderCheckHooks;d!==null&&Bn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Hn(t,d,0,null),ko(t,0)}if(s||zh(t),Ju(t),el(t,0),e.contentQueries!==null&&Ou(e,t),!i)if(l){let d=e.contentCheckHooks;d!==null&&Bn(t,d)}else{let d=e.contentHooks;d!==null&&Hn(t,d,1),ko(t,1)}qh(e,t);let f=e.components;f!==null&&nl(t,f,0);let p=e.viewQuery;if(p!==null&&si(2,p,r),!i)if(l){let d=e.viewCheckHooks;d!==null&&Bn(t,d)}else{let d=e.viewHooks;d!==null&&Hn(t,d,2),ko(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Oo]){for(let d of t[Oo])d();t[Oo]=null}i||(Yu(t),t[m]&=-73)}catch(l){throw i||Er(t),l}finally{u!==null&&(ao(u,c),a&&Vh(u)),Fi()}}function el(e,t){for(let n=Mu(e);n!==null;n=Su(n))for(let r=K;r<n.length;r++){let o=n[r];tl(o,t)}}function zh(e){for(let t=Mu(e);t!==null;t=Su(t)){if(!(t[m]&2))continue;let n=t[Jn];for(let r=0;r<n.length;r++){let o=n[r];Ri(o)}}}function Wh(e,t,n){x(18);let r=De(t,e);tl(r,n),x(19,r[U])}function tl(e,t){Ai(e)&&li(e,t)}function li(e,t){let r=e[w],o=e[m],i=e[Q],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&co(i)),s||=!1,i&&(i.dirty=!1),e[m]&=-9217,s)Gh(r,e,r.template,e[U]);else if(o&8192){Ju(e),el(e,1);let a=r.components;a!==null&&nl(e,a,1),Yu(e)}}function nl(e,t,n){for(let r=0;r<t.length;r++)Wh(e,t[r],n)}function qh(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)Ue(~o);else{let i=o,s=n[++r],a=n[++r];Uf(s,i);let c=t[i];x(24,c),a(2,c),x(25,c)}}}finally{Ue(-1)}}function ns(e,t){let n=qc()?64:1088;for(e[Ae].changeDetectionScheduler?.notify(t);e;){e[m]|=n;let r=$e(e);if(Xn(e)&&!r)return e;e=r}return null}function rl(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Zh(e,t,n,r=!0){let o=t[w];if(Yh(o,t,e,n),r){let s=ui(n,e),a=t[L],c=a.parentNode(e[He]);c!==null&&wh(o,e[ie],a,t,c,s)}let i=t[Zn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function di(e,t){if(e.length<=K)return;let n=K+t,r=e[n];if(r){let o=r[it];o!==null&&o!==e&&Xi(o,r),t>0&&(e[n-1][oe]=r[oe]);let i=zn(e,K+t);_h(r[w],r);let s=i[st];s!==null&&s.detachView(i[w]),r[j]=null,r[oe]=null,r[m]&=-129}return r}function Yh(e,t,n,r){let o=K+r,i=n.length;r>0&&(n[o-1][oe]=t),r<i-K?(t[oe]=n[o],wc(n,K+r,t)):(n.push(t),t[oe]=null),t[j]=n;let s=t[it];s!==null&&n!==s&&ol(s,t);let a=t[st];a!==null&&a.insertView(e),Qo(t),t[m]|=128}function ol(e,t){let n=e[Jn],r=t[j];if(Ne(r))e[m]|=2;else{let o=r[j][ye];t[ye]!==o&&(e[m]|=2)}n===null?e[Jn]=[t]:n.push(t)}var rs=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[w];return ar(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[U]}set context(t){this._lView[U]=t}get destroyed(){return dt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[j];if(Ie(t)){let n=t[Kn],r=n?n.indexOf(this):-1;r>-1&&(di(t,r),zn(n,r))}this._attachedToViewContainer=!1}qu(this._lView[w],this._lView)}onDestroy(t){Hc(this._lView,t)}markForCheck(){ns(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[m]&=-129}reattach(){Qo(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Xu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new g(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Xn(this._lView),n=this._lView[it];n!==null&&!t&&Xi(n,this._lView),Wu(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new g(902,!1);this._appRef=t;let n=Xn(this._lView),r=this._lView[it];r!==null&&!n&&ol(r,this._lView),Qo(this._lView)}};function il(e){return $t(e._lView)||!!(e._lView[m]&64)}function sl(e){Ri(e._cdRefInjectingView||e._lView)}var Nr=(()=>{class e{static __NG_ELEMENT_ID__=Jh}return e})(),Qh=Nr,Kh=class extends Qh{_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=Eh(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new rs(o)}};function Jh(){return Xh(Me(),F())}function Xh(e,t){return e.type&4?new Kh(t,e,Ir(e,t)):null}function os(e,t,n,r,o){let i=e.data[t];if(i===null)i=eg(e,t,n,r,o),$f()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Vf();i.injectorIndex=s===null?-1:s.injectorIndex}return Ut(i,!0),i}function eg(e,t,n,r,o){let i=zc(),s=Wc(),a=s?i:i&&i.parent,c=e.data[t]=ng(e,a,n,t,r,o);return tg(e,c,i,s),c}function tg(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function ng(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return kf()&&(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:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var GC=new RegExp(`^(\\d+)*(${Rp}|${Ap})*(.*)`);var rg=()=>null;function Ka(e,t){return rg(e,t)}var og=class{},al=class{},fi=class{resolveComponentFactory(t){throw Error(`No component factory found for ${$(t)}.`)}},qe=class{static NULL=new fi},at=class{},is=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ig()}return e})();function ig(){let e=F(),t=Me(),n=De(t.index,e);return(Ne(n)?n:e)[L]}var sg=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();var Vo={},pi=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=yr(r);let o=this.injector.get(t,Vo,r);return o!==Vo||n===Vo?o:this.parentInjector.get(t,n,r)}};function Ja(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=ba(o,a);else if(i==2){let c=a,u=t[++s];r=ba(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function W(e,t=y.Default){let n=F();if(n===null)return C(e,t);let r=Me();return pu(r,n,ne(e),t)}function cl(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,u=null,l=cg(s);l===null?a=s:[a,c,u]=l,dg(e,t,n,a,i,c,u)}i!==null&&r!==null&&ag(n,r,i)}function ag(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new g(-301,!1);r.push(t[o],i)}}function cg(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&We(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,ug(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function ug(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function lg(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function dg(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let d=r[p];!c&&We(d)&&(c=!0,lg(e,n,p)),cp(uu(n,t),e,d.type)}yg(n,e.data.length,a);for(let p=0;p<a;p++){let d=r[p];d.providersResolver&&d.providersResolver(d)}let u=!1,l=!1,f=Bu(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let d=r[p];if(n.mergedAttrs=Li(n.mergedAttrs,d.hostAttrs),pg(e,n,t,f,d),mg(f,d,o),s!==null&&s.has(d)){let[b,B]=s.get(d);n.directiveToIndex.set(d.type,[f,b+n.directiveStart,B+n.directiveStart])}else(i===null||!i.has(d))&&n.directiveToIndex.set(d.type,f);d.contentQueries!==null&&(n.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(n.flags|=64);let h=d.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),f++}fg(e,n,i)}function fg(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Xa(0,t,o,r),Xa(1,t,o,r),tc(t,r,!1);else{let i=n.get(o);ec(0,t,i,r),ec(1,t,i,r),tc(t,r,!0)}}}function Xa(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),ul(t,i)}}function ec(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ul(t,s)}}function ul(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function tc(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||zi(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function pg(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ft(o.type,!0)),s=new Vt(i,We(o),W);e.blueprint[r]=s,n[r]=s,hg(e,t,r,Bu(e,n,o.hostVars,ht),o)}function hg(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;gg(s)!=a&&s.push(a),s.push(n,r,i)}}function gg(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function mg(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;We(t)&&(n[""]=e)}}function yg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ll(e,t,n,r,o,i,s,a){let c=t.consts,u=er(c,s),l=os(t,e,2,r,u);return i&&cl(t,n,l,er(c,a),o),l.mergedAttrs=Li(l.mergedAttrs,l.attrs),l.attrs!==null&&Ja(l,l.attrs,!1),l.mergedAttrs!==null&&Ja(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function dl(e,t){ou(e,t),Oc(t)&&e.queries.elementEnd(t)}var cr=class extends qe{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=kt(t);return new ur(n,this.ngModule)}};function vg(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Sr.SignalBased)!==0};return o&&(i.transform=o),i})}function Dg(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Eg(e,t,n){let r=t instanceof xe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new pi(n,r):n}function Cg(e){let t=e.get(at,null);if(t===null)throw new g(407,!1);let n=e.get(sg,null),r=e.get(Ge,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function _g(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return ku(t,n,n==="svg"?Lc:n==="math"?Tf:null)}var ur=class extends al{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=vg(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Dg(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=th(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){x(22);let i=E(null);try{let s=this.componentDef,a=r?["ng-version","19.2.18"]:nh(this.componentDef.selectors[0]),c=Wi(0,null,null,1,0,null,null,null,null,[a],null),u=Eg(s,o||this.ngModule,t),l=Cg(u),f=l.rendererFactory.createRenderer(null,s),p=r?sh(f,r,s.encapsulation,u):_g(s,f),d=qi(null,c,null,512|ju(s),null,null,l,f,u,null,Ru(p,u,!0));d[ve]=p,Oi(d);let h=null;try{let b=ll(ve,c,d,"#host",()=>[this.componentDef],!0,0);p&&(Lu(f,p,b),Gt(p,d)),Yi(c,d,b),Fu(c,b,d),dl(c,b),n!==void 0&&wg(b,this.ngContentSelectors,n),h=De(b.index,d),d[U]=h[U],Ki(c,d,null)}catch(b){throw h!==null&&oi(h),oi(d),b}finally{x(23),Fi()}return new hi(this.componentType,d)}finally{E(i)}}},hi=class extends og{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=jc(n[w],ve),this.location=Ir(this._tNode,n),this.instance=De(this._tNode.index,n)[U],this.hostView=this.changeDetectorRef=new rs(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Qi(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=De(r.index,o);ns(s,1)}get injector(){return new Be(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function wg(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)}}var xr=(()=>{class e{static __NG_ELEMENT_ID__=Ig}return e})();function Ig(){let e=Me();return Mg(e,F())}var bg=xr,fl=class extends bg{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ir(this._hostTNode,this._hostLView)}get injector(){return new Be(this._hostTNode,this._hostLView)}get parentInjector(){let t=Vi(this._hostTNode,this._hostLView);if(su(t)){let n=nr(t,this._hostLView),r=tr(t),o=n[w].data[r+8];return new Be(o,n)}else return new Be(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=nc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-K}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ka(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ya(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!wf(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 ur(kt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let b=(s?u:this.parentInjector).get(xe,null);b&&(i=b)}let l=kt(c.componentType??{}),f=Ka(this._lContainer,l?.id??null),p=f?.firstChild??null,d=c.create(u,o,p,i);return this.insertImpl(d.hostView,a,Ya(this._hostTNode,f)),d}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Nf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[j],u=new fl(c,c[ie],c[j]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Zh(s,o,i,r),t.attachToViewContainerRef(),wc(jo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=nc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=di(this._lContainer,n);r&&(zn(jo(this._lContainer),n),qu(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=di(this._lContainer,n);return r&&zn(jo(this._lContainer),n)!=null?new rs(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function nc(e){return e[Kn]}function jo(e){return e[Kn]||(e[Kn]=[])}function Mg(e,t){let n,r=t[e.index];return Ie(r)?n=r:(n=rl(r,t,null,e),t[e.index]=n,Zi(t,n)),Tg(n,t,e,r),new fl(n,e,t)}function Sg(e,t){let n=e[L],r=n.createComment(""),o=be(t,e),i=n.parentNode(o);return sr(n,i,r,n.nextSibling(o),!1),r}var Tg=Ag,Ng=()=>!1;function xg(e,t,n){return Ng(e,t,n)}function Ag(e,t,n,r){if(e[He])return;let o;n.type&8?o=ue(r):o=Sg(t,n),e[He]=o}function Rg(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(Pg))}return i}return lr.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((f,p)=>{a.push(""),s.push(r(f).then(d=>{a[u+p]=d,l.splice(l.indexOf(f),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(()=>Lg(i));t.push(c)}),Fg(),Promise.all(t).then(()=>{})}var lr=new Map,Og=new Set;function Fg(){let e=lr;return lr=new Map,e}function kg(){return lr.size===0}function Pg(e){return typeof e=="string"?e:e.text()}function Lg(e){Og.delete(e)}var ct=class{},Vg=class{};var dr=class extends ct{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new cr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=uf(t);this._bootstrapComponents=zp(i.bootstrap),this._r3Injector=mu(t,n,[{provide:ct,useValue:this},{provide:qe,useValue:this.componentFactoryResolver},...r],$(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)}},gi=class extends Vg{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new dr(this.moduleType,t,[])}};function jg(e,t,n){return new dr(e,t,n,!1)}var mi=class extends ct{injector;componentFactoryResolver=new cr(this);instance=null;constructor(t){super();let n=new Pt([...t.providers,{provide:ct,useValue:this},{provide:qe,useValue:this.componentFactoryResolver}],t.parent||Ni(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Bg(e,t,n=null){return new mi({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Hg=(()=>{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=Mc(!1,n.type),o=r.length>0?Bg([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=T({token:e,providedIn:"environment",factory:()=>new e(C(xe))})}return e})();function pl(e){return mr(()=>{let t=hl(e),n=N(M({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Iu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Hg).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||le.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Fp("NgStandalone"),gl(n);let r=e.dependencies;return n.directiveDefs=rc(r,!1),n.pipeDefs=rc(r,!0),n.id=Wg(n),n})}function $g(e){return kt(e)||lf(e)}function Ug(e){return e!==null}function pe(e){return mr(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Gg(e,t){if(e==null)return rt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Sr.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function zg(e){if(e==null)return rt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Wt(e){return mr(()=>{let t=hl(e);return gl(t),t})}function hl(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,inputConfig:e.inputs||rt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gg(e.inputs,t),outputs:zg(e.outputs),debugInfo:null}}function gl(e){e.features?.forEach(t=>t(e))}function rc(e,t){if(!e)return null;let n=t?df:$g;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Ug)}function Wg(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ml(e){return Zg(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function qg(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 Zg(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ss(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Yg(e,t,n,r,o,i,s,a,c){let u=t.consts,l=os(t,e,4,s||null,a||null);Gc()&&cl(t,n,l,er(u,c),Gu),l.mergedAttrs=Li(l.mergedAttrs,l.attrs),ou(t,l);let f=l.tView=Wi(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),f.queries=t.queries.embeddedTView(l)),l}function Qg(e,t,n,r,o,i,s,a,c,u){let l=n+ve,f=t.firstCreatePass?Yg(l,t,e,r,o,i,s,a,c):t.data[l];Ut(f,!1);let p=Kg(t,e,f,n);ki()&&es(t,e,p,f),Gt(p,e);let d=rl(p,e,p,f);return e[l]=d,Zi(e,d),xg(d,f,e),xi(f)&&Yi(t,e,f),c!=null&&Uu(e,f,u),f}function qt(e,t,n,r,o,i,s,a){let c=F(),u=Oe(),l=er(u.consts,i);return Qg(c,u,e,t,n,r,o,l,s,a),qt}var Kg=Jg;function Jg(e,t,n,r){return Pi(!0),t[L].createComment("")}var as=new v(""),Zt=new v(""),Ar=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,xc()&&(this._destroyRef=I(ji,{optional:!0})??void 0),cs||(Xg(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}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)(C(R),C(Rr),C(Zt))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Rr=(()=>{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 cs?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Xg(e){cs=e}var cs,em=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new yi})}return e})(),yi=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}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()}};function Yt(e){return!!e&&typeof e.then=="function"}function yl(e){return!!e&&typeof e.subscribe=="function"}var tm=new v("");var vl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(tm,{optional:!0})??[];injector=I(J);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Nc(this.injector,o);if(Yt(i))n.push(i);else if(yl(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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nm=new v("");function rm(){fo(()=>{throw new g(600,!1)})}function om(e){return e.isBoundToModule}var im=10;function Dl(e,t){return Array.isArray(t)?t.reduce(Dl,e):M(M({},e),t)}var Re=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(wp);afterRenderManager=I(kp);zonelessEnabled=I(vu);rootEffectScheduler=I(em);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ee;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=I(wr).hasPendingTasks.pipe(me(n=>!n));constructor(){I(Mr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(xe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=J.NULL){x(10);let i=n instanceof al;if(!this._injector.get(vl).done){let d="";throw new g(405,d)}let a;i?a=n:a=this._injector.get(qe).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=om(a)?void 0:this._injector.get(ct),u=r||a.selector,l=a.create(o,[],u,c),f=l.location.nativeElement,p=l.injector.get(as,null);return p?.registerApplication(f),l.onDestroy(()=>{this.detachView(l.hostView),$n(this.components,l),p?.unregisterApplication(f)}),this._loadComponent(l),x(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){x(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Au.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new g(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),x(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(at,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<im;)x(14),this.synchronizeOnce(),x(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)sm(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>$t(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;$n(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(nm,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$n(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new g(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $n(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function sm(e,t,n,r){if(!n&&!$t(e))return;Xu(e,t,n&&!r?0:1)}function am(e,t,n,r){return ss(e,Zc(),n)?t+vc(n)+r:ht}function Ln(e,t){return e<<17|t<<2}function ze(e){return e>>17&32767}function cm(e){return(e&2)==2}function um(e,t){return e&131071|t<<17}function vi(e){return e|2}function ut(e){return(e&131068)>>2}function Bo(e,t){return e&-131069|t<<2}function lm(e){return(e&1)===1}function Di(e){return e|1}function dm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ze(s),c=ut(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let f=n;l=f[1],(l===null||Bt(f,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=ze(e[a+1]);e[r+1]=Ln(p,a),p!==0&&(e[p+1]=Bo(e[p+1],r)),e[a+1]=um(e[a+1],r)}else e[r+1]=Ln(a,0),a!==0&&(e[a+1]=Bo(e[a+1],r)),a=r;else e[r+1]=Ln(c,0),a===0?a=r:e[c+1]=Bo(e[c+1],r),c=r;u&&(e[r+1]=vi(e[r+1])),oc(e,l,r,!0),oc(e,l,r,!1),fm(t,l,e,r,i),s=Ln(a,c),i?t.classBindings=s:t.styleBindings=s}function fm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bt(i,t)>=0&&(n[r+1]=Di(n[r+1]))}function oc(e,t,n,r){let o=e[n+1],i=t===null,s=r?ze(o):ut(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];pm(c,t)&&(a=!0,e[s+1]=r?Di(u):vi(u)),s=r?ze(u):ut(u)}a&&(e[n+1]=r?vi(o):Di(o))}function pm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bt(e,t)>=0:!1}function Se(e,t,n){let r=F(),o=Zc();if(ss(r,o,t)){let i=Oe(),s=Zf();lh(i,s,r,e,t,r[L],n,!1)}return Se}function ic(e,t,n,r,o){Qi(t,e,n,o?"class":"style",r)}function us(e,t,n){return hm(e,t,n,!1),us}function hm(e,t,n,r){let o=F(),i=Oe(),s=Hf(2);if(i.firstUpdatePass&&mm(i,e,s,r),t!==ht&&ss(o,s,t)){let a=i.data[ft()];Cm(i,a,o,o[L],e,o[s+1]=_m(t,n),r,s)}}function gm(e,t){return t>=e.expandoStartIndex}function mm(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ft()],s=gm(e,n);wm(i,r)&&t===null&&!s&&(t=!1),t=ym(o,i,t,r),dm(o,i,t,n,s,r)}}function ym(e,t,n,r){let o=zf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ho(null,e,t,n,r),n=jt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ho(o,e,t,n,r),i===null){let c=vm(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ho(null,e,t,c[1],r),c=jt(c,t.attrs,r),Dm(e,t,r,c))}else i=Em(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function vm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ut(r)!==0)return e[ze(r)]}function Dm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ze(o)]=r}function Em(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=jt(r,s,n)}return jt(r,t.attrs,n)}function Ho(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=jt(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function jt(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]),af(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Cm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=lm(u)?sc(c,t,n,o,ut(u),s):void 0;if(!fr(l)){fr(i)||cm(u)&&(i=sc(c,null,n,o,a,s));let f=Vc(ft(),n);Fh(r,s,f,o,i)}}function sc(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,f=l===null,p=n[o+1];p===ht&&(p=f?re:void 0);let d=f?Ao(p,r):l===r?p:void 0;if(u&&!fr(d)&&(d=Ao(c,r)),fr(d)&&(a=d,s))return a;let h=e[o+1];o=s?ze(h):ut(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ao(c,r))}return a}function fr(e){return e!==void 0}function _m(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=$(jp(e)))),e}function wm(e,t){return(e.flags&(t?8:16))!==0}function G(e,t,n,r){let o=F(),i=Oe(),s=ve+e,a=o[L],c=i.firstCreatePass?ll(s,i,o,t,Gu,Gc(),n,r):i.data[s],u=Im(i,o,c,a,t,e);o[s]=u;let l=xi(c);return Ut(c,!0),Lu(a,u,c),!zu(c)&&ki()&&es(i,o,u,c),(Rf()===0||l)&&Gt(u,o),Of(),l&&(Yi(i,o,c),Fu(i,c,o)),r!==null&&Uu(o,c),G}function z(){let e=Me();Wc()?jf():(e=e.parent,Ut(e,!1));let t=e;Pf(t)&&Lf(),Ff();let n=Oe();return n.firstCreatePass&&dl(n,t),t.classesWithoutHost!=null&&Xf(t)&&ic(n,t,F(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&ep(t)&&ic(n,t,F(),t.stylesWithoutHost,!1),z}function Or(e,t,n,r){return G(e,t,n,r),z(),Or}var Im=(e,t,n,r,o,i)=>(Pi(!0),ku(r,o,Qf()));function El(){return F()}var pr="en-US";var bm=pr;function Mm(e){typeof e=="string"&&(bm=e.toLowerCase().replace(/_/g,"-"))}function ac(e,t,n){return function r(o){if(o===Function)return n;let i=Ht(e)?De(e.index,t):t;ns(i,5);let s=t[U],a=cc(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=cc(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function cc(e,t,n,r){let o=E(null);try{return x(6,t,n),n(r)!==!1}catch(i){return Sm(e,i),!1}finally{x(7,t,n),E(o)}}function Sm(e,t){let n=e[ot],r=n?n.get(Ee,null):null;r&&r.handleError(t)}function uc(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],l=s[u],f=a.firstCreatePass?Uc(a):null,p=$c(t),d=l.subscribe(i),h=p.length;p.push(i,d),f&&f.push(o,e.index,h,-(h+1))}function gt(e,t,n,r){let o=F(),i=Oe(),s=Me();return Nm(i,o,o[L],s,e,t,r),gt}function Tm(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[Yn],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Nm(e,t,n,r,o,i,s){let a=xi(r),u=e.firstCreatePass?Uc(e):null,l=$c(t),f=!0;if(r.type&3||s){let p=be(r,t),d=s?s(p):p,h=l.length,b=s?k=>s(ue(k[r.index])):r.index,B=null;if(!s&&a&&(B=Tm(e,t,o,r.index)),B!==null){let k=B.__ngLastListenerFn__||B;k.__ngNextListenerFn__=i,B.__ngLastListenerFn__=i,f=!1}else{i=ac(r,t,i),Lp(t,d,o,i);let k=n.listen(d,o,i);l.push(i,k),u&&u.push(o,b,h,h+1)}}else i=ac(r,t,i);if(f){let p=r.outputs?.[o],d=r.hostDirectiveOutputs?.[o];if(d&&d.length)for(let h=0;h<d.length;h+=2){let b=d[h],B=d[h+1];uc(r,t,b,B,o,i)}if(p&&p.length)for(let h of p)uc(r,t,h,o,o,i)}}function mt(e=1){return qf(e)}function Fe(e,t=""){let n=F(),r=Oe(),o=e+ve,i=r.firstCreatePass?os(r,o,1,t,null):r.data[o],s=xm(r,n,i,t,e);n[o]=s,ki()&&es(r,n,s,i),Ut(i,!1)}var xm=(e,t,n,r,o)=>(Pi(!0),Bp(t[L],r));function Fr(e,t,n){let r=F(),o=am(r,e,t,n);return o!==ht&&Am(r,ft(),o),Fr}function Am(e,t,n){let r=Vc(t,e);Hp(e[L],r,n)}var Vn=null;function Rm(e){Vn!==null&&(e.defaultEncapsulation!==Vn.defaultEncapsulation||e.preserveWhitespaces!==Vn.preserveWhitespaces)||(Vn=e)}var Om=new v("");function Fm(e,t,n){let r=new gi(n);return Promise.resolve(r)}function lc(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var km=(()=>{class e{zone=I(R);changeDetectionScheduler=I(Ge);applicationRef=I(Re);_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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pm({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new R(N(M({},Cl()),{scheduleInRootZone:n})),[{provide:R,useFactory:e},{provide:Wn,multi:!0,useFactory:()=>{let r=I(km,{optional:!0});return()=>r.initialize()}},{provide:Wn,multi:!0,useFactory:()=>{let r=I(Lm);return()=>{r.initialize()}}},t===!0?{provide:Du,useValue:!0}:[],{provide:Eu,useValue:n??yu}]}function Cl(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Lm=(()=>{class e{subscription=new V;initialized=!1;zone=I(R);pendingTasks=I(wr);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(()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{R.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vm=(()=>{class e{appRef=I(Re);taskService=I(wr);ngZone=I(R);zonelessEnabled=I(vu);tracing=I(Mr,{optional:!0});disableScheduling=I(Du,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(or):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Eu,{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 ir||!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 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?$a:Cu;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(or+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,$a(()=>{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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jm(){return typeof $localize<"u"&&$localize.locale||pr}var ls=new v("",{providedIn:"root",factory:()=>I(ls,y.Optional|y.SkipSelf)||jm()});var hr=new v(""),Bm=new v("");function xt(e){return!e.moduleRef}function Hm(e){let t=xt(e)?e.r3Injector:e.moduleRef.injector,n=t.get(R);return n.run(()=>{xt(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ee,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),xt(e)){let i=()=>t.destroy(),s=e.platformInjector.get(hr);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(hr);s.add(i),e.moduleRef.onDestroy(()=>{$n(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Um(r,n,()=>{let i=t.get(vl);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ls,pr);if(Mm(s||pr),!t.get(Bm,!0))return xt(e)?t.get(Re):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(xt(e)){let c=t.get(Re);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return $m(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function $m(e,t){let n=e.injector.get(Re);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new g(-403,!1);t.push(e)}function Um(e,t,n){try{let r=n();return Yt(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var _l=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>_p(r?.ngZone,N(M({},Cl({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[Pm({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Ge,useExisting:Vm}],c=jg(n.moduleType,this.injector,a);return Hm({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=Dl({},r);return Fm(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 g(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(hr,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(C(J))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ds=null;function Gm(e){if(ps())throw new g(400,!1);rm(),ds=e;let t=e.get(_l);return qm(e),t}function fs(e,t,n=[]){let r=`Platform: ${t}`,o=new v(r);return(i=[])=>{let s=ps();if(!s){let a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??Gm(zm(a,r))}return Wm(o)}}function zm(e=[],t){return J.create({name:t,providers:[{provide:vr,useValue:"platform"},{provide:hr,useValue:new Set([()=>ds=null])},...e]})}function Wm(e){let t=ps();if(!t)throw new g(401,!1);return t}function ps(){return ds?.get(_l)??null}function qm(e){let t=e.get(Ui,null);Nc(e,()=>{t?.forEach(n=>n())})}var Ei=class{constructor(){}supports(t){return ml(t)}create(t){return new Ci(t)}},Zm=(e,t)=>t,Ci=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||Zm}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<dc(r,o,i)?n:r,a=dc(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 d=p<i.length?i[p]:i[p]=0,h=d+p;l<=h&&h<u&&(i[p]=d+1)}let f=s.previousIndex;i[f]=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=[]),!ml(t))throw new g(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,qg(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 _i(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 gr),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 gr),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}},_i=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}},wi=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}},gr=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new wi,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 dc(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 fc(){return new hs([new Ei])}var hs=(()=>{class e{factories;static \u0275prov=T({token:e,providedIn:"root",factory:fc});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||fc()),deps:[[e,new of,new rf]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new g(901,!1)}}return e})();var wl=fs(null,"core",[]),Il=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(C(Re))};static \u0275mod=pe({type:e});static \u0275inj=de({})}return e})();function ke(e){return mo(e)}function kr(e,t){return lo(e,t?.equal)}var pc=class{[se];constructor(t){this[se]=t}destroy(){this[se].destroy()}};var he=new v("");var bl=null;function vt(){return bl}function gs(e){bl??=e}var Qt=class{};var ms=/\s+/,Ml=[],ys=(()=>{class e{_ngEl;_renderer;initialClasses=Ml;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ms):Ml}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ms):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(ms).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)(W(pt),W(is))};static \u0275dir=Wt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Pr=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}},Vr=(()=>{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;!this._differ&&n&&(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 Pr(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),Sl(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);Sl(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(W(xr),W(Nr),W(hs))};static \u0275dir=Wt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Sl(e,t){e.context.$implicit=t.item}var vs=(()=>{class e{_viewContainer;_context=new Lr;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Tl(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Tl(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(W(xr),W(Nr))};static \u0275dir=Wt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Lr=class{$implicit=null;ngIf=null};function Tl(e,t){if(e&&!e.createEmbeddedView)throw new g(2020,!1)}var Kt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=de({})}return e})();function Ds(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 Es="browser",Nl="server";function jr(e){return e===Nl}var Jt=class{};var $r=new v(""),Is=(()=>{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,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new g(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(C($r),C(R))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Xt=class{_doc;constructor(t){this._doc=t}manager},Br="ng-app-id";function xl(e){for(let t of e)t.remove()}function Al(e,t){let n=t.createElement("style");return n.textContent=e,n}function Km(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Br}="${t}"],link[${Br}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Br),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function _s(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var bs=(()=>{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=jr(i),Km(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Al);r?.forEach(o=>this.addUsage(o,this.external,_s))}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&&(xl(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])xl(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Al(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,_s(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Br,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(he),C($i),C(Gi,8),C(zt))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Cs={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"},Ms=/%COMP%/g;var Ol="%COMP%",Jm=`_nghost-${Ol}`,Xm=`_ngcontent-${Ol}`,ey=!0,ty=new v("",{providedIn:"root",factory:()=>ey});function ny(e){return Xm.replace(Ms,e)}function ry(e){return Jm.replace(Ms,e)}function Fl(e,t){return t.map(n=>n.replace(Ms,e))}var Ss=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=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.tracingService=l,this.platformIsServer=jr(a),this.defaultRenderer=new en(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===le.ShadowDom&&(r=N(M({},r),{encapsulation:le.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Hr?o.applyToHost(n):o instanceof tn&&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,f=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case le.Emulated:i=new Hr(c,u,r,this.appId,l,s,a,f,p);break;case le.ShadowDom:return new ws(c,u,n,r,s,a,this.nonce,f,p);default:i=new tn(c,u,r,l,s,a,f,p);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(C(Is),C(bs),C($i),C(ty),C(he),C(zt),C(R),C(Gi),C(Mr,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),en=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Cs[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Rl(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Rl(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 g(-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=Cs[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Cs[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&(Ce.DashCase|Ce.Important)?t.style.setProperty(n,r,o&Ce.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ce.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,o){if(typeof t=="string"&&(t=vt().getGlobalEventTarget(this.doc,t),!t))throw new g(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Rl(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ws=class extends en{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Fl(o.id,l);for(let p of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=p,this.shadowRoot.appendChild(d)}let f=o.getExternalStyles?.();if(f)for(let p of f){let d=_s(p,i);a&&d.setAttribute("nonce",a),this.shadowRoot.appendChild(d)}}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)}},tn=class extends en{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Fl(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Hr=class extends tn{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=ny(l),this.hostAttr=ry(l)}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}};var Ur=class e extends Qt{supportsDOMEvents=!0;static makeCurrent(){gs(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),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=oy();return n==null?null:iy(n)}resetBaseElement(){nn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ds(document.cookie,t)}},nn=null;function oy(){return nn=nn||document.head.querySelector("base"),nn?nn.getAttribute("href"):null}function iy(e){return new URL(e,document.baseURI).pathname}var Gr=class{addToWindow(t){_e.getAngularTestability=(r,o=!0)=>{let i=t.findTestabilityInTree(r,o);if(i==null)throw new g(5103,!1);return i},_e.getAllAngularTestabilities=()=>t.getAllTestabilities(),_e.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let o=_e.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};_e.frameworkStabilizers||(_e.frameworkStabilizers=[]),_e.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;let o=t.getTestability(n);return o??(r?vt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},sy=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Pl=(()=>{class e extends Xt{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(he))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),kl=["alt","control","meta","shift"],ay={"\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"},cy={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Ll=(()=>{class e extends Xt{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vt().onAndCancel(n,s.domEventName,a,i))}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."),kl.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=ay[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"),kl.forEach(s=>{if(s!==o){let a=cy[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)(C(he))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function uy(){Ur.makeCurrent()}function ly(){return new Ee}function dy(){return Nu(document),document}var fy=[{provide:zt,useValue:Es},{provide:Ui,useValue:uy,multi:!0},{provide:he,useFactory:dy}],Ts=fs(wl,"browser",fy);var py=[{provide:Zt,useClass:Gr},{provide:as,useClass:Ar,deps:[R,Rr,Zt]},{provide:Ar,useClass:Ar,deps:[R,Rr,Zt]}],hy=[{provide:vr,useValue:"root"},{provide:Ee,useFactory:ly},{provide:$r,useClass:Pl,multi:!0,deps:[he]},{provide:$r,useClass:Ll,multi:!0,deps:[he]},Ss,bs,Is,{provide:at,useExisting:Ss},{provide:Jt,useClass:sy},[]],Ns=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=de({providers:[...hy,...py],imports:[Kt,Il]})}return e})();function Fs(e){return e==null||ks(e)===0}function ks(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var yy=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ze=class{static min(t){return vy(t)}static max(t){return Dy(t)}static required(t){return Ey(t)}static requiredTrue(t){return Cy(t)}static email(t){return _y(t)}static minLength(t){return wy(t)}static maxLength(t){return Iy(t)}static pattern(t){return by(t)}static nullValidator(t){return Ul()}static compose(t){return Yl(t)}static composeAsync(t){return Ql(t)}};function vy(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function Dy(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function Ey(e){return Fs(e.value)?{required:!0}:null}function Cy(e){return e.value===!0?null:{required:!0}}function _y(e){return Fs(e.value)||yy.test(e.value)?null:{email:!0}}function wy(e){return t=>{let n=t.value?.length??ks(t.value);return n===null||n===0?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}function Iy(e){return t=>{let n=t.value?.length??ks(t.value);return n!==null&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}function by(e){if(!e)return Ul;let t,n;return typeof e=="string"?(n="",e.charAt(0)!=="^"&&(n+="^"),n+=e,e.charAt(e.length-1)!=="$"&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(Fs(r.value))return null;let o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}function Ul(e){return null}function Gl(e){return e!=null}function zl(e){return Yt(e)?Nt(e):e}function Wl(e){let t={};return e.forEach(n=>{t=n!=null?M(M({},t),n):t}),Object.keys(t).length===0?null:t}function ql(e,t){return t.map(n=>n(e))}function My(e){return!e.validate}function Zl(e){return e.map(t=>My(t)?t:n=>t.validate(n))}function Yl(e){if(!e)return null;let t=e.filter(Gl);return t.length==0?null:function(n){return Wl(ql(n,t))}}function Sy(e){return e!=null?Yl(Zl(e)):null}function Ql(e){if(!e)return null;let t=e.filter(Gl);return t.length==0?null:function(n){let r=ql(n,t).map(zl);return To(r).pipe(me(Wl))}}function Ty(e){return e!=null?Ql(Zl(e)):null}function As(e){return e?Array.isArray(e)?e:[e]:[]}function Wr(e,t){return Array.isArray(e)?e.includes(t):e===t}function Vl(e,t){let n=As(t);return As(e).forEach(o=>{Wr(n,o)||n.push(o)}),n}function jl(e,t){return As(t).filter(n=>!Wr(e,n))}var Ny={"[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"},TI=N(M({},Ny),{"[class.ng-submitted]":"isSubmitted"});var rn="VALID",zr="INVALID",Dt="PENDING",on="DISABLED",Ct=class{},qr=class extends Ct{value;source;constructor(t,n){super(),this.value=t,this.source=n}},sn=class extends Ct{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},an=class extends Ct{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},Et=class extends Ct{status;source;constructor(t,n){super(),this.status=t,this.source=n}};function Ps(e){return(Yr(e)?e.validators:e)||null}function xy(e){return Array.isArray(e)?Sy(e):e||null}function Ls(e,t){return(Yr(t)?t.asyncValidators:e)||null}function Ay(e){return Array.isArray(e)?Ty(e):e||null}function Yr(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Kl(e,t,n){let r=e.controls;if(!(t?Object.keys(r):r).length)throw new g(1e3,"");if(!r[n])throw new g(1001,"")}function Jl(e,t,n){e._forEachChild((r,o)=>{if(n[o]===void 0)throw new g(1002,"")})}var _t=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 ke(this.statusReactive)}set status(t){ke(()=>this.statusReactive.set(t))}_status=kr(()=>this.statusReactive());statusReactive=br(void 0);get valid(){return this.status===rn}get invalid(){return this.status===zr}get pending(){return this.status==Dt}get disabled(){return this.status===on}get enabled(){return this.status!==on}errors;get pristine(){return ke(this.pristineReactive)}set pristine(t){ke(()=>this.pristineReactive.set(t))}_pristine=kr(()=>this.pristineReactive());pristineReactive=br(!0);get dirty(){return!this.pristine}get touched(){return ke(this.touchedReactive)}set touched(t){ke(()=>this.touchedReactive.set(t))}_touched=kr(()=>this.touchedReactive());touchedReactive=br(!1);get untouched(){return!this.touched}_events=new ee;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(Vl(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Vl(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(jl(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(jl(t,this._rawAsyncValidators))}hasValidator(t){return Wr(this._rawValidators,t)}hasAsyncValidator(t){return Wr(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(N(M({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new an(!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 an(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(N(M({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new sn(!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 sn(!0,r))}markAsPending(t={}){this.status=Dt;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Et(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(N(M({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=on,this.errors=null,this._forEachChild(o=>{o.disable(N(M({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new qr(this.value,r)),this._events.next(new Et(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(N(M({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=rn,this._forEachChild(r=>{r.enable(N(M({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(N(M({},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===rn||this.status===Dt)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new qr(this.value,n)),this._events.next(new Et(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(N(M({},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()?on:rn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=Dt,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=zl(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted: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 Et(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?on:this.errors?zr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Dt)?Dt:this._anyControlsHaveStatus(zr)?zr:rn}_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 sn(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new an(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Yr(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=xy(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Ay(this._rawAsyncValidators)}},Zr=class extends _t{constructor(t,n,r){super(Ps(n),Ls(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={}){Jl(this,!0,t),Object.keys(t).forEach(r=>{Kl(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 Rs=class extends Zr{};var Ry=new v("",{providedIn:"root",factory:()=>Xl}),Xl="always";function Bl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Hl(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var xs=class extends _t{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(Ps(n),Ls(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Yr(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Hl(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){Bl(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Bl(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){Hl(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 Oy=new v("");var Fy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=de({})}return e})(),Os=class extends _t{constructor(t,n,r){super(Ps(n),Ls(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){Jl(this,!1,t),t.forEach((r,o)=>{Kl(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){t!=null&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>r._syncPendingControls()?!0:n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}};function $l(e){return!!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var ed=(()=>{class e{useNonNullable=!1;get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,r=null){let o=this._reduceControls(n),i={};return $l(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Zr(o,i)}record(n,r=null){let o=this._reduceControls(n);return new Rs(o,r)}control(n,r,o){let i={};return this.useNonNullable?($l(r)?i=r:(i.validators=r,i.asyncValidators=o),new xs(n,N(M({},i),{nonNullable:!0}))):new xs(n,r,o)}array(n,r,o){let i=n.map(s=>this._createControl(s));return new Os(i,r,o)}_reduceControls(n){let r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){if(n instanceof xs)return n;if(n instanceof _t)return n;if(Array.isArray(n)){let r=n[0],o=n.length>1?n[1]:null,i=n.length>2?n[2]:null;return this.control(r,o,i)}else return this.control(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Qr=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Oy,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Ry,useValue:n.callSetDisabledState??Xl}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=de({imports:[Fy]})}return e})();var Py={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function Ly(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Vy(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Vs;function jy(e,t){if(!Vs){let n=Element.prototype;Vs=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Vs.call(e,t):!1}function By(e){let t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[Ly(r)]=[n,o]}),t}function Hy(e,t){return t.get(qe).resolveComponentFactory(e).inputs}function $y(e,t){let n=e.childNodes,r=t.map(()=>[]),o=-1;t.some((i,s)=>i==="*"?(o=s,!0):!1);for(let i=0,s=n.length;i<s;++i){let a=n[i],c=Uy(a,t,o);c!==-1&&r[c].push(a)}return r}function Uy(e,t,n){let r=n;return Vy(e)&&t.some((o,i)=>o!=="*"&&jy(e,o)?(r=i,!0):!1),r}var Gy=10,js=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(qe).resolveComponentFactory(t);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new Bs(this.componentFactory,t,this.inputMap)}},Bs=class{componentFactory;injector;inputMap;eventEmitters=new Tt(1);events=this.eventEmitters.pipe(xo(t=>No(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(R),this.appRef=this.injector.get(Re),this.cdScheduler=n.get(Ge),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Py.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Gy))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),il(this.componentRef.hostView)&&(sl(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=J.create({providers:[],parent:this.injector}),r=$y(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>{let i=t.instance[r];return new A(s=>{let a=i.subscribe(c=>s.next({name:o,value:c}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Hs=class extends HTMLElement{ngElementEventsSubscription=null};function td(e,t){let n=Hy(e,t.injector),r=t.strategyFactory||new js(e,t.injector),o=By(n);class i extends Hs{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;let l=this[c];delete this[c],a.setInputValue(c,l,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,u,l){let[f,p]=o[a];this.ngElementStrategy.setInputValue(f,u,p)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),i}function zy(e,t){if(e&1&&(G(0,"div",19)(1,"div",20),Fe(2),z(),G(3,"div",21)(4,"small",22),Fe(5),z()()()),e&2){let n=t.$implicit,r=t.index,o=mt(2);fe(),Se("ngClass",r<=o.currentIndex?"ts-main-bg text-white shadow":"bg-light text-muted border"),fe(),Fr(" ",n.ui," "),fe(2),Se("ngClass",r<=o.currentIndex?"ts-main-text fw-bold":"text-muted"),fe(),Fr(" ",o.getStepTitle(n.internal)," ")}}function Wy(e,t){e&1&&(G(0,"button",23),Fe(1," Siguiente "),z())}function qy(e,t){e&1&&(G(0,"button",23),Fe(1," Agendar "),z())}function Zy(e,t){if(e&1){let n=El();G(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4),gt("click",function(){Cr(n);let o=mt();return _r(o.cancel.emit())}),tu(),G(4,"svg",5),Or(5,"path",6),z()(),nu(),G(6,"h3",7),Fe(7," Agendar cita "),z(),G(8,"button",8),gt("click",function(){Cr(n);let o=mt();return _r(o.onCancel())}),Fe(9," Cancelar "),z()()(),G(10,"div",9)(11,"div",10)(12,"div",11),Or(13,"div",12),z(),G(14,"div",13),qt(15,zy,6,4,"div",14),z()(),G(16,"div",15)(17,"div",16)(18,"button",17),gt("click",function(){Cr(n);let o=mt();return _r(o.onPrevious())}),Fe(19," Anterior "),z(),qt(20,Wy,2,0,"button",18)(21,qy,2,0,"button",18),z()()()()}if(e&2){let n=mt();fe(13),us("width",(n.totalSteps>1?n.currentIndex/(n.totalSteps-1)*100:0)+"%"),fe(2),Se("ngForOf",n.displayedSteps),fe(3),Se("disabled",n.currentIndex===0),fe(2),Se("ngIf",!n.isLastStep()),fe(),Se("ngIf",n.isLastStep())}}var cn=class e{constructor(t,n){this.fb=t;this.elementRef=n;this.currentIndex=0,this.viewMode="form",console.log("Constructor - appName inicial:",this.appName)}appName="";minPasswordLength=6;cancel=new H;onCancel(){console.log("\u274C Cancelar llamado"),this.emitEvent("cancel",{app:this.appName,cancelled:!0,timestamp:new Date().toISOString()})}emitEvent(t,n){let r=new CustomEvent(t,{detail:n,bubbles:!0,composed:!0});this.elementRef.nativeElement.dispatchEvent(r),console.log(`\u{1F4E4} Evento "${t}" emitido:`,n)}formSubmitted=new H;form;patientBasicForm;currentIndex=0;viewMode="form";ngOnInit(){console.log("ngOnInit - appName:",this.appName),console.log("ngOnInit - minPasswordLength:",this.minPasswordLength);try{(!this.minPasswordLength||this.minPasswordLength<1)&&(this.minPasswordLength=6),this.form=this.fb.group({email:["",[Ze.required,Ze.email]],password:["",[Ze.required,Ze.minLength(this.minPasswordLength)]]}),this.currentIndex=0,this.buildPatientBasicForm(),this.patientBasicForm&&this.patientBasicForm.get("autonomyCondition")?.valueChanges.subscribe(()=>{try{let t=this.displayedSteps;t&&this.currentIndex>=t.length&&(this.currentIndex=t.length-1)}catch(t){console.error("Error en subscription de autonomyCondition:",t)}})}catch(t){console.error("Error en ngOnInit:",t)}}buildPatientBasicForm(){this.patientBasicForm=this.fb.group({documentType:[""],documentNumber:[""],autonomyCondition:["autonomous"],firstName:[""],secondName:[""],firstSurname:[""],secondSurname:[""],birthDate:[""],issueDate:[""],gender:[""],maritalStatus:[""],email:[""],phone:[""],confirmEmail:[""],confirmPhone:[""],validateAutonomous:[!1],lockIdentity:[!1]})}submit(){console.log("Submit llamado"),this.form.valid?(console.log("Formulario v\xE1lido, emitiendo evento"),this.emitEvent("formSubmitted",{app:this.appName,data:this.form.value})):console.log("Formulario inv\xE1lido")}get currentStepInternal(){try{let t=this.displayedSteps;return t&&t.length>0&&this.currentIndex>=0&&this.currentIndex<t.length?t[this.currentIndex]?.internal??1:1}catch(t){return console.error("Error en currentStepInternal:",t),1}}isLastStep(){try{return this.currentIndex===this.totalSteps-1}catch(t){return console.error("Error en isLastStep:",t),!1}}onPrevious(){this.currentIndex>0&&this.currentIndex--}getStepTitle(t){let n;return(this.patientBasicData?.autonomyCondition||"autonomous")==="autonomous"?n={1:"Datos de la cita",2:"Datos b\xE1sicos del paciente",3:"Ubicaci\xF3n y residencia del paciente",6:"Aceptaci\xF3n de t\xE9rminos"}:n={1:"Datos de la cita",2:"Datos b\xE1sicos del paciente",3:"Ubicaci\xF3n y residencia del paciente",4:"Informaci\xF3n del tutor",5:"Ubicaci\xF3n y residencia del tutor",6:"Acompa\xF1ante y aceptaci\xF3n de t\xE9rminos"},n[t]??""}get patientBasicData(){if(!this.patientBasicForm)return{documentType:"",documentNumber:"",autonomyCondition:"autonomous",firstName:"",secondName:"",firstSurname:"",secondSurname:"",birthDate:"",issueDate:"",gender:"",maritalStatus:""};try{return this.patientBasicForm.getRawValue()}catch(t){return console.error("Error al obtener patientBasicData:",t),{documentType:"",documentNumber:"",autonomyCondition:"autonomous",firstName:"",secondName:"",firstSurname:"",secondSurname:"",birthDate:"",issueDate:"",gender:"",maritalStatus:""}}}get displayedSteps(){if(!this.patientBasicForm)return[{ui:1,internal:1},{ui:2,internal:2},{ui:3,internal:3},{ui:4,internal:6}];try{return(this.patientBasicData?.autonomyCondition||"autonomous")==="autonomous"?[{ui:1,internal:1},{ui:2,internal:2},{ui:3,internal:3},{ui:4,internal:6}]:[{ui:1,internal:1},{ui:2,internal:2},{ui:3,internal:3},{ui:4,internal:4},{ui:5,internal:5},{ui:6,internal:6}]}catch(t){return console.error("Error en displayedSteps:",t),[{ui:1,internal:1},{ui:2,internal:2},{ui:3,internal:3},{ui:4,internal:6}]}}get totalSteps(){try{let t=this.displayedSteps;return t?t.length:1}catch(t){return console.error("Error en totalSteps:",t),1}}static \u0275fac=function(n){return new(n||e)(W(ed),W(pt))};static \u0275cmp=pl({type:e,selectors:[["app-formulario-citas"]],inputs:{appName:"appName",minPasswordLength:"minPasswordLength"},outputs:{cancel:"cancel",formSubmitted:"formSubmitted"},decls:1,vars:1,consts:[["class","card shadow-sm",4,"ngIf"],[1,"card","shadow-sm"],[1,"card-header","text-white","ts-header"],[1,"d-flex","align-items-center","justify-content-between"],["type","button","aria-label","Volver",1,"btn","btn-link","p-0","me-2","ts-back-icon",3,"click"],["width","20","height","20","viewBox","0 0 24 24"],["d","M15 19l-7-7 7-7","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],[1,"h5","mb-0","fw-bold","flex-grow-1"],[1,"btn","btn-outline-light","btn-sm","ms-3",3,"click"],[1,"card-body"],[1,"d-none","d-sm-block","position-relative"],[1,"progress","position-absolute",2,"top","20px","height","2px","width","100%"],[1,"progress-bar","ts-main-bg"],[1,"d-flex","justify-content-between","position-relative",2,"z-index","10%"],["class","d-flex flex-column align-items-center",4,"ngFor","ngForOf"],[1,"card-footer","bg-white"],[1,"d-flex","justify-content-between"],[1,"btn","btn-outline-secondary",3,"click","disabled"],["class","btn",4,"ngIf"],[1,"d-flex","flex-column","align-items-center"],[1,"rounded-circle","d-flex","align-items-center","justify-content-center","fw-bold",2,"width","40px","height","40px","font-size","14px",3,"ngClass"],[1,"mt-2","text-center",2,"max-width","120px"],[1,"d-block","lh-sm",3,"ngClass"],[1,"btn"]],template:function(n,r){n&1&&qt(0,Zy,22,6,"div",0),n&2&&Se("ngIf",r.viewMode==="form")},dependencies:[ys,Vr,vs,Qr],styles:['@charset "UTF-8";.ts-main-bg[_ngcontent-%COMP%]{background-color:#08203c!important;border-color:#08203c!important}.ts-main-text[_ngcontent-%COMP%]{color:#08203c!important}.ts-header[_ngcontent-%COMP%]{background-color:#08203c}']})};var Kr=class e{constructor(t){this.injector=t}ngDoBootstrap(){if(customElements.get("todosalud-webc-form-citas"))console.log("\u2139\uFE0F Web Component ya estaba registrado");else try{console.log("\u{1F504} Iniciando registro del Web Component...");let t=td(cn,{injector:this.injector});customElements.define("todosalud-webc-form-citas",t),console.log('\u2705 Web Component "todosalud-webc-form-citas" registrado exitosamente')}catch(t){console.error("\u274C Error al registrar Web Component:",t),t instanceof Error&&console.error("Error details:",{message:t.message,stack:t.stack,name:t.name})}}static \u0275fac=function(n){return new(n||e)(C(J))};static \u0275mod=pe({type:e});static \u0275inj=de({imports:[Ns,Kt,Qr,cn]})};Ts().bootstrapModule(Kr,{ngZone:"noop"}).then(()=>{console.log("\u2705 Angular bootstrap completado")}).catch(e=>{console.error("\u274C Error en bootstrap de Angular:",e),e instanceof Error&&console.error("Stack:",e.stack)});
@@ -0,0 +1,2 @@
1
+ (function(){"use strict";var n=window.Document.prototype.createElement,i=window.Document.prototype.createElementNS,d=window.Document.prototype.importNode,r=window.Document.prototype.prepend,u=window.Document.prototype.append,m=window.DocumentFragment.prototype.prepend,P=window.DocumentFragment.prototype.append,D=window.Node.prototype.cloneNode,S=window.Node.prototype.appendChild,j=window.Node.prototype.insertBefore,b=window.Node.prototype.removeChild,I=window.Node.prototype.replaceChild,V=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),X=window.Element.prototype.attachShadow,et=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),lt=window.Element.prototype.getAttribute,at=window.Element.prototype.setAttribute,it=window.Element.prototype.removeAttribute,R=window.Element.prototype.toggleAttribute,T=window.Element.prototype.getAttributeNS,q=window.Element.prototype.setAttributeNS,Y=window.Element.prototype.removeAttributeNS,st=window.Element.prototype.insertAdjacentElement,J=window.Element.prototype.insertAdjacentHTML,O=window.Element.prototype.prepend,nt=window.Element.prototype.append,x=window.Element.prototype.before,Z=window.Element.prototype.after,A=window.Element.prototype.replaceWith,F=window.Element.prototype.remove,ht=window.HTMLElement,rt=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),B=window.HTMLElement.prototype.insertAdjacentElement,C=window.HTMLElement.prototype.insertAdjacentHTML,o=new Set;"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(t){return o.add(t)});function l(t){var e=o.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}var L=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function v(t){var e=t.isConnected;if(e!==void 0)return e;if(L(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function ot(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function W(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function mt(t,e,c){for(var f=t;f;){if(f.nodeType===Node.ELEMENT_NODE){var s=f;e(s);var h=s.localName;if(h==="link"&&s.getAttribute("rel")==="import"){if(f=s.import,c===void 0&&(c=new Set),f instanceof Node&&!c.has(f))for(c.add(f),f=f.firstChild;f;f=f.nextSibling)mt(f,e,c);f=W(t,s);continue}else if(h==="template"){f=W(t,s);continue}if(s=s.__CE_shadowRoot)for(s=s.firstChild;s;s=s.nextSibling)mt(s,e,c)}f=f.firstChild?f.firstChild:W(t,f)}}function dt(){var t=!(Et==null||!Et.noDocumentConstructionObserver),e=!(Et==null||!Et.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=e,this.I=!t}function ft(t,e,c,f){var s=window.ShadyDOM;if(t.shadyDomFastWalk&&s&&s.inUse){if(e.nodeType===Node.ELEMENT_NODE&&c(e),e.querySelectorAll)for(t=s.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)c(t[e])}else mt(e,c,f)}function pt(t,e){t.j=!0,t.m.push(e)}function y(t,e){t.j=!0,t.g.push(e)}function E(t,e){t.j&&ft(t,e,function(c){return a(t,c)})}function a(t,e){if(t.j&&!e.__CE_patched){e.__CE_patched=!0;for(var c=0;c<t.m.length;c++)t.m[c](e);for(c=0;c<t.g.length;c++)t.g[c](e)}}function p(t,e){var c=[];for(ft(t,e,function(s){return c.push(s)}),e=0;e<c.length;e++){var f=c[e];f.__CE_state===1?t.connectedCallback(f):N(t,f)}}function k(t,e){var c=[];for(ft(t,e,function(s){return c.push(s)}),e=0;e<c.length;e++){var f=c[e];f.__CE_state===1&&t.disconnectedCallback(f)}}function M(t,e,c){c=c===void 0?{}:c;var f=c.J,s=c.upgrade||function(_){return N(t,_)},h=[];for(ft(t,e,function(_){if(t.j&&a(t,_),_.localName==="link"&&_.getAttribute("rel")==="import"){var g=_.import;g instanceof Node&&(g.__CE_isImportDocument=!0,g.__CE_registry=document.__CE_registry),g&&g.readyState==="complete"?g.__CE_documentLoadHandled=!0:_.addEventListener("load",function(){var w=_.import;if(!w.__CE_documentLoadHandled){w.__CE_documentLoadHandled=!0;var U=new Set;f&&(f.forEach(function(ct){return U.add(ct)}),U.delete(w)),M(t,w,{J:U,upgrade:s})}})}else h.push(_)},f),e=0;e<h.length;e++)s(h[e])}function N(t,e){try{var c=e.ownerDocument,f=c.__CE_registry,s=f&&(c.defaultView||c.__CE_isImportDocument)?Pt(f,e.localName):void 0;if(s&&e.__CE_state===void 0){s.constructionStack.push(e);try{try{if(new s.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{s.constructionStack.pop()}}catch(w){throw e.__CE_state=2,w}if(e.__CE_state=1,e.__CE_definition=s,s.attributeChangedCallback&&e.hasAttributes()){var h=s.observedAttributes;for(s=0;s<h.length;s++){var _=h[s],g=e.getAttribute(_);g!==null&&t.attributeChangedCallback(e,_,null,g,null)}}v(e)&&t.connectedCallback(e)}}catch(w){H(w)}}dt.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(c){H(c)}},dt.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(c){H(c)}},dt.prototype.attributeChangedCallback=function(t,e,c,f,s){var h=t.__CE_definition;if(h.attributeChangedCallback&&-1<h.observedAttributes.indexOf(e))try{h.attributeChangedCallback.call(t,e,c,f,s)}catch(_){H(_)}};function G(t,e,c,f){var s=e.__CE_registry;if(s&&(f===null||f==="http://www.w3.org/1999/xhtml")&&(s=Pt(s,c)))try{var h=new s.constructorFunction;if(h.__CE_state===void 0||h.__CE_definition===void 0)throw Error("Failed to construct '"+c+"': The returned value was not constructed with the HTMLElement constructor.");if(h.namespaceURI!=="http://www.w3.org/1999/xhtml")throw Error("Failed to construct '"+c+"': The constructed element's namespace must be the HTML namespace.");if(h.hasAttributes())throw Error("Failed to construct '"+c+"': The constructed element must not have any attributes.");if(h.firstChild!==null)throw Error("Failed to construct '"+c+"': The constructed element must not have any children.");if(h.parentNode!==null)throw Error("Failed to construct '"+c+"': The constructed element must not have a parent node.");if(h.ownerDocument!==e)throw Error("Failed to construct '"+c+"': The constructed element's owner document is incorrect.");if(h.localName!==c)throw Error("Failed to construct '"+c+"': The constructed element's local name is incorrect.");return h}catch(_){return H(_),e=f===null?n.call(e,c):i.call(e,f,c),Object.setPrototypeOf(e,HTMLUnknownElement.prototype),e.__CE_state=2,e.__CE_definition=void 0,a(t,e),e}return e=f===null?n.call(e,c):i.call(e,f,c),a(t,e),e}function H(t){var e="",c="",f=0,s=0;t instanceof Error?(e=t.message,c=t.sourceURL||t.fileName||"",f=t.line||t.lineNumber||0,s=t.column||t.columnNumber||0):e="Uncaught "+String(t);var h=void 0;ErrorEvent.prototype.initErrorEvent===void 0?h=new ErrorEvent("error",{cancelable:!0,message:e,filename:c,lineno:f,colno:s,error:t}):(h=document.createEvent("ErrorEvent"),h.initErrorEvent("error",!1,!0,e,c,f),h.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),h.error===void 0&&Object.defineProperty(h,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(h),h.defaultPrevented||console.error(t)}function z(){var t=this;this.g=void 0,this.F=new Promise(function(e){t.l=e})}z.prototype.resolve=function(t){if(this.g)throw Error("Already resolved.");this.g=t,this.l(t)};function K(t){var e=document;this.l=void 0,this.h=t,this.g=e,M(this.h,this.g),this.g.readyState==="loading"&&(this.l=new MutationObserver(this.G.bind(this)),this.l.observe(this.g,{childList:!0,subtree:!0}))}function Q(t){t.l&&t.l.disconnect()}K.prototype.G=function(t){var e=this.g.readyState;for(e!=="interactive"&&e!=="complete"||Q(this),e=0;e<t.length;e++)for(var c=t[e].addedNodes,f=0;f<c.length;f++)M(this.h,c[f])};function tt(t){this.s=new Map,this.u=new Map,this.C=new Map,this.A=!1,this.B=new Map,this.o=function(e){return e()},this.i=!1,this.v=[],this.h=t,this.D=t.I?new K(t):void 0}tt.prototype.H=function(t,e){var c=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");_t(this,t),this.s.set(t,e),this.v.push(t),this.i||(this.i=!0,this.o(function(){return Ot(c)}))},tt.prototype.define=function(t,e){var c=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");_t(this,t),kt(this,t,e),this.v.push(t),this.i||(this.i=!0,this.o(function(){return Ot(c)}))};function _t(t,e){if(!l(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(Pt(t,e))throw Error("A custom element with name '"+(e+"' has already been defined."));if(t.A)throw Error("A custom element is already being defined.")}function kt(t,e,c){t.A=!0;var f;try{var s=c.prototype;if(!(s instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var h=function(ct){var Lt=s[ct];if(Lt!==void 0&&!(Lt instanceof Function))throw Error("The '"+ct+"' callback must be a function.");return Lt},_=h("connectedCallback"),g=h("disconnectedCallback"),w=h("adoptedCallback"),U=(f=h("attributeChangedCallback"))&&c.observedAttributes||[]}catch(ct){throw ct}finally{t.A=!1}return c={localName:e,constructorFunction:c,connectedCallback:_,disconnectedCallback:g,adoptedCallback:w,attributeChangedCallback:f,observedAttributes:U,constructionStack:[]},t.u.set(e,c),t.C.set(c.constructorFunction,c),c}tt.prototype.upgrade=function(t){M(this.h,t)};function Ot(t){if(t.i!==!1){t.i=!1;for(var e=[],c=t.v,f=new Map,s=0;s<c.length;s++)f.set(c[s],[]);for(M(t.h,document,{upgrade:function(w){if(w.__CE_state===void 0){var U=w.localName,ct=f.get(U);ct?ct.push(w):t.u.has(U)&&e.push(w)}}}),s=0;s<e.length;s++)N(t.h,e[s]);for(s=0;s<c.length;s++){for(var h=c[s],_=f.get(h),g=0;g<_.length;g++)N(t.h,_[g]);(h=t.B.get(h))&&h.resolve(void 0)}c.length=0}}tt.prototype.get=function(t){if(t=Pt(this,t))return t.constructorFunction},tt.prototype.whenDefined=function(t){if(!l(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.B.get(t);if(e)return e.F;e=new z,this.B.set(t,e);var c=this.u.has(t)||this.s.has(t);return t=this.v.indexOf(t)===-1,c&&t&&e.resolve(void 0),e.F},tt.prototype.polyfillWrapFlushCallback=function(t){this.D&&Q(this.D);var e=this.o;this.o=function(c){return t(function(){return e(c)})}};function Pt(t,e){var c=t.u.get(e);if(c)return c;if(c=t.s.get(e)){t.s.delete(e);try{return kt(t,e,c())}catch(f){H(f)}}}tt.prototype.define=tt.prototype.define,tt.prototype.upgrade=tt.prototype.upgrade,tt.prototype.get=tt.prototype.get,tt.prototype.whenDefined=tt.prototype.whenDefined,tt.prototype.polyfillDefineLazy=tt.prototype.H,tt.prototype.polyfillWrapFlushCallback=tt.prototype.polyfillWrapFlushCallback;function At(t,e,c){function f(s){return function(h){for(var _=[],g=0;g<arguments.length;++g)_[g]=arguments[g];g=[];for(var w=[],U=0;U<_.length;U++){var ct=_[U];if(ct instanceof Element&&v(ct)&&w.push(ct),ct instanceof DocumentFragment)for(ct=ct.firstChild;ct;ct=ct.nextSibling)g.push(ct);else g.push(ct)}for(s.apply(this,_),_=0;_<w.length;_++)k(t,w[_]);if(v(this))for(_=0;_<g.length;_++)w=g[_],w instanceof Element&&p(t,w)}}c.prepend!==void 0&&(e.prepend=f(c.prepend)),c.append!==void 0&&(e.append=f(c.append))}function It(t){Document.prototype.createElement=function(e){return G(t,this,e,null)},Document.prototype.importNode=function(e,c){return e=d.call(this,e,!!c),this.__CE_registry?M(t,e):E(t,e),e},Document.prototype.createElementNS=function(e,c){return G(t,this,c,e)},At(t,Document.prototype,{prepend:r,append:u})}function Bt(t){function e(f){return function(s){for(var h=[],_=0;_<arguments.length;++_)h[_]=arguments[_];_=[];for(var g=[],w=0;w<h.length;w++){var U=h[w];if(U instanceof Element&&v(U)&&g.push(U),U instanceof DocumentFragment)for(U=U.firstChild;U;U=U.nextSibling)_.push(U);else _.push(U)}for(f.apply(this,h),h=0;h<g.length;h++)k(t,g[h]);if(v(this))for(h=0;h<_.length;h++)g=_[h],g instanceof Element&&p(t,g)}}var c=Element.prototype;x!==void 0&&(c.before=e(x)),Z!==void 0&&(c.after=e(Z)),A!==void 0&&(c.replaceWith=function(f){for(var s=[],h=0;h<arguments.length;++h)s[h]=arguments[h];h=[];for(var _=[],g=0;g<s.length;g++){var w=s[g];if(w instanceof Element&&v(w)&&_.push(w),w instanceof DocumentFragment)for(w=w.firstChild;w;w=w.nextSibling)h.push(w);else h.push(w)}for(g=v(this),A.apply(this,s),s=0;s<_.length;s++)k(t,_[s]);if(g)for(k(t,this),s=0;s<h.length;s++)_=h[s],_ instanceof Element&&p(t,_)}),F!==void 0&&(c.remove=function(){var f=v(this);F.call(this),f&&k(t,this)})}function Nt(t){function e(s,h){Object.defineProperty(s,"innerHTML",{enumerable:h.enumerable,configurable:!0,get:h.get,set:function(_){var g=this,w=void 0;if(v(this)&&(w=[],ft(t,this,function(Lt){Lt!==g&&w.push(Lt)})),h.set.call(this,_),w)for(var U=0;U<w.length;U++){var ct=w[U];ct.__CE_state===1&&t.disconnectedCallback(ct)}return this.ownerDocument.__CE_registry?M(t,this):E(t,this),_}})}function c(s,h){s.insertAdjacentElement=function(_,g){var w=v(g);return _=h.call(this,_,g),w&&k(t,g),v(_)&&p(t,g),_}}function f(s,h){function _(g,w){for(var U=[];g!==w;g=g.nextSibling)U.push(g);for(w=0;w<U.length;w++)M(t,U[w])}s.insertAdjacentHTML=function(g,w){if(g=g.toLowerCase(),g==="beforebegin"){var U=this.previousSibling;h.call(this,g,w),_(U||this.parentNode.firstChild,this)}else if(g==="afterbegin")U=this.firstChild,h.call(this,g,w),_(this.firstChild,U);else if(g==="beforeend")U=this.lastChild,h.call(this,g,w),_(U||this.firstChild,null);else if(g==="afterend")U=this.nextSibling,h.call(this,g,w),_(this.nextSibling,U);else throw new SyntaxError("The value provided ("+String(g)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.")}}X&&(Element.prototype.attachShadow=function(s){if(s=X.call(this,s),t.j&&!s.__CE_patched){s.__CE_patched=!0;for(var h=0;h<t.m.length;h++)t.m[h](s)}return this.__CE_shadowRoot=s}),et&&et.get?e(Element.prototype,et):rt&&rt.get?e(HTMLElement.prototype,rt):y(t,function(s){e(s,{enumerable:!0,configurable:!0,get:function(){return D.call(this,!0).innerHTML},set:function(h){var _=this.localName==="template",g=_?this.content:this,w=i.call(document,this.namespaceURI,this.localName);for(w.innerHTML=h;0<g.childNodes.length;)b.call(g,g.childNodes[0]);for(h=_?w.content:w;0<h.childNodes.length;)S.call(g,h.childNodes[0])}})}),Element.prototype.setAttribute=function(s,h){if(this.__CE_state!==1)return at.call(this,s,h);var _=lt.call(this,s);at.call(this,s,h),h=lt.call(this,s),t.attributeChangedCallback(this,s,_,h,null)},Element.prototype.setAttributeNS=function(s,h,_){if(this.__CE_state!==1)return q.call(this,s,h,_);var g=T.call(this,s,h);q.call(this,s,h,_),_=T.call(this,s,h),t.attributeChangedCallback(this,h,g,_,s)},Element.prototype.removeAttribute=function(s){if(this.__CE_state!==1)return it.call(this,s);var h=lt.call(this,s);it.call(this,s),h!==null&&t.attributeChangedCallback(this,s,h,null,null)},R&&(Element.prototype.toggleAttribute=function(s,h){if(this.__CE_state!==1)return R.call(this,s,h);var _=lt.call(this,s),g=_!==null;return h=R.call(this,s,h),g!==h&&t.attributeChangedCallback(this,s,_,h?"":null,null),h}),Element.prototype.removeAttributeNS=function(s,h){if(this.__CE_state!==1)return Y.call(this,s,h);var _=T.call(this,s,h);Y.call(this,s,h);var g=T.call(this,s,h);_!==g&&t.attributeChangedCallback(this,h,_,g,s)},B?c(HTMLElement.prototype,B):st&&c(Element.prototype,st),C?f(HTMLElement.prototype,C):J&&f(Element.prototype,J),At(t,Element.prototype,{prepend:O,append:nt}),Bt(t)}var Zt={};function Rt(t){function e(){var c=this.constructor,f=document.__CE_registry.C.get(c);if(!f)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var s=f.constructionStack;if(s.length===0)return s=n.call(document,f.localName),Object.setPrototypeOf(s,c.prototype),s.__CE_state=1,s.__CE_definition=f,a(t,s),s;var h=s.length-1,_=s[h];if(_===Zt)throw Error("Failed to construct '"+f.localName+"': This element was already constructed.");return s[h]=Zt,Object.setPrototypeOf(_,c.prototype),a(t,_),_}e.prototype=ht.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e}),window.HTMLElement=e}function Gt(t){function e(c,f){Object.defineProperty(c,"textContent",{enumerable:f.enumerable,configurable:!0,get:f.get,set:function(s){if(this.nodeType===Node.TEXT_NODE)f.set.call(this,s);else{var h=void 0;if(this.firstChild){var _=this.childNodes,g=_.length;if(0<g&&v(this)){h=Array(g);for(var w=0;w<g;w++)h[w]=_[w]}}if(f.set.call(this,s),h)for(s=0;s<h.length;s++)k(t,h[s])}}})}Node.prototype.insertBefore=function(c,f){if(c instanceof DocumentFragment){var s=ot(c);if(c=j.call(this,c,f),v(this))for(f=0;f<s.length;f++)p(t,s[f]);return c}return s=c instanceof Element&&v(c),f=j.call(this,c,f),s&&k(t,c),v(this)&&p(t,c),f},Node.prototype.appendChild=function(c){if(c instanceof DocumentFragment){var f=ot(c);if(c=S.call(this,c),v(this))for(var s=0;s<f.length;s++)p(t,f[s]);return c}return f=c instanceof Element&&v(c),s=S.call(this,c),f&&k(t,c),v(this)&&p(t,c),s},Node.prototype.cloneNode=function(c){return c=D.call(this,!!c),this.ownerDocument.__CE_registry?M(t,c):E(t,c),c},Node.prototype.removeChild=function(c){var f=c instanceof Element&&v(c),s=b.call(this,c);return f&&k(t,c),s},Node.prototype.replaceChild=function(c,f){if(c instanceof DocumentFragment){var s=ot(c);if(c=I.call(this,c,f),v(this))for(k(t,f),f=0;f<s.length;f++)p(t,s[f]);return c}s=c instanceof Element&&v(c);var h=I.call(this,c,f),_=v(this);return _&&k(t,f),s&&k(t,c),_&&p(t,c),h},V&&V.get?e(Node.prototype,V):pt(t,function(c){e(c,{enumerable:!0,configurable:!0,get:function(){for(var f=[],s=this.firstChild;s;s=s.nextSibling)s.nodeType!==Node.COMMENT_NODE&&f.push(s.textContent);return f.join("")},set:function(f){for(;this.firstChild;)b.call(this,this.firstChild);f!=null&&f!==""&&S.call(this,document.createTextNode(f))}})})}var Et=window.customElements;function St(){var t=new dt;Rt(t),It(t),At(t,DocumentFragment.prototype,{prepend:m,append:P}),Gt(t),Nt(t),window.CustomElementRegistry=tt,t=new tt(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}Et&&!Et.forcePolyfill&&typeof Et.define=="function"&&typeof Et.get=="function"||St(),window.__CE_installPolyfill=St}).call(self);var vt=globalThis;function yt(n){return(vt.__Zone_symbol_prefix||"__zone_symbol__")+n}function ke(){let n=vt.performance;function i(B){n&&n.mark&&n.mark(B)}function d(B,C){n&&n.measure&&n.measure(B,C)}i("Zone");let r=(()=>{class B{static __symbol__=yt;static assertZonePatched(){if(vt.Promise!==x.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let o=B.current;for(;o.parent;)o=o.parent;return o}static get current(){return A.zone}static get currentTask(){return F}static __load_patch(o,l,L=!1){if(x.hasOwnProperty(o)){let v=vt[yt("forceDuplicateZoneCheck")]===!0;if(!L&&v)throw Error("Already loaded patch: "+o)}else if(!vt["__Zone_disable_"+o]){let v="Zone:"+o;i(v),x[o]=l(vt,B,Z),d(v,v)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(o,l){this._parent=o,this._name=l?l.name||"unnamed":"<root>",this._properties=l&&l.properties||{},this._zoneDelegate=new m(this,this._parent&&this._parent._zoneDelegate,l)}get(o){let l=this.getZoneWith(o);if(l)return l._properties[o]}getZoneWith(o){let l=this;for(;l;){if(l._properties.hasOwnProperty(o))return l;l=l._parent}return null}fork(o){if(!o)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,o)}wrap(o,l){if(typeof o!="function")throw new Error("Expecting function got: "+o);let L=this._zoneDelegate.intercept(this,o,l),v=this;return function(){return v.runGuarded(L,this,arguments,l)}}run(o,l,L,v){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,o,l,L,v)}finally{A=A.parent}}runGuarded(o,l=null,L,v){A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,o,l,L,v)}catch(ot){if(this._zoneDelegate.handleError(this,ot))throw ot}}finally{A=A.parent}}runTask(o,l,L){if(o.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(o.zone||at).name+"; Execution: "+this.name+")");let v=o,{type:ot,data:{isPeriodic:W=!1,isRefreshable:mt=!1}={}}=o;if(o.state===it&&(ot===nt||ot===O))return;let dt=o.state!=q;dt&&v._transitionTo(q,T);let ft=F;F=v,A={parent:A,zone:this};try{ot==O&&o.data&&!W&&!mt&&(o.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,v,l,L)}catch(pt){if(this._zoneDelegate.handleError(this,pt))throw pt}}finally{let pt=o.state;if(pt!==it&&pt!==st)if(ot==nt||W||mt&&pt===R)dt&&v._transitionTo(T,q,R);else{let y=v._zoneDelegates;this._updateTaskCount(v,-1),dt&&v._transitionTo(it,q,it),mt&&(v._zoneDelegates=y)}A=A.parent,F=ft}}scheduleTask(o){if(o.zone&&o.zone!==this){let L=this;for(;L;){if(L===o.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${o.zone.name}`);L=L.parent}}o._transitionTo(R,it);let l=[];o._zoneDelegates=l,o._zone=this;try{o=this._zoneDelegate.scheduleTask(this,o)}catch(L){throw o._transitionTo(st,R,it),this._zoneDelegate.handleError(this,L),L}return o._zoneDelegates===l&&this._updateTaskCount(o,1),o.state==R&&o._transitionTo(T,R),o}scheduleMicroTask(o,l,L,v){return this.scheduleTask(new P(J,o,l,L,v,void 0))}scheduleMacroTask(o,l,L,v,ot){return this.scheduleTask(new P(O,o,l,L,v,ot))}scheduleEventTask(o,l,L,v,ot){return this.scheduleTask(new P(nt,o,l,L,v,ot))}cancelTask(o){if(o.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(o.zone||at).name+"; Execution: "+this.name+")");if(!(o.state!==T&&o.state!==q)){o._transitionTo(Y,T,q);try{this._zoneDelegate.cancelTask(this,o)}catch(l){throw o._transitionTo(st,Y),this._zoneDelegate.handleError(this,l),l}return this._updateTaskCount(o,-1),o._transitionTo(it,Y),o.runCount=-1,o}}_updateTaskCount(o,l){let L=o._zoneDelegates;l==-1&&(o._zoneDelegates=null);for(let v=0;v<L.length;v++)L[v]._updateTaskCount(o.type,l)}}return B})(),u={name:"",onHasTask:(B,C,o,l)=>B.hasTask(o,l),onScheduleTask:(B,C,o,l)=>B.scheduleTask(o,l),onInvokeTask:(B,C,o,l,L,v)=>B.invokeTask(o,l,L,v),onCancelTask:(B,C,o,l)=>B.cancelTask(o,l)};class m{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(C,o,l){this._zone=C,this._parentDelegate=o,this._forkZS=l&&(l&&l.onFork?l:o._forkZS),this._forkDlgt=l&&(l.onFork?o:o._forkDlgt),this._forkCurrZone=l&&(l.onFork?this._zone:o._forkCurrZone),this._interceptZS=l&&(l.onIntercept?l:o._interceptZS),this._interceptDlgt=l&&(l.onIntercept?o:o._interceptDlgt),this._interceptCurrZone=l&&(l.onIntercept?this._zone:o._interceptCurrZone),this._invokeZS=l&&(l.onInvoke?l:o._invokeZS),this._invokeDlgt=l&&(l.onInvoke?o:o._invokeDlgt),this._invokeCurrZone=l&&(l.onInvoke?this._zone:o._invokeCurrZone),this._handleErrorZS=l&&(l.onHandleError?l:o._handleErrorZS),this._handleErrorDlgt=l&&(l.onHandleError?o:o._handleErrorDlgt),this._handleErrorCurrZone=l&&(l.onHandleError?this._zone:o._handleErrorCurrZone),this._scheduleTaskZS=l&&(l.onScheduleTask?l:o._scheduleTaskZS),this._scheduleTaskDlgt=l&&(l.onScheduleTask?o:o._scheduleTaskDlgt),this._scheduleTaskCurrZone=l&&(l.onScheduleTask?this._zone:o._scheduleTaskCurrZone),this._invokeTaskZS=l&&(l.onInvokeTask?l:o._invokeTaskZS),this._invokeTaskDlgt=l&&(l.onInvokeTask?o:o._invokeTaskDlgt),this._invokeTaskCurrZone=l&&(l.onInvokeTask?this._zone:o._invokeTaskCurrZone),this._cancelTaskZS=l&&(l.onCancelTask?l:o._cancelTaskZS),this._cancelTaskDlgt=l&&(l.onCancelTask?o:o._cancelTaskDlgt),this._cancelTaskCurrZone=l&&(l.onCancelTask?this._zone:o._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let L=l&&l.onHasTask,v=o&&o._hasTaskZS;(L||v)&&(this._hasTaskZS=L?l:u,this._hasTaskDlgt=o,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,l.onScheduleTask||(this._scheduleTaskZS=u,this._scheduleTaskDlgt=o,this._scheduleTaskCurrZone=this._zone),l.onInvokeTask||(this._invokeTaskZS=u,this._invokeTaskDlgt=o,this._invokeTaskCurrZone=this._zone),l.onCancelTask||(this._cancelTaskZS=u,this._cancelTaskDlgt=o,this._cancelTaskCurrZone=this._zone))}fork(C,o){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,C,o):new r(C,o)}intercept(C,o,l){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,C,o,l):o}invoke(C,o,l,L,v){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,C,o,l,L,v):o.apply(l,L)}handleError(C,o){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,C,o):!0}scheduleTask(C,o){let l=o;if(this._scheduleTaskZS)this._hasTaskZS&&l._zoneDelegates.push(this._hasTaskDlgtOwner),l=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,C,o),l||(l=o);else if(o.scheduleFn)o.scheduleFn(o);else if(o.type==J)et(o);else throw new Error("Task is missing scheduleFn.");return l}invokeTask(C,o,l,L){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,C,o,l,L):o.callback.apply(l,L)}cancelTask(C,o){let l;if(this._cancelTaskZS)l=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,C,o);else{if(!o.cancelFn)throw Error("Task is not cancelable");l=o.cancelFn(o)}return l}hasTask(C,o){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,C,o)}catch(l){this.handleError(C,l)}}_updateTaskCount(C,o){let l=this._taskCounts,L=l[C],v=l[C]=L+o;if(v<0)throw new Error("More tasks executed then were scheduled.");if(L==0||v==0){let ot={microTask:l.microTask>0,macroTask:l.macroTask>0,eventTask:l.eventTask>0,change:C};this.hasTask(this._zone,ot)}}}class P{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(C,o,l,L,v,ot){if(this.type=C,this.source=o,this.data=L,this.scheduleFn=v,this.cancelFn=ot,!l)throw new Error("callback is not defined");this.callback=l;let W=this;C===nt&&L&&L.useG?this.invoke=P.invokeTask:this.invoke=function(){return P.invokeTask.call(vt,W,this,arguments)}}static invokeTask(C,o,l){C||(C=this),ht++;try{return C.runCount++,C.zone.runTask(C,o,l)}finally{ht==1&&lt(),ht--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(it,R)}_transitionTo(C,o,l){if(this._state===o||this._state===l)this._state=C,C==it&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${C}', expecting state '${o}'${l?" or '"+l+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let D=yt("setTimeout"),S=yt("Promise"),j=yt("then"),b=[],I=!1,V;function X(B){if(V||vt[S]&&(V=vt[S].resolve(0)),V){let C=V[j];C||(C=V.then),C.call(V,B)}else vt[D](B,0)}function et(B){ht===0&&b.length===0&&X(lt),B&&b.push(B)}function lt(){if(!I){for(I=!0;b.length;){let B=b;b=[];for(let C=0;C<B.length;C++){let o=B[C];try{o.zone.runTask(o,null,null)}catch(l){Z.onUnhandledError(l)}}}Z.microtaskDrainDone(),I=!1}}let at={name:"NO ZONE"},it="notScheduled",R="scheduling",T="scheduled",q="running",Y="canceling",st="unknown",J="microTask",O="macroTask",nt="eventTask",x={},Z={symbol:yt,currentZoneFrame:()=>A,onUnhandledError:rt,microtaskDrainDone:rt,scheduleMicroTask:et,showUncaughtError:()=>!r[yt("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:rt,patchMethod:()=>rt,bindArguments:()=>[],patchThen:()=>rt,patchMacroTask:()=>rt,patchEventPrototype:()=>rt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>rt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>rt,wrapWithCurrentZone:()=>rt,filterProperties:()=>[],attachOriginToPatched:()=>rt,_redefineProperty:()=>rt,patchCallbacks:()=>rt,nativeScheduleMicroTask:X},A={parent:null,zone:new r(null,null)},F=null,ht=0;function rt(){}return d("Zone","Zone"),r}function we(){let n=globalThis,i=n[yt("forceDuplicateZoneCheck")]===!0;if(n.Zone&&(i||typeof n.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return n.Zone??=ke(),n.Zone}var Ht=Object.getOwnPropertyDescriptor,Jt=Object.defineProperty,Kt=Object.getPrototypeOf,be=Object.create,Ce=Array.prototype.slice,Qt="addEventListener",te="removeEventListener",qt=yt(Qt),Xt=yt(te),wt="true",bt="false",Ft=yt("");function ee(n,i){return Zone.current.wrap(n,i)}function ne(n,i,d,r,u){return Zone.current.scheduleMacroTask(n,i,d,r,u)}var $=yt,Ut=typeof window<"u",xt=Ut?window:void 0,ut=Ut&&xt||globalThis,De="removeAttribute";function re(n,i){for(let d=n.length-1;d>=0;d--)typeof n[d]=="function"&&(n[d]=ee(n[d],i+"_"+d));return n}function Ne(n,i){let d=n.constructor.name;for(let r=0;r<i.length;r++){let u=i[r],m=n[u];if(m){let P=Ht(n,u);if(!he(P))continue;n[u]=(D=>{let S=function(){return D.apply(this,re(arguments,d+"."+u))};return Dt(S,D),S})(m)}}}function he(n){return n?n.writable===!1?!1:!(typeof n.get=="function"&&typeof n.set>"u"):!0}var fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Wt=!("nw"in ut)&&typeof ut.process<"u"&&ut.process.toString()==="[object process]",oe=!Wt&&!fe&&!!(Ut&&xt.HTMLElement),de=typeof ut.process<"u"&&ut.process.toString()==="[object process]"&&!fe&&!!(Ut&&xt.HTMLElement),zt={},Se=$("enable_beforeunload"),ie=function(n){if(n=n||ut.event,!n)return;let i=zt[n.type];i||(i=zt[n.type]=$("ON_PROPERTY"+n.type));let d=this||n.target||ut,r=d[i],u;if(oe&&d===xt&&n.type==="error"){let m=n;u=r&&r.call(this,m.message,m.filename,m.lineno,m.colno,m.error),u===!0&&n.preventDefault()}else u=r&&r.apply(this,arguments),n.type==="beforeunload"&&ut[Se]&&typeof u=="string"?n.returnValue=u:u!=null&&!u&&n.preventDefault();return u};function se(n,i,d){let r=Ht(n,i);if(!r&&d&&Ht(d,i)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let u=$("on"+i+"patched");if(n.hasOwnProperty(u)&&n[u])return;delete r.writable,delete r.value;let m=r.get,P=r.set,D=i.slice(2),S=zt[D];S||(S=zt[D]=$("ON_PROPERTY"+D)),r.set=function(j){let b=this;if(!b&&n===ut&&(b=ut),!b)return;typeof b[S]=="function"&&b.removeEventListener(D,ie),P?.call(b,null),b[S]=j,typeof j=="function"&&b.addEventListener(D,ie,!1)},r.get=function(){let j=this;if(!j&&n===ut&&(j=ut),!j)return null;let b=j[S];if(b)return b;if(m){let I=m.call(this);if(I)return r.set.call(this,I),typeof j[De]=="function"&&j.removeAttribute(i),I}return null},Jt(n,i,r),n[u]=!0}function pe(n,i,d){if(i)for(let r=0;r<i.length;r++)se(n,"on"+i[r],d);else{let r=[];for(let u in n)u.slice(0,2)=="on"&&r.push(u);for(let u=0;u<r.length;u++)se(n,r[u],d)}}var Tt=$("originalInstance");function jt(n){let i=ut[n];if(!i)return;ut[$(n)]=i,ut[n]=function(){let u=re(arguments,n);switch(u.length){case 0:this[Tt]=new i;break;case 1:this[Tt]=new i(u[0]);break;case 2:this[Tt]=new i(u[0],u[1]);break;case 3:this[Tt]=new i(u[0],u[1],u[2]);break;case 4:this[Tt]=new i(u[0],u[1],u[2],u[3]);break;default:throw new Error("Arg list too long.")}},Dt(ut[n],i);let d=new i(function(){}),r;for(r in d)n==="XMLHttpRequest"&&r==="responseBlob"||function(u){typeof d[u]=="function"?ut[n].prototype[u]=function(){return this[Tt][u].apply(this[Tt],arguments)}:Jt(ut[n].prototype,u,{set:function(m){typeof m=="function"?(this[Tt][u]=ee(m,n+"."+u),Dt(this[Tt][u],m)):this[Tt][u]=m},get:function(){return this[Tt][u]}})}(r);for(r in i)r!=="prototype"&&i.hasOwnProperty(r)&&(ut[n][r]=i[r])}function Ct(n,i,d){let r=n;for(;r&&!r.hasOwnProperty(i);)r=Kt(r);!r&&n[i]&&(r=n);let u=$(i),m=null;if(r&&(!(m=r[u])||!r.hasOwnProperty(u))){m=r[u]=r[i];let P=r&&Ht(r,i);if(he(P)){let D=d(m,u,i);r[i]=function(){return D(this,arguments)},Dt(r[i],m)}}return m}function Pe(n,i,d){let r=null;function u(m){let P=m.data;return P.args[P.cbIdx]=function(){m.invoke.apply(this,arguments)},r.apply(P.target,P.args),m}r=Ct(n,i,m=>function(P,D){let S=d(P,D);return S.cbIdx>=0&&typeof D[S.cbIdx]=="function"?ne(S.name,D[S.cbIdx],S,u):m.apply(P,D)})}function Dt(n,i){n[$("OriginalDelegate")]=i}var ce=!1,Yt=!1;function Oe(){if(ce)return Yt;ce=!0;try{let n=xt.navigator.userAgent;(n.indexOf("MSIE ")!==-1||n.indexOf("Trident/")!==-1||n.indexOf("Edge/")!==-1)&&(Yt=!0)}catch{}return Yt}function le(n){return typeof n=="function"}function ae(n){return typeof n=="number"}var Re={useG:!0},gt={},_e={},Ee=new RegExp("^"+Ft+"(\\w+)(true|false)$"),me=$("propagationStopped");function ye(n,i){let d=(i?i(n):n)+bt,r=(i?i(n):n)+wt,u=Ft+d,m=Ft+r;gt[n]={},gt[n][bt]=u,gt[n][wt]=m}function Le(n,i,d,r){let u=r&&r.add||Qt,m=r&&r.rm||te,P=r&&r.listeners||"eventListeners",D=r&&r.rmAll||"removeAllListeners",S=$(u),j="."+u+":",b="prependListener",I="."+b+":",V=function(R,T,q){if(R.isRemoved)return;let Y=R.callback;typeof Y=="object"&&Y.handleEvent&&(R.callback=O=>Y.handleEvent(O),R.originalDelegate=Y);let st;try{R.invoke(R,T,[q])}catch(O){st=O}let J=R.options;if(J&&typeof J=="object"&&J.once){let O=R.originalDelegate?R.originalDelegate:R.callback;T[m].call(T,q.type,O,J)}return st};function X(R,T,q){if(T=T||n.event,!T)return;let Y=R||T.target||n,st=Y[gt[T.type][q?wt:bt]];if(st){let J=[];if(st.length===1){let O=V(st[0],Y,T);O&&J.push(O)}else{let O=st.slice();for(let nt=0;nt<O.length&&!(T&&T[me]===!0);nt++){let x=V(O[nt],Y,T);x&&J.push(x)}}if(J.length===1)throw J[0];for(let O=0;O<J.length;O++){let nt=J[O];i.nativeScheduleMicroTask(()=>{throw nt})}}}let et=function(R){return X(this,R,!1)},lt=function(R){return X(this,R,!0)};function at(R,T){if(!R)return!1;let q=!0;T&&T.useG!==void 0&&(q=T.useG);let Y=T&&T.vh,st=!0;T&&T.chkDup!==void 0&&(st=T.chkDup);let J=!1;T&&T.rt!==void 0&&(J=T.rt);let O=R;for(;O&&!O.hasOwnProperty(u);)O=Kt(O);if(!O&&R[u]&&(O=R),!O||O[S])return!1;let nt=T&&T.eventNameToString,x={},Z=O[S]=O[u],A=O[$(m)]=O[m],F=O[$(P)]=O[P],ht=O[$(D)]=O[D],rt;T&&T.prepend&&(rt=O[$(T.prepend)]=O[T.prepend]);function B(a,p){return p?typeof a=="boolean"?{capture:a,passive:!0}:a?typeof a=="object"&&a.passive!==!1?{...a,passive:!0}:a:{passive:!0}:a}let C=function(a){if(!x.isExisting)return Z.call(x.target,x.eventName,x.capture?lt:et,x.options)},o=function(a){if(!a.isRemoved){let p=gt[a.eventName],k;p&&(k=p[a.capture?wt:bt]);let M=k&&a.target[k];if(M){for(let N=0;N<M.length;N++)if(M[N]===a){M.splice(N,1),a.isRemoved=!0,a.removeAbortListener&&(a.removeAbortListener(),a.removeAbortListener=null),M.length===0&&(a.allRemoved=!0,a.target[k]=null);break}}}if(a.allRemoved)return A.call(a.target,a.eventName,a.capture?lt:et,a.options)},l=function(a){return Z.call(x.target,x.eventName,a.invoke,x.options)},L=function(a){return rt.call(x.target,x.eventName,a.invoke,x.options)},v=function(a){return A.call(a.target,a.eventName,a.invoke,a.options)},ot=q?C:l,W=q?o:v,mt=function(a,p){let k=typeof p;return k==="function"&&a.callback===p||k==="object"&&a.originalDelegate===p},dt=T?.diff||mt,ft=Zone[$("UNPATCHED_EVENTS")],pt=n[$("PASSIVE_EVENTS")];function y(a){if(typeof a=="object"&&a!==null){let p={...a};return a.signal&&(p.signal=a.signal),p}return a}let E=function(a,p,k,M,N=!1,G=!1){return function(){let H=this||n,z=arguments[0];T&&T.transferEventName&&(z=T.transferEventName(z));let K=arguments[1];if(!K)return a.apply(this,arguments);if(Wt&&z==="uncaughtException")return a.apply(this,arguments);let Q=!1;if(typeof K!="function"){if(!K.handleEvent)return a.apply(this,arguments);Q=!0}if(Y&&!Y(a,K,H,arguments))return;let tt=!!pt&&pt.indexOf(z)!==-1,_t=y(B(arguments[2],tt)),kt=_t?.signal;if(kt?.aborted)return;if(ft){for(let e=0;e<ft.length;e++)if(z===ft[e])return tt?a.call(H,z,K,_t):a.apply(this,arguments)}let Ot=_t?typeof _t=="boolean"?!0:_t.capture:!1,Pt=_t&&typeof _t=="object"?_t.once:!1,At=Zone.current,It=gt[z];It||(ye(z,nt),It=gt[z]);let Bt=It[Ot?wt:bt],Nt=H[Bt],Zt=!1;if(Nt){if(Zt=!0,st){for(let e=0;e<Nt.length;e++)if(dt(Nt[e],K))return}}else Nt=H[Bt]=[];let Rt,Gt=H.constructor.name,Et=_e[Gt];Et&&(Rt=Et[z]),Rt||(Rt=Gt+p+(nt?nt(z):z)),x.options=_t,Pt&&(x.options.once=!1),x.target=H,x.capture=Ot,x.eventName=z,x.isExisting=Zt;let St=q?Re:void 0;St&&(St.taskData=x),kt&&(x.options.signal=void 0);let t=At.scheduleEventTask(Rt,K,St,k,M);if(kt){x.options.signal=kt;let e=()=>t.zone.cancelTask(t);a.call(kt,"abort",e,{once:!0}),t.removeAbortListener=()=>kt.removeEventListener("abort",e)}if(x.target=null,St&&(St.taskData=null),Pt&&(x.options.once=!0),typeof t.options!="boolean"&&(t.options=_t),t.target=H,t.capture=Ot,t.eventName=z,Q&&(t.originalDelegate=K),G?Nt.unshift(t):Nt.push(t),N)return H}};return O[u]=E(Z,j,ot,W,J),rt&&(O[b]=E(rt,I,L,W,J,!0)),O[m]=function(){let a=this||n,p=arguments[0];T&&T.transferEventName&&(p=T.transferEventName(p));let k=arguments[2],M=k?typeof k=="boolean"?!0:k.capture:!1,N=arguments[1];if(!N)return A.apply(this,arguments);if(Y&&!Y(A,N,a,arguments))return;let G=gt[p],H;G&&(H=G[M?wt:bt]);let z=H&&a[H];if(z)for(let K=0;K<z.length;K++){let Q=z[K];if(dt(Q,N)){if(z.splice(K,1),Q.isRemoved=!0,z.length===0&&(Q.allRemoved=!0,a[H]=null,!M&&typeof p=="string")){let tt=Ft+"ON_PROPERTY"+p;a[tt]=null}return Q.zone.cancelTask(Q),J?a:void 0}}return A.apply(this,arguments)},O[P]=function(){let a=this||n,p=arguments[0];T&&T.transferEventName&&(p=T.transferEventName(p));let k=[],M=ge(a,nt?nt(p):p);for(let N=0;N<M.length;N++){let G=M[N],H=G.originalDelegate?G.originalDelegate:G.callback;k.push(H)}return k},O[D]=function(){let a=this||n,p=arguments[0];if(p){T&&T.transferEventName&&(p=T.transferEventName(p));let k=gt[p];if(k){let M=k[bt],N=k[wt],G=a[M],H=a[N];if(G){let z=G.slice();for(let K=0;K<z.length;K++){let Q=z[K],tt=Q.originalDelegate?Q.originalDelegate:Q.callback;this[m].call(this,p,tt,Q.options)}}if(H){let z=H.slice();for(let K=0;K<z.length;K++){let Q=z[K],tt=Q.originalDelegate?Q.originalDelegate:Q.callback;this[m].call(this,p,tt,Q.options)}}}}else{let k=Object.keys(a);for(let M=0;M<k.length;M++){let N=k[M],G=Ee.exec(N),H=G&&G[1];H&&H!=="removeListener"&&this[D].call(this,H)}this[D].call(this,"removeListener")}if(J)return this},Dt(O[u],Z),Dt(O[m],A),ht&&Dt(O[D],ht),F&&Dt(O[P],F),!0}let it=[];for(let R=0;R<d.length;R++)it[R]=at(d[R],r);return it}function ge(n,i){if(!i){let m=[];for(let P in n){let D=Ee.exec(P),S=D&&D[1];if(S&&(!i||S===i)){let j=n[P];if(j)for(let b=0;b<j.length;b++)m.push(j[b])}}return m}let d=gt[i];d||(ye(i),d=gt[i]);let r=n[d[bt]],u=n[d[wt]];return r?u?r.concat(u):r.slice():u?u.slice():[]}function Me(n,i){let d=n.Event;d&&d.prototype&&i.patchMethod(d.prototype,"stopImmediatePropagation",r=>function(u,m){u[me]=!0,r&&r.apply(u,m)})}function Ae(n,i){i.patchMethod(n,"queueMicrotask",d=>function(r,u){Zone.current.scheduleMicroTask("queueMicrotask",u[0])})}var Vt=$("zoneTask");function Mt(n,i,d,r){let u=null,m=null;i+=r,d+=r;let P={};function D(j){let b=j.data;b.args[0]=function(){return j.invoke.apply(this,arguments)};let I=u.apply(n,b.args);return ae(I)?b.handleId=I:(b.handle=I,b.isRefreshable=le(I.refresh)),j}function S(j){let{handle:b,handleId:I}=j.data;return m.call(n,b??I)}u=Ct(n,i,j=>function(b,I){if(le(I[0])){let V={isRefreshable:!1,isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},X=I[0];I[0]=function(){try{return X.apply(this,arguments)}finally{let{handle:q,handleId:Y,isPeriodic:st,isRefreshable:J}=V;!st&&!J&&(Y?delete P[Y]:q&&(q[Vt]=null))}};let et=ne(i,I[0],V,D,S);if(!et)return et;let{handleId:lt,handle:at,isRefreshable:it,isPeriodic:R}=et.data;if(lt)P[lt]=et;else if(at&&(at[Vt]=et,it&&!R)){let T=at.refresh;at.refresh=function(){let{zone:q,state:Y}=et;return Y==="notScheduled"?(et._state="scheduled",q._updateTaskCount(et,1)):Y==="running"&&(et._state="scheduling"),T.call(this)}}return at??lt??et}else return j.apply(n,I)}),m=Ct(n,d,j=>function(b,I){let V=I[0],X;ae(V)?(X=P[V],delete P[V]):(X=V?.[Vt],X?V[Vt]=null:X=V),X?.type?X.cancelFn&&X.zone.cancelTask(X):j.apply(n,I)})}function Ie(n,i){let{isBrowser:d,isMix:r}=i.getGlobalObjects();if(!d&&!r||!n.customElements||!("customElements"in n))return;let u=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];i.patchCallbacks(i,n.customElements,"customElements","define",u)}function Ze(n,i){if(Zone[i.symbol("patchEventTarget")])return;let{eventNames:d,zoneSymbolEventNames:r,TRUE_STR:u,FALSE_STR:m,ZONE_SYMBOL_PREFIX:P}=i.getGlobalObjects();for(let S=0;S<d.length;S++){let j=d[S],b=j+m,I=j+u,V=P+b,X=P+I;r[j]={},r[j][m]=V,r[j][u]=X}let D=n.EventTarget;if(!(!D||!D.prototype))return i.patchEventTarget(n,i,[D&&D.prototype]),!0}function je(n,i){i.patchEventPrototype(n,i)}function Te(n,i,d){if(!d||d.length===0)return i;let r=d.filter(m=>m.target===n);if(r.length===0)return i;let u=r[0].ignoreProperties;return i.filter(m=>u.indexOf(m)===-1)}function ue(n,i,d,r){if(!n)return;let u=Te(n,i,d);pe(n,u,r)}function $t(n){return Object.getOwnPropertyNames(n).filter(i=>i.startsWith("on")&&i.length>2).map(i=>i.substring(2))}function He(n,i){if(Wt&&!de||Zone[n.symbol("patchEvents")])return;let d=i.__Zone_ignore_on_properties,r=[];if(oe){let u=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let m=[];ue(u,$t(u),d&&d.concat(m),Kt(u))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let u=0;u<r.length;u++){let m=i[r[u]];m?.prototype&&ue(m.prototype,$t(m.prototype),d)}}function Fe(n){n.__load_patch("legacy",i=>{let d=i[n.__symbol__("legacyPatch")];d&&d()}),n.__load_patch("timers",i=>{let d="set",r="clear";Mt(i,d,r,"Timeout"),Mt(i,d,r,"Interval"),Mt(i,d,r,"Immediate")}),n.__load_patch("requestAnimationFrame",i=>{Mt(i,"request","cancel","AnimationFrame"),Mt(i,"mozRequest","mozCancel","AnimationFrame"),Mt(i,"webkitRequest","webkitCancel","AnimationFrame")}),n.__load_patch("blocking",(i,d)=>{let r=["alert","prompt","confirm"];for(let u=0;u<r.length;u++){let m=r[u];Ct(i,m,(P,D,S)=>function(j,b){return d.current.run(P,i,b,S)})}}),n.__load_patch("EventTarget",(i,d,r)=>{je(i,r),Ze(i,r);let u=i.XMLHttpRequestEventTarget;u&&u.prototype&&r.patchEventTarget(i,r,[u.prototype])}),n.__load_patch("MutationObserver",(i,d,r)=>{jt("MutationObserver"),jt("WebKitMutationObserver")}),n.__load_patch("IntersectionObserver",(i,d,r)=>{jt("IntersectionObserver")}),n.__load_patch("FileReader",(i,d,r)=>{jt("FileReader")}),n.__load_patch("on_property",(i,d,r)=>{He(r,i)}),n.__load_patch("customElements",(i,d,r)=>{Ie(i,r)}),n.__load_patch("XHR",(i,d)=>{j(i);let r=$("xhrTask"),u=$("xhrSync"),m=$("xhrListener"),P=$("xhrScheduled"),D=$("xhrURL"),S=$("xhrErrorBeforeScheduled");function j(b){let I=b.XMLHttpRequest;if(!I)return;let V=I.prototype;function X(Z){return Z[r]}let et=V[qt],lt=V[Xt];if(!et){let Z=b.XMLHttpRequestEventTarget;if(Z){let A=Z.prototype;et=A[qt],lt=A[Xt]}}let at="readystatechange",it="scheduled";function R(Z){let A=Z.data,F=A.target;F[P]=!1,F[S]=!1;let ht=F[m];et||(et=F[qt],lt=F[Xt]),ht&&lt.call(F,at,ht);let rt=F[m]=()=>{if(F.readyState===F.DONE)if(!A.aborted&&F[P]&&Z.state===it){let C=F[d.__symbol__("loadfalse")];if(F.status!==0&&C&&C.length>0){let o=Z.invoke;Z.invoke=function(){let l=F[d.__symbol__("loadfalse")];for(let L=0;L<l.length;L++)l[L]===Z&&l.splice(L,1);!A.aborted&&Z.state===it&&o.call(Z)},C.push(Z)}else Z.invoke()}else!A.aborted&&F[P]===!1&&(F[S]=!0)};return et.call(F,at,rt),F[r]||(F[r]=Z),nt.apply(F,A.args),F[P]=!0,Z}function T(){}function q(Z){let A=Z.data;return A.aborted=!0,x.apply(A.target,A.args)}let Y=Ct(V,"open",()=>function(Z,A){return Z[u]=A[2]==!1,Z[D]=A[1],Y.apply(Z,A)}),st="XMLHttpRequest.send",J=$("fetchTaskAborting"),O=$("fetchTaskScheduling"),nt=Ct(V,"send",()=>function(Z,A){if(d.current[O]===!0||Z[u])return nt.apply(Z,A);{let F={target:Z,url:Z[D],isPeriodic:!1,args:A,aborted:!1},ht=ne(st,T,F,R,q);Z&&Z[S]===!0&&!F.aborted&&ht.state===it&&ht.invoke()}}),x=Ct(V,"abort",()=>function(Z,A){let F=X(Z);if(F&&typeof F.type=="string"){if(F.cancelFn==null||F.data&&F.data.aborted)return;F.zone.cancelTask(F)}else if(d.current[J]===!0)return x.apply(Z,A)})}}),n.__load_patch("geolocation",i=>{i.navigator&&i.navigator.geolocation&&Ne(i.navigator.geolocation,["getCurrentPosition","watchPosition"])}),n.__load_patch("PromiseRejectionEvent",(i,d)=>{function r(u){return function(m){ge(i,u).forEach(D=>{let S=i.PromiseRejectionEvent;if(S){let j=new S(u,{promise:m.promise,reason:m.rejection});D.invoke(j)}})}}i.PromiseRejectionEvent&&(d[$("unhandledPromiseRejectionHandler")]=r("unhandledrejection"),d[$("rejectionHandledHandler")]=r("rejectionhandled"))}),n.__load_patch("queueMicrotask",(i,d,r)=>{Ae(i,r)})}function xe(n){n.__load_patch("ZoneAwarePromise",(i,d,r)=>{let u=Object.getOwnPropertyDescriptor,m=Object.defineProperty;function P(y){if(y&&y.toString===Object.prototype.toString){let E=y.constructor&&y.constructor.name;return(E||"")+": "+JSON.stringify(y)}return y?y.toString():Object.prototype.toString.call(y)}let D=r.symbol,S=[],j=i[D("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,b=D("Promise"),I=D("then"),V="__creationTrace__";r.onUnhandledError=y=>{if(r.showUncaughtError()){let E=y&&y.rejection;E?console.error("Unhandled Promise rejection:",E instanceof Error?E.message:E,"; Zone:",y.zone.name,"; Task:",y.task&&y.task.source,"; Value:",E,E instanceof Error?E.stack:void 0):console.error(y)}},r.microtaskDrainDone=()=>{for(;S.length;){let y=S.shift();try{y.zone.runGuarded(()=>{throw y.throwOriginal?y.rejection:y})}catch(E){et(E)}}};let X=D("unhandledPromiseRejectionHandler");function et(y){r.onUnhandledError(y);try{let E=d[X];typeof E=="function"&&E.call(this,y)}catch{}}function lt(y){return y&&typeof y.then=="function"}function at(y){return y}function it(y){return W.reject(y)}let R=D("state"),T=D("value"),q=D("finally"),Y=D("parentPromiseValue"),st=D("parentPromiseState"),J="Promise.then",O=null,nt=!0,x=!1,Z=0;function A(y,E){return a=>{try{B(y,E,a)}catch(p){B(y,!1,p)}}}let F=function(){let y=!1;return function(a){return function(){y||(y=!0,a.apply(null,arguments))}}},ht="Promise resolved with itself",rt=D("currentTaskTrace");function B(y,E,a){let p=F();if(y===a)throw new TypeError(ht);if(y[R]===O){let k=null;try{(typeof a=="object"||typeof a=="function")&&(k=a&&a.then)}catch(M){return p(()=>{B(y,!1,M)})(),y}if(E!==x&&a instanceof W&&a.hasOwnProperty(R)&&a.hasOwnProperty(T)&&a[R]!==O)o(a),B(y,a[R],a[T]);else if(E!==x&&typeof k=="function")try{k.call(a,p(A(y,E)),p(A(y,!1)))}catch(M){p(()=>{B(y,!1,M)})()}else{y[R]=E;let M=y[T];if(y[T]=a,y[q]===q&&E===nt&&(y[R]=y[st],y[T]=y[Y]),E===x&&a instanceof Error){let N=d.currentTask&&d.currentTask.data&&d.currentTask.data[V];N&&m(a,rt,{configurable:!0,enumerable:!1,writable:!0,value:N})}for(let N=0;N<M.length;)l(y,M[N++],M[N++],M[N++],M[N++]);if(M.length==0&&E==x){y[R]=Z;let N=a;try{throw new Error("Uncaught (in promise): "+P(a)+(a&&a.stack?`
2
+ `+a.stack:""))}catch(G){N=G}j&&(N.throwOriginal=!0),N.rejection=a,N.promise=y,N.zone=d.current,N.task=d.currentTask,S.push(N),r.scheduleMicroTask()}}}return y}let C=D("rejectionHandledHandler");function o(y){if(y[R]===Z){try{let E=d[C];E&&typeof E=="function"&&E.call(this,{rejection:y[T],promise:y})}catch{}y[R]=x;for(let E=0;E<S.length;E++)y===S[E].promise&&S.splice(E,1)}}function l(y,E,a,p,k){o(y);let M=y[R],N=M?typeof p=="function"?p:at:typeof k=="function"?k:it;E.scheduleMicroTask(J,()=>{try{let G=y[T],H=!!a&&q===a[q];H&&(a[Y]=G,a[st]=M);let z=E.run(N,void 0,H&&N!==it&&N!==at?[]:[G]);B(a,!0,z)}catch(G){B(a,!1,G)}},a)}let L="function ZoneAwarePromise() { [native code] }",v=function(){},ot=i.AggregateError;class W{static toString(){return L}static resolve(E){return E instanceof W?E:B(new this(null),nt,E)}static reject(E){return B(new this(null),x,E)}static withResolvers(){let E={};return E.promise=new W((a,p)=>{E.resolve=a,E.reject=p}),E}static any(E){if(!E||typeof E[Symbol.iterator]!="function")return Promise.reject(new ot([],"All promises were rejected"));let a=[],p=0;try{for(let N of E)p++,a.push(W.resolve(N))}catch{return Promise.reject(new ot([],"All promises were rejected"))}if(p===0)return Promise.reject(new ot([],"All promises were rejected"));let k=!1,M=[];return new W((N,G)=>{for(let H=0;H<a.length;H++)a[H].then(z=>{k||(k=!0,N(z))},z=>{M.push(z),p--,p===0&&(k=!0,G(new ot(M,"All promises were rejected")))})})}static race(E){let a,p,k=new this((G,H)=>{a=G,p=H});function M(G){a(G)}function N(G){p(G)}for(let G of E)lt(G)||(G=this.resolve(G)),G.then(M,N);return k}static all(E){return W.allWithCallback(E)}static allSettled(E){return(this&&this.prototype instanceof W?this:W).allWithCallback(E,{thenCallback:p=>({status:"fulfilled",value:p}),errorCallback:p=>({status:"rejected",reason:p})})}static allWithCallback(E,a){let p,k,M=new this((z,K)=>{p=z,k=K}),N=2,G=0,H=[];for(let z of E){lt(z)||(z=this.resolve(z));let K=G;try{z.then(Q=>{H[K]=a?a.thenCallback(Q):Q,N--,N===0&&p(H)},Q=>{a?(H[K]=a.errorCallback(Q),N--,N===0&&p(H)):k(Q)})}catch(Q){k(Q)}N++,G++}return N-=2,N===0&&p(H),M}constructor(E){let a=this;if(!(a instanceof W))throw new Error("Must be an instanceof Promise.");a[R]=O,a[T]=[];try{let p=F();E&&E(p(A(a,nt)),p(A(a,x)))}catch(p){B(a,!1,p)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return W}then(E,a){let p=this.constructor?.[Symbol.species];(!p||typeof p!="function")&&(p=this.constructor||W);let k=new p(v),M=d.current;return this[R]==O?this[T].push(M,k,E,a):l(this,M,k,E,a),k}catch(E){return this.then(null,E)}finally(E){let a=this.constructor?.[Symbol.species];(!a||typeof a!="function")&&(a=W);let p=new a(v);p[q]=q;let k=d.current;return this[R]==O?this[T].push(k,p,E,E):l(this,k,p,E,E),p}}W.resolve=W.resolve,W.reject=W.reject,W.race=W.race,W.all=W.all;let mt=i[b]=i.Promise;i.Promise=W;let dt=D("thenPatched");function ft(y){let E=y.prototype,a=u(E,"then");if(a&&(a.writable===!1||!a.configurable))return;let p=E.then;E[I]=p,y.prototype.then=function(k,M){return new W((G,H)=>{p.call(this,G,H)}).then(k,M)},y[dt]=!0}r.patchThen=ft;function pt(y){return function(E,a){let p=y.apply(E,a);if(p instanceof W)return p;let k=p.constructor;return k[dt]||ft(k),p}}return mt&&(ft(mt),Ct(i,"fetch",y=>pt(y))),Promise[d.__symbol__("uncaughtPromiseErrors")]=S,W})}function Be(n){n.__load_patch("toString",i=>{let d=Function.prototype.toString,r=$("OriginalDelegate"),u=$("Promise"),m=$("Error"),P=function(){if(typeof this=="function"){let b=this[r];if(b)return typeof b=="function"?d.call(b):Object.prototype.toString.call(b);if(this===Promise){let I=i[u];if(I)return d.call(I)}if(this===Error){let I=i[m];if(I)return d.call(I)}}return d.call(this)};P[r]=d,Function.prototype.toString=P;let D=Object.prototype.toString,S="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?S:D.call(this)}})}function Ge(n,i,d,r,u){let m=Zone.__symbol__(r);if(i[m])return;let P=i[m]=i[r];i[r]=function(D,S,j){return S&&S.prototype&&u.forEach(function(b){let I=`${d}.${r}::`+b,V=S.prototype;try{if(V.hasOwnProperty(b)){let X=n.ObjectGetOwnPropertyDescriptor(V,b);X&&X.value?(X.value=n.wrapWithCurrentZone(X.value,I),n._redefineProperty(S.prototype,b,X)):V[b]&&(V[b]=n.wrapWithCurrentZone(V[b],I))}else V[b]&&(V[b]=n.wrapWithCurrentZone(V[b],I))}catch{}}),P.call(i,D,S,j)},n.attachOriginToPatched(i[r],P)}function Ve(n){n.__load_patch("util",(i,d,r)=>{let u=$t(i);r.patchOnProperties=pe,r.patchMethod=Ct,r.bindArguments=re,r.patchMacroTask=Pe;let m=d.__symbol__("BLACK_LISTED_EVENTS"),P=d.__symbol__("UNPATCHED_EVENTS");i[P]&&(i[m]=i[P]),i[m]&&(d[m]=d[P]=i[m]),r.patchEventPrototype=Me,r.patchEventTarget=Le,r.isIEOrEdge=Oe,r.ObjectDefineProperty=Jt,r.ObjectGetOwnPropertyDescriptor=Ht,r.ObjectCreate=be,r.ArraySlice=Ce,r.patchClass=jt,r.wrapWithCurrentZone=ee,r.filterProperties=Te,r.attachOriginToPatched=Dt,r._redefineProperty=Object.defineProperty,r.patchCallbacks=Ge,r.getGlobalObjects=()=>({globalSources:_e,zoneSymbolEventNames:gt,eventNames:u,isBrowser:oe,isMix:de,isNode:Wt,TRUE_STR:wt,FALSE_STR:bt,ZONE_SYMBOL_PREFIX:Ft,ADD_EVENT_LISTENER_STR:Qt,REMOVE_EVENT_LISTENER_STR:te})})}function ze(n){xe(n),Be(n),Ve(n)}var ve=we();ze(ve);Fe(ve);
@@ -1,4 +0,0 @@
1
- /* Archivo: styles-OHXH52PV.css */
2
- @charset "UTF-8";.ts-main-bg{background-color:#08203c!important;border-color:#08203c!important}.ts-main-text{color:#08203c!important}.ts-header{background-color:#08203c}
3
-
4
-
@@ -1,10 +1,30 @@
1
- var ce=globalThis;function te(t){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+t}function ht(){let t=ce.performance;function n(I){t&&t.mark&&t.mark(I)}function a(I,s){t&&t.measure&&t.measure(I,s)}n("Zone");class e{static __symbol__=te;static assertZonePatched(){if(ce.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=e.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,r=!1){if(S.hasOwnProperty(s)){let E=ce[te("forceDuplicateZoneCheck")]===!0;if(!r&&E)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let E="Zone:"+s;n(E),S[s]=i(ce,e,R),a(E,E)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"<root>",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let r=this._zoneDelegate.intercept(this,s,i),E=this;return function(){return E.runGuarded(r,this,arguments,i)}}run(s,i,r,E){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,r,E)}finally{b=b.parent}}runGuarded(s,i=null,r,E){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,r,E)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{b=b.parent}}runTask(s,i,r){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let E=s,{type:x,data:{isPeriodic:ee=!1,isRefreshable:M=!1}={}}=s;if(s.state===q&&(x===U||x===k))return;let he=s.state!=A;he&&E._transitionTo(A,d);let _e=D;D=E,b={parent:b,zone:this};try{x==k&&s.data&&!ee&&!M&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,E,i,r)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(x==U||ee||M&&Q===p)he&&E._transitionTo(d,A,p);else{let Te=E._zoneDelegates;this._updateTaskCount(E,-1),he&&E._transitionTo(q,A,q),M&&(E._zoneDelegates=Te)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let r=this;for(;r;){if(r===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);r=r.parent}}s._transitionTo(p,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(r){throw s._transitionTo(X,p,q),this._zoneDelegate.handleError(this,r),r}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==p&&s._transitionTo(d,p),s}scheduleMicroTask(s,i,r,E){return this.scheduleTask(new g(F,s,i,r,E,void 0))}scheduleMacroTask(s,i,r,E,x){return this.scheduleTask(new g(k,s,i,r,E,x))}scheduleEventTask(s,i,r,E,x){return this.scheduleTask(new g(U,s,i,r,E,x))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(V,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,V),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,V),s.runCount=-1,s}}_updateTaskCount(s,i){let r=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let E=0;E<r.length;E++)r[E]._updateTaskCount(s.type,i)}}let c={name:"",onHasTask:(I,s,i,r)=>I.hasTask(i,r),onScheduleTask:(I,s,i,r)=>I.scheduleTask(i,r),onInvokeTask:(I,s,i,r,E,x)=>I.invokeTask(i,r,E,x),onCancelTask:(I,s,i,r)=>I.cancelTask(i,r)};class f{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(s,i,r){this._zone=s,this._parentDelegate=i,this._forkZS=r&&(r&&r.onFork?r:i._forkZS),this._forkDlgt=r&&(r.onFork?i:i._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:i._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:i._interceptZS),this._interceptDlgt=r&&(r.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:i._invokeZS),this._invokeDlgt=r&&(r.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:i._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:i._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:i._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:i._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let E=r&&r.onHasTask,x=i&&i._hasTaskZS;(E||x)&&(this._hasTaskZS=E?r:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new e(s,i)}intercept(s,i,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,r):i}invoke(s,i,r,E,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,r,E,x):i.apply(r,E)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let r=i;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),r||(r=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==F)z(i);else throw new Error("Task is missing scheduleFn.");return r}invokeTask(s,i,r,E){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,r,E):i.callback.apply(r,E)}cancelTask(s,i){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");r=i.cancelFn(i)}return r}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(r){this.handleError(s,r)}}_updateTaskCount(s,i){let r=this._taskCounts,E=r[s],x=r[s]=E+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(E==0||x==0){let ee={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class g{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(s,i,r,E,x,ee){if(this.type=s,this.source=i,this.data=E,this.scheduleFn=x,this.cancelFn=ee,!r)throw new Error("callback is not defined");this.callback=r;let M=this;s===U&&E&&E.useG?this.invoke=g.invokeTask:this.invoke=function(){return g.invokeTask.call(ce,M,this,arguments)}}static invokeTask(s,i,r){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,r)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,p)}_transitionTo(s,i,r){if(this._state===i||this._state===r)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${r?" or '"+r+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=te("setTimeout"),y=te("Promise"),w=te("then"),_=[],P=!1,L;function H(I){if(L||ce[y]&&(L=ce[y].resolve(0)),L){let s=L[w];s||(s=L.then),s.call(L,I)}else ce[T](I,0)}function z(I){K===0&&_.length===0&&H($),I&&_.push(I)}function $(){if(!P){for(P=!0;_.length;){let I=_;_=[];for(let s=0;s<I.length;s++){let i=I[s];try{i.zone.runTask(i,null,null)}catch(r){R.onUnhandledError(r)}}}R.microtaskDrainDone(),P=!1}}let J={name:"NO ZONE"},q="notScheduled",p="scheduling",d="scheduled",A="running",V="canceling",X="unknown",F="microTask",k="macroTask",U="eventTask",S={},R={symbol:te,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!e[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:H},b={parent:null,zone:new e(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),e}function dt(){let t=globalThis,n=t[te("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(n||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ht(),t.Zone}var pe=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=te(je),Ze=te(He),ae="true",le="false",ve=te("");function Ve(t,n){return Zone.current.wrap(t,n)}function xe(t,n,a,e,c){return Zone.current.scheduleMacroTask(t,n,a,e,c)}var j=te,we=typeof window<"u",be=we?window:void 0,Y=we&&be||globalThis,Et="removeAttribute";function Fe(t,n){for(let a=t.length-1;a>=0;a--)typeof t[a]=="function"&&(t[a]=Ve(t[a],n+"_"+a));return t}function gt(t,n){let a=t.constructor.name;for(let e=0;e<n.length;e++){let c=n[e],f=t[c];if(f){let g=pe(t,c);if(!et(g))continue;t[c]=(T=>{let y=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(y,T),y})(f)}}}function et(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=j("enable_beforeunload"),Xe=function(t){if(t=t||Y.event,!t)return;let n=Ce[t.type];n||(n=Ce[t.type]=j("ON_PROPERTY"+t.type));let a=this||t.target||Y,e=a[n],c;if(Ge&&a===be&&t.type==="error"){let f=t;c=e&&e.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&t.preventDefault()}else c=e&&e.apply(this,arguments),t.type==="beforeunload"&&Y[kt]&&typeof c=="string"?t.returnValue=c:c!=null&&!c&&t.preventDefault();return c};function Ye(t,n,a){let e=pe(t,n);if(!e&&a&&pe(a,n)&&(e={enumerable:!0,configurable:!0}),!e||!e.configurable)return;let c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete e.writable,delete e.value;let f=e.get,g=e.set,T=n.slice(2),y=Ce[T];y||(y=Ce[T]=j("ON_PROPERTY"+T)),e.set=function(w){let _=this;if(!_&&t===Y&&(_=Y),!_)return;typeof _[y]=="function"&&_.removeEventListener(T,Xe),g?.call(_,null),_[y]=w,typeof w=="function"&&_.addEventListener(T,Xe,!1)},e.get=function(){let w=this;if(!w&&t===Y&&(w=Y),!w)return null;let _=w[y];if(_)return _;if(f){let P=f.call(this);if(P)return e.set.call(this,P),typeof w[Et]=="function"&&w.removeAttribute(n),P}return null},Me(t,n,e),t[c]=!0}function rt(t,n,a){if(n)for(let e=0;e<n.length;e++)Ye(t,"on"+n[e],a);else{let e=[];for(let c in t)c.slice(0,2)=="on"&&e.push(c);for(let c=0;c<e.length;c++)Ye(t,e[c],a)}}var oe=j("originalInstance");function ye(t){let n=Y[t];if(!n)return;Y[j(t)]=n,Y[t]=function(){let c=Fe(arguments,t);switch(c.length){case 0:this[oe]=new n;break;case 1:this[oe]=new n(c[0]);break;case 2:this[oe]=new n(c[0],c[1]);break;case 3:this[oe]=new n(c[0],c[1],c[2]);break;case 4:this[oe]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},fe(Y[t],n);let a=new n(function(){}),e;for(e in a)t==="XMLHttpRequest"&&e==="responseBlob"||function(c){typeof a[c]=="function"?Y[t].prototype[c]=function(){return this[oe][c].apply(this[oe],arguments)}:Me(Y[t].prototype,c,{set:function(f){typeof f=="function"?(this[oe][c]=Ve(f,t+"."+c),fe(this[oe][c],f)):this[oe][c]=f},get:function(){return this[oe][c]}})}(e);for(e in n)e!=="prototype"&&n.hasOwnProperty(e)&&(Y[t][e]=n[e])}function ue(t,n,a){let e=t;for(;e&&!e.hasOwnProperty(n);)e=Ae(e);!e&&t[n]&&(e=t);let c=j(n),f=null;if(e&&(!(f=e[c])||!e.hasOwnProperty(c))){f=e[c]=e[n];let g=e&&pe(e,n);if(et(g)){let T=a(f,c,n);e[n]=function(){return T(this,arguments)},fe(e[n],f)}}return f}function mt(t,n,a){let e=null;function c(f){let g=f.data;return g.args[g.cbIdx]=function(){f.invoke.apply(this,arguments)},e.apply(g.target,g.args),f}e=ue(t,n,f=>function(g,T){let y=a(g,T);return y.cbIdx>=0&&typeof T[y.cbIdx]=="function"?xe(y.name,T[y.cbIdx],y,c):f.apply(g,T)})}function fe(t,n){t[j("OriginalDelegate")]=n}var $e=!1,Le=!1;function yt(){if($e)return Le;$e=!0;try{let t=be.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(t){return typeof t=="function"}function Ke(t){return typeof t=="number"}var pt={useG:!0},ne={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=j("propagationStopped");function ct(t,n){let a=(n?n(t):t)+le,e=(n?n(t):t)+ae,c=ve+a,f=ve+e;ne[t]={},ne[t][le]=c,ne[t][ae]=f}function vt(t,n,a,e){let c=e&&e.add||je,f=e&&e.rm||He,g=e&&e.listeners||"eventListeners",T=e&&e.rmAll||"removeAllListeners",y=j(c),w="."+c+":",_="prependListener",P="."+_+":",L=function(p,d,A){if(p.isRemoved)return;let V=p.callback;typeof V=="object"&&V.handleEvent&&(p.callback=k=>V.handleEvent(k),p.originalDelegate=V);let X;try{p.invoke(p,d,[A])}catch(k){X=k}let F=p.options;if(F&&typeof F=="object"&&F.once){let k=p.originalDelegate?p.originalDelegate:p.callback;d[f].call(d,A.type,k,F)}return X};function H(p,d,A){if(d=d||t.event,!d)return;let V=p||d.target||t,X=V[ne[d.type][A?ae:le]];if(X){let F=[];if(X.length===1){let k=L(X[0],V,d);k&&F.push(k)}else{let k=X.slice();for(let U=0;U<k.length&&!(d&&d[it]===!0);U++){let S=L(k[U],V,d);S&&F.push(S)}}if(F.length===1)throw F[0];for(let k=0;k<F.length;k++){let U=F[k];n.nativeScheduleMicroTask(()=>{throw U})}}}let z=function(p){return H(this,p,!1)},$=function(p){return H(this,p,!0)};function J(p,d){if(!p)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let k=p;for(;k&&!k.hasOwnProperty(c);)k=Ae(k);if(!k&&p[c]&&(k=p),!k||k[y])return!1;let U=d&&d.eventNameToString,S={},R=k[y]=k[c],b=k[j(f)]=k[f],D=k[j(g)]=k[g],K=k[j(T)]=k[T],W;d&&d.prepend&&(W=k[j(d.prepend)]=k[d.prepend]);function I(o,u){return u?typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}:o}let s=function(o){if(!S.isExisting)return R.call(S.target,S.eventName,S.capture?$:z,S.options)},i=function(o){if(!o.isRemoved){let u=ne[o.eventName],v;u&&(v=u[o.capture?ae:le]);let C=v&&o.target[v];if(C){for(let m=0;m<C.length;m++)if(C[m]===o){C.splice(m,1),o.isRemoved=!0,o.removeAbortListener&&(o.removeAbortListener(),o.removeAbortListener=null),C.length===0&&(o.allRemoved=!0,o.target[v]=null);break}}}if(o.allRemoved)return b.call(o.target,o.eventName,o.capture?$:z,o.options)},r=function(o){return R.call(S.target,S.eventName,o.invoke,S.options)},E=function(o){return W.call(S.target,S.eventName,o.invoke,S.options)},x=function(o){return b.call(o.target,o.eventName,o.invoke,o.options)},ee=A?s:r,M=A?i:x,he=function(o,u){let v=typeof u;return v==="function"&&o.callback===u||v==="object"&&o.originalDelegate===u},_e=d?.diff||he,Q=Zone[j("UNPATCHED_EVENTS")],Te=t[j("PASSIVE_EVENTS")];function h(o){if(typeof o=="object"&&o!==null){let u={...o};return o.signal&&(u.signal=o.signal),u}return o}let l=function(o,u,v,C,m=!1,O=!1){return function(){let N=this||t,Z=arguments[0];d&&d.transferEventName&&(Z=d.transferEventName(Z));let G=arguments[1];if(!G)return o.apply(this,arguments);if(De&&Z==="uncaughtException")return o.apply(this,arguments);let B=!1;if(typeof G!="function"){if(!G.handleEvent)return o.apply(this,arguments);B=!0}if(V&&!V(o,G,N,arguments))return;let de=!!Te&&Te.indexOf(Z)!==-1,se=h(I(arguments[2],de)),Ee=se?.signal;if(Ee?.aborted)return;if(Q){for(let ie=0;ie<Q.length;ie++)if(Z===Q[ie])return de?o.call(N,Z,G,se):o.apply(this,arguments)}let Se=se?typeof se=="boolean"?!0:se.capture:!1,Be=se&&typeof se=="object"?se.once:!1,ft=Zone.current,Oe=ne[Z];Oe||(ct(Z,U),Oe=ne[Z]);let ze=Oe[Se?ae:le],ge=N[ze],Ue=!1;if(ge){if(Ue=!0,X){for(let ie=0;ie<ge.length;ie++)if(_e(ge[ie],G))return}}else ge=N[ze]=[];let Pe,We=N.constructor.name,qe=ot[We];qe&&(Pe=qe[Z]),Pe||(Pe=We+u+(U?U(Z):Z)),S.options=se,Be&&(S.options.once=!1),S.target=N,S.capture=Se,S.eventName=Z,S.isExisting=Ue;let me=A?pt:void 0;me&&(me.taskData=S),Ee&&(S.options.signal=void 0);let re=ft.scheduleEventTask(Pe,G,me,v,C);if(Ee){S.options.signal=Ee;let ie=()=>re.zone.cancelTask(re);o.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(S.target=null,me&&(me.taskData=null),Be&&(S.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=N,re.capture=Se,re.eventName=Z,B&&(re.originalDelegate=G),O?ge.unshift(re):ge.push(re),m)return N}};return k[c]=l(R,w,ee,M,F),W&&(k[_]=l(W,P,E,M,F,!0)),k[f]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],C=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,o,arguments))return;let O=ne[u],N;O&&(N=O[C?ae:le]);let Z=N&&o[N];if(Z)for(let G=0;G<Z.length;G++){let B=Z[G];if(_e(B,m)){if(Z.splice(G,1),B.isRemoved=!0,Z.length===0&&(B.allRemoved=!0,o[N]=null,!C&&typeof u=="string")){let de=ve+"ON_PROPERTY"+u;o[de]=null}return B.zone.cancelTask(B),F?o:void 0}}return b.apply(this,arguments)},k[g]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=[],C=at(o,U?U(u):u);for(let m=0;m<C.length;m++){let O=C[m],N=O.originalDelegate?O.originalDelegate:O.callback;v.push(N)}return v},k[T]=function(){let o=this||t,u=arguments[0];if(u){d&&d.transferEventName&&(u=d.transferEventName(u));let v=ne[u];if(v){let C=v[le],m=v[ae],O=o[C],N=o[m];if(O){let Z=O.slice();for(let G=0;G<Z.length;G++){let B=Z[G],de=B.originalDelegate?B.originalDelegate:B.callback;this[f].call(this,u,de,B.options)}}if(N){let Z=N.slice();for(let G=0;G<Z.length;G++){let B=Z[G],de=B.originalDelegate?B.originalDelegate:B.callback;this[f].call(this,u,de,B.options)}}}}else{let v=Object.keys(o);for(let C=0;C<v.length;C++){let m=v[C],O=st.exec(m),N=O&&O[1];N&&N!=="removeListener"&&this[T].call(this,N)}this[T].call(this,"removeListener")}if(F)return this},fe(k[c],R),fe(k[f],b),K&&fe(k[T],K),D&&fe(k[g],D),!0}let q=[];for(let p=0;p<a.length;p++)q[p]=J(a[p],e);return q}function at(t,n){if(!n){let f=[];for(let g in t){let T=st.exec(g),y=T&&T[1];if(y&&(!n||y===n)){let w=t[g];if(w)for(let _=0;_<w.length;_++)f.push(w[_])}}return f}let a=ne[n];a||(ct(n),a=ne[n]);let e=t[a[le]],c=t[a[ae]];return e?c?e.concat(c):e.slice():c?c.slice():[]}function bt(t,n){let a=t.Event;a&&a.prototype&&n.patchMethod(a.prototype,"stopImmediatePropagation",e=>function(c,f){c[it]=!0,e&&e.apply(c,f)})}function Pt(t,n){n.patchMethod(t,"queueMicrotask",a=>function(e,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ke(t,n,a,e){let c=null,f=null;n+=e,a+=e;let g={};function T(w){let _=w.data;_.args[0]=function(){return w.invoke.apply(this,arguments)};let P=c.apply(t,_.args);return Ke(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Je(P.refresh)),w}function y(w){let{handle:_,handleId:P}=w.data;return f.call(t,_??P)}c=ue(t,n,w=>function(_,P){if(Je(P[0])){let L={isRefreshable:!1,isPeriodic:e==="Interval",delay:e==="Timeout"||e==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:V,isPeriodic:X,isRefreshable:F}=L;!X&&!F&&(V?delete g[V]:A&&(A[Re]=null))}};let z=xe(n,P[0],L,T,y);if(!z)return z;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:p}=z.data;if($)g[$]=z;else if(J&&(J[Re]=z,q&&!p)){let d=J.refresh;J.refresh=function(){let{zone:A,state:V}=z;return V==="notScheduled"?(z._state="scheduled",A._updateTaskCount(z,1)):V==="running"&&(z._state="scheduling"),d.call(this)}}return J??$??z}else return w.apply(t,P)}),f=ue(t,a,w=>function(_,P){let L=P[0],H;Ke(L)?(H=g[L],delete g[L]):(H=L?.[Re],H?L[Re]=null:H=L),H?.type?H.cancelFn&&H.zone.cancelTask(H):w.apply(t,P)})}function Rt(t,n){let{isBrowser:a,isMix:e}=n.getGlobalObjects();if(!a&&!e||!t.customElements||!("customElements"in t))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,t.customElements,"customElements","define",c)}function Ct(t,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:e,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:g}=n.getGlobalObjects();for(let y=0;y<a.length;y++){let w=a[y],_=w+f,P=w+c,L=g+_,H=g+P;e[w]={},e[w][f]=L,e[w][c]=H}let T=t.EventTarget;if(!(!T||!T.prototype))return n.patchEventTarget(t,n,[T&&T.prototype]),!0}function wt(t,n){n.patchEventPrototype(t,n)}function lt(t,n,a){if(!a||a.length===0)return n;let e=a.filter(f=>f.target===t);if(e.length===0)return n;let c=e[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Qe(t,n,a,e){if(!t)return;let c=lt(t,n,a);rt(t,c,e)}function Ie(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Dt(t,n){if(De&&!nt||Zone[t.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,e=[];if(Ge){let c=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=[];Qe(c,Ie(c),a&&a.concat(f),Ae(c))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<e.length;c++){let f=n[e[c]];f?.prototype&&Qe(f.prototype,Ie(f.prototype),a)}}function St(t){t.__load_patch("legacy",n=>{let a=n[t.__symbol__("legacyPatch")];a&&a()}),t.__load_patch("timers",n=>{let a="set",e="clear";ke(n,a,e,"Timeout"),ke(n,a,e,"Interval"),ke(n,a,e,"Immediate")}),t.__load_patch("requestAnimationFrame",n=>{ke(n,"request","cancel","AnimationFrame"),ke(n,"mozRequest","mozCancel","AnimationFrame"),ke(n,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(n,a)=>{let e=["alert","prompt","confirm"];for(let c=0;c<e.length;c++){let f=e[c];ue(n,f,(g,T,y)=>function(w,_){return a.current.run(g,n,_,y)})}}),t.__load_patch("EventTarget",(n,a,e)=>{wt(n,e),Ct(n,e);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&e.patchEventTarget(n,e,[c.prototype])}),t.__load_patch("MutationObserver",(n,a,e)=>{ye("MutationObserver"),ye("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(n,a,e)=>{ye("IntersectionObserver")}),t.__load_patch("FileReader",(n,a,e)=>{ye("FileReader")}),t.__load_patch("on_property",(n,a,e)=>{Dt(e,n)}),t.__load_patch("customElements",(n,a,e)=>{Rt(n,e)}),t.__load_patch("XHR",(n,a)=>{w(n);let e=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),g=j("xhrScheduled"),T=j("xhrURL"),y=j("xhrErrorBeforeScheduled");function w(_){let P=_.XMLHttpRequest;if(!P)return;let L=P.prototype;function H(R){return R[e]}let z=L[Ne],$=L[Ze];if(!z){let R=_.XMLHttpRequestEventTarget;if(R){let b=R.prototype;z=b[Ne],$=b[Ze]}}let J="readystatechange",q="scheduled";function p(R){let b=R.data,D=b.target;D[g]=!1,D[y]=!1;let K=D[f];z||(z=D[Ne],$=D[Ze]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[g]&&R.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=R.invoke;R.invoke=function(){let r=D[a.__symbol__("loadfalse")];for(let E=0;E<r.length;E++)r[E]===R&&r.splice(E,1);!b.aborted&&R.state===q&&i.call(R)},s.push(R)}else R.invoke()}else!b.aborted&&D[g]===!1&&(D[y]=!0)};return z.call(D,J,W),D[e]||(D[e]=R),U.apply(D,b.args),D[g]=!0,R}function d(){}function A(R){let b=R.data;return b.aborted=!0,S.apply(b.target,b.args)}let V=ue(L,"open",()=>function(R,b){return R[c]=b[2]==!1,R[T]=b[1],V.apply(R,b)}),X="XMLHttpRequest.send",F=j("fetchTaskAborting"),k=j("fetchTaskScheduling"),U=ue(L,"send",()=>function(R,b){if(a.current[k]===!0||R[c])return U.apply(R,b);{let D={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},K=xe(X,d,D,p,A);R&&R[y]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(L,"abort",()=>function(R,b){let D=H(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[F]===!0)return S.apply(R,b)})}}),t.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&gt(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(n,a)=>{function e(c){return function(f){at(n,c).forEach(T=>{let y=n.PromiseRejectionEvent;if(y){let w=new y(c,{promise:f.promise,reason:f.rejection});T.invoke(w)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=e("unhandledrejection"),a[j("rejectionHandledHandler")]=e("rejectionhandled"))}),t.__load_patch("queueMicrotask",(n,a,e)=>{Pt(n,e)})}function Ot(t){t.__load_patch("ZoneAwarePromise",(n,a,e)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function g(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=e.symbol,y=[],w=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),L="__creationTrace__";e.onUnhandledError=h=>{if(e.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},e.microtaskDrainDone=()=>{for(;y.length;){let h=y.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){z(l)}}};let H=T("unhandledPromiseRejectionHandler");function z(h){e.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&typeof h.then=="function"}function J(h){return h}function q(h){return M.reject(h)}let p=T("state"),d=T("value"),A=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),F="Promise.then",k=null,U=!0,S=!1,R=0;function b(h,l){return o=>{try{I(h,l,o)}catch(u){I(h,!1,u)}}}let D=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function I(h,l,o){let u=D();if(h===o)throw new TypeError(K);if(h[p]===k){let v=null;try{(typeof o=="object"||typeof o=="function")&&(v=o&&o.then)}catch(C){return u(()=>{I(h,!1,C)})(),h}if(l!==S&&o instanceof M&&o.hasOwnProperty(p)&&o.hasOwnProperty(d)&&o[p]!==k)i(o),I(h,o[p],o[d]);else if(l!==S&&typeof v=="function")try{v.call(o,u(b(h,l)),u(b(h,!1)))}catch(C){u(()=>{I(h,!1,C)})()}else{h[p]=l;let C=h[d];if(h[d]=o,h[A]===A&&l===U&&(h[p]=h[X],h[d]=h[V]),l===S&&o instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[L];m&&f(o,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m<C.length;)r(h,C[m++],C[m++],C[m++],C[m++]);if(C.length==0&&l==S){h[p]=R;let m=o;try{throw new Error("Uncaught (in promise): "+g(o)+(o&&o.stack?`
2
- `+o.stack:""))}catch(O){m=O}w&&(m.throwOriginal=!0),m.rejection=o,m.promise=h,m.zone=a.current,m.task=a.currentTask,y.push(m),e.scheduleMicroTask()}}}return h}let s=T("rejectionHandledHandler");function i(h){if(h[p]===R){try{let l=a[s];l&&typeof l=="function"&&l.call(this,{rejection:h[d],promise:h})}catch{}h[p]=S;for(let l=0;l<y.length;l++)h===y[l].promise&&y.splice(l,1)}}function r(h,l,o,u,v){i(h);let C=h[p],m=C?typeof u=="function"?u:J:typeof v=="function"?v:q;l.scheduleMicroTask(F,()=>{try{let O=h[d],N=!!o&&A===o[A];N&&(o[V]=O,o[X]=C);let Z=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);I(o,!0,Z)}catch(O){I(o,!1,O)}},o)}let E="function ZoneAwarePromise() { [native code] }",x=function(){},ee=n.AggregateError;class M{static toString(){return E}static resolve(l){return l instanceof M?l:I(new this(null),U,l)}static reject(l){return I(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let o=[],u=0;try{for(let m of l)u++,o.push(M.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,C=[];return new M((m,O)=>{for(let N=0;N<o.length;N++)o[N].then(Z=>{v||(v=!0,m(Z))},Z=>{C.push(Z),u--,u===0&&(v=!0,O(new ee(C,"All promises were rejected")))})})}static race(l){let o,u,v=new this((O,N)=>{o=O,u=N});function C(O){o(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(C,m);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,v,C=new this((Z,G)=>{u=Z,v=G}),m=2,O=0,N=[];for(let Z of l){$(Z)||(Z=this.resolve(Z));let G=O;try{Z.then(B=>{N[G]=o?o.thenCallback(B):B,m--,m===0&&u(N)},B=>{o?(N[G]=o.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),C}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[p]=k,o[d]=[];try{let u=D();l&&l(u(b(o,U)),u(b(o,S)))}catch(u){I(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(x),C=a.current;return this[p]==k?this[d].push(C,v,l,o):r(this,C,v,l,o),v}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(x);u[A]=A;let v=a.current;return this[p]==k?this[d].push(v,u,l,l):r(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let he=n[_]=n.Promise;n.Promise=M;let _e=T("thenPatched");function Q(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,C){return new M((O,N)=>{u.call(this,O,N)}).then(v,C)},h[_e]=!0}e.patchThen=Q;function Te(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Te(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=y,M})}function Nt(t){t.__load_patch("toString",n=>{let a=Function.prototype.toString,e=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),g=function(){if(typeof this=="function"){let _=this[e];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};g[e]=a,Function.prototype.toString=g;let T=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:T.call(this)}})}function Zt(t,n,a,e,c){let f=Zone.__symbol__(e);if(n[f])return;let g=n[f]=n[e];n[e]=function(T,y,w){return y&&y.prototype&&c.forEach(function(_){let P=`${a}.${e}::`+_,L=y.prototype;try{if(L.hasOwnProperty(_)){let H=t.ObjectGetOwnPropertyDescriptor(L,_);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,P),t._redefineProperty(y.prototype,_,H)):L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}else L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}catch{}}),g.call(n,T,y,w)},t.attachOriginToPatched(n[e],g)}function Lt(t){t.__load_patch("util",(n,a,e)=>{let c=Ie(n);e.patchOnProperties=rt,e.patchMethod=ue,e.bindArguments=Fe,e.patchMacroTask=mt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),e.patchEventPrototype=bt,e.patchEventTarget=vt,e.isIEOrEdge=yt,e.ObjectDefineProperty=Me,e.ObjectGetOwnPropertyDescriptor=pe,e.ObjectCreate=_t,e.ArraySlice=Tt,e.patchClass=ye,e.wrapWithCurrentZone=Ve,e.filterProperties=lt,e.attachOriginToPatched=fe,e._redefineProperty=Object.defineProperty,e.patchCallbacks=Zt,e.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){Ot(t),Nt(t),Lt(t)}var ut=dt();It(ut);St(ut);
3
-
4
- var nd=Object.defineProperty,rd=Object.defineProperties;var od=Object.getOwnPropertyDescriptors;var $s=Object.getOwnPropertySymbols;var id=Object.prototype.hasOwnProperty,sd=Object.prototype.propertyIsEnumerable;var Us=(e,t,n)=>t in e?nd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M=(e,t)=>{for(var n in t||={})id.call(t,n)&&Us(e,n,t[n]);if($s)for(var n of $s(t))sd.call(t,n)&&Us(e,n,t[n]);return e},N=(e,t)=>rd(e,od(t));function to(e,t){return Object.is(e,t)}var O=null,un=!1,no=1,se=Symbol("SIGNAL");function E(e){let t=O;return O=e,t}function ro(){return O}var It={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function dn(e){if(un)throw new Error("");if(O===null)return;O.consumerOnSignalRead(e);let t=O.nextProducerIndex++;if(hn(O),t<O.producerNode.length&&O.producerNode[t]!==e&&wt(O)){let n=O.producerNode[t];pn(n,O.producerIndexOfThis[t])}O.producerNode[t]!==e&&(O.producerNode[t]=e,O.producerIndexOfThis[t]=wt(O)?zs(e,O,t):0),O.producerLastReadVersion[t]=e.version}function Gs(){no++}function oo(e){if(!(wt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===no)){if(!e.producerMustRecompute(e)&&!co(e)){eo(e);return}e.producerRecomputeValue(e),eo(e)}}function io(e){if(e.liveConsumerNode===void 0)return;let t=un;un=!0;try{for(let n of e.liveConsumerNode)n.dirty||ad(n)}finally{un=t}}function so(){return O?.consumerAllowSignalWrites!==!1}function ad(e){e.dirty=!0,io(e),e.consumerMarkedDirty?.(e)}function eo(e){e.dirty=!1,e.lastCleanEpoch=no}function fn(e){return e&&(e.nextProducerIndex=0),E(e)}function ao(e,t){if(E(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(wt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)pn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function co(e){hn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(oo(n),r!==n.version))return!0}return!1}function uo(e){if(hn(e),wt(e))for(let t=0;t<e.producerNode.length;t++)pn(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 zs(e,t,n){if(Ws(e),e.liveConsumerNode.length===0&&qs(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=zs(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function pn(e,t){if(Ws(e),e.liveConsumerNode.length===1&&qs(e))for(let r=0;r<e.producerNode.length;r++)pn(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];hn(o),o.producerIndexOfThis[r]=t}}function wt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function hn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ws(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function qs(e){return e.producerNode!==void 0}function lo(e,t){let n=Object.create(cd);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(oo(n),dn(n),n.value===ln)throw n.error;return n.value};return r[se]=n,r}var Jr=Symbol("UNSET"),Xr=Symbol("COMPUTING"),ln=Symbol("ERRORED"),cd=N(M({},It),{value:Jr,dirty:!0,error:null,equal:to,kind:"computed",producerMustRecompute(e){return e.value===Jr||e.value===Xr},producerRecomputeValue(e){if(e.value===Xr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Xr;let n=fn(e),r,o=!1;try{r=e.computation(),E(null),o=t!==Jr&&t!==ln&&r!==ln&&e.equal(t,r)}catch(i){r=ln,e.error=i}finally{ao(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ud(){throw new Error}var Zs=ud;function Ys(e){Zs(e)}function fo(e){Zs=e}var ld=null;function po(e,t){let n=Object.create(go);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(dn(n),n.value);return r[se]=n,r}function gn(e,t){so()||Ys(e),e.equal(e.value,t)||(e.value=t,dd(e))}function ho(e,t){so()||Ys(e),gn(e,t(e.value))}var go=N(M({},It),{equal:to,value:void 0,kind:"signal"});function dd(e){e.version++,Gs(),io(e),ld?.()}function mo(e){let t=E(null);try{return e()}finally{E(t)}}var yo;function bt(){return yo}function ge(e){let t=yo;return yo=e,t}var mn=Symbol("NotFound");function _(e){return typeof e=="function"}function yn(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=yn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
5
- ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
6
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Mt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=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(_(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{Qs(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)Qs(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)&&Mt(n,t)}remove(t){let{_finalizers:n}=this;n&&Mt(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var vo=V.EMPTY;function Dn(e){return e instanceof V||e&&"closed"in e&&_(e.remove)&&_(e.add)&&_(e.unsubscribe)}function Qs(e){_(e)?e():e.unsubscribe()}var X={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ye={setTimeout(e,t,...n){let{delegate:r}=Ye;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ye;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function En(e){Ye.setTimeout(()=>{let{onUnhandledError:t}=X;if(t)t(e);else throw e})}function Do(){}var Ks=Eo("C",void 0,void 0);function Js(e){return Eo("E",void 0,e)}function Xs(e){return Eo("N",e,void 0)}function Eo(e,t,n){return{kind:e,value:t,error:n}}var Pe=null;function Qe(e){if(X.useDeprecatedSynchronousErrorHandling){let t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Pe;if(Pe=null,n)throw r}}else e()}function ea(e){X.useDeprecatedSynchronousErrorHandling&&Pe&&(Pe.errorThrown=!0,Pe.error=e)}var Le=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Dn(t)&&t.add(this)):this.destination=yd}static create(t,n,r){return new Ke(t,n,r)}next(t){this.isStopped?_o(Xs(t),this):this._next(t)}error(t){this.isStopped?_o(Js(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?_o(Ks,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()}}},gd=Function.prototype.bind;function Co(e,t){return gd.call(e,t)}var wo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Cn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Cn(r)}else Cn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Cn(n)}}},Ke=class extends Le{constructor(t,n,r){super();let o;if(_(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&X.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Co(t.next,i),error:t.error&&Co(t.error,i),complete:t.complete&&Co(t.complete,i)}):o=t}this.destination=new wo(o)}};function Cn(e){X.useDeprecatedSynchronousErrorHandling?ea(e):En(e)}function md(e){throw e}function _o(e,t){let{onStoppedNotification:n}=X;n&&Ye.setTimeout(()=>n(e,t))}var yd={closed:!0,next:Do,error:md,complete:Do};var Je=typeof Symbol=="function"&&Symbol.observable||"@@observable";function _n(e){return e}function ta(e){return e.length===0?_n:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var A=(()=>{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=Dd(n)?n:new Ke(n,r,o);return Qe(()=>{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=na(r),new r((o,i)=>{let s=new Ke({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)}[Je](){return this}pipe(...n){return ta(n)(this)}toPromise(n){return n=na(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 na(e){var t;return(t=e??X.Promise)!==null&&t!==void 0?t:Promise}function vd(e){return e&&_(e.next)&&_(e.error)&&_(e.complete)}function Dd(e){return e&&e instanceof Le||vd(e)&&Dn(e)}function Ed(e){return _(e?.lift)}function ae(e){return t=>{if(Ed(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 q(e,t,n,r,o){return new Io(e,t,n,r,o)}var Io=class extends Le{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 ra=yn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new wn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ra}next(n){Qe(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Qe(()=>{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(){Qe(()=>{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?vo:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,Mt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return e.create=(t,n)=>new wn(t,n),e})(),wn=class extends ee{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:vo}};var St=class extends ee{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)}};var bo={now(){return(bo.delegate||Date).now()},delegate:void 0};var Tt=class extends ee{constructor(t=1/0,n=1/0,r=bo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var oa=new A(e=>e.complete());function ia(e){return e&&_(e.schedule)}function Mo(e){return e[e.length-1]}function sa(e){return _(Mo(e))?e.pop():void 0}function aa(e){return ia(Mo(e))?e.pop():void 0}function ca(e,t){return typeof Mo(e)=="number"?e.pop():t}function la(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(f){s(f)}}function c(l){try{u(r.throw(l))}catch(f){s(f)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function ua(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 Ve(e){return this instanceof Ve?(this.v=e,this):new Ve(e)}function da(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(d){return function(h){return Promise.resolve(h).then(d,f)}}function a(d,h){r[d]&&(o[d]=function(b){return new Promise(function(B,k){i.push([d,b,B,k])>1||c(d,b)})},h&&(o[d]=h(o[d])))}function c(d,h){try{u(r[d](h))}catch(b){p(i[0][3],b)}}function u(d){d.value instanceof Ve?Promise.resolve(d.value.v).then(l,f):p(i[0][2],d)}function l(d){c("next",d)}function f(d){c("throw",d)}function p(d,h){d(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function fa(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 ua=="function"?ua(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 In=e=>e&&typeof e.length=="number"&&typeof e!="function";function bn(e){return _(e?.then)}function Mn(e){return _(e[Je])}function Sn(e){return Symbol.asyncIterator&&_(e?.[Symbol.asyncIterator])}function Tn(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 Cd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Nn=Cd();function xn(e){return _(e?.[Nn])}function An(e){return da(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ve(n.read());if(o)return yield Ve(void 0);yield yield Ve(r)}}finally{n.releaseLock()}})}function Rn(e){return _(e?.getReader)}function P(e){if(e instanceof A)return e;if(e!=null){if(Mn(e))return _d(e);if(In(e))return wd(e);if(bn(e))return Id(e);if(Sn(e))return pa(e);if(xn(e))return bd(e);if(Rn(e))return Md(e)}throw Tn(e)}function _d(e){return new A(t=>{let n=e[Je]();if(_(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wd(e){return new A(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Id(e){return new A(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,En)})}function bd(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function pa(e){return new A(t=>{Sd(e,t).catch(n=>t.error(n))})}function Md(e){return pa(An(e))}function Sd(e,t){var n,r,o,i;return la(this,void 0,void 0,function*(){try{for(n=fa(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 Z(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 On(e,t=0){return ae((n,r)=>{n.subscribe(q(r,o=>Z(r,e,()=>r.next(o),t),()=>Z(r,e,()=>r.complete(),t),o=>Z(r,e,()=>r.error(o),t)))})}function Fn(e,t=0){return ae((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ha(e,t){return P(e).pipe(Fn(t),On(t))}function ga(e,t){return P(e).pipe(Fn(t),On(t))}function ma(e,t){return new A(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ya(e,t){return new A(n=>{let r;return Z(n,t,()=>{r=e[Nn](),Z(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)}),()=>_(r?.return)&&r.return()})}function kn(e,t){if(!e)throw new Error("Iterable cannot be null");return new A(n=>{Z(n,t,()=>{let r=e[Symbol.asyncIterator]();Z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function va(e,t){return kn(An(e),t)}function Da(e,t){if(e!=null){if(Mn(e))return ha(e,t);if(In(e))return ma(e,t);if(bn(e))return ga(e,t);if(Sn(e))return kn(e,t);if(xn(e))return ya(e,t);if(Rn(e))return va(e,t)}throw Tn(e)}function Nt(e,t){return t?Da(e,t):P(e)}function me(e,t){return ae((n,r)=>{let o=0;n.subscribe(q(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Td}=Array;function Nd(e,t){return Td(t)?e(...t):e(t)}function Ea(e){return me(t=>Nd(e,t))}var{isArray:xd}=Array,{getPrototypeOf:Ad,prototype:Rd,keys:Od}=Object;function Ca(e){if(e.length===1){let t=e[0];if(xd(t))return{args:t,keys:null};if(Fd(t)){let n=Od(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Fd(e){return e&&typeof e=="object"&&Ad(e)===Rd}function _a(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function wa(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,f=!1,p=()=>{f&&!c.length&&!u&&t.complete()},d=b=>u<r?h(b):c.push(b),h=b=>{i&&t.next(b),u++;let B=!1;P(n(b,l++)).subscribe(q(t,k=>{o?.(k),i?d(k):t.next(k)},()=>{B=!0},void 0,()=>{if(B)try{for(u--;c.length&&u<r;){let k=c.shift();s?Z(t,s,()=>h(k)):h(k)}p()}catch(k){t.error(k)}}))};return e.subscribe(q(t,d,()=>{f=!0,p()})),()=>{a?.()}}function So(e,t,n=1/0){return _(t)?So((r,o)=>me((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),ae((r,o)=>wa(r,o,e,n)))}function Ia(e=1/0){return So(_n,e)}function To(...e){let t=sa(e),{args:n,keys:r}=Ca(e),o=new A(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 f=!1;P(n[l]).subscribe(q(i,p=>{f||(f=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!f)&&(u||i.next(r?_a(r,a):a),i.complete())}))}});return t?o.pipe(Ea(t)):o}function No(...e){let t=aa(e),n=ca(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Ia(n)(Nt(r,t)):oa}function xo(e,t){return ae((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(q(r,c=>{o?.unsubscribe();let u=0,l=i++;P(e(c,l)).subscribe(o=q(r,f=>r.next(t?t(c,f,l,u++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var Pd="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",g=class extends Error{code;constructor(t,n){super(Vd(t,n)),this.code=t}};function Ld(e){return`NG0${Math.abs(e)}`}function Vd(e,t){return`${Ld(e)}${t?": "+t:""}`}function mr(e){return{toString:e}.toString()}var Pn="__parameters__";function jd(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function hc(e,t,n){return mr(()=>{let r=jd(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 f=c.hasOwnProperty(Pn)?c[Pn]:Object.defineProperty(c,Pn,{value:[]})[Pn];for(;f.length<=l;)f.push(null);return(f[l]=f[l]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var _e=globalThis;function S(e){for(let t in e)if(e[t]===S)return t;throw Error("Could not find renamed property on target object.")}function $(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map($).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
7
- `);return r>=0?n.slice(0,r):n}function ba(e,t){return e?t?`${e} ${t}`:e:t||""}var Bd=S({__forward_ref__:S});function Ii(e){return e.__forward_ref__=Ii,e.toString=function(){return $(this())},e}function ne(e){return Hd(e)?e():e}function Hd(e){return typeof e=="function"&&e.hasOwnProperty(Bd)&&e.__forward_ref__===Ii}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{providers:e.providers||[],imports:e.imports||[]}}function bi(e){return Ma(e,gc)||Ma(e,mc)}function Ma(e,t){return e.hasOwnProperty(t)?e[t]:null}function $d(e){let t=e&&(e[gc]||e[mc]);return t||null}function Sa(e){return e&&(e.hasOwnProperty(Ta)||e.hasOwnProperty(Ud))?e[Ta]:null}var gc=S({\u0275prov:S}),Ta=S({\u0275inj:S}),mc=S({ngInjectableDef:S}),Ud=S({ngInjectorDef:S}),v=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=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function yc(e){return e&&!!e.\u0275providers}var Gd=S({\u0275cmp:S}),zd=S({\u0275dir:S}),Wd=S({\u0275pipe:S}),qd=S({\u0275mod:S}),Na=S({\u0275fac:S}),Ot=S({__NG_ELEMENT_ID__:S}),xa=S({__NG_ENV_ID__:S});function vc(e){return typeof e=="string"?e:e==null?"":String(e)}function Zd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():vc(e)}function Dc(e,t){throw new g(-200,e)}function Mi(e,t){throw new g(-201,!1)}var y=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}(y||{}),$o;function Ec(){return $o}function Y(e){let t=$o;return $o=e,t}function Cc(e,t,n){let r=bi(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&y.Optional)return null;if(t!==void 0)return t;Mi(e,"Injector")}var Yd={},je=Yd,Uo="__NG_DI_FLAG__",Un=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?mn:je,r)}},Gn="ngTempTokenPath",Qd="ngTokenPath",Kd=/\n/gm,Jd="\u0275",Aa="__source";function Xd(e,t=y.Default){if(bt()===void 0)throw new g(-203,!1);if(bt()===null)return Cc(e,void 0,t);{let n=bt(),r;return n instanceof Un?r=n.injector:r=n,r.get(e,t&y.Optional?null:void 0,t)}}function C(e,t=y.Default){return(Ec()||Xd)(ne(e),t)}function I(e,t=y.Default){return C(e,yr(t))}function yr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Go(e){let t=[];for(let n=0;n<e.length;n++){let r=ne(e[n]);if(Array.isArray(r)){if(r.length===0)throw new g(900,!1);let o,i=y.Default;for(let s=0;s<r.length;s++){let a=r[s],c=ef(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function _c(e,t){return e[Uo]=t,e.prototype[Uo]=t,e}function ef(e){return e[Uo]}function tf(e,t,n,r){let o=e[Gn];throw t[Aa]&&o.unshift(t[Aa]),e.message=nf(`
8
- `+e.message,o,n,r),e[Qd]=o,e[Gn]=null,e}function nf(e,t,n,r=null){e=e&&e.charAt(0)===`
9
- `&&e.charAt(1)==Jd?e.slice(2):e;let o=$(t);if(Array.isArray(t))o=t.map($).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):$(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Kd,`
10
- `)}`}var rf=_c(hc("Optional"),8);var of=_c(hc("SkipSelf"),4);function Ft(e,t){let n=e.hasOwnProperty(Na);return n?e[Na]:null}function Si(e,t){e.forEach(n=>Array.isArray(n)?Si(n,t):t(n))}function wc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function sf(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 af(e,t,n){let r=Bt(e,t);return r>=0?e[r|1]=n:(r=~r,sf(e,r,t,n)),r}function Ao(e,t){let n=Bt(e,t);if(n>=0)return e[n|1]}function Bt(e,t){return cf(e,t,1)}function cf(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 rt={},re=[],Wn=new v(""),Ic=new v("",-1),bc=new v(""),qn=class{get(t,n=je){if(n===je){let r=new Error(`NullInjectorError: No provider for ${$(t)}!`);throw r.name="NullInjectorError",r}return n}};function uf(e,t){let n=e[qd]||null;if(!n&&t===!0)throw new Error(`Type ${$(e)} does not have '\u0275mod' property.`);return n}function kt(e){return e[Gd]||null}function lf(e){return e[zd]||null}function df(e){return e[Wd]||null}function ff(...e){return{\u0275providers:Mc(!0,e),\u0275fromNgModule:!0}}function Mc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Si(t,s=>{let a=s;zo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Sc(o,i),n}function Sc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ti(o,i=>{t(i,r)})}}function zo(e,t,n,r){if(e=ne(e),!e)return!1;let o=null,i=Sa(e),s=!i&&kt(e);if(!i&&!s){let c=e.ngModule;if(i=Sa(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)zo(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Si(i.imports,l=>{zo(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Sc(u,t)}if(!a){let u=Ft(o)||(()=>new o);t({provide:o,useFactory:u,deps:re},o),t({provide:bc,useValue:o,multi:!0},o),t({provide:Wn,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Ti(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Ti(e,t){for(let n of e)yc(n)&&(n=n.\u0275providers),Array.isArray(n)?Ti(n,t):t(n)}var pf=S({provide:String,useValue:S});function Tc(e){return e!==null&&typeof e=="object"&&pf in e}function hf(e){return!!(e&&e.useExisting)}function gf(e){return!!(e&&e.useFactory)}function Wo(e){return typeof e=="function"}var vr=new v(""),jn={},Ra={},Ro;function Ni(){return Ro===void 0&&(Ro=new qn),Ro}var xe=class{},Pt=class extends xe{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,Zo(t,s=>this.processProvider(s)),this.records.set(Ic,Xe(void 0,this)),o.has("environment")&&this.records.set(xe,Xe(void 0,this));let i=this.records.get(vr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(bc,re,y.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?mn:je,r)}destroy(){At(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return At(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){At(this);let n=ge(this),r=Y(void 0),o;try{return t()}finally{ge(n),Y(r)}}get(t,n=je,r=y.Default){if(At(this),t.hasOwnProperty(xa))return t[xa](this);r=yr(r);let o,i=ge(this),s=Y(void 0);try{if(!(r&y.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Cf(t)&&bi(t);u&&this.injectableDefInScope(u)?c=Xe(qo(t),jn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&y.Self?Ni():this.parent;return n=r&y.Optional&&n===je?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Gn]=a[Gn]||[]).unshift($(t)),i)throw a;return tf(a,t,"R3InjectorError",this.source)}else throw a}finally{Y(s),ge(i)}}resolveInjectorInitializers(){let t=E(null),n=ge(this),r=Y(void 0),o;try{let i=this.get(Wn,re,y.Self);for(let s of i)s()}finally{ge(n),Y(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push($(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ne(t);let n=Wo(t)?t:ne(t&&t.provide),r=yf(t);if(!Wo(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Xe(void 0,jn,!0),o.factory=()=>Go(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{return n.value===Ra?Dc($(t)):n.value===jn&&(n.value=Ra,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Ef(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ne(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 qo(e){let t=bi(e),n=t!==null?t.factory:Ft(e);if(n!==null)return n;if(e instanceof v)throw new g(204,!1);if(e instanceof Function)return mf(e);throw new g(204,!1)}function mf(e){if(e.length>0)throw new g(204,!1);let n=$d(e);return n!==null?()=>n.factory(e):()=>new e}function yf(e){if(Tc(e))return Xe(void 0,e.useValue);{let t=vf(e);return Xe(t,jn)}}function vf(e,t,n){let r;if(Wo(e)){let o=ne(e);return Ft(o)||qo(o)}else if(Tc(e))r=()=>ne(e.useValue);else if(gf(e))r=()=>e.useFactory(...Go(e.deps||[]));else if(hf(e))r=(o,i)=>C(ne(e.useExisting),i!==void 0&&i&y.Optional?y.Optional:void 0);else{let o=ne(e&&(e.useClass||e.provide));if(Df(e))r=()=>new o(...Go(e.deps));else return Ft(o)||qo(o)}return r}function At(e){if(e.destroyed)throw new g(205,!1)}function Xe(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Df(e){return!!e.deps}function Ef(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Cf(e){return typeof e=="function"||typeof e=="object"&&e instanceof v}function Zo(e,t){for(let n of e)Array.isArray(n)?Zo(n,t):n&&yc(n)?Zo(n.\u0275providers,t):t(n)}function Nc(e,t){let n;e instanceof Pt?(At(e),n=e):n=new Un(e);let r,o=ge(n),i=Y(void 0);try{return t()}finally{ge(o),Y(i)}}function xc(){return Ec()!==void 0||bt()!=null}function _f(e){let t=_e.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function wf(e){return typeof e=="function"}var we=0,w=1,m=2,j=3,oe=4,ie=5,Zn=6,Yn=7,U=8,ot=9,Ae=10,L=11,Lt=12,Oa=13,lt=14,ye=15,it=16,et=17,st=18,Dr=19,Ac=20,Te=21,Oo=22,Qn=23,Q=24,Fo=25,ve=26,Rc=1;var He=7,Kn=8,Jn=9,K=10;function Ne(e){return Array.isArray(e)&&typeof e[Rc]=="object"}function Ie(e){return Array.isArray(e)&&e[Rc]===!0}function Oc(e){return(e.flags&4)!==0}function Ht(e){return e.componentOffset>-1}function xi(e){return(e.flags&1)===1}function We(e){return!!e.template}function Xn(e){return(e[m]&512)!==0}function dt(e){return(e[m]&256)===256}var Yo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Fc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function If(e){return e.type.prototype.ngOnChanges&&(e.setInput=Mf),bf}function bf(){let e=Pc(this),t=e?.current;if(t){let n=e.previous;if(n===rt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Mf(e,t,n,r,o){let i=this.declaredInputs[r],s=Pc(e)||Sf(e,{previous:rt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Yo(u&&u.currentValue,n,c===rt),Fc(e,t,o,n)}var kc="__ngSimpleChanges__";function Pc(e){return e[kc]||null}function Sf(e,t){return e[kc]=t}var Fa=null;var x=function(e,t=null,n){Fa?.(e,t,n)},Lc="svg",Tf="math";function ue(e){for(;Array.isArray(e);)e=e[we];return e}function Vc(e,t){return ue(t[e])}function be(e,t){return ue(t[e.index])}function jc(e,t){return e.data[t]}function De(e,t){let n=t[e];return Ne(n)?n:n[we]}function Ai(e){return(e[m]&128)===128}function Nf(e){return Ie(e[j])}function er(e,t){return t==null?null:e[t]}function Bc(e){e[et]=0}function Ri(e){e[m]&1024||(e[m]|=1024,Ai(e)&&Er(e))}function xf(e,t){for(;e>0;)t=t[lt],e--;return t}function $t(e){return!!(e[m]&9216||e[Q]?.dirty)}function Qo(e){e[Ae].changeDetectionScheduler?.notify(8),e[m]&64&&(e[m]|=1024),$t(e)&&Er(e)}function Er(e){e[Ae].changeDetectionScheduler?.notify(0);let t=$e(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Ai(t)));)t=$e(t)}function Hc(e,t){if(dt(e))throw new g(911,!1);e[Te]===null&&(e[Te]=[]),e[Te].push(t)}function Af(e,t){if(e[Te]===null)return;let n=e[Te].indexOf(t);n!==-1&&e[Te].splice(n,1)}function $e(e){let t=e[j];return Ie(t)?t[j]:t}function $c(e){return e[Yn]??=[]}function Uc(e){return e.cleanup??=[]}var D={lFrame:Jc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ko=!1;function Rf(){return D.lFrame.elementDepthCount}function Of(){D.lFrame.elementDepthCount++}function Ff(){D.lFrame.elementDepthCount--}function Gc(){return D.bindingsEnabled}function kf(){return D.skipHydrationRootTNode!==null}function Pf(e){return D.skipHydrationRootTNode===e}function Lf(){D.skipHydrationRootTNode=null}function F(){return D.lFrame.lView}function Oe(){return D.lFrame.tView}function Cr(e){return D.lFrame.contextLView=e,e[U]}function _r(e){return D.lFrame.contextLView=null,e}function Me(){let e=zc();for(;e!==null&&e.type===64;)e=e.parent;return e}function zc(){return D.lFrame.currentTNode}function Vf(){let e=D.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ut(e,t){let n=D.lFrame;n.currentTNode=e,n.isParent=t}function Wc(){return D.lFrame.isParent}function jf(){D.lFrame.isParent=!1}function qc(){return Ko}function ka(e){let t=Ko;return Ko=e,t}function Bf(e){return D.lFrame.bindingIndex=e}function Zc(){return D.lFrame.bindingIndex++}function Hf(e){let t=D.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $f(){return D.lFrame.inI18n}function Uf(e,t){let n=D.lFrame;n.bindingIndex=n.bindingRootIndex=e,Jo(t)}function Gf(){return D.lFrame.currentDirectiveIndex}function Jo(e){D.lFrame.currentDirectiveIndex=e}function zf(e){let t=D.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Yc(e){D.lFrame.currentQueryIndex=e}function Wf(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ie]:null}function Qc(e,t,n){if(n&y.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&y.Host);)if(o=Wf(i),o===null||(i=i[lt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=D.lFrame=Kc();return r.currentTNode=t,r.lView=e,!0}function Oi(e){let t=Kc(),n=e[w];D.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Kc(){let e=D.lFrame,t=e===null?null:e.child;return t===null?Jc(e):t}function Jc(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 Xc(){let e=D.lFrame;return D.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var eu=Xc;function Fi(){let e=Xc();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 qf(e){return(D.lFrame.contextLView=xf(e,D.lFrame.contextLView))[U]}function ft(){return D.lFrame.selectedIndex}function Ue(e){D.lFrame.selectedIndex=e}function Zf(){let e=D.lFrame;return jc(e.tView,e.selectedIndex)}function tu(){D.lFrame.currentNamespace=Lc}function nu(){Yf()}function Yf(){D.lFrame.currentNamespace=null}function Qf(){return D.lFrame.currentNamespace}var ru=!0;function ki(){return ru}function Pi(e){ru=e}function Kf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=If(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 ou(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 Bn(e,t,n){iu(e,t,3,n)}function Hn(e,t,n,r){(e[m]&3)===n&&iu(e,t,n,r)}function ko(e,t){let n=e[m];(n&3)===t&&(n&=16383,n+=1,e[m]=n)}function iu(e,t,n,r){let o=r!==void 0?e[et]&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[et]+=65536),(a<i||i==-1)&&(Jf(e,n,t,c),e[et]=(e[et]&4294901760)+c+2),c++}function Pa(e,t){x(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),x(5,e,t)}}function Jf(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[m]>>14<e[et]>>16&&(e[m]&3)===t&&(e[m]+=16384,Pa(a,i)):Pa(a,i)}var nt=-1,Vt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Xf(e){return(e.flags&8)!==0}function ep(e){return(e.flags&16)!==0}function tp(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];rp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function np(e){return e===3||e===4||e===6}function rp(e){return e.charCodeAt(0)===64}function Li(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?La(e,n,o,null,t[++r]):La(e,n,o,null,null))}}return e}function La(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){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function su(e){return e!==nt}function tr(e){return e&32767}function op(e){return e>>16}function nr(e,t){let n=op(e),r=t;for(;n>0;)r=r[lt],n--;return r}var Xo=!0;function Va(e){let t=Xo;return Xo=e,t}var ip=256,au=ip-1,cu=5,sp=0,ce={};function ap(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ot)&&(r=n[Ot]),r==null&&(r=n[Ot]=sp++);let o=r&au,i=1<<o;t.data[e+(o>>cu)]|=i}function uu(e,t){let n=lu(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Po(r.data,e),Po(t,null),Po(r.blueprint,null));let o=Vi(e,t),i=e.injectorIndex;if(su(o)){let s=tr(o),a=nr(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Po(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Vi(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=gu(o),r===null)return nt;if(n++,o=o[lt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return nt}function cp(e,t,n){ap(e,t,n)}function du(e,t,n){if(n&y.Optional||e!==void 0)return e;Mi(t,"NodeInjector")}function fu(e,t,n,r){if(n&y.Optional&&r===void 0&&(r=null),(n&(y.Self|y.Host))===0){let o=e[ot],i=Y(void 0);try{return o?o.get(t,r,n&y.Optional):Cc(t,r,n&y.Optional)}finally{Y(i)}}return du(r,t,n)}function pu(e,t,n,r=y.Default,o){if(e!==null){if(t[m]&2048&&!(r&y.Self)){let s=pp(e,t,n,r,ce);if(s!==ce)return s}let i=hu(e,t,n,r,ce);if(i!==ce)return i}return fu(t,n,r,o)}function hu(e,t,n,r,o){let i=dp(n);if(typeof i=="function"){if(!Qc(t,e,r))return r&y.Host?du(o,n,r):fu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&y.Optional))Mi(n);else return s}finally{eu()}}else if(typeof i=="number"){let s=null,a=lu(e,t),c=nt,u=r&y.Host?t[ye][ie]:null;for((a===-1||r&y.SkipSelf)&&(c=a===-1?Vi(e,t):t[a+8],c===nt||!Ba(r,!1)?a=-1:(s=t[w],a=tr(c),t=nr(c,t)));a!==-1;){let l=t[w];if(ja(i,a,l.data)){let f=up(a,t,n,s,r,u);if(f!==ce)return f}c=t[a+8],c!==nt&&Ba(r,t[w].data[a+8]===u)&&ja(i,a,t)?(s=l,a=tr(c),t=nr(c,t)):a=-1}}return o}function up(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?Ht(a)&&Xo:r!=s&&(a.type&3)!==0,u=o&y.Host&&i===a,l=lp(a,s,n,c,u);return l!==null?ei(t,s,l,a,o):ce}function lp(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,f=r?a:a+l,p=o?a+l:u;for(let d=f;d<p;d++){let h=s[d];if(d<c&&n===h||d>=c&&h.type===n)return d}if(o){let d=s[c];if(d&&We(d)&&d.type===n)return c}return null}function ei(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Vt){let a=i;a.resolving&&Dc(Zd(s[n]));let c=Va(a.canSeeViewProviders);a.resolving=!0;let u,l=a.injectImpl?Y(a.injectImpl):null,f=Qc(e,r,y.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Kf(n,s[n],t)}finally{l!==null&&Y(l),Va(c),a.resolving=!1,eu()}}return i}function dp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ot)?e[Ot]:void 0;return typeof t=="number"?t>=0?t&au:fp:t}function ja(e,t,n){let r=1<<e;return!!(n[t+(e>>cu)]&r)}function Ba(e,t){return!(e&y.Self)&&!(e&y.Host&&t)}var Be=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return pu(this._tNode,this._lView,t,yr(r),n)}};function fp(){return new Be(Me(),F())}function pp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!Xn(s);){let a=hu(i,s,n,r|y.Self,ce);if(a!==ce)return a;let c=i.parent;if(!c){let u=s[Ac];if(u){let l=u.get(n,ce,r);if(l!==ce)return l}c=gu(s),s=s[lt]}i=c}return o}function gu(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ie]:null}function Ha(e,t=null,n=null,r){let o=mu(e,t,n,r);return o.resolveInjectorInitializers(),o}function mu(e,t=null,n=null,r,o=new Set){let i=[n||re,ff(e)];return r=r||(typeof e=="object"?void 0:$(e)),new Pt(i,t||Ni(),r||null,o)}var J=class e{static THROW_IF_NOT_FOUND=je;static NULL=new qn;static create(t,n){if(Array.isArray(t))return Ha({name:""},n,t,"");{let r=t.name??"";return Ha({name:r},t.parent,t.providers,r)}}static \u0275prov=T({token:e,providedIn:"any",factory:()=>C(Ic)});static __NG_ELEMENT_ID__=-1};var hp=new v("");hp.__NG_ELEMENT_ID__=e=>{let t=Me();if(t===null)throw new g(204,!1);if(t.type&2)return t.value;if(e&y.Optional)return null;throw new g(204,!1)};var yu=!1,ji=(()=>{class e{static __NG_ELEMENT_ID__=gp;static __NG_ENV_ID__=n=>n}return e})(),ti=class extends ji{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return dt(n)?(t(),()=>{}):(Hc(n,t),()=>Af(n,t))}};function gp(){return new ti(F())}var Ge=class{},vu=new v("",{providedIn:"root",factory:()=>!1});var Du=new v(""),Eu=new v(""),wr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new St(!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=T({token:e,providedIn:"root",factory:()=>new e})}return e})();var ni=class extends ee{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,xc()&&(this.destroyRef=I(ji,{optional:!0})??void 0,this.pendingTasks=I(wr,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(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 V&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},H=ni;function rr(...e){}function Cu(e){let t,n;function r(){e=rr;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 $a(e){return queueMicrotask(()=>e()),()=>{e=rr}}var Bi="isAngularZone",or=Bi+"_ID",mp=0,R=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=yu}=t;if(typeof Zone>"u")throw new g(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,Dp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Bi)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new g(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new g(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,yp,rr,rr);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)}},yp={};function Hi(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 vp(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Cu(()=>{e.callbackScheduled=!1,ri(e),e.isCheckStableRunning=!0,Hi(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ri(e)}function Dp(e){let t=()=>{vp(e)},n=mp++;e._inner=e._inner.fork({name:"angular",properties:{[Bi]:!0,[or]:n,[or+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ep(c))return r.invokeTask(i,s,a,c);try{return Ua(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ga(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Ua(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Cp(c)&&t(),Ga(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ri(e),Hi(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 Ua(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ga(e){e._nesting--,Hi(e)}var ir=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;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 Ep(e){return _u(e,"__ignore_ng_zone__")}function Cp(e){return _u(e,"__scheduler_tick__")}function _u(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function _p(e="zone.js",t){return e==="noop"?new ir:e==="zone.js"?new R(t):e}var Ee=class{_console=console;handleError(t){this._console.error("ERROR",t)}},wp=new v("",{providedIn:"root",factory:()=>{let e=I(R),t=I(Ee);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Ip(){return Ir(Me(),F())}function Ir(e,t){return new pt(be(e,t))}var pt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ip}return e})();function br(e,t){let n=po(e,t?.equal),r=n[se];return n.set=o=>gn(r,o),n.update=o=>ho(r,o),n.asReadonly=bp.bind(n),n}function bp(){let e=this[se];if(e.readonlyFn===void 0){let t=()=>this();t[se]=e,e.readonlyFn=t}return e.readonlyFn}function wu(e){return(e.flags&128)===128}var Iu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Iu||{}),bu=new Map,Mp=0;function Sp(){return Mp++}function Tp(e){bu.set(e[Dr],e)}function oi(e){bu.delete(e[Dr])}var za="__ngContext__";function Gt(e,t){Ne(t)?(e[za]=t[Dr],Tp(t)):e[za]=t}function Mu(e){return Tu(e[Lt])}function Su(e){return Tu(e[oe])}function Tu(e){for(;e!==null&&!Ie(e);)e=e[oe];return e}var ii;function Nu(e){ii=e}function Np(){if(ii!==void 0)return ii;if(typeof document<"u")return document;throw new g(210,!1)}var $i=new v("",{providedIn:"root",factory:()=>xp}),xp="ng",Ui=new v(""),zt=new v("",{providedIn:"platform",factory:()=>"unknown"});var Gi=new v("",{providedIn:"root",factory:()=>Np().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ap="h",Rp="b";var xu=!1,Op=new v("",{providedIn:"root",factory:()=>xu});var Au=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Au||{}),Mr=new v(""),Wa=new Set;function Fp(e){Wa.has(e)||(Wa.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var kp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})();var Pp=(e,t,n,r)=>{};function Lp(e,t,n,r){Pp(e,t,n,r)}var Vp=()=>null;function Ru(e,t,n=!1){return Vp(e,t,n)}function Ou(e,t){let n=e.contentQueries;if(n!==null){let r=E(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];Yc(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function si(e,t,n){Yc(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Fu(e,t,n){if(Oc(t)){let r=E(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{E(r)}}}var le=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(le||{});var ai=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pd})`}};function jp(e){return e instanceof ai?e.changingThisBreaksApplicationSecurity:e}function Bp(e,t){return e.createText(t)}function Hp(e,t,n){e.setValue(t,n)}function ku(e,t,n){return e.createElement(t,n)}function sr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Pu(e,t,n){e.appendChild(t,n)}function qa(e,t,n,r,o){r!==null?sr(e,t,n,r,o):Pu(e,t,n)}function $p(e,t,n){e.removeChild(null,t,n)}function Up(e,t,n){e.setAttribute(t,"style",n)}function Gp(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Lu(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&tp(e,t,r),o!==null&&Gp(e,t,o),i!==null&&Up(e,t,i)}function zp(e){return e instanceof Function?e():e}function Wp(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 Vu="ng-template";function qp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Wp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(zi(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 zi(e){return e.type===4&&e.value!==Vu}function Zp(e,t,n){let r=e.type===4&&!n?Vu:e.value;return t===r}function Yp(e,t,n){let r=4,o=e.attrs,i=o!==null?Jp(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!te(r)&&!te(c))return!1;if(s&&te(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Zp(e,c,n)||c===""&&t.length===1){if(te(r))return!1;s=!0}}else if(r&8){if(o===null||!qp(e,o,c,n)){if(te(r))return!1;s=!0}}else{let u=t[++a],l=Qp(c,o,zi(e),n);if(l===-1){if(te(r))return!1;s=!0;continue}if(u!==""){let f;if(l>i?f="":f=o[l+1].toLowerCase(),r&2&&u!==f){if(te(r))return!1;s=!0}}}}return te(r)||s}function te(e){return(e&1)===0}function Qp(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 Xp(t,e)}function Kp(e,t,n=!1){for(let r=0;r<t.length;r++)if(Yp(e,t[r],n))return!0;return!1}function Jp(e){for(let t=0;t<e.length;t++){let n=e[t];if(np(n))return t}return e.length}function Xp(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 Za(e,t){return e?":not("+t.trim()+")":t}function eh(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!==""&&!te(s)&&(t+=Za(i,o),o=""),r=s,i=i||!te(r);n++}return o!==""&&(t+=Za(i,o)),t}function th(e){return e.map(eh).join(",")}function nh(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(!te(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ht={};function Wi(e,t,n,r,o,i,s,a,c,u,l){let f=ve+r,p=f+o,d=rh(f,p),h=typeof u=="function"?u():u;return d[w]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,f),bindingStartIndex:f,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 rh(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ht);return n}function oh(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Wi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qi(e,t,n,r,o,i,s,a,c,u,l){let f=t.blueprint.slice();return f[we]=o,f[m]=r|4|128|8|64|1024,(u!==null||e&&e[m]&2048)&&(f[m]|=2048),Bc(f),f[j]=f[lt]=e,f[U]=n,f[Ae]=s||e&&e[Ae],f[L]=a||e&&e[L],f[ot]=c||e&&e[ot]||null,f[ie]=i,f[Dr]=Sp(),f[Zn]=l,f[Ac]=u,f[ye]=t.type==2?e[ye]:f,f}function ih(e,t,n){let r=be(t,e),o=oh(n),i=e[Ae].rendererFactory,s=Zi(e,qi(e,o,null,ju(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function ju(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Bu(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 Zi(e,t){return e[Lt]?e[Oa][oe]=t:e[Lt]=t,e[Oa]=t,t}function fe(e=1){Hu(Oe(),F(),ft()+e,!1)}function Hu(e,t,n,r){if(!r)if((t[m]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Bn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Hn(t,i,0,n)}Ue(n)}var Sr=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Sr||{});function ci(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Sr.SignalBased)!==0&&(c=t[i][se]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Fc(t,c,i,r)}finally{E(o)}}function $u(e,t,n,r,o){let i=ft(),s=r&2;try{Ue(-1),s&&t.length>ve&&Hu(e,t,ve,!1),x(s?2:0,o),n(r,o)}finally{Ue(i),x(s?3:1,o)}}function Yi(e,t,n){fh(e,t,n),(n.flags&64)===64&&ph(e,t,n)}function Uu(e,t,n=be){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 sh(e,t,n,r){let i=r.get(Op,xu)||n===le.ShadowDom,s=e.selectRootElement(t,i);return ah(s),s}function ah(e){ch(e)}var ch=()=>null;function uh(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function lh(e,t,n,r,o,i,s,a){if(!a&&Qi(t,e,n,r,o)){Ht(t)&&dh(n,t.index);return}if(t.type&3){let c=be(t,n);r=uh(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function dh(e,t){let n=De(t,e);n[m]&16||(n[m]|=64)}function fh(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ht(n)&&ih(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||uu(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=ei(t,e,s,n);if(Gt(c,t),i!==null&&gh(t,s-r,c,a,n,i),We(a)){let u=De(n.index,t);u[U]=ei(t,e,s,n)}}}function ph(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Gf();try{Ue(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Jo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&hh(c,u)}}finally{Ue(-1),Jo(s)}}function hh(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Gu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Kp(t,i.selectors,!1)&&(r??=[],We(i)?r.unshift(i):r.push(i))}return r}function gh(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];ci(r,n,c,u)}}function mh(e,t){let n=e[ot],r=n?n.get(Ee,null):null;r&&r.handleError(t)}function Qi(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],f=t.data[u];ci(f,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];ci(l,u,r,o),a=!0}return a}function yh(e,t){let n=De(t,e),r=n[w];vh(r,n);let o=n[we];o!==null&&n[Zn]===null&&(n[Zn]=Ru(o,n[ot])),x(18),Ki(r,n,n[U]),x(19,n[U])}function vh(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ki(e,t,n){Oi(t);try{let r=e.viewQuery;r!==null&&si(1,r,n);let o=e.template;o!==null&&$u(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[st]?.finishViewCreation(e),e.staticContentQueries&&Ou(e,t),e.staticViewQueries&&si(2,e.viewQuery,n);let i=e.components;i!==null&&Dh(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[m]&=-5,Fi()}}function Dh(e,t){for(let n=0;n<t.length;n++)yh(e,t[n])}function Eh(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[m]&4096?4096:16,c=qi(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[it]=u;let l=e[st];return l!==null&&(c[st]=l.createEmbeddedView(i)),Ki(i,c,n),c}finally{E(o)}}function Ya(e,t){return!t||t.firstChild===null||wu(e)}var Ch;function Ji(e,t){return Ch(e,t)}var Ce=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ce||{});function zu(e){return(e.flags&32)===32}function tt(e,t,n,r,o){if(r!=null){let i,s=!1;Ie(r)?i=r:Ne(r)&&(s=!0,r=r[we]);let a=ue(r);e===0&&n!==null?o==null?Pu(t,n,a):sr(t,n,a,o||null,!0):e===1&&n!==null?sr(t,n,a,o||null,!0):e===2?$p(t,a,s):e===3&&t.destroyNode(a),i!=null&&Oh(t,e,i,n,o)}}function _h(e,t){Wu(e,t),t[we]=null,t[ie]=null}function wh(e,t,n,r,o,i){r[we]=o,r[ie]=t,Tr(e,r,n,1,o,i)}function Wu(e,t){t[Ae].changeDetectionScheduler?.notify(9),Tr(e,t,t[L],2,null,null)}function Ih(e){let t=e[Lt];if(!t)return Lo(e[w],e);for(;t;){let n=null;if(Ne(t))n=t[Lt];else{let r=t[K];r&&(n=r)}if(!n){for(;t&&!t[oe]&&t!==e;)Ne(t)&&Lo(t[w],t),t=t[j];t===null&&(t=e),Ne(t)&&Lo(t[w],t),n=t&&t[oe]}t=n}}function Xi(e,t){let n=e[Jn],r=n.indexOf(t);n.splice(r,1)}function qu(e,t){if(dt(t))return;let n=t[L];n.destroyNode&&Tr(e,t,n,3,null,null),Ih(t)}function Lo(e,t){if(dt(t))return;let n=E(null);try{t[m]&=-129,t[m]|=256,t[Q]&&uo(t[Q]),Mh(e,t),bh(e,t),t[w].type===1&&t[L].destroy();let r=t[it];if(r!==null&&Ie(t[j])){r!==t[j]&&Xi(r,t);let o=t[st];o!==null&&o.detachView(e)}oi(t)}finally{E(n)}}function bh(e,t){let n=e.cleanup,r=t[Yn];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[Yn]=null);let o=t[Te];if(o!==null){t[Te]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Qn];if(i!==null){t[Qn]=null;for(let s of i)s.destroy()}}function Mh(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 Vt)){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];x(4,a,c);try{c.call(a)}finally{x(5,a,c)}}else{x(4,o,i);try{i.call(o)}finally{x(5,o,i)}}}}}function Sh(e,t,n){return Th(e,t.parent,n)}function Th(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[we];if(Ht(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===le.None||o===le.Emulated)return null}return be(r,n)}function Nh(e,t,n){return Ah(e,t,n)}function xh(e,t,n){return e.type&40?be(e,n):null}var Ah=xh,Qa;function es(e,t,n,r){let o=Sh(e,r,t),i=t[L],s=r.parent||t[ie],a=Nh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)qa(i,o,n[c],a,!1);else qa(i,o,n,a,!1);Qa!==void 0&&Qa(i,r,t,n,o)}function Rt(e,t){if(t!==null){let n=t.type;if(n&3)return be(t,e);if(n&4)return ui(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Rt(e,r);{let o=e[t.index];return Ie(o)?ui(-1,o):ue(o)}}else{if(n&128)return Rt(e,t.next);if(n&32)return Ji(t,e)()||ue(e[t.index]);{let r=Zu(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=$e(e[ye]);return Rt(o,r)}else return Rt(e,t.next)}}}return null}function Zu(e,t){if(t!==null){let r=e[ye][ie],o=t.projection;return r.projection[o]}return null}function ui(e,t){let n=K+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Rt(r,o)}return t[He]}function ts(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&&Gt(ue(a),r),n.flags|=2),!zu(n))if(c&8)ts(e,t,n.child,r,o,i,!1),tt(t,e,o,a,i);else if(c&32){let u=Ji(n,r),l;for(;l=u();)tt(t,e,o,l,i);tt(t,e,o,a,i)}else c&16?Rh(e,t,r,n,o,i):tt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Tr(e,t,n,r,o,i){ts(n,r,e.firstChild,t,o,i,!1)}function Rh(e,t,n,r,o,i){let s=n[ye],c=s[ie].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];tt(t,e,o,l,i)}else{let u=c,l=s[j];wu(r)&&(u.flags|=128),ts(e,t,u,l,o,i,!0)}}function Oh(e,t,n,r,o){let i=n[He],s=ue(n);i!==s&&tt(t,e,r,i,o);for(let a=K;a<n.length;a++){let c=n[a];Tr(c[w],c,e,t,r,i)}}function Fh(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ce.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ce.Important),e.setStyle(n,r,o,i))}}function ar(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(ue(i)),Ie(i)&&kh(i,r);let s=n.type;if(s&8)ar(e,t,n.child,r);else if(s&32){let a=Ji(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Zu(t,n);if(Array.isArray(a))r.push(...a);else{let c=$e(t[ye]);ar(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function kh(e,t){for(let n=K;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&ar(r[w],r,o,t)}e[He]!==e[we]&&t.push(e[He])}function Yu(e){if(e[Fo]!==null){for(let t of e[Fo])t.impl.addSequence(t);e[Fo].length=0}}var Qu=[];function Ph(e){return e[Q]??Lh(e)}function Lh(e){let t=Qu.pop()??Object.create(jh);return t.lView=e,t}function Vh(e){e.lView[Q]!==e&&(e.lView=null,Qu.push(e))}var jh=N(M({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Er(e.lView)},consumerOnSignalRead(){this.lView[Q]=this}});function Bh(e){let t=e[Q]??Object.create(Hh);return t.lView=e,t}var Hh=N(M({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=$e(e.lView);for(;t&&!Ku(t[w]);)t=$e(t);t&&Ri(t)},consumerOnSignalRead(){this.lView[Q]=this}});function Ku(e){return e.type!==2}function Ju(e){if(e[Qn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Qn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[m]&8192)}}var $h=100;function Xu(e,t=!0,n=0){let o=e[Ae].rendererFactory,i=!1;i||o.begin?.();try{Uh(e,n)}catch(s){throw t&&mh(e,s),s}finally{i||o.end?.()}}function Uh(e,t){let n=qc();try{ka(!0),li(e,t);let r=0;for(;$t(e);){if(r===$h)throw new g(103,!1);r++,li(e,1)}}finally{ka(n)}}function Gh(e,t,n,r){if(dt(t))return;let o=t[m],i=!1,s=!1;Oi(t);let a=!0,c=null,u=null;i||(Ku(e)?(u=Ph(t),c=fn(u)):ro()===null?(a=!1,u=Bh(t),c=fn(u)):t[Q]&&(uo(t[Q]),t[Q]=null));try{Bc(t),Bf(e.bindingStartIndex),n!==null&&$u(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let d=e.preOrderCheckHooks;d!==null&&Bn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Hn(t,d,0,null),ko(t,0)}if(s||zh(t),Ju(t),el(t,0),e.contentQueries!==null&&Ou(e,t),!i)if(l){let d=e.contentCheckHooks;d!==null&&Bn(t,d)}else{let d=e.contentHooks;d!==null&&Hn(t,d,1),ko(t,1)}qh(e,t);let f=e.components;f!==null&&nl(t,f,0);let p=e.viewQuery;if(p!==null&&si(2,p,r),!i)if(l){let d=e.viewCheckHooks;d!==null&&Bn(t,d)}else{let d=e.viewHooks;d!==null&&Hn(t,d,2),ko(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Oo]){for(let d of t[Oo])d();t[Oo]=null}i||(Yu(t),t[m]&=-73)}catch(l){throw i||Er(t),l}finally{u!==null&&(ao(u,c),a&&Vh(u)),Fi()}}function el(e,t){for(let n=Mu(e);n!==null;n=Su(n))for(let r=K;r<n.length;r++){let o=n[r];tl(o,t)}}function zh(e){for(let t=Mu(e);t!==null;t=Su(t)){if(!(t[m]&2))continue;let n=t[Jn];for(let r=0;r<n.length;r++){let o=n[r];Ri(o)}}}function Wh(e,t,n){x(18);let r=De(t,e);tl(r,n),x(19,r[U])}function tl(e,t){Ai(e)&&li(e,t)}function li(e,t){let r=e[w],o=e[m],i=e[Q],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&co(i)),s||=!1,i&&(i.dirty=!1),e[m]&=-9217,s)Gh(r,e,r.template,e[U]);else if(o&8192){Ju(e),el(e,1);let a=r.components;a!==null&&nl(e,a,1),Yu(e)}}function nl(e,t,n){for(let r=0;r<t.length;r++)Wh(e,t[r],n)}function qh(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)Ue(~o);else{let i=o,s=n[++r],a=n[++r];Uf(s,i);let c=t[i];x(24,c),a(2,c),x(25,c)}}}finally{Ue(-1)}}function ns(e,t){let n=qc()?64:1088;for(e[Ae].changeDetectionScheduler?.notify(t);e;){e[m]|=n;let r=$e(e);if(Xn(e)&&!r)return e;e=r}return null}function rl(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Zh(e,t,n,r=!0){let o=t[w];if(Yh(o,t,e,n),r){let s=ui(n,e),a=t[L],c=a.parentNode(e[He]);c!==null&&wh(o,e[ie],a,t,c,s)}let i=t[Zn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function di(e,t){if(e.length<=K)return;let n=K+t,r=e[n];if(r){let o=r[it];o!==null&&o!==e&&Xi(o,r),t>0&&(e[n-1][oe]=r[oe]);let i=zn(e,K+t);_h(r[w],r);let s=i[st];s!==null&&s.detachView(i[w]),r[j]=null,r[oe]=null,r[m]&=-129}return r}function Yh(e,t,n,r){let o=K+r,i=n.length;r>0&&(n[o-1][oe]=t),r<i-K?(t[oe]=n[o],wc(n,K+r,t)):(n.push(t),t[oe]=null),t[j]=n;let s=t[it];s!==null&&n!==s&&ol(s,t);let a=t[st];a!==null&&a.insertView(e),Qo(t),t[m]|=128}function ol(e,t){let n=e[Jn],r=t[j];if(Ne(r))e[m]|=2;else{let o=r[j][ye];t[ye]!==o&&(e[m]|=2)}n===null?e[Jn]=[t]:n.push(t)}var rs=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[w];return ar(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[U]}set context(t){this._lView[U]=t}get destroyed(){return dt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[j];if(Ie(t)){let n=t[Kn],r=n?n.indexOf(this):-1;r>-1&&(di(t,r),zn(n,r))}this._attachedToViewContainer=!1}qu(this._lView[w],this._lView)}onDestroy(t){Hc(this._lView,t)}markForCheck(){ns(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[m]&=-129}reattach(){Qo(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Xu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new g(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Xn(this._lView),n=this._lView[it];n!==null&&!t&&Xi(n,this._lView),Wu(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new g(902,!1);this._appRef=t;let n=Xn(this._lView),r=this._lView[it];r!==null&&!n&&ol(r,this._lView),Qo(this._lView)}};function il(e){return $t(e._lView)||!!(e._lView[m]&64)}function sl(e){Ri(e._cdRefInjectingView||e._lView)}var Nr=(()=>{class e{static __NG_ELEMENT_ID__=Jh}return e})(),Qh=Nr,Kh=class extends Qh{_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=Eh(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new rs(o)}};function Jh(){return Xh(Me(),F())}function Xh(e,t){return e.type&4?new Kh(t,e,Ir(e,t)):null}function os(e,t,n,r,o){let i=e.data[t];if(i===null)i=eg(e,t,n,r,o),$f()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Vf();i.injectorIndex=s===null?-1:s.injectorIndex}return Ut(i,!0),i}function eg(e,t,n,r,o){let i=zc(),s=Wc(),a=s?i:i&&i.parent,c=e.data[t]=ng(e,a,n,t,r,o);return tg(e,c,i,s),c}function tg(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function ng(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return kf()&&(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:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var GC=new RegExp(`^(\\d+)*(${Rp}|${Ap})*(.*)`);var rg=()=>null;function Ka(e,t){return rg(e,t)}var og=class{},al=class{},fi=class{resolveComponentFactory(t){throw Error(`No component factory found for ${$(t)}.`)}},qe=class{static NULL=new fi},at=class{},is=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ig()}return e})();function ig(){let e=F(),t=Me(),n=De(t.index,e);return(Ne(n)?n:e)[L]}var sg=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();var Vo={},pi=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=yr(r);let o=this.injector.get(t,Vo,r);return o!==Vo||n===Vo?o:this.parentInjector.get(t,n,r)}};function Ja(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=ba(o,a);else if(i==2){let c=a,u=t[++s];r=ba(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function W(e,t=y.Default){let n=F();if(n===null)return C(e,t);let r=Me();return pu(r,n,ne(e),t)}function cl(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,u=null,l=cg(s);l===null?a=s:[a,c,u]=l,dg(e,t,n,a,i,c,u)}i!==null&&r!==null&&ag(n,r,i)}function ag(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new g(-301,!1);r.push(t[o],i)}}function cg(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&We(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,ug(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function ug(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function lg(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function dg(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let d=r[p];!c&&We(d)&&(c=!0,lg(e,n,p)),cp(uu(n,t),e,d.type)}yg(n,e.data.length,a);for(let p=0;p<a;p++){let d=r[p];d.providersResolver&&d.providersResolver(d)}let u=!1,l=!1,f=Bu(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let d=r[p];if(n.mergedAttrs=Li(n.mergedAttrs,d.hostAttrs),pg(e,n,t,f,d),mg(f,d,o),s!==null&&s.has(d)){let[b,B]=s.get(d);n.directiveToIndex.set(d.type,[f,b+n.directiveStart,B+n.directiveStart])}else(i===null||!i.has(d))&&n.directiveToIndex.set(d.type,f);d.contentQueries!==null&&(n.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(n.flags|=64);let h=d.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),f++}fg(e,n,i)}function fg(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Xa(0,t,o,r),Xa(1,t,o,r),tc(t,r,!1);else{let i=n.get(o);ec(0,t,i,r),ec(1,t,i,r),tc(t,r,!0)}}}function Xa(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),ul(t,i)}}function ec(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ul(t,s)}}function ul(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function tc(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||zi(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function pg(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ft(o.type,!0)),s=new Vt(i,We(o),W);e.blueprint[r]=s,n[r]=s,hg(e,t,r,Bu(e,n,o.hostVars,ht),o)}function hg(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;gg(s)!=a&&s.push(a),s.push(n,r,i)}}function gg(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function mg(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;We(t)&&(n[""]=e)}}function yg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ll(e,t,n,r,o,i,s,a){let c=t.consts,u=er(c,s),l=os(t,e,2,r,u);return i&&cl(t,n,l,er(c,a),o),l.mergedAttrs=Li(l.mergedAttrs,l.attrs),l.attrs!==null&&Ja(l,l.attrs,!1),l.mergedAttrs!==null&&Ja(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function dl(e,t){ou(e,t),Oc(t)&&e.queries.elementEnd(t)}var cr=class extends qe{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=kt(t);return new ur(n,this.ngModule)}};function vg(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Sr.SignalBased)!==0};return o&&(i.transform=o),i})}function Dg(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Eg(e,t,n){let r=t instanceof xe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new pi(n,r):n}function Cg(e){let t=e.get(at,null);if(t===null)throw new g(407,!1);let n=e.get(sg,null),r=e.get(Ge,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function _g(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return ku(t,n,n==="svg"?Lc:n==="math"?Tf:null)}var ur=class extends al{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=vg(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Dg(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=th(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){x(22);let i=E(null);try{let s=this.componentDef,a=r?["ng-version","19.2.18"]:nh(this.componentDef.selectors[0]),c=Wi(0,null,null,1,0,null,null,null,null,[a],null),u=Eg(s,o||this.ngModule,t),l=Cg(u),f=l.rendererFactory.createRenderer(null,s),p=r?sh(f,r,s.encapsulation,u):_g(s,f),d=qi(null,c,null,512|ju(s),null,null,l,f,u,null,Ru(p,u,!0));d[ve]=p,Oi(d);let h=null;try{let b=ll(ve,c,d,"#host",()=>[this.componentDef],!0,0);p&&(Lu(f,p,b),Gt(p,d)),Yi(c,d,b),Fu(c,b,d),dl(c,b),n!==void 0&&wg(b,this.ngContentSelectors,n),h=De(b.index,d),d[U]=h[U],Ki(c,d,null)}catch(b){throw h!==null&&oi(h),oi(d),b}finally{x(23),Fi()}return new hi(this.componentType,d)}finally{E(i)}}},hi=class extends og{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=jc(n[w],ve),this.location=Ir(this._tNode,n),this.instance=De(this._tNode.index,n)[U],this.hostView=this.changeDetectorRef=new rs(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Qi(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=De(r.index,o);ns(s,1)}get injector(){return new Be(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function wg(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)}}var xr=(()=>{class e{static __NG_ELEMENT_ID__=Ig}return e})();function Ig(){let e=Me();return Mg(e,F())}var bg=xr,fl=class extends bg{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ir(this._hostTNode,this._hostLView)}get injector(){return new Be(this._hostTNode,this._hostLView)}get parentInjector(){let t=Vi(this._hostTNode,this._hostLView);if(su(t)){let n=nr(t,this._hostLView),r=tr(t),o=n[w].data[r+8];return new Be(o,n)}else return new Be(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=nc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-K}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ka(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ya(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!wf(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 ur(kt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let b=(s?u:this.parentInjector).get(xe,null);b&&(i=b)}let l=kt(c.componentType??{}),f=Ka(this._lContainer,l?.id??null),p=f?.firstChild??null,d=c.create(u,o,p,i);return this.insertImpl(d.hostView,a,Ya(this._hostTNode,f)),d}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Nf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[j],u=new fl(c,c[ie],c[j]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Zh(s,o,i,r),t.attachToViewContainerRef(),wc(jo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=nc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=di(this._lContainer,n);r&&(zn(jo(this._lContainer),n),qu(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=di(this._lContainer,n);return r&&zn(jo(this._lContainer),n)!=null?new rs(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function nc(e){return e[Kn]}function jo(e){return e[Kn]||(e[Kn]=[])}function Mg(e,t){let n,r=t[e.index];return Ie(r)?n=r:(n=rl(r,t,null,e),t[e.index]=n,Zi(t,n)),Tg(n,t,e,r),new fl(n,e,t)}function Sg(e,t){let n=e[L],r=n.createComment(""),o=be(t,e),i=n.parentNode(o);return sr(n,i,r,n.nextSibling(o),!1),r}var Tg=Ag,Ng=()=>!1;function xg(e,t,n){return Ng(e,t,n)}function Ag(e,t,n,r){if(e[He])return;let o;n.type&8?o=ue(r):o=Sg(t,n),e[He]=o}function Rg(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(Pg))}return i}return lr.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((f,p)=>{a.push(""),s.push(r(f).then(d=>{a[u+p]=d,l.splice(l.indexOf(f),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(()=>Lg(i));t.push(c)}),Fg(),Promise.all(t).then(()=>{})}var lr=new Map,Og=new Set;function Fg(){let e=lr;return lr=new Map,e}function kg(){return lr.size===0}function Pg(e){return typeof e=="string"?e:e.text()}function Lg(e){Og.delete(e)}var ct=class{},Vg=class{};var dr=class extends ct{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new cr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=uf(t);this._bootstrapComponents=zp(i.bootstrap),this._r3Injector=mu(t,n,[{provide:ct,useValue:this},{provide:qe,useValue:this.componentFactoryResolver},...r],$(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)}},gi=class extends Vg{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new dr(this.moduleType,t,[])}};function jg(e,t,n){return new dr(e,t,n,!1)}var mi=class extends ct{injector;componentFactoryResolver=new cr(this);instance=null;constructor(t){super();let n=new Pt([...t.providers,{provide:ct,useValue:this},{provide:qe,useValue:this.componentFactoryResolver}],t.parent||Ni(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Bg(e,t,n=null){return new mi({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Hg=(()=>{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=Mc(!1,n.type),o=r.length>0?Bg([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=T({token:e,providedIn:"environment",factory:()=>new e(C(xe))})}return e})();function pl(e){return mr(()=>{let t=hl(e),n=N(M({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Iu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Hg).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||le.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Fp("NgStandalone"),gl(n);let r=e.dependencies;return n.directiveDefs=rc(r,!1),n.pipeDefs=rc(r,!0),n.id=Wg(n),n})}function $g(e){return kt(e)||lf(e)}function Ug(e){return e!==null}function pe(e){return mr(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Gg(e,t){if(e==null)return rt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Sr.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function zg(e){if(e==null)return rt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Wt(e){return mr(()=>{let t=hl(e);return gl(t),t})}function hl(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,inputConfig:e.inputs||rt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gg(e.inputs,t),outputs:zg(e.outputs),debugInfo:null}}function gl(e){e.features?.forEach(t=>t(e))}function rc(e,t){if(!e)return null;let n=t?df:$g;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Ug)}function Wg(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ml(e){return Zg(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function qg(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 Zg(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ss(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Yg(e,t,n,r,o,i,s,a,c){let u=t.consts,l=os(t,e,4,s||null,a||null);Gc()&&cl(t,n,l,er(u,c),Gu),l.mergedAttrs=Li(l.mergedAttrs,l.attrs),ou(t,l);let f=l.tView=Wi(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),f.queries=t.queries.embeddedTView(l)),l}function Qg(e,t,n,r,o,i,s,a,c,u){let l=n+ve,f=t.firstCreatePass?Yg(l,t,e,r,o,i,s,a,c):t.data[l];Ut(f,!1);let p=Kg(t,e,f,n);ki()&&es(t,e,p,f),Gt(p,e);let d=rl(p,e,p,f);return e[l]=d,Zi(e,d),xg(d,f,e),xi(f)&&Yi(t,e,f),c!=null&&Uu(e,f,u),f}function qt(e,t,n,r,o,i,s,a){let c=F(),u=Oe(),l=er(u.consts,i);return Qg(c,u,e,t,n,r,o,l,s,a),qt}var Kg=Jg;function Jg(e,t,n,r){return Pi(!0),t[L].createComment("")}var as=new v(""),Zt=new v(""),Ar=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,xc()&&(this._destroyRef=I(ji,{optional:!0})??void 0),cs||(Xg(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}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)(C(R),C(Rr),C(Zt))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Rr=(()=>{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 cs?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Xg(e){cs=e}var cs,em=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new yi})}return e})(),yi=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}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()}};function Yt(e){return!!e&&typeof e.then=="function"}function yl(e){return!!e&&typeof e.subscribe=="function"}var tm=new v("");var vl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(tm,{optional:!0})??[];injector=I(J);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Nc(this.injector,o);if(Yt(i))n.push(i);else if(yl(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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nm=new v("");function rm(){fo(()=>{throw new g(600,!1)})}function om(e){return e.isBoundToModule}var im=10;function Dl(e,t){return Array.isArray(t)?t.reduce(Dl,e):M(M({},e),t)}var Re=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(wp);afterRenderManager=I(kp);zonelessEnabled=I(vu);rootEffectScheduler=I(em);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ee;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=I(wr).hasPendingTasks.pipe(me(n=>!n));constructor(){I(Mr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(xe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=J.NULL){x(10);let i=n instanceof al;if(!this._injector.get(vl).done){let d="";throw new g(405,d)}let a;i?a=n:a=this._injector.get(qe).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=om(a)?void 0:this._injector.get(ct),u=r||a.selector,l=a.create(o,[],u,c),f=l.location.nativeElement,p=l.injector.get(as,null);return p?.registerApplication(f),l.onDestroy(()=>{this.detachView(l.hostView),$n(this.components,l),p?.unregisterApplication(f)}),this._loadComponent(l),x(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){x(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Au.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new g(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),x(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(at,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<im;)x(14),this.synchronizeOnce(),x(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)sm(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>$t(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;$n(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(nm,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$n(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new g(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $n(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function sm(e,t,n,r){if(!n&&!$t(e))return;Xu(e,t,n&&!r?0:1)}function am(e,t,n,r){return ss(e,Zc(),n)?t+vc(n)+r:ht}function Ln(e,t){return e<<17|t<<2}function ze(e){return e>>17&32767}function cm(e){return(e&2)==2}function um(e,t){return e&131071|t<<17}function vi(e){return e|2}function ut(e){return(e&131068)>>2}function Bo(e,t){return e&-131069|t<<2}function lm(e){return(e&1)===1}function Di(e){return e|1}function dm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ze(s),c=ut(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let f=n;l=f[1],(l===null||Bt(f,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=ze(e[a+1]);e[r+1]=Ln(p,a),p!==0&&(e[p+1]=Bo(e[p+1],r)),e[a+1]=um(e[a+1],r)}else e[r+1]=Ln(a,0),a!==0&&(e[a+1]=Bo(e[a+1],r)),a=r;else e[r+1]=Ln(c,0),a===0?a=r:e[c+1]=Bo(e[c+1],r),c=r;u&&(e[r+1]=vi(e[r+1])),oc(e,l,r,!0),oc(e,l,r,!1),fm(t,l,e,r,i),s=Ln(a,c),i?t.classBindings=s:t.styleBindings=s}function fm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bt(i,t)>=0&&(n[r+1]=Di(n[r+1]))}function oc(e,t,n,r){let o=e[n+1],i=t===null,s=r?ze(o):ut(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];pm(c,t)&&(a=!0,e[s+1]=r?Di(u):vi(u)),s=r?ze(u):ut(u)}a&&(e[n+1]=r?vi(o):Di(o))}function pm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bt(e,t)>=0:!1}function Se(e,t,n){let r=F(),o=Zc();if(ss(r,o,t)){let i=Oe(),s=Zf();lh(i,s,r,e,t,r[L],n,!1)}return Se}function ic(e,t,n,r,o){Qi(t,e,n,o?"class":"style",r)}function us(e,t,n){return hm(e,t,n,!1),us}function hm(e,t,n,r){let o=F(),i=Oe(),s=Hf(2);if(i.firstUpdatePass&&mm(i,e,s,r),t!==ht&&ss(o,s,t)){let a=i.data[ft()];Cm(i,a,o,o[L],e,o[s+1]=_m(t,n),r,s)}}function gm(e,t){return t>=e.expandoStartIndex}function mm(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ft()],s=gm(e,n);wm(i,r)&&t===null&&!s&&(t=!1),t=ym(o,i,t,r),dm(o,i,t,n,s,r)}}function ym(e,t,n,r){let o=zf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ho(null,e,t,n,r),n=jt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ho(o,e,t,n,r),i===null){let c=vm(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ho(null,e,t,c[1],r),c=jt(c,t.attrs,r),Dm(e,t,r,c))}else i=Em(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function vm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ut(r)!==0)return e[ze(r)]}function Dm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ze(o)]=r}function Em(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=jt(r,s,n)}return jt(r,t.attrs,n)}function Ho(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=jt(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function jt(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]),af(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Cm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=lm(u)?sc(c,t,n,o,ut(u),s):void 0;if(!fr(l)){fr(i)||cm(u)&&(i=sc(c,null,n,o,a,s));let f=Vc(ft(),n);Fh(r,s,f,o,i)}}function sc(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,f=l===null,p=n[o+1];p===ht&&(p=f?re:void 0);let d=f?Ao(p,r):l===r?p:void 0;if(u&&!fr(d)&&(d=Ao(c,r)),fr(d)&&(a=d,s))return a;let h=e[o+1];o=s?ze(h):ut(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ao(c,r))}return a}function fr(e){return e!==void 0}function _m(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=$(jp(e)))),e}function wm(e,t){return(e.flags&(t?8:16))!==0}function G(e,t,n,r){let o=F(),i=Oe(),s=ve+e,a=o[L],c=i.firstCreatePass?ll(s,i,o,t,Gu,Gc(),n,r):i.data[s],u=Im(i,o,c,a,t,e);o[s]=u;let l=xi(c);return Ut(c,!0),Lu(a,u,c),!zu(c)&&ki()&&es(i,o,u,c),(Rf()===0||l)&&Gt(u,o),Of(),l&&(Yi(i,o,c),Fu(i,c,o)),r!==null&&Uu(o,c),G}function z(){let e=Me();Wc()?jf():(e=e.parent,Ut(e,!1));let t=e;Pf(t)&&Lf(),Ff();let n=Oe();return n.firstCreatePass&&dl(n,t),t.classesWithoutHost!=null&&Xf(t)&&ic(n,t,F(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&ep(t)&&ic(n,t,F(),t.stylesWithoutHost,!1),z}function Or(e,t,n,r){return G(e,t,n,r),z(),Or}var Im=(e,t,n,r,o,i)=>(Pi(!0),ku(r,o,Qf()));function El(){return F()}var pr="en-US";var bm=pr;function Mm(e){typeof e=="string"&&(bm=e.toLowerCase().replace(/_/g,"-"))}function ac(e,t,n){return function r(o){if(o===Function)return n;let i=Ht(e)?De(e.index,t):t;ns(i,5);let s=t[U],a=cc(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=cc(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function cc(e,t,n,r){let o=E(null);try{return x(6,t,n),n(r)!==!1}catch(i){return Sm(e,i),!1}finally{x(7,t,n),E(o)}}function Sm(e,t){let n=e[ot],r=n?n.get(Ee,null):null;r&&r.handleError(t)}function uc(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],l=s[u],f=a.firstCreatePass?Uc(a):null,p=$c(t),d=l.subscribe(i),h=p.length;p.push(i,d),f&&f.push(o,e.index,h,-(h+1))}function gt(e,t,n,r){let o=F(),i=Oe(),s=Me();return Nm(i,o,o[L],s,e,t,r),gt}function Tm(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[Yn],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Nm(e,t,n,r,o,i,s){let a=xi(r),u=e.firstCreatePass?Uc(e):null,l=$c(t),f=!0;if(r.type&3||s){let p=be(r,t),d=s?s(p):p,h=l.length,b=s?k=>s(ue(k[r.index])):r.index,B=null;if(!s&&a&&(B=Tm(e,t,o,r.index)),B!==null){let k=B.__ngLastListenerFn__||B;k.__ngNextListenerFn__=i,B.__ngLastListenerFn__=i,f=!1}else{i=ac(r,t,i),Lp(t,d,o,i);let k=n.listen(d,o,i);l.push(i,k),u&&u.push(o,b,h,h+1)}}else i=ac(r,t,i);if(f){let p=r.outputs?.[o],d=r.hostDirectiveOutputs?.[o];if(d&&d.length)for(let h=0;h<d.length;h+=2){let b=d[h],B=d[h+1];uc(r,t,b,B,o,i)}if(p&&p.length)for(let h of p)uc(r,t,h,o,o,i)}}function mt(e=1){return qf(e)}function Fe(e,t=""){let n=F(),r=Oe(),o=e+ve,i=r.firstCreatePass?os(r,o,1,t,null):r.data[o],s=xm(r,n,i,t,e);n[o]=s,ki()&&es(r,n,s,i),Ut(i,!1)}var xm=(e,t,n,r,o)=>(Pi(!0),Bp(t[L],r));function Fr(e,t,n){let r=F(),o=am(r,e,t,n);return o!==ht&&Am(r,ft(),o),Fr}function Am(e,t,n){let r=Vc(t,e);Hp(e[L],r,n)}var Vn=null;function Rm(e){Vn!==null&&(e.defaultEncapsulation!==Vn.defaultEncapsulation||e.preserveWhitespaces!==Vn.preserveWhitespaces)||(Vn=e)}var Om=new v("");function Fm(e,t,n){let r=new gi(n);return Promise.resolve(r)}function lc(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var km=(()=>{class e{zone=I(R);changeDetectionScheduler=I(Ge);applicationRef=I(Re);_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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pm({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new R(N(M({},Cl()),{scheduleInRootZone:n})),[{provide:R,useFactory:e},{provide:Wn,multi:!0,useFactory:()=>{let r=I(km,{optional:!0});return()=>r.initialize()}},{provide:Wn,multi:!0,useFactory:()=>{let r=I(Lm);return()=>{r.initialize()}}},t===!0?{provide:Du,useValue:!0}:[],{provide:Eu,useValue:n??yu}]}function Cl(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Lm=(()=>{class e{subscription=new V;initialized=!1;zone=I(R);pendingTasks=I(wr);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(()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{R.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vm=(()=>{class e{appRef=I(Re);taskService=I(wr);ngZone=I(R);zonelessEnabled=I(vu);tracing=I(Mr,{optional:!0});disableScheduling=I(Du,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(or):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Eu,{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 ir||!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 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?$a:Cu;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(or+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,$a(()=>{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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jm(){return typeof $localize<"u"&&$localize.locale||pr}var ls=new v("",{providedIn:"root",factory:()=>I(ls,y.Optional|y.SkipSelf)||jm()});var hr=new v(""),Bm=new v("");function xt(e){return!e.moduleRef}function Hm(e){let t=xt(e)?e.r3Injector:e.moduleRef.injector,n=t.get(R);return n.run(()=>{xt(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ee,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),xt(e)){let i=()=>t.destroy(),s=e.platformInjector.get(hr);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(hr);s.add(i),e.moduleRef.onDestroy(()=>{$n(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Um(r,n,()=>{let i=t.get(vl);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ls,pr);if(Mm(s||pr),!t.get(Bm,!0))return xt(e)?t.get(Re):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(xt(e)){let c=t.get(Re);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return $m(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function $m(e,t){let n=e.injector.get(Re);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new g(-403,!1);t.push(e)}function Um(e,t,n){try{let r=n();return Yt(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var _l=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>_p(r?.ngZone,N(M({},Cl({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[Pm({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Ge,useExisting:Vm}],c=jg(n.moduleType,this.injector,a);return Hm({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=Dl({},r);return Fm(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 g(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(hr,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(C(J))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ds=null;function Gm(e){if(ps())throw new g(400,!1);rm(),ds=e;let t=e.get(_l);return qm(e),t}function fs(e,t,n=[]){let r=`Platform: ${t}`,o=new v(r);return(i=[])=>{let s=ps();if(!s){let a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??Gm(zm(a,r))}return Wm(o)}}function zm(e=[],t){return J.create({name:t,providers:[{provide:vr,useValue:"platform"},{provide:hr,useValue:new Set([()=>ds=null])},...e]})}function Wm(e){let t=ps();if(!t)throw new g(401,!1);return t}function ps(){return ds?.get(_l)??null}function qm(e){let t=e.get(Ui,null);Nc(e,()=>{t?.forEach(n=>n())})}var Ei=class{constructor(){}supports(t){return ml(t)}create(t){return new Ci(t)}},Zm=(e,t)=>t,Ci=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||Zm}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<dc(r,o,i)?n:r,a=dc(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 d=p<i.length?i[p]:i[p]=0,h=d+p;l<=h&&h<u&&(i[p]=d+1)}let f=s.previousIndex;i[f]=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=[]),!ml(t))throw new g(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,qg(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 _i(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 gr),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 gr),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}},_i=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}},wi=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}},gr=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new wi,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 dc(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 fc(){return new hs([new Ei])}var hs=(()=>{class e{factories;static \u0275prov=T({token:e,providedIn:"root",factory:fc});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||fc()),deps:[[e,new of,new rf]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new g(901,!1)}}return e})();var wl=fs(null,"core",[]),Il=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(C(Re))};static \u0275mod=pe({type:e});static \u0275inj=de({})}return e})();function ke(e){return mo(e)}function kr(e,t){return lo(e,t?.equal)}var pc=class{[se];constructor(t){this[se]=t}destroy(){this[se].destroy()}};var he=new v("");var bl=null;function vt(){return bl}function gs(e){bl??=e}var Qt=class{};var ms=/\s+/,Ml=[],ys=(()=>{class e{_ngEl;_renderer;initialClasses=Ml;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ms):Ml}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ms):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(ms).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)(W(pt),W(is))};static \u0275dir=Wt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Pr=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}},Vr=(()=>{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;!this._differ&&n&&(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 Pr(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),Sl(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);Sl(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(W(xr),W(Nr),W(hs))};static \u0275dir=Wt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Sl(e,t){e.context.$implicit=t.item}var vs=(()=>{class e{_viewContainer;_context=new Lr;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Tl(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Tl(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(W(xr),W(Nr))};static \u0275dir=Wt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Lr=class{$implicit=null;ngIf=null};function Tl(e,t){if(e&&!e.createEmbeddedView)throw new g(2020,!1)}var Kt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=de({})}return e})();function Ds(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 Es="browser",Nl="server";function jr(e){return e===Nl}var Jt=class{};var $r=new v(""),Is=(()=>{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,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new g(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(C($r),C(R))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Xt=class{_doc;constructor(t){this._doc=t}manager},Br="ng-app-id";function xl(e){for(let t of e)t.remove()}function Al(e,t){let n=t.createElement("style");return n.textContent=e,n}function Km(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Br}="${t}"],link[${Br}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Br),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function _s(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var bs=(()=>{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=jr(i),Km(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Al);r?.forEach(o=>this.addUsage(o,this.external,_s))}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&&(xl(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])xl(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Al(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,_s(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Br,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(he),C($i),C(Gi,8),C(zt))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Cs={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"},Ms=/%COMP%/g;var Ol="%COMP%",Jm=`_nghost-${Ol}`,Xm=`_ngcontent-${Ol}`,ey=!0,ty=new v("",{providedIn:"root",factory:()=>ey});function ny(e){return Xm.replace(Ms,e)}function ry(e){return Jm.replace(Ms,e)}function Fl(e,t){return t.map(n=>n.replace(Ms,e))}var Ss=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=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.tracingService=l,this.platformIsServer=jr(a),this.defaultRenderer=new en(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===le.ShadowDom&&(r=N(M({},r),{encapsulation:le.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Hr?o.applyToHost(n):o instanceof tn&&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,f=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case le.Emulated:i=new Hr(c,u,r,this.appId,l,s,a,f,p);break;case le.ShadowDom:return new ws(c,u,n,r,s,a,this.nonce,f,p);default:i=new tn(c,u,r,l,s,a,f,p);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(C(Is),C(bs),C($i),C(ty),C(he),C(zt),C(R),C(Gi),C(Mr,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),en=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Cs[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Rl(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Rl(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 g(-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=Cs[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Cs[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&(Ce.DashCase|Ce.Important)?t.style.setProperty(n,r,o&Ce.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ce.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,o){if(typeof t=="string"&&(t=vt().getGlobalEventTarget(this.doc,t),!t))throw new g(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Rl(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ws=class extends en{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Fl(o.id,l);for(let p of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=p,this.shadowRoot.appendChild(d)}let f=o.getExternalStyles?.();if(f)for(let p of f){let d=_s(p,i);a&&d.setAttribute("nonce",a),this.shadowRoot.appendChild(d)}}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)}},tn=class extends en{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Fl(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Hr=class extends tn{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=ny(l),this.hostAttr=ry(l)}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}};var Ur=class e extends Qt{supportsDOMEvents=!0;static makeCurrent(){gs(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),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=oy();return n==null?null:iy(n)}resetBaseElement(){nn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ds(document.cookie,t)}},nn=null;function oy(){return nn=nn||document.head.querySelector("base"),nn?nn.getAttribute("href"):null}function iy(e){return new URL(e,document.baseURI).pathname}var Gr=class{addToWindow(t){_e.getAngularTestability=(r,o=!0)=>{let i=t.findTestabilityInTree(r,o);if(i==null)throw new g(5103,!1);return i},_e.getAllAngularTestabilities=()=>t.getAllTestabilities(),_e.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let o=_e.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};_e.frameworkStabilizers||(_e.frameworkStabilizers=[]),_e.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;let o=t.getTestability(n);return o??(r?vt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},sy=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Pl=(()=>{class e extends Xt{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(he))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),kl=["alt","control","meta","shift"],ay={"\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"},cy={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Ll=(()=>{class e extends Xt{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vt().onAndCancel(n,s.domEventName,a,i))}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."),kl.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=ay[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"),kl.forEach(s=>{if(s!==o){let a=cy[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)(C(he))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function uy(){Ur.makeCurrent()}function ly(){return new Ee}function dy(){return Nu(document),document}var fy=[{provide:zt,useValue:Es},{provide:Ui,useValue:uy,multi:!0},{provide:he,useFactory:dy}],Ts=fs(wl,"browser",fy);var py=[{provide:Zt,useClass:Gr},{provide:as,useClass:Ar,deps:[R,Rr,Zt]},{provide:Ar,useClass:Ar,deps:[R,Rr,Zt]}],hy=[{provide:vr,useValue:"root"},{provide:Ee,useFactory:ly},{provide:$r,useClass:Pl,multi:!0,deps:[he]},{provide:$r,useClass:Ll,multi:!0,deps:[he]},Ss,bs,Is,{provide:at,useExisting:Ss},{provide:Jt,useClass:sy},[]],Ns=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=de({providers:[...hy,...py],imports:[Kt,Il]})}return e})();function Fs(e){return e==null||ks(e)===0}function ks(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var yy=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ze=class{static min(t){return vy(t)}static max(t){return Dy(t)}static required(t){return Ey(t)}static requiredTrue(t){return Cy(t)}static email(t){return _y(t)}static minLength(t){return wy(t)}static maxLength(t){return Iy(t)}static pattern(t){return by(t)}static nullValidator(t){return Ul()}static compose(t){return Yl(t)}static composeAsync(t){return Ql(t)}};function vy(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function Dy(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function Ey(e){return Fs(e.value)?{required:!0}:null}function Cy(e){return e.value===!0?null:{required:!0}}function _y(e){return Fs(e.value)||yy.test(e.value)?null:{email:!0}}function wy(e){return t=>{let n=t.value?.length??ks(t.value);return n===null||n===0?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}function Iy(e){return t=>{let n=t.value?.length??ks(t.value);return n!==null&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}function by(e){if(!e)return Ul;let t,n;return typeof e=="string"?(n="",e.charAt(0)!=="^"&&(n+="^"),n+=e,e.charAt(e.length-1)!=="$"&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(Fs(r.value))return null;let o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}function Ul(e){return null}function Gl(e){return e!=null}function zl(e){return Yt(e)?Nt(e):e}function Wl(e){let t={};return e.forEach(n=>{t=n!=null?M(M({},t),n):t}),Object.keys(t).length===0?null:t}function ql(e,t){return t.map(n=>n(e))}function My(e){return!e.validate}function Zl(e){return e.map(t=>My(t)?t:n=>t.validate(n))}function Yl(e){if(!e)return null;let t=e.filter(Gl);return t.length==0?null:function(n){return Wl(ql(n,t))}}function Sy(e){return e!=null?Yl(Zl(e)):null}function Ql(e){if(!e)return null;let t=e.filter(Gl);return t.length==0?null:function(n){let r=ql(n,t).map(zl);return To(r).pipe(me(Wl))}}function Ty(e){return e!=null?Ql(Zl(e)):null}function As(e){return e?Array.isArray(e)?e:[e]:[]}function Wr(e,t){return Array.isArray(e)?e.includes(t):e===t}function Vl(e,t){let n=As(t);return As(e).forEach(o=>{Wr(n,o)||n.push(o)}),n}function jl(e,t){return As(t).filter(n=>!Wr(e,n))}var Ny={"[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"},TI=N(M({},Ny),{"[class.ng-submitted]":"isSubmitted"});var rn="VALID",zr="INVALID",Dt="PENDING",on="DISABLED",Ct=class{},qr=class extends Ct{value;source;constructor(t,n){super(),this.value=t,this.source=n}},sn=class extends Ct{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},an=class extends Ct{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},Et=class extends Ct{status;source;constructor(t,n){super(),this.status=t,this.source=n}};function Ps(e){return(Yr(e)?e.validators:e)||null}function xy(e){return Array.isArray(e)?Sy(e):e||null}function Ls(e,t){return(Yr(t)?t.asyncValidators:e)||null}function Ay(e){return Array.isArray(e)?Ty(e):e||null}function Yr(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Kl(e,t,n){let r=e.controls;if(!(t?Object.keys(r):r).length)throw new g(1e3,"");if(!r[n])throw new g(1001,"")}function Jl(e,t,n){e._forEachChild((r,o)=>{if(n[o]===void 0)throw new g(1002,"")})}var _t=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 ke(this.statusReactive)}set status(t){ke(()=>this.statusReactive.set(t))}_status=kr(()=>this.statusReactive());statusReactive=br(void 0);get valid(){return this.status===rn}get invalid(){return this.status===zr}get pending(){return this.status==Dt}get disabled(){return this.status===on}get enabled(){return this.status!==on}errors;get pristine(){return ke(this.pristineReactive)}set pristine(t){ke(()=>this.pristineReactive.set(t))}_pristine=kr(()=>this.pristineReactive());pristineReactive=br(!0);get dirty(){return!this.pristine}get touched(){return ke(this.touchedReactive)}set touched(t){ke(()=>this.touchedReactive.set(t))}_touched=kr(()=>this.touchedReactive());touchedReactive=br(!1);get untouched(){return!this.touched}_events=new ee;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(Vl(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Vl(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(jl(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(jl(t,this._rawAsyncValidators))}hasValidator(t){return Wr(this._rawValidators,t)}hasAsyncValidator(t){return Wr(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(N(M({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new an(!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 an(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(N(M({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new sn(!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 sn(!0,r))}markAsPending(t={}){this.status=Dt;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Et(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(N(M({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=on,this.errors=null,this._forEachChild(o=>{o.disable(N(M({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new qr(this.value,r)),this._events.next(new Et(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(N(M({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=rn,this._forEachChild(r=>{r.enable(N(M({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(N(M({},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===rn||this.status===Dt)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new qr(this.value,n)),this._events.next(new Et(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(N(M({},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()?on:rn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=Dt,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=zl(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted: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 Et(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?on:this.errors?zr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Dt)?Dt:this._anyControlsHaveStatus(zr)?zr:rn}_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 sn(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new an(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Yr(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=xy(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Ay(this._rawAsyncValidators)}},Zr=class extends _t{constructor(t,n,r){super(Ps(n),Ls(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={}){Jl(this,!0,t),Object.keys(t).forEach(r=>{Kl(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 Rs=class extends Zr{};var Ry=new v("",{providedIn:"root",factory:()=>Xl}),Xl="always";function Bl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Hl(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var xs=class extends _t{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(Ps(n),Ls(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Yr(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Hl(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){Bl(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Bl(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){Hl(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 Oy=new v("");var Fy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=de({})}return e})(),Os=class extends _t{constructor(t,n,r){super(Ps(n),Ls(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){Jl(this,!1,t),t.forEach((r,o)=>{Kl(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){t!=null&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>r._syncPendingControls()?!0:n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}};function $l(e){return!!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var ed=(()=>{class e{useNonNullable=!1;get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,r=null){let o=this._reduceControls(n),i={};return $l(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Zr(o,i)}record(n,r=null){let o=this._reduceControls(n);return new Rs(o,r)}control(n,r,o){let i={};return this.useNonNullable?($l(r)?i=r:(i.validators=r,i.asyncValidators=o),new xs(n,N(M({},i),{nonNullable:!0}))):new xs(n,r,o)}array(n,r,o){let i=n.map(s=>this._createControl(s));return new Os(i,r,o)}_reduceControls(n){let r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){if(n instanceof xs)return n;if(n instanceof _t)return n;if(Array.isArray(n)){let r=n[0],o=n.length>1?n[1]:null,i=n.length>2?n[2]:null;return this.control(r,o,i)}else return this.control(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Qr=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Oy,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Ry,useValue:n.callSetDisabledState??Xl}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=pe({type:e});static \u0275inj=de({imports:[Fy]})}return e})();var Py={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function Ly(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Vy(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Vs;function jy(e,t){if(!Vs){let n=Element.prototype;Vs=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Vs.call(e,t):!1}function By(e){let t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[Ly(r)]=[n,o]}),t}function Hy(e,t){return t.get(qe).resolveComponentFactory(e).inputs}function $y(e,t){let n=e.childNodes,r=t.map(()=>[]),o=-1;t.some((i,s)=>i==="*"?(o=s,!0):!1);for(let i=0,s=n.length;i<s;++i){let a=n[i],c=Uy(a,t,o);c!==-1&&r[c].push(a)}return r}function Uy(e,t,n){let r=n;return Vy(e)&&t.some((o,i)=>o!=="*"&&jy(e,o)?(r=i,!0):!1),r}var Gy=10,js=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(qe).resolveComponentFactory(t);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new Bs(this.componentFactory,t,this.inputMap)}},Bs=class{componentFactory;injector;inputMap;eventEmitters=new Tt(1);events=this.eventEmitters.pipe(xo(t=>No(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(R),this.appRef=this.injector.get(Re),this.cdScheduler=n.get(Ge),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Py.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Gy))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),il(this.componentRef.hostView)&&(sl(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=J.create({providers:[],parent:this.injector}),r=$y(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>{let i=t.instance[r];return new A(s=>{let a=i.subscribe(c=>s.next({name:o,value:c}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Hs=class extends HTMLElement{ngElementEventsSubscription=null};function td(e,t){let n=Hy(e,t.injector),r=t.strategyFactory||new js(e,t.injector),o=By(n);class i extends Hs{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;let l=this[c];delete this[c],a.setInputValue(c,l,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,u,l){let[f,p]=o[a];this.ngElementStrategy.setInputValue(f,u,p)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),i}function zy(e,t){if(e&1&&(G(0,"div",19)(1,"div",20),Fe(2),z(),G(3,"div",21)(4,"small",22),Fe(5),z()()()),e&2){let n=t.$implicit,r=t.index,o=mt(2);fe(),Se("ngClass",r<=o.currentIndex?"ts-main-bg text-white shadow":"bg-light text-muted border"),fe(),Fr(" ",n.ui," "),fe(2),Se("ngClass",r<=o.currentIndex?"ts-main-text fw-bold":"text-muted"),fe(),Fr(" ",o.getStepTitle(n.internal)," ")}}function Wy(e,t){e&1&&(G(0,"button",23),Fe(1," Siguiente "),z())}function qy(e,t){e&1&&(G(0,"button",23),Fe(1," Agendar "),z())}function Zy(e,t){if(e&1){let n=El();G(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4),gt("click",function(){Cr(n);let o=mt();return _r(o.cancel.emit())}),tu(),G(4,"svg",5),Or(5,"path",6),z()(),nu(),G(6,"h3",7),Fe(7," Agendar cita "),z(),G(8,"button",8),gt("click",function(){Cr(n);let o=mt();return _r(o.onCancel())}),Fe(9," Cancelar "),z()()(),G(10,"div",9)(11,"div",10)(12,"div",11),Or(13,"div",12),z(),G(14,"div",13),qt(15,zy,6,4,"div",14),z()(),G(16,"div",15)(17,"div",16)(18,"button",17),gt("click",function(){Cr(n);let o=mt();return _r(o.onPrevious())}),Fe(19," Anterior "),z(),qt(20,Wy,2,0,"button",18)(21,qy,2,0,"button",18),z()()()()}if(e&2){let n=mt();fe(13),us("width",(n.totalSteps>1?n.currentIndex/(n.totalSteps-1)*100:0)+"%"),fe(2),Se("ngForOf",n.displayedSteps),fe(3),Se("disabled",n.currentIndex===0),fe(2),Se("ngIf",!n.isLastStep()),fe(),Se("ngIf",n.isLastStep())}}var cn=class e{constructor(t,n){this.fb=t;this.elementRef=n;console.log("Constructor - appName inicial:",this.appName)}appName="";minPasswordLength=6;cancel=new H;onCancel(){console.log("\u274C Cancelar llamado"),this.emitEvent("cancel",{app:this.appName,cancelled:!0,timestamp:new Date().toISOString()})}emitEvent(t,n){let r=new CustomEvent(t,{detail:n,bubbles:!0,composed:!0});this.elementRef.nativeElement.dispatchEvent(r),console.log(`\u{1F4E4} Evento "${t}" emitido:`,n)}formSubmitted=new H;form;patientBasicForm;currentIndex=0;viewMode="form";ngOnInit(){console.log("ngOnInit - appName:",this.appName),this.form=this.fb.group({email:["",[Ze.required,Ze.email]],password:["",[Ze.required,Ze.minLength(this.minPasswordLength)]]}),this.currentIndex=0,this.buildPatientBasicForm(),this.patientBasicForm.get("autonomyCondition")?.valueChanges.subscribe(()=>{this.currentIndex>=this.displayedSteps.length&&(this.currentIndex=this.displayedSteps.length-1)})}buildPatientBasicForm(){this.patientBasicForm=this.fb.group({documentType:[""],documentNumber:[""],autonomyCondition:["autonomous"],firstName:[""],secondName:[""],firstSurname:[""],secondSurname:[""],birthDate:[""],issueDate:[""],gender:[""],maritalStatus:[""],email:[""],phone:[""],confirmEmail:[""],confirmPhone:[""],validateAutonomous:[!1],lockIdentity:[!1]})}submit(){console.log("Submit llamado"),this.form.valid?(console.log("Formulario v\xE1lido, emitiendo evento"),this.emitEvent("formSubmitted",{app:this.appName,data:this.form.value})):console.log("Formulario inv\xE1lido")}get currentStepInternal(){return this.displayedSteps[this.currentIndex]?.internal??1}isLastStep(){return this.currentIndex===this.totalSteps-1}onPrevious(){this.currentIndex>0&&this.currentIndex--}getStepTitle(t){let n;return(this.patientBasicData?.autonomyCondition||"autonomous")==="autonomous"?n={1:"Datos de la cita",2:"Datos b\xE1sicos del paciente",3:"Ubicaci\xF3n y residencia del paciente",6:"Aceptaci\xF3n de t\xE9rminos"}:n={1:"Datos de la cita",2:"Datos b\xE1sicos del paciente",3:"Ubicaci\xF3n y residencia del paciente",4:"Informaci\xF3n del tutor",5:"Ubicaci\xF3n y residencia del tutor",6:"Acompa\xF1ante y aceptaci\xF3n de t\xE9rminos"},n[t]??""}get patientBasicData(){return this.patientBasicForm?this.patientBasicForm.getRawValue():{documentType:"",documentNumber:"",autonomyCondition:"autonomous",firstName:"",secondName:"",firstSurname:"",secondSurname:"",birthDate:"",issueDate:"",gender:"",maritalStatus:""}}get displayedSteps(){return(this.patientBasicData?.autonomyCondition||"autonomous")==="autonomous"?[{ui:1,internal:1},{ui:2,internal:2},{ui:3,internal:3},{ui:4,internal:6}]:[{ui:1,internal:1},{ui:2,internal:2},{ui:3,internal:3},{ui:4,internal:4},{ui:5,internal:5},{ui:6,internal:6}]}get totalSteps(){return this.displayedSteps.length}static \u0275fac=function(n){return new(n||e)(W(ed),W(pt))};static \u0275cmp=pl({type:e,selectors:[["app-formulario-citas"]],inputs:{appName:"appName",minPasswordLength:"minPasswordLength"},outputs:{cancel:"cancel",formSubmitted:"formSubmitted"},decls:1,vars:1,consts:[["class","card shadow-sm",4,"ngIf"],[1,"card","shadow-sm"],[1,"card-header","text-white","ts-header"],[1,"d-flex","align-items-center","justify-content-between"],["type","button","aria-label","Volver",1,"btn","btn-link","p-0","me-2","ts-back-icon",3,"click"],["width","20","height","20","viewBox","0 0 24 24"],["d","M15 19l-7-7 7-7","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],[1,"h5","mb-0","fw-bold","flex-grow-1"],[1,"btn","btn-outline-light","btn-sm","ms-3",3,"click"],[1,"card-body"],[1,"d-none","d-sm-block","position-relative"],[1,"progress","position-absolute",2,"top","20px","height","2px","width","100%"],[1,"progress-bar","ts-main-bg"],[1,"d-flex","justify-content-between","position-relative",2,"z-index","10%"],["class","d-flex flex-column align-items-center",4,"ngFor","ngForOf"],[1,"card-footer","bg-white"],[1,"d-flex","justify-content-between"],[1,"btn","btn-outline-secondary",3,"click","disabled"],["class","btn",4,"ngIf"],[1,"d-flex","flex-column","align-items-center"],[1,"rounded-circle","d-flex","align-items-center","justify-content-center","fw-bold",2,"width","40px","height","40px","font-size","14px",3,"ngClass"],[1,"mt-2","text-center",2,"max-width","120px"],[1,"d-block","lh-sm",3,"ngClass"],[1,"btn"]],template:function(n,r){n&1&&qt(0,Zy,22,6,"div",0),n&2&&Se("ngIf",r.viewMode==="form")},dependencies:[ys,Vr,vs,Qr],styles:['@charset "UTF-8";.ts-main-bg[_ngcontent-%COMP%]{background-color:#08203c!important;border-color:#08203c!important}.ts-main-text[_ngcontent-%COMP%]{color:#08203c!important}.ts-header[_ngcontent-%COMP%]{background-color:#08203c}']})};var Kr=class e{constructor(t){this.injector=t;let n=td(cn,{injector:t});customElements.define("todosalud-webc-form-citas",n),console.log('\u2705 Web Component "todosalud-webc-form-citas" registrado')}ngDoBootstrap(){}static \u0275fac=function(n){return new(n||e)(C(J))};static \u0275mod=pe({type:e});static \u0275inj=de({imports:[Ns,Kt,Qr,cn]})};Ts().bootstrapModule(Kr).catch(e=>console.error(e));
1
+ // Loader para el Web Component
2
+ // Este archivo carga los polyfills y el main en el orden correcto
3
+ (function() {
4
+ const scripts = [
5
+ './todosalud-webc-form-citas-polyfills.js',
6
+ './todosalud-webc-form-citas-main.js'
7
+ ];
8
+
9
+ function loadScript(src) {
10
+ return new Promise((resolve, reject) => {
11
+ const script = document.createElement('script');
12
+ script.src = src;
13
+ script.onload = resolve;
14
+ script.onerror = reject;
15
+ document.head.appendChild(script);
16
+ });
17
+ }
18
+
19
+ async function loadAll() {
20
+ for (const src of scripts) {
21
+ await loadScript(src);
22
+ }
23
+ }
24
+
25
+ if (document.readyState === 'loading') {
26
+ document.addEventListener('DOMContentLoaded', loadAll);
27
+ } else {
28
+ loadAll();
29
+ }
30
+ })();