import{n as s,t as r}from"./chunk-B7bLvSFs.js";function w(e){return typeof e==`function`}function Tn(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 yo=Tn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
  `)}`:``,this.name=`UnsubscriptionError`,this.errors=n});function jt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var B=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(w(r))try{r()}catch(i){t=i instanceof yo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Wu(i)}catch(s){t=t??[],s instanceof yo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new yo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Wu(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)&&jt(n,t)}remove(t){let{_finalizers:n}=this;n&&jt(n,t),t instanceof e&&t._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var qs=B.EMPTY;function vo(e){return e instanceof B||e&&`closed`in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Wu(e){w(e)?e():e.unsubscribe()}var Ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Cn={setTimeout(e,t,...n){let{delegate:r}=Cn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Cn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Eo(e){Cn.setTimeout(()=>{let{onUnhandledError:t}=Ce;if(t)t(e);else throw e})}function Re(){}var zu=Gs(`C`,void 0,void 0);function Qu(e){return Gs(`E`,void 0,e)}function Yu(e){return Gs(`N`,e,void 0)}function Gs(e,t,n){return{kind:e,value:t,error:n}}var Vt=null;function wn(e){if(Ce.useDeprecatedSynchronousErrorHandling){let t=!Vt;if(t&&(Vt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Vt;if(Vt=null,n)throw r}}else e()}function Zu(e){Ce.useDeprecatedSynchronousErrorHandling&&Vt&&(Vt.errorThrown=!0,Vt.error=e)}var Ht=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,vo(t)&&t.add(this)):this.destination=Tv}static create(t,n,r){return new Oe(t,n,r)}next(t){this.isStopped?zs(Yu(t),this):this._next(t)}error(t){this.isStopped?zs(Qu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zs(zu,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()}}};var Iv=Function.prototype.bind;function Ws(e,t){return Iv.call(e,t)}var Qs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Io(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Io(r)}else Io(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Io(n)}}};var Oe=class extends Ht{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ws(t.next,i),error:t.error&&Ws(t.error,i),complete:t.complete&&Ws(t.complete,i)}):o=t}this.destination=new Qs(o)}};function Io(e){Ce.useDeprecatedSynchronousErrorHandling?Zu(e):Eo(e)}function Dv(e){throw e}function zs(e,t){let{onStoppedNotification:n}=Ce;n&&Cn.setTimeout(()=>n(e,t))}var Tv={closed:!0,next:Re,error:Dv,complete:Re};var bn=typeof Symbol==`function`&&Symbol.observable||`@@observable`;function se(e){return e}function Cv(...e){return Ys(e)}function Ys(e){return e.length===0?se:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=bv(t)?t:new Oe(t,n,r);return wn(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=Ku(n),new n((r,o)=>{let i=new Oe({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[bn](){return this}pipe(...t){return Ys(t)(this)}toPromise(t){return t=Ku(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};M.create=e=>new M(e);function Ku(e){var t;return(t=e??Ce.Promise)!==null&&t!==void 0?t:Promise}function wv(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function bv(e){return e&&e instanceof Ht||wv(e)&&vo(e)}var Ju=Tn(e=>function(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`});var te=class extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new Do(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new Ju}next(t){wn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){wn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){wn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?qs:(this.currentObservers=null,o.push(t),new B(()=>{this.currentObservers=null,jt(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new M;return t.source=this,t}};te.create=(e,t)=>new Do(e,t);var Do=class extends te{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:qs}};var dr=class extends te{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var To=class extends B{constructor(t,n){super()}schedule(t,n=0){return this}};var fr={setInterval(e,t,...n){let{delegate:r}=fr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=fr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var dt=class extends To{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return fr.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&fr.clearInterval(n)}execute(t,n){if(this.closed)return new Error(`executing a cancelled action`);this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error(`Scheduled action threw falsy error`)}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,jt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var pr={now(){return(pr.delegate||Date).now()},delegate:void 0};var Zs=(()=>{class e{constructor(n,r=e.now){this.schedulerActionCtor=n,this.now=r}schedule(n,r=0,o){return new this.schedulerActionCtor(this,n).schedule(o,r)}}return e.now=pr.now,e})();var ft=class extends Zs{constructor(t,n=Zs.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var we=new ft(dt);var Ks=we;function vN(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function ed(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(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Xu(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 Bt(e){return this instanceof Bt?(this.v=e,this):new Bt(e)}function td(e,t,n){if(!Symbol.asyncIterator)throw new TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),a(`next`),a(`throw`),a(`return`,s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(T,x){i.push([f,g,T,x])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof Bt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c(`next`,f)}function d(f){c(`throw`,f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function nd(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 Xu==`function`?Xu(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(l){i({value:l,done:a})},s)}}var _n=(e=>e&&typeof e.length==`number`&&typeof e!=`function`);function Co(e){return w(e?.then)}function wo(e){return w(e[bn])}function bo(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function _o(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 _v(){return typeof Symbol!=`function`||!Symbol.iterator?`@@iterator`:Symbol.iterator}var So=_v();function Mo(e){return w(e?.[So])}function No(e){return td(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Bt(n.read());if(o)return yield Bt(void 0);yield yield Bt(r)}}finally{n.releaseLock()}})}function xo(e){return w(e?.getReader)}function R(e){if(e instanceof M)return e;if(e!=null){if(wo(e))return Sv(e);if(_n(e))return Mv(e);if(Co(e))return Nv(e);if(bo(e))return rd(e);if(Mo(e))return xv(e);if(xo(e))return Av(e)}throw _o(e)}function Sv(e){return new M(t=>{let n=e[bn]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError(`Provided object does not correctly implement Symbol.observable`)})}function Mv(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Nv(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Eo)})}function xv(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function rd(e){return new M(t=>{Rv(e,t).catch(n=>t.error(n))})}function Av(e){return rd(No(e))}function Rv(e,t){var n,r,o,i;return ed(this,void 0,void 0,function*(){try{for(n=nd(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 pe(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 Js(e){return w(e?.lift)}function D(e){return t=>{if(Js(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 E(e,t,n,r,o){return new Xs(e,t,n,r,o)}var Xs=class extends Ht{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))}}};function Ao(e,t=0){return D((n,r)=>{n.subscribe(E(r,o=>pe(r,e,()=>r.next(o),t),()=>pe(r,e,()=>r.complete(),t),o=>pe(r,e,()=>r.error(o),t)))})}function Ro(e,t=0){return D((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function od(e,t){return R(e).pipe(Ro(t),Ao(t))}function id(e,t){return R(e).pipe(Ro(t),Ao(t))}function sd(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ad(e,t){return new M(n=>{let r;return pe(n,t,()=>{r=e[So](),pe(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)}),()=>w(r?.return)&&r.return()})}function Oo(e,t){if(!e)throw new Error(`Iterable cannot be null`);return new M(n=>{pe(n,t,()=>{let r=e[Symbol.asyncIterator]();pe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function cd(e,t){return Oo(No(e),t)}function ld(e,t){if(e!=null){if(wo(e))return od(e,t);if(_n(e))return sd(e,t);if(Co(e))return id(e,t);if(bo(e))return Oo(e,t);if(Mo(e))return ad(e,t);if(xo(e))return cd(e,t)}throw _o(e)}function He(e,t){return t?ld(e,t):R(e)}function ko(e){return e&&w(e.schedule)}function ea(e){return e[e.length-1]}function Sn(e){return w(ea(e))?e.pop():void 0}function Be(e){return ko(ea(e))?e.pop():void 0}function ud(e,t){return typeof ea(e)==`number`?e.pop():t}function Ov(...e){return He(e,Be(e))}var Je=Tn(e=>function(){e(this),this.name=`EmptyError`,this.message=`no elements in sequence`});function kv(e,t){let n=typeof t==`object`;return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Je)}})})}function Pv(e,t){let n=typeof t==`object`;return new Promise((r,o)=>{let i=new Oe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Je)}});e.subscribe(i)})}function be(e,t){return D((n,r)=>{let o=0;n.subscribe(E(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Lv}=Array,{getPrototypeOf:Fv,prototype:jv,keys:Vv}=Object;function Po(e){if(e.length===1){let t=e[0];if(Lv(t))return{args:t,keys:null};if(Hv(t)){let n=Vv(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Hv(e){return e&&typeof e==`object`&&Fv(e)===jv}var{isArray:Bv}=Array;function Uv(e,t){return Bv(t)?e(...t):e(t)}function Mn(e){return be(t=>Uv(e,t))}function Lo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function $v(...e){let t=Be(e),n=Sn(e),{args:r,keys:o}=Po(e);if(r.length===0)return He([],t);let i=new M(qv(r,t,o?s=>Lo(o,s):se));return n?i.pipe(Mn(n)):i}function qv(e,t,n=se){return r=>{dd(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)dd(t,()=>{let l=He(e[c],t),u=!1;l.subscribe(E(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function dd(e,t,n){e?pe(n,e,t):t()}function Gv(e){return new M(t=>{R(e()).subscribe(t)})}function Wv(...e){let t=Sn(e),{args:n,keys:r}=Po(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;R(n[u]).subscribe(E(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Lo(r,a):a),i.complete())}))}});return t?o.pipe(Mn(t)):o}function fd(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let T=!1;R(n(g,u++)).subscribe(E(t,x=>{o?.(x),i?f(x):t.next(x)},()=>{T=!0},void 0,()=>{if(T)try{for(l--;c.length&&l<r;){let x=c.shift();s?pe(t,s,()=>h(x)):h(x)}p()}catch(x){t.error(x)}}))};return e.subscribe(E(t,f,()=>{d=!0,p()})),()=>{a?.()}}function _e(e,t,n=Infinity){return w(t)?_e((r,o)=>be((i,s)=>t(r,i,o,s))(R(e(r,o))),n):(typeof t==`number`&&(n=t),D((r,o)=>fd(r,o,e,n)))}var zv=[`addListener`,`removeListener`];var Qv=[`addEventListener`,`removeEventListener`];var Yv=[`on`,`off`];function ta(e,t,n,r){if(w(n)&&(r=n,n=void 0),r)return ta(e,t,n).pipe(Mn(r));let[o,i]=Jv(e)?Qv.map(s=>a=>e[s](t,a,n)):Zv(e)?zv.map(pd(e,t)):Kv(e)?Yv.map(pd(e,t)):[];if(!o&&_n(e))return _e(s=>ta(s,t,n))(R(e));if(!o)throw new TypeError(`Invalid event target`);return new M(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function pd(e,t){return n=>r=>e[n](t,r)}function Zv(e){return w(e.addListener)&&w(e.removeListener)}function Kv(e){return w(e.on)&&w(e.off)}function Jv(e){return w(e.addEventListener)&&w(e.removeEventListener)}function hd(e){return e instanceof Date&&!isNaN(e)}function Xe(e=0,t,n=Ks){let r=-1;return t!=null&&(ko(t)?n=t:r=t),new M(o=>{let i=hd(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Xv(e=0,t=we){return e<0&&(e=0),Xe(e,e,t)}function Nn(e,t){return D((n,r)=>{let o=0;n.subscribe(E(r,i=>e.call(t,i,o++)&&r.next(i)))})}function na(e){return D((t,n)=>{let r=null,o=!1,i;r=t.subscribe(E(n,void 0,void 0,s=>{i=R(e(s,na(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function gd(e,t){return w(t)?_e(e,t,1):_e(e,1)}function md(e,t=we){return D((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(E(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var Ut=new M(e=>e.complete());function $t(e){return e<=0?()=>Ut:D((t,n)=>{let r=0;t.subscribe(E(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function hr(e=Infinity){return _e(se,e)}function yd(){return hr(1)}function xn(...e){return yd()(He(e,Be(e)))}function vd(){return D((e,t)=>{e.subscribe(E(t,Re))})}function Ed(e){return be(()=>e)}function ra(e,t){return t?n=>xn(t.pipe($t(1),vd()),n.pipe(ra(e))):_e((n,r)=>R(e(n,r)).pipe($t(1),Ed(n)))}function Id(e,t=we){let n=Xe(e,t);return ra(()=>n)}function Dd(e,t=se){return e=e??eE,D((n,r)=>{let o,i=!0;n.subscribe(E(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function eE(e,t){return e===t}function tE(...e){let t=e.length;if(t===0)throw new Error(`list of properties cannot be empty.`);return be(n=>{let r=n;for(let o=0;o<t;o++){let i=r?.[e[o]];if(typeof i<`u`)r=i;else return}return r})}function Fo(e={}){let{connector:t=()=>new te,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return D((g,T)=>{l++,!d&&!u&&p();let x=c=c??t();T.add(()=>{l--,l===0&&!d&&!u&&(a=oa(h,o))}),x.subscribe(T),!s&&l>0&&(s=new Oe({next:H=>x.next(H),error:H=>{d=!0,p(),a=oa(f,n,H),x.error(H)},complete:()=>{u=!0,p(),a=oa(f,r),x.complete()}}),R(g).subscribe(s))})(i)}}function oa(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Oe({next:()=>{r.unsubscribe(),e()}});return R(t(...n)).subscribe(r)}var gr=class extends te{constructor(t=Infinity,n=Infinity,r=pr){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===Infinity,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<Infinity&&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)}}};function Td(e,t,n){let r,o=!1;return e&&typeof e==`object`?{bufferSize:r=Infinity,windowTime:t=Infinity,refCount:o=!1,scheduler:n}=e:r=e??Infinity,Fo({connector:()=>new gr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Cd(e){return Nn((t,n)=>e<=n)}function nE(e){return D((t,n)=>{let r=!1,o=0;t.subscribe(E(n,i=>(r||(r=!e(i,o++)))&&n.next(i)))})}function wd(...e){let t=Be(e);return D((n,r)=>{(t?xn(e,n,t):xn(e,n)).subscribe(r)})}function bd(e,t){return D((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(E(r,c=>{o?.unsubscribe();let l=0,u=i++;R(e(c,u)).subscribe(o=E(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function _d(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?D((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(E(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):se}function Sd(e,t){return D((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,c=null,l=!1,u=()=>{c?.unsubscribe(),c=null,i&&(f(),l&&r.complete())},d=()=>{c=null,l&&r.complete()},p=h=>c=R(e(h)).subscribe(E(r,u,d)),f=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!l&&p(h)}};n.subscribe(E(r,h=>{s=!0,a=h,!(c&&!c.closed)&&(o?f():p(h))},()=>{l=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function Md(e,t=we,n){let r=Xe(e,t);return Sd(()=>r,n)}function rE(...e){let t=Sn(e);return D((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)R(e[c]).subscribe(E(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(se))&&(s=null))},Re));n.subscribe(E(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function Nd(){return D((e,t)=>{let n=null;e._refCount++;let r=E(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ia=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Js(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new B;let n=this.getSubject();t.add(this.source.subscribe(E(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=B.EMPTY)}return t}refCount(){return Nd()(this)}};var An={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=An;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new B(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=An;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=An;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var oE=1;var sa;var aa={};function xd(e){return e in aa?(delete aa[e],!0):!1}var{setImmediate:iE,clearImmediate:sE}={setImmediate(e){let t=oE++;return aa[t]=!0,sa||(sa=Promise.resolve()),sa.then(()=>xd(t)&&e()),t},clearImmediate(e){xd(e)}},mr={setImmediate(...e){let{delegate:t}=mr;return(t?.setImmediate||iE)(...e)},clearImmediate(e){let{delegate:t}=mr;return(t?.clearImmediate||sE)(e)},delegate:void 0};var jo=class extends dt{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=mr.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(mr.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Vo=class extends ft{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var aE=new Vo(jo);var Ho=class extends dt{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=An.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(An.cancelAnimationFrame(n),t._scheduled=void 0)}};var Bo=class extends ft{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var cE=new Bo(Ho);function lE(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function uE(e){return!!e&&(e instanceof M||w(e.lift)&&w(e.subscribe))}function dE(...e){let t=Be(e),n=ud(e,Infinity),r=e;return r.length?r.length===1?R(r[0]):hr(n)(He(r,t)):Ut}var fE=new M(Re);function Rd(e){return D((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(E(n,l=>{r=!0,o=l,i||R(e(l)).subscribe(i=E(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function pE(e,t=we){return Rd(()=>Xe(e,t))}function Uo(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(E(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function hE(e,t){return D(Uo(e,t,arguments.length>=2,!1,!0))}function ca(e){return D((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Od(e=gE){return D((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function gE(){return new Je}function kd(e){return D((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Pd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Nn((o,i)=>e(o,i,r)):se,$t(1),n?ca(t):Od(()=>new Je))}function mE(e){return e<=0?()=>Ut:D((t,n)=>{let r=[];t.subscribe(E(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function yE(){return D((e,t)=>{let n,r=!1;e.subscribe(E(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function vE(e,t){return D(Uo(e,t,arguments.length>=2,!0))}function Ld(e){return D((t,n)=>{R(e).subscribe(E(n,()=>n.complete(),Re)),!n.closed&&t.subscribe(n)})}function EE(e,t=!1){return D((n,r)=>{let o=0;n.subscribe(E(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}var ae=null;var $o=!1;var qt=1;var IE=null;var $=Symbol(`SIGNAL`);function I(e){let t=ae;return ae=e,t}function qo(){return ae}var pt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:`unknown`,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ht(e){if($o)throw new Error(``);if(ae===null)return;ae.consumerOnSignalRead(e);let t=ae.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ae.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ae.producers,n!==void 0&&n.producer===e)){ae.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=qt;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ae&&(!r||o.knownValidAtEpoch===qt))return;let i=kn(ae),s={producer:e,consumer:ae,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:qt,lastReadVersion:e.version,nextConsumer:void 0};ae.producersTail=s,t!==void 0?t.nextProducer=s:ae.producers=s,i&&Hd(e,s)}function Fd(){qt++}function zt(e){if(!(kn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===qt)){if(!e.producerMustRecompute(e)&&!On(e)){Rn(e);return}e.producerRecomputeValue(e),Rn(e)}}function la(e){if(e.consumers===void 0)return;let t=$o;$o=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||DE(r)}}finally{$o=t}}function ua(){return ae?.consumerAllowSignalWrites!==!1}function DE(e){e.dirty=!0,la(e),e.consumerMarkedDirty?.(e)}function Rn(e){e.dirty=!1,e.lastCleanEpoch=qt}function et(e){return e&&jd(e),I(e)}function jd(e){if(e.producersTail?.knownValidAtEpoch===qt){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function gt(e,t){I(t),e&&Vd(e)}function Vd(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(kn(e))do n=da(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function On(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(zt(n),r!==n.version))return!0}return!1}function mt(e){if(kn(e)){let t=e.producers;for(;t!==void 0;)t=da(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Hd(e,t){let n=e.consumersTail,r=kn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Hd(o.producer,o)}function da(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!kn(t)){let i=t.producers;for(;i!==void 0;)i=da(i)}return n}function kn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function yr(e){IE?.(e)}function vr(e,t){return Object.is(e,t)}function Er(e,t){let n=Object.create(TE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(zt(n),ht(n),n.value===Ue)throw n.error;return n.value};return r[$]=n,yr(n),r}var Gt=Symbol(`UNSET`);var Wt=Symbol(`COMPUTING`);var Ue=Symbol(`ERRORED`);var TE=s(r({},pt),{value:Gt,dirty:!0,error:null,equal:vr,kind:`computed`,producerMustRecompute(e){return e.value===Gt||e.value===Wt},producerRecomputeValue(e){if(e.value===Wt)throw new Error(``);let t=e.value;e.value=Wt;let n=et(e),r,o=!1;try{r=e.computation(),I(null),o=t!==Gt&&t!==Ue&&r!==Ue&&e.equal(t,r)}catch(i){r=Ue,e.error=i}finally{gt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function CE(){throw new Error}var Bd=CE;function Ud(e){Bd(e)}function fa(e){Bd=e}var wE=null;function pa(e,t){let n=Object.create(Ir);n.value=e,t!==void 0&&(n.equal=t);let r=()=>$d(n);return r[$]=n,yr(n),[r,s=>Qt(n,s),s=>Go(n,s)]}function $d(e){return ht(e),e.value}function Qt(e,t){ua()||Ud(e),e.equal(e.value,t)||(e.value=t,bE(e))}function Go(e,t){ua()||Ud(e),Qt(e,t(e.value))}var Ir=s(r({},pt),{equal:vr,value:void 0,kind:`signal`});function bE(e){e.version++,Fd(),la(e),wE?.(e)}var ha=s(r({},pt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:`effect`});function ga(e){if(e.dirty=!1,e.version>0&&!On(e))return;e.version++;let t=et(e);try{e.cleanup(),e.fn()}finally{gt(e,t)}}var ma;function Wo(){return ma}function $e(e){let t=ma;return ma=e,t}var qd=Symbol(`NotFound`);function Pn(e){return e===qd||e?.name===`ɵNotFound`}function ya(e,t,n){let r=Object.create(_E);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(zt(r),ht(r),r.value===Ue)throw r.error;return r.value};return i[$]=r,yr(r),i}function va(e,t){zt(e),Qt(e,t),Rn(e)}function Gd(e,t){if(zt(e),e.value===Ue)throw e.error;Go(e,t),Rn(e)}var _E=s(r({},pt),{value:Gt,dirty:!0,error:null,equal:vr,kind:`linkedSignal`,producerMustRecompute(e){return e.value===Gt||e.value===Wt},producerRecomputeValue(e){if(e.value===Wt)throw new Error(``);let t=e.value;e.value=Wt;let n=et(e),r,o=!1;try{let i=e.source(),s=t!==Gt&&t!==Ue,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,I(null),o=s&&r!==Ue&&e.equal(t,r)}catch(i){r=Ue,e.error=i}finally{gt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Wd(e){let t=I(null);try{return e()}finally{I(t)}}var Xo=`https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss`;var _=class extends Error{code;constructor(t,n){super(Sr(t,n)),this.code=t}};function SE(e){return`NG0${Math.abs(e)}`}function Sr(e,t){return`${SE(e)}${t?`: `+t:``}`}function F(e){for(let t in e)if(e[t]===F)return t;throw Error(``)}function Jd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Mr(e){if(typeof e==`string`)return e;if(Array.isArray(e))return`[${e.map(Mr).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(`
`);return r>=0?n.slice(0,r):n}function ei(e,t){return e?t?`${e} ${t}`:e:t||``}var ME=F({__forward_ref__:F});function ti(e){return e.__forward_ref__=ti,e}function Q(e){return Ra(e)?e():e}function Ra(e){return typeof e==`function`&&e.hasOwnProperty(ME)&&e.__forward_ref__===ti}function re(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Xd(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nr(e){return xE(e,ni)}function NE(e){return Nr(e)!==null}function xE(e,t){return e.hasOwnProperty(t)&&e[t]||null}function AE(e){return(e?.[ni]??null)||null}function Ia(e){return e&&e.hasOwnProperty(Qo)?e[Qo]:null}var ni=F({ɵprov:F});var Qo=F({ɵinj:F});var S=class{_desc;ngMetadataName=`InjectionToken`;ɵprov;constructor(t,n){this._desc=t,this.ɵprov=void 0,typeof n==`number`?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.ɵprov=re({token:this,providedIn:n.providedIn||`root`,factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Oa(e){return e&&!!e.ɵproviders}var xr=F({ɵcmp:F});var Ar=F({ɵdir:F});var ka=F({ɵpipe:F});var Pa=F({ɵmod:F});var Cr=F({ɵfac:F});var Xt=F({__NG_ELEMENT_ID__:F});var zd=F({__NG_ENV_ID__:F});function ef(e){return ri(e,`@NgModule`),e[Pa]||null}function Ge(e){return ri(e,`@Component`),e[xr]||null}function Rr(e){return ri(e,`@Directive`),e[Ar]||null}function La(e){return ri(e,`@Pipe`),e[ka]||null}function ri(e,t){if(e==null)throw new _(-919,!1)}function le(e){return typeof e==`string`?e:e==null?``:String(e)}var tf=F({ngErrorCode:F});var RE=F({ngErrorMessage:F});var OE=F({ngTokenPath:F});function Fa(e,t){return nf(``,-200,t)}function oi(e,t){throw new _(-201,!1)}function nf(e,t,n){let r=new _(t,e);return r[tf]=t,r[RE]=e,n&&(r[OE]=n),r}function kE(e){return e[tf]}var Da;function rf(){return Da}function ce(e){let t=Da;return Da=e,t}function ja(e,t,n){let r=Nr(e);if(r&&r.providedIn==`root`)return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;oi(e,``)}var We=globalThis;var Yt={};var LE=`__NG_DI_FLAG__`;var Ta=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Zt(n)||0;try{return this.injector.get(t,r&8?null:Yt,r)}catch(o){if(Pn(o))return o;throw o}}};function FE(e,t=0){let n=Wo();if(n===void 0)throw new _(-203,!1);if(n===null)return ja(e,void 0,t);{let r=jE(t),o=n.retrieve(e,r);if(Pn(o)){if(r.optional)return null;throw o}return o}}function qe(e,t=0){return(rf()||FE)(Q(e),t)}function v(e,t){return qe(e,Zt(t))}function Zt(e){return typeof e>`u`||typeof e==`number`?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function jE(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ca(e){let t=[];for(let n=0;n<e.length;n++){let r=Q(e[n]);if(Array.isArray(r)){if(r.length===0)throw new _(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=VE(a);typeof c==`number`?c===-1?o=a.token:i|=c:o=a}t.push(qe(o,i))}else t.push(qe(r))}return t}function VE(e){return e[LE]}function vt(e,t){return e.hasOwnProperty(Cr)?e[Cr]:null}function of(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function sf(e){return e.flat(Number.POSITIVE_INFINITY)}function ii(e,t){e.forEach(n=>Array.isArray(n)?ii(n,t):t(n))}function Va(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function af(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function cf(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;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}function kr(e,t,n){let r=Vn(e,t);return r>=0?e[r|1]=n:(r=~r,cf(e,r,t,n)),r}function si(e,t){let n=Vn(e,t);if(n>=0)return e[n|1]}function Vn(e,t){return HE(e,t,1)}function HE(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 It={};var ne=[];var Dt=new S(``);var Pr=new S(``,-1);var Ha=new S(``);var Fn=class{get(t,n=Yt){if(n===Yt){let o=nf(``,-201);throw o.name=`ɵNotFound`,o}return n}};function en(e){return{ɵproviders:e}}function lf(e){return en([{provide:Dt,multi:!0,useValue:e}])}function uf(...e){return{ɵproviders:ai(!0,e),ɵfromNgModule:!0}}function ai(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ii(t,s=>{let a=s;Yo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&df(o,i),n}function df(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ba(o,i=>{t(i,r)})}}function Yo(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=Ia(e),s=!i&&Ge(e);if(!i&&!s){let c=e.ngModule;if(i=Ia(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 l of c)Yo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ii(i.imports,u=>{Yo(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&df(l,t)}if(!a){let l=vt(o)||(()=>new o);t({provide:o,useFactory:l,deps:ne},o),t({provide:Ha,useValue:o,multi:!0},o),t({provide:Dt,useValue:()=>qe(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ba(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ba(e,t){for(let n of e)Oa(n)&&(n=n.ɵproviders),Array.isArray(n)?Ba(n,t):t(n)}var BE=F({provide:String,useValue:F});function ff(e){return e!==null&&typeof e==`object`&&BE in e}function UE(e){return!!(e&&e.useExisting)}function $E(e){return!!(e&&e.useFactory)}function Kt(e){return typeof e==`function`}function pf(e){return!!e.useClass}var Ua=new S(``);var zo={};var Qd={};var Ea;function Hn(){return Ea===void 0&&(Ea=new Fn),Ea}var ve=class{};var Jt=class extends ve{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,ba(t,s=>this.processProvider(s)),this.records.set(Pr,Ln(void 0,this)),o.has(`environment`)&&this.records.set(ve,Ln(void 0,this));let i=this.records.get(Ua);i!=null&&typeof i.value==`string`&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ha,ne,{self:!0}))}retrieve(t,n){let r=Zt(n)||0;try{return this.get(t,Yt,r)}catch(o){if(Pn(o))return o;throw o}}destroy(){Dr(this),this._destroyed=!0;let t=I(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(),I(t)}}onDestroy(t){return Dr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Dr(this);let n=$e(this),r=ce(void 0);try{return t()}finally{$e(n),ce(r)}}get(t,n=Yt,r){if(Dr(this),t.hasOwnProperty(zd))return t[zd](this);let o=Zt(r),s=$e(this),a=ce(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=QE(t)&&Nr(t);u&&this.injectableDefInScope(u)?l=Ln(wa(t),zo):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Hn():this.parent;return n=o&8&&n===Yt?null:n,c.get(t,n)}catch(c){let l=kE(c);throw l===-200||l===-201?new _(l,null):c}finally{ce(a),$e(s)}}resolveInjectorInitializers(){let t=I(null),n=$e(this),r=ce(void 0);try{let i=this.get(Dt,ne,{self:!0});for(let s of i)s()}finally{$e(n),ce(r),I(t)}}toString(){return`R3Injector[...]`}processProvider(t){t=Q(t);let n=Kt(t)?t:Q(t&&t.provide),r=GE(t);if(!Kt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ln(void 0,zo,!0),o.factory=()=>Ca(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=I(null);try{if(n.value===Qd)throw Fa(``);return n.value===zo&&(n.value=Qd,n.value=n.factory(void 0,r)),typeof n.value==`object`&&n.value&&zE(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Q(t.providedIn);return typeof n==`string`?n===`any`||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function wa(e){let t=Nr(e),n=t!==null?t.factory:vt(e);if(n!==null)return n;if(e instanceof S)throw new _(-204,!1);if(e instanceof Function)return qE(e);throw new _(-204,!1)}function qE(e){if(e.length>0)throw new _(-204,!1);let n=AE(e);return n!==null?()=>n.factory(e):()=>new e}function GE(e){if(ff(e))return Ln(void 0,e.useValue);return Ln($a(e),zo)}function $a(e,t,n){let r;if(Kt(e)){let o=Q(e);return vt(o)||wa(o)}else if(ff(e))r=()=>Q(e.useValue);else if($E(e))r=()=>e.useFactory(...Ca(e.deps||[]));else if(UE(e))r=(o,i)=>qe(Q(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Q(e&&(e.useClass||e.provide));if(WE(e))r=()=>new o(...Ca(e.deps));else return vt(o)||wa(o)}return r}function Dr(e){if(e.destroyed)throw new _(-205,!1)}function Ln(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function WE(e){return!!e.deps}function zE(e){return e!==null&&typeof e==`object`&&typeof e.ngOnDestroy==`function`}function QE(e){return typeof e==`function`||typeof e==`object`&&e.ngMetadataName===`InjectionToken`}function ba(e,t){for(let n of e)Array.isArray(n)?ba(n,t):n&&Oa(n)?ba(n.ɵproviders,t):t(n)}function ci(e,t){let n;e instanceof Jt?(Dr(e),n=e):n=new Ta(e);let o=$e(n),i=ce(void 0);try{return t()}finally{$e(o),ce(i)}}function hf(){return rf()!==void 0||Wo()!=null}var ue=0;var m=1;var b=2;var q=3;var Ne=4;var oe=5;var de=6;var Bn=7;var G=8;var X=9;var Pe=10;var O=11;var Un=12;var qa=13;var Tt=14;var ee=15;var Ct=16;var tn=17;var ze=18;var Qe=19;var Ga=20;var nt=21;var li=22;var Et=23;var Ie=24;var nn=25;var Ye=26;var A=27;var gf=1;var De=6;var it=7;var Lr=8;var rn=9;var j=10;function xe(e){return Array.isArray(e)&&typeof e[gf]==`object`}function he(e){return Array.isArray(e)&&e[gf]===!0}function Wa(e){return(e.flags&4)!==0}function Le(e){return e.componentOffset>-1}function $n(e){return(e.flags&1)===1}function Fe(e){return!!e.template}function on(e){return(e[b]&512)!==0}function Ze(e){return(e[b]&256)===256}var z=(function(e){return e[e.NONE=0]=`NONE`,e[e.HTML=1]=`HTML`,e[e.STYLE=2]=`STYLE`,e[e.SCRIPT=3]=`SCRIPT`,e[e.URL=4]=`URL`,e[e.RESOURCE_URL=5]=`RESOURCE_URL`,e[e.ATTRIBUTE_NO_BINDING=6]=`ATTRIBUTE_NO_BINDING`,e})(z||{});var Tr;var jn=`svg`;var ui=`math`;var mf=``;var Yd=`*`;var _a=()=>Object.create(null);function YE(){return Tr||(Tr=_a(),yt(z.HTML,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),yt(z.STYLE,void 0,[[`*`,[`style`]]]),yt(z.URL,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),yt(z.URL,ui,[[`*`,[`href`,`xlink:href`]]]),yt(z.RESOURCE_URL,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),yt(z.URL,jn,[[`a`,[`href`,`xlink:href`]]]),yt(z.ATTRIBUTE_NO_BINDING,jn,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),yt(z.ATTRIBUTE_NO_BINDING,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),Tr)}function yt(e,t,n){let r=t??mf;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),l=Tr[c]??=_a(),u=l[r]??=_a();u[s]=e}}}function yf(e,t,n){let o=YE()[t.toLowerCase()];if(!o)return z.NONE;let i=e.toLowerCase(),s;if(n){let a=o[n];a&&(s=a[i]??a[Yd])}if(s===void 0){let a=o[mf];a&&(s=a[i]??a[Yd])}return s??z.NONE}function J(e){for(;Array.isArray(e);)e=e[ue];return e}function di(e,t){return J(t[e])}function fe(e,t){return J(t[e.index])}function qn(e,t){return e.data[t]}function Gn(e,t){return e[t]}function Fr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ae(e,t){let n=t[e];return xe(n)?n:n[ue]}function vf(e){return(e[b]&4)===4}function fi(e){return(e[b]&128)===128}function Ef(e){return he(e[q])}function Te(e,t){return t==null?null:e[t]}function za(e){e[tn]=0}function pi(e){e[b]&1024||(e[b]|=1024,fi(e)&&sn(e))}function Qa(e,t){for(;e>0;)t=t[Tt],e--;return t}function jr(e){return!!(e[b]&9216||e[Ie]?.dirty)}function hi(e){e[Pe].changeDetectionScheduler?.notify(8),e[b]&64&&(e[b]|=1024),jr(e)&&sn(e)}function sn(e){e[Pe].changeDetectionScheduler?.notify(0);let t=rt(e);for(;t!==null&&!(t[b]&8192||(t[b]|=8192,!fi(t)));)t=rt(t)}function Wn(e,t){if(Ze(e))throw new _(911,!1);e[nt]===null&&(e[nt]=[]),e[nt].push(t)}function gi(e,t){if(e[nt]===null)return;let n=e[nt].indexOf(t);n!==-1&&e[nt].splice(n,1)}function rt(e){let t=e[q];return he(t)?t[q]:t}function Ya(e){return e[Bn]??=[]}function Za(e){return e.cleanup??=[]}function If(e,t,n,r){let o=Ya(t);o.push(n),e.firstCreatePass&&Za(e).push(r,o.length-1)}var N={lFrame:Of(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Sa=!1;function Df(){return N.lFrame.elementDepthCount}function Tf(){N.lFrame.elementDepthCount++}function Ka(){N.lFrame.elementDepthCount--}function mi(){return N.bindingsEnabled}function yi(){return N.skipHydrationRootTNode!==null}function Ja(e){return N.skipHydrationRootTNode===e}function Cf(e){N.skipHydrationRootTNode=e}function Xa(){N.skipHydrationRootTNode=null}function y(){return N.lFrame.lView}function P(){return N.lFrame.tView}function wf(e){return N.lFrame.contextLView=e,e[G]}function bf(e){return N.lFrame.contextLView=null,e}function U(){let e=ec();for(;e!==null&&e.type===64;)e=e.parent;return e}function ec(){return N.lFrame.currentTNode}function _f(){let e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function an(e,t){let n=N.lFrame;n.currentTNode=e,n.isParent=t}function tc(){return N.lFrame.isParent}function nc(){N.lFrame.isParent=!1}function rc(){return N.lFrame.contextLView}function oc(){return Sa}function wr(e){let t=Sa;return Sa=e,t}function wt(){let e=N.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vi(){return N.lFrame.bindingIndex}function Sf(e){return N.lFrame.bindingIndex=e}function je(){return N.lFrame.bindingIndex++}function zn(e){let t=N.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Mf(){return N.lFrame.inI18n}function Nf(e,t){let n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ei(t)}function xf(){return N.lFrame.currentDirectiveIndex}function Ei(e){N.lFrame.currentDirectiveIndex=e}function Af(e){let t=N.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ii(){return N.lFrame.currentQueryIndex}function Vr(e){N.lFrame.currentQueryIndex=e}function ZE(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[oe]:null}function ic(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=ZE(i),o===null||(i=i[Tt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=N.lFrame=Rf();return r.currentTNode=t,r.lView=e,!0}function Di(e){let t=Rf(),n=e[m];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Rf(){let e=N.lFrame,t=e===null?null:e.child;return t===null?Of(e):t}function Of(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 kf(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var sc=kf;function Ti(){let e=kf();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 Pf(e){return(N.lFrame.contextLView=Qa(e,N.lFrame.contextLView))[G]}function ge(){return N.lFrame.selectedIndex}function bt(e){N.lFrame.selectedIndex=e}function st(){let e=N.lFrame;return qn(e.tView,e.selectedIndex)}function Lf(){N.lFrame.currentNamespace=jn}function Ff(){KE()}function KE(){N.lFrame.currentNamespace=null}function Ci(){return N.lFrame.currentNamespace}var jf=!0;function wi(){return jf}function at(e){jf=e}function ac(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function Ma(e,t=null,n=null,r){let o=cc(e,t,n,r);return o.resolveInjectorInitializers(),o}function cc(e,t=null,n=null,r,o=new Set){return new Jt([n||ne,uf(e)],t||Hn(),null,o)}var Ee=class e{static THROW_IF_NOT_FOUND=Yt;static NULL=new Fn;static create(t,n){if(Array.isArray(t))return Ma({name:``},n,t,``);{let r=t.name??``;return Ma({name:r},t.parent,t.providers,r)}}static ɵprov=re({token:e,providedIn:`any`,factory:()=>qe(Pr)});static __NG_ELEMENT_ID__=-1};var _t=new S(``);var Se=class{static __NG_ELEMENT_ID__=JE;static __NG_ENV_ID__=t=>t};var Zo=class extends Se{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Ze(this._lView)}onDestroy(t){let n=this._lView;return Wn(n,t),()=>gi(n,t)}};function JE(){return new Zo(y())}var Vf=!1;var Hf=new S(``);var St=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new dr(!1);debugTaskTracker=v(Hf,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new M(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=re({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Na=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,hf()&&(this.destroyRef=v(Se,{optional:!0})??void 0,this.pendingTasks=v(St,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(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 B&&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)}})}}};var tt=Na;function Ko(...e){}function lc(e){let t,n;function r(){e=Ko;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 Bf(e){return queueMicrotask(()=>e()),()=>{e=Ko}}var uc=`isAngularZone`;var br=uc+`_ID`;var XE=0;var Me=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new tt(!1);onMicrotaskEmpty=new tt(!1);onStable=new tt(!1);onError=new tt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Vf}=t;if(typeof Zone>`u`)throw new _(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,nI(s)}static isInAngularZone(){return typeof Zone<`u`&&Zone.current.get(uc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(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,eI,Ko,Ko);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)}};var eI={};function dc(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 tI(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){lc(()=>{e.callbackScheduled=!1,xa(e),e.isCheckStableRunning=!0,dc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),xa(e)}function nI(e){let t=()=>{tI(e)},n=XE++;e._inner=e._inner.fork({name:`angular`,properties:{[uc]:!0,[br]:n,[br+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(rI(c))return r.invokeTask(i,s,a,c);try{return Zd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type===`eventTask`||e.shouldCoalesceRunChangeDetection)&&t(),Kd(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Zd(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!oI(c)&&t(),Kd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change==`microTask`?(e._hasPendingMicrotasks=s.microTask,xa(e),dc(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 xa(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Zd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kd(e){e._nesting--,dc(e)}var _r=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new tt;onMicrotaskEmpty=new tt;onStable=new tt;onError=new tt;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 rI(e){return Uf(e,`__ignore_ng_zone__`)}function oI(e){return Uf(e,`__scheduler_tick__`)}function Uf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ot=class{_console=console;handleError(t){this._console.error(`ERROR`,t)}};var Mt=new S(``,{factory:()=>{let e=v(Me),t=v(ve),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ot),n.handleError(r))})}}});var $f={provide:Dt,useValue:()=>{v(ot,{optional:!0})},multi:!0};var iI=new S(``,{factory:()=>{let e=v(_t).defaultView;if(!e)return;let t=v(Mt),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener(`unhandledrejection`,n),e.addEventListener(`error`,r)};typeof Zone<`u`?Zone.root.run(o):o(),v(Se).onDestroy(()=>{e.removeEventListener(`error`,r),e.removeEventListener(`unhandledrejection`,n)})}});function sI(){return en([lf(()=>{v(iI)})])}function bi(e,t){let[n,r,o]=pa(e,t?.equal),i=n;i[$];return i.set=r,i.update=o,i.asReadonly=_i.bind(i),i}function _i(){let e=this[$];if(e.readonlyFn===void 0){let t=()=>this();t[$]=e,e.readonlyFn=t}return e.readonlyFn}var Nt=new S(``,{factory:()=>aI});var aI=`ng`;var qf=new S(``);var cI=new S(``,{providedIn:`platform`,factory:()=>`unknown`});var lI=new S(``);var uI=new S(``,{factory:()=>v(_t).body?.querySelector(`[ngCspNonce]`)?.getAttribute(`ngCspNonce`)||null});var Gf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};var dI=new S(``,{factory:()=>Gf});var Qn=(()=>{class e{static ɵprov=re({token:e,providedIn:`root`,factory:()=>{let n=new e;return n.store=Wf(v(_t),v(Nt)),n}});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn(`Exception in onSerialize callback: `,r)}return JSON.stringify(this.store).replace(/</g,`\\u003C`).replace(/\//g,`\\u002F`)}}return e})();function Wf(e,t){let n=e.getElementById(t+`-state`);if(n?.tagName===`SCRIPT`&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn(`Exception while restoring TransferState for app `+t,r)}return{}}var Yn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=fI}return e})();function fI(){return new Yn(y(),U())}var ke=class{};var Hr=new S(``,{factory:()=>!0});var fc=new S(``);var Si=(()=>{class e{static ɵprov=re({token:e,providedIn:`root`,factory:()=>new Aa})}return e})();var Aa=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}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)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};var Jo=class{[$];constructor(t){this[$]=t}destroy(){this[$].destroy()}};function zf(e,t){let n=t?.injector??v(Ee),r=t?.manualCleanup!==!0?n.get(Se):null,o,i=n.get(Yn,null,{optional:!0}),s=n.get(ke);return i!==null?(o=gI(i.view,s,e),r instanceof Zo&&r._lView===i.view&&(r=null)):o=mI(e,n.get(Si),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Jo(o)}var Qf=s(r({},ha),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=wr(!1);try{ga(this)}finally{wr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}});var pI=s(r({},Qf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(mt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}});var hI=s(r({},Qf),{consumerMarkedDirty(){this.view[b]|=8192,sn(this.view),this.notifier.notify(13)},destroy(){if(mt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Et]?.delete(this)}});function gI(e,t,n){let r=Object.create(hI);return r.view=e,r.zone=typeof Zone<`u`?Zone.current:null,r.notifier=t,r.fn=Yf(r,n),e[Et]??=new Set,e[Et].add(r),r.consumerMarkedDirty(r),r}function mI(e,t,n){let r=Object.create(pI);return r.fn=Yf(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<`u`?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Yf(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Mi(e){return typeof e==`function`&&e[$]!==void 0}function Ni(e){return Mi(e)&&typeof e.set==`function`}var xi=(()=>{class e{internalPendingTasks=v(St);scheduler=v(ke);errorHandler=v(Mt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static ɵprov=re({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Ai={JSACTION:`jsaction`};function oo(e){return{toString:e}.toString()}var k=(function(e){return e[e.TemplateCreateStart=0]=`TemplateCreateStart`,e[e.TemplateCreateEnd=1]=`TemplateCreateEnd`,e[e.TemplateUpdateStart=2]=`TemplateUpdateStart`,e[e.TemplateUpdateEnd=3]=`TemplateUpdateEnd`,e[e.LifecycleHookStart=4]=`LifecycleHookStart`,e[e.LifecycleHookEnd=5]=`LifecycleHookEnd`,e[e.OutputStart=6]=`OutputStart`,e[e.OutputEnd=7]=`OutputEnd`,e[e.BootstrapApplicationStart=8]=`BootstrapApplicationStart`,e[e.BootstrapApplicationEnd=9]=`BootstrapApplicationEnd`,e[e.BootstrapComponentStart=10]=`BootstrapComponentStart`,e[e.BootstrapComponentEnd=11]=`BootstrapComponentEnd`,e[e.ChangeDetectionStart=12]=`ChangeDetectionStart`,e[e.ChangeDetectionEnd=13]=`ChangeDetectionEnd`,e[e.ChangeDetectionSyncStart=14]=`ChangeDetectionSyncStart`,e[e.ChangeDetectionSyncEnd=15]=`ChangeDetectionSyncEnd`,e[e.AfterRenderHooksStart=16]=`AfterRenderHooksStart`,e[e.AfterRenderHooksEnd=17]=`AfterRenderHooksEnd`,e[e.ComponentStart=18]=`ComponentStart`,e[e.ComponentEnd=19]=`ComponentEnd`,e[e.DeferBlockStateStart=20]=`DeferBlockStateStart`,e[e.DeferBlockStateEnd=21]=`DeferBlockStateEnd`,e[e.DynamicComponentStart=22]=`DynamicComponentStart`,e[e.DynamicComponentEnd=23]=`DynamicComponentEnd`,e[e.HostBindingsUpdateStart=24]=`HostBindingsUpdateStart`,e[e.HostBindingsUpdateEnd=25]=`HostBindingsUpdateEnd`,e})(k||{});var $i=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Qp(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Yp=null;var _I=(()=>{Yp=Zf;let e=()=>Zf;return e.ngInherit=!0,e})();function SI(){return Yp}function Zf(e){return e.type.prototype.ngOnChanges&&(e.setInput=NI),MI}function MI(){let e=Zp(this),t=e?.current;if(t){let n=e.previous;if(n===It)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function NI(e,t,n,r,o){let i=this.declaredInputs[r],s=Zp(e)||xI(e,{previous:It,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new $i(l&&l.currentValue,n,c===It),Qp(e,t,o,n)}var _c=`__ngSimpleChanges__`;function Zp(e){return Object.hasOwn(e,_c)&&e[_c]||null}function xI(e,t){return e[_c]=t}var Kf=[];var L=function(e,t=null,n){for(let r=0;r<Kf.length;r++){let o=Kf[r];o(e,t,n)}};function AI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=SI()(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 Kp(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=e.data[n].type.prototype;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Fi(e,t,n){Jp(e,t,3,n)}function ji(e,t,n,r){(e[b]&3)===n&&Jp(e,t,n,r)}function pc(e,t){let n=e[b];(n&3)===t&&(n&=16383,n+=1,e[b]=n)}function Jp(e,t,n,r){let o=r!==void 0?e[tn]&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[tn]+=65536),(a<i||i==-1)&&(RI(e,n,t,c),e[tn]=(e[tn]&4294901760)+c+2),c++}function Jf(e,t){L(k.LifecycleHookStart,e,t);let n=I(null);try{t.call(e)}finally{I(n),L(k.LifecycleHookEnd,e,t)}}function RI(e,t,n,r){let o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[b]>>14<e[tn]>>16&&(e[b]&3)===t&&(e[b]+=16384,Jf(a,i)):Jf(a,i)}var Kn=-1;var dn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function OI(e){return(e.flags&8)!==0}function kI(e){return(e.flags&16)!==0}function PI(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];LI(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Xp(e){return e===3||e===4||e===6}function LI(e){return e.charCodeAt(0)===64}function Xn(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?Xf(e,n,o,null,t[++r]):Xf(e,n,o,null,null))}}return e}function Xf(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 eh(e){return e!==Kn}function qi(e){return e&32767}function FI(e){return e>>16}function Gi(e,t){let n=FI(e),r=t;for(;n>0;)r=r[Tt],n--;return r}var Sc=!0;function Wi(e){let t=Sc;return Sc=e,t}var th=255;var nh=5;var VI=0;var Ke={};function HI(e,t,n){let r;typeof n==`string`?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xt)&&(r=n[Xt]),r??=n[Xt]=VI++;let o=r&th,i=1<<o;t.data[e+(o>>nh)]|=i}function zi(e,t){let n=rh(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,hc(r.data,e),hc(t,null),hc(r.blueprint,null));let o=hl(e,t),i=e.injectorIndex;if(eh(o)){let s=qi(o),a=Gi(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function hc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function hl(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=ch(o),r===null)return Kn;if(n++,o=o[Tt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Kn}function Mc(e,t,n){HI(e,t,n)}function BI(e,t){if(t===`class`)return e.classes;if(t===`style`)return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Xp(i))break;if(i===0)o=o+2;else if(typeof i==`number`)for(o++;o<r&&typeof n[o]==`string`;)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function oh(e,t,n){if(n&8||e!==void 0)return e;oi(t,`NodeInjector`)}function ih(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[X],i=ce(void 0);try{return o?o.get(t,r,n&8):ja(t,r,n&8)}finally{ce(i)}}return oh(r,t,n)}function sh(e,t,n,r=0,o){if(e!==null){if(t[b]&2048&&!(r&2)){let s=WI(e,t,n,r,Ke);if(s!==Ke)return s}let i=ah(e,t,n,r,Ke);if(i!==Ke)return i}return ih(t,n,r,o)}function ah(e,t,n,r,o){let i=$I(n);if(typeof i==`function`){if(!ic(t,e,r))return r&1?oh(o,n,r):ih(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))oi(n);else return s}finally{sc()}}else if(typeof i==`number`){let s=null,a=rh(e,t),c=Kn,l=r&1?t[ee][oe]:null;for((a===-1||r&4)&&(c=a===-1?hl(e,t):t[a+8],c===Kn||!tp(r,!1)?a=-1:(s=t[m],a=qi(c),t=Gi(c,t)));a!==-1;){let u=t[m];if(ep(i,a,u.data)){let d=UI(a,t,n,s,r,l);if(d!==Ke)return d}c=t[a+8],c!==Kn&&tp(r,t[m].data[a+8]===l)&&ep(i,a,t)?(s=u,a=qi(c),t=Gi(c,t)):a=-1}}return o}function UI(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],u=Vi(a,s,n,r==null?Le(a)&&Sc:r!=s&&(a.type&3)!==0,o&1&&i===a);return u!==null?Wr(t,s,u,a,o):Ke}function Vi(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Fe(f)&&f.type===n)return c}return null}function Wr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof dn){let a=i;if(a.resolving)throw Fa(``);let c=Wi(a.canSeeViewProviders);a.resolving=!0;s[n].type||s[n];let d=a.injectImpl?ce(a.injectImpl):null;ic(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&AI(n,s[n],t)}finally{d!==null&&ce(d),Wi(c),a.resolving=!1,sc()}}return i}function $I(e){if(typeof e==`string`)return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Xt)?e[Xt]:void 0;return typeof t==`number`?t>=0?t&th:qI:t}function ep(e,t,n){let r=1<<e;return!!(n[t+(e>>nh)]&r)}function tp(e,t){return!(e&2)&&!(e&1&&t)}var Rt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return sh(this._tNode,this._lView,t,Zt(r),n)}};function qI(){return new Rt(U(),y())}function GI(e){return oo(()=>{let t=e.prototype.constructor,n=t[Cr]||Nc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Cr]||Nc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Nc(e){return Ra(e)?()=>{let t=Nc(Q(e));return t&&t()}:vt(e)}function WI(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[b]&2048&&!on(s);){let a=ah(i,s,n,r|2,Ke);if(a!==Ke)return a;let c=i.parent;if(!c){let l=s[Ga];if(l){let u=l.get(n,Ke,r&-5);if(u!==Ke)return u}c=ch(s),s=s[Tt]}i=c}return o}function ch(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[oe]:null}function lh(e){return BI(U(),e)}function io(e){return{token:e.token,providedIn:e.autoProvided===!1?null:`root`,factory:e.factory,value:void 0}}function zI(){return ir(U(),y())}function ir(e,t){return new so(fe(e,t))}var so=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=zI}return e})();function uh(e){return e instanceof so?e.nativeElement:e}function QI(){return this._results[Symbol.iterator]()}var Qi=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new te}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=sf(t);(this._changesDetected=!of(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=QI};var dh=`ngSkipHydration`;var YI=`ngskiphydration`;function fh(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r==`number`)return!1;if(typeof r==`string`&&r.toLowerCase()===YI)return!0}return!1}function ph(e){return e.hasAttribute(dh)}function Yi(e){return(e.flags&128)===128}function hh(e){if(Yi(e))return!0;let t=e.parent;for(;t;){if(Yi(e)||fh(t))return!0;t=t.parent}return!1}var gl=(function(e){return e[e.OnPush=0]=`OnPush`,e[e.Eager=1]=`Eager`,e[e.Default=1]=`Default`,e})(gl||{});var gh=new Map;var ZI=0;function KI(){return ZI++}function JI(e){gh.set(e[Qe],e)}function xc(e){gh.delete(e[Qe])}var np=`__ngContext__`;function er(e,t){xe(t)?(e[np]=t[Qe],JI(t)):e[np]=t}function mh(e){return vh(e[Un])}function yh(e){return vh(e[Ne])}function vh(e){for(;e!==null&&!he(e);)e=e[Ne];return e}var Ac;function XI(e){Ac=e}function ls(){if(Ac!==void 0)return Ac;if(typeof document<`u`)return document;throw new _(210,!1)}var Eh=`h`;var Ih=`b`;var eD=`f`;var tD=`n`;var Dh=`e`;var Th=`t`;var us=`c`;var ml=`x`;var zr=`r`;var Ch=`i`;var wh=`n`;var yl=`d`;var vl=`di`;var El=`s`;var bh=`p`;var ao=new S(``);var _h=!1;var Il=new S(``,{factory:()=>_h});var Dl=new S(``);var Sh=!1;var Mh=new S(``,{factory:()=>[]});var Tl=new S(``);var Cl=new S(``,{factory:()=>new Map});var nD=new S(``);var xt=new WeakMap;var Ri=new Map;var Rc=class{callbacks=new Set;listener=()=>{for(let t of this.callbacks)t()}};function rD(e){let t=Nh(e);return new IntersectionObserver(n=>{for(let r of n)r.isIntersecting&&xt.has(r.target)&&xt.get(r.target)?.get(t)?.listener()},e)}function oD(e,t,n,r){let o=Nh(r),i=xt.get(e)?.get(o);Ri.has(o)||Ri.set(o,{observer:n(r),count:0});let s=Ri.get(o);if(!i){i=new Rc,s.observer.observe(e);let a=xt.get(e);a?a.set(o,i):(a=new Map,xt.set(e,a)),a.set(o,i),s.count++}return i.callbacks.add(t),()=>{if(xt.get(e)?.has(o)){if(i.callbacks.delete(t),i.callbacks.size===0){s.observer.unobserve(e),s.count--;let a=xt.get(e);a&&(a.delete(o),a.size===0&&xt.delete(e))}s.count===0&&(s.observer.disconnect(),Ri.delete(o))}}}function Nh(e){return e?`${e.rootMargin}/${typeof e.threshold==`number`?e.threshold:e.threshold?.join(`
`)}`:``}var co=`ngb`;var xh=(e,t,n)=>{let r=e,o=r.__jsaction_fns??new Map,i=o.get(t)??[];i.push(n),o.set(t,i),r.__jsaction_fns=o};var Ah=(e,t)=>{let n=e,r=n.getAttribute(co)??``,o=t.get(r)??new Set;o.has(n)||o.add(n),t.set(r,o)};var Rh=e=>{e.removeAttribute(Ai.JSACTION),e.removeAttribute(co),e.__jsaction_fns=void 0};var Oh=new S(``,{factory:()=>({})});var Oc=new WeakMap;function iD(e,t){if(e==null||typeof e!=`object`)return;let n=Oc.get(e);n||(n=new WeakSet,Oc.set(e,n)),n.add(t)}function wl(e,t){let n=t?.__jsaction_fns?.get(e.type);if(!(!n||!t?.isConnected)&&!(t&&Oc.get(e)?.has(t)))for(let r of n)r(e)}var kc=new Map;function kh(e,t){return kc.set(e,t),()=>kc.delete(e)}var rp=!1;var Ph=(e,t,n,r)=>{};function sD(e,t,n,r){Ph(e,t,n,r)}function Lh(){rp||(Ph=(e,t,n,r)=>{let o=e[X].get(Nt);kc.get(o)?.(t,n,r)},rp=!0)}var sr=new S(``);function lo(e){return(e.flags&32)===32}var bl=`__nghData__`;var Fh=`__nghDeferData__`;var Hi=`ngh`;var jh=`nghm`;var Vh=()=>null;function lD(e,t,n=!1){let r=e.getAttribute(Hi);if(r==null)return null;let[o,i]=r.split(`|`);if(r=n?i:o,!r)return null;let s=i?`|${i}`:``,a=n?o:s,c={};if(r!==``){let u=t.get(Qn,null,{optional:!0});u!==null&&(c=u.get(bl,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,ds(l,0,e.nextSibling)),a?e.setAttribute(Hi,a):e.removeAttribute(Hi),l}function Hh(){Vh=lD}function Bh(e,t,n=!1){return Vh(e,t,n)}function Uh(e){let t=e._lView;return t[m].type===2?null:(on(t)&&(t=t[A]),t)}function uD(e){return e.textContent?.replace(/\s/gm,``)}function dD(e){let t=ls(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=uD(i);return s===`ngetn`||s===`ngtns`?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent===`ngetn`?i.replaceWith(t.createTextNode(``)):i.remove()}function ds(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Pc(e,t){return e.segmentHeads?.[t]??null}function fs(e){return e.get(Tl,!1,{optional:!0})}function fD(e,t){let n=e.data,r=n[Dh]?.[t]??null;return r===null&&n[us]?.[t]&&(r=_l(e,t)),r}function $h(e,t){return e.data[us]?.[t]??null}function _l(e,t){let n=$h(e,t)??[],r=0;for(let o of n)r+=o[zr]*(o[ml]??1);return r}function pD(e){if(typeof e.disconnectedNodes>`u`){let t=e.data[yl];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function qh(e,t){if(typeof e.disconnectedNodes>`u`){let n=e.data[yl];e.disconnectedNodes=n?new Set(n):null}return!!pD(e)?.has(t)}function ps(e,t){let n=e[de];return n!==null&&!yi()&&!lo(t)&&!qh(n,t.index-A)}function hD(e,t){let n=t.get(sr),o=t.get(Qn).get(Fh,{}),i=!1,s=e,a=null,c=[];for(;!i&&s;){i=n.has(s);let l=n.hydrating.get(s);if(a===null&&l!=null){a=l.promise;break}c.unshift(s),s=o[s][bh]}return{parentBlockPromise:a,hydrationQueue:c}}function gc(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===jh}function op(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function Gh(e){for(let r of e.body.childNodes)if(gc(r))return;if(gc(op(e.body.previousSibling)))return;if(!gc(op(e.head.lastChild)))throw new _(-507,!1)}function Wh(e,t){let n=e.contentQueries;if(n!==null){let r=I(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];Vr(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function Lc(e,t,n){Vr(0);let r=I(null);try{t(e,n)}finally{I(r)}}function Sl(e,t,n){if(Wa(t)){let r=I(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{I(r)}}}var fn=(function(e){return e[e.Emulated=0]=`Emulated`,e[e.None=2]=`None`,e[e.ShadowDom=3]=`ShadowDom`,e[e.ExperimentalIsolatedShadowDom=4]=`ExperimentalIsolatedShadowDom`,e})(fn||{});var gD={"http://www.w3.org/2000/svg":jn,"http://www.w3.org/1998/Math/MathML":ui};var Oi;function zh(){if(Oi===void 0&&(Oi=null,We.trustedTypes))try{Oi=We.trustedTypes.createPolicy(`angular`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oi}function hs(e){return zh()?.createHTML(e)||e}function mD(e){return zh()?.createScriptURL(e)||e}var ki;function Qh(){if(ki===void 0&&(ki=null,We.trustedTypes))try{ki=We.trustedTypes.createPolicy(`angular#unsafe-bypass`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ki}function ip(e){return Qh()?.createHTML(e)||e}function sp(e){return Qh()?.createScriptURL(e)||e}var ct=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xo})`}};var Fc=class extends ct{getTypeName(){return`HTML`}};var jc=class extends ct{getTypeName(){return`Style`}};var Vc=class extends ct{getTypeName(){return`Script`}};var Hc=class extends ct{getTypeName(){return`URL`}};var Bc=class extends ct{getTypeName(){return`ResourceURL`}};function Ot(e){return e instanceof ct?e.changingThisBreaksApplicationSecurity:e}function gs(e,t){let n=Yh(e);if(n!=null&&n!==t){if(n===`ResourceURL`&&t===`URL`)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Xo})`)}return n===t}function Yh(e){return e instanceof ct&&e.getTypeName()||null}function yD(e){return new Fc(e)}function vD(e){return new jc(e)}function ED(e){return new Vc(e)}function ID(e){return new Hc(e)}function DD(e){return new Bc(e)}function TD(e){let t=new $c(e);return CD()?new Uc(t):t}var Uc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=`<body><remove></remove>`+t;try{let n=new window.DOMParser().parseFromString(hs(t),`text/html`).body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}};var $c=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(`sanitization-inert`)}getInertBodyElement(t){let n=this.inertDocument.createElement(`template`);return n.innerHTML=hs(t),n}};function CD(){try{return!!new window.DOMParser().parseFromString(hs(``),`text/html`)}catch{return!1}}var wD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ml(e){return e=String(e),e.match(wD)?e:`unsafe:`+e}function lt(e){let t={};for(let n of e.split(`,`))t[n]=!0;return t}function uo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Zh=lt(`area,br,col,hr,img,wbr`);var Kh=lt(`colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr`);var Jh=lt(`rp,rt`);var bD=uo(Jh,Kh);var ap=uo(Zh,uo(Kh,lt(`address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul`)),uo(Jh,lt(`a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video`)),bD);var Xh=lt(`background,cite,href,itemtype,longdesc,poster,src,xlink:href`);var xD=uo(Xh,lt(`abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width`),lt(`aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext`));var AD=lt(`script,style,template`);var qc=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=kD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=OD(n);if(i){n=i;break}n=o.pop()}}return this.buf.join(``)}startElement(t){let n=cp(t).toLowerCase();if(!ap.hasOwnProperty(n))return this.sanitizedSomething=!0,!AD.hasOwnProperty(n);this.buf.push(`<`),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!xD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Xh[a]&&(c=Ml(c)),this.buf.push(` `,s,`="`,lp(c),`"`)}return this.buf.push(`>`),!0}endElement(t){let n=cp(t).toLowerCase();ap.hasOwnProperty(n)&&!Zh.hasOwnProperty(n)&&(this.buf.push(`</`),this.buf.push(n),this.buf.push(`>`))}chars(t){this.buf.push(lp(t))}};function RD(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function OD(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw eg(t);return t}function kD(e){let t=e.firstChild;if(t&&RD(e,t))throw eg(t);return t}function cp(e){let t=e.nodeName;return typeof t==`string`?t:`FORM`}function eg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var PD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var LD=/([^\#-~ |!])/g;function lp(e){return e.replace(/&/g,`&amp;`).replace(PD,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return`&#`+((n-55296)*1024+(r-56320)+65536)+`;`}).replace(LD,function(t){return`&#`+t.charCodeAt(0)+`;`}).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}var Pi;function tg(e,t){let n=null;try{Pi=Pi||TD(e);let r=t?String(t):``;n=Pi.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error(`Failed to sanitize html because the input is unstable`);o--,r=i,i=n.innerHTML,n=Pi.getInertBodyElement(r)}while(r!==i);return hs(new qc().sanitizeChildren(up(n)||n))}finally{if(n){let r=up(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function up(e){return`content`in e&&FD(e)?e.content:null}function FD(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName===`TEMPLATE`}var jD=/^>|^->|<!--|-->|--!>|<!-$/g;var VD=/(<|>)/g;var HD=`​$1​`;function BD(e){return e.replace(jD,t=>t.replace(VD,HD))}function ng(e,t){return e.createText(t)}function UD(e,t,n){e.setValue(t,n)}function rg(e,t){return e.createComment(BD(t))}function Nl(e,t,n){return e.createElement(t,n)}function cn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function og(e,t,n){e.appendChild(t,n)}function dp(e,t,n,r,o){r!==null?cn(e,t,n,r,o):og(e,t,n)}function xl(e,t,n,r){e.removeChild(null,t,n,r)}function ig(e){e.textContent=``}function $D(e,t,n){e.setAttribute(t,`style`,n)}function qD(e,t,n){n===``?e.removeAttribute(t,`class`):e.setAttribute(t,`class`,n)}function sg(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&PI(e,t,r),o!==null&&qD(e,t,o),i!==null&&$D(e,t,i)}function GD(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function WD(e,t,n){if(t!==void 0&&n!==void 0&&lg(t,n)!==z.HTML)return e;let r=Al();return r?ip(r.sanitize(z.HTML,e)||``):gs(e,`HTML`)?ip(Ot(e)):tg(ls(),le(e))}function ag(e){let t=Al();return t?t.sanitize(z.URL,e)||``:gs(e,`URL`)?Ot(e):Ml(le(e))}function cg(e){let t=Al();if(t)return sp(t.sanitize(z.RESOURCE_URL,e)||``);if(gs(e,`ResourceURL`))return sp(Ot(e));throw new _(904,!1)}function zD(e){return mD(e[0])}function QD(e,t){switch(lg(e,t)){case z.RESOURCE_URL:return cg;case z.URL:return ag;default:return null}}function YD(e,t,n){return QD(t,n)?.(e)??e}function Al(){let e=y();return e&&e[Pe].sanitizer}function lg(e,t){let[n,r]=ZD(e);return yf(r,t,n)}function ZD(e){e=e.toLowerCase();let t=GD(e,!1);if(t[0])return t;let r=ge()===-1?null:st(),o=r?.namespace;if(e===`#host`&&r?.type===2){let i=fe(r,y());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&gD[s]}}return[o,e]}function KD(e){return e.ownerDocument}function ug(e){return e.ownerDocument.body}function JD(e){return e instanceof Function?e():e}function XD(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 dg=`ng-template`;function eT(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]==`string`;o+=2)if(t[o]===`class`&&XD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Rl(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 Rl(e){return e.type===4&&e.value!==dg}function tT(e,t,n){return t===(e.type===4&&!n?dg:e.value)}function nT(e,t,n){let r=4,o=e.attrs,i=o!==null?iT(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c==`number`){if(!s&&!Ve(r)&&!Ve(c))return!1;if(s&&Ve(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==``&&!tT(e,c,n)||c===``&&t.length===1){if(Ve(r))return!1;s=!0}}else if(r&8){if(o===null||!eT(e,o,c,n)){if(Ve(r))return!1;s=!0}}else{let l=t[++a],u=rT(c,o,Rl(e),n);if(u===-1){if(Ve(r))return!1;s=!0;continue}if(l!==``){let d;if(u>i?d=``:d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ve(r))return!1;s=!0}}}}return Ve(r)||s}function Ve(e){return(e&1)===0}function rT(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 sT(t,e)}function fg(e,t,n=!1){for(let r=0;r<t.length;r++)if(nT(e,t[r],n))return!0;return!1}function oT(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function iT(e){for(let t=0;t<e.length;t++){let n=e[t];if(Xp(n))return t}return e.length}function sT(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 aT(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function fp(e,t){return e?`:not(`+t.trim()+`)`:t}function cT(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!==``&&!Ve(s)&&(t+=fp(i,o),o=``),r=s,i=i||!Ve(r);n++}return o!==``&&(t+=fp(i,o)),t}function lT(e){return e.map(cT).join(`,`)}function uT(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(!Ve(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var W={};var Zi=(function(e){return e[e.Important=1]=`Important`,e[e.DashCase=2]=`DashCase`,e})(Zi||{});var dT;function Ol(e,t){return dT(e,t)}typeof document<`u`&&document?.documentElement?.getAnimations;var Gc=new WeakMap;function pg(e){return e?e[Tt]??e:null}var Ur=new WeakSet;function fT(e,t,n){let r=Gc.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=pg(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:l}=r[a],u=c.parentNode;c===t?(r.splice(a,1),Ur.add(c),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):u&&o&&u!==o&&(s===null||l===null||s===l)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function pT(e,t,n){let r=pg(n),o=Gc.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Gc.set(e,[{el:t,declarationView:r}])}var tr=new Set;var ms=(function(e){return e[e.CHANGE_DETECTION=0]=`CHANGE_DETECTION`,e[e.AFTER_NEXT_RENDER=1]=`AFTER_NEXT_RENDER`,e})(ms||{});var vn=new S(``);var pp=new Set;function ye(e){pp.has(e)||(pp.add(e),performance?.mark?.(`mark_feature_usage`,{detail:{feature:e}}))}var ys=(()=>{class e{impl=null;execute(){this.impl?.execute()}static ɵprov=re({token:e,providedIn:`root`,factory:()=>new e})}return e})();var kl=[0,1,2,3];var Pl=(()=>{class e{ngZone=v(Me);scheduler=v(ke);errorHandler=v(ot,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){v(vn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&L(k.AfterRenderHooksStart),this.executing=!0;for(let r of kl)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&L(k.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[nn]??=[]).push(n),sn(r),r[b]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ms.AFTER_NEXT_RENDER,n):n()}static ɵprov=re({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Qr=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[nn];t&&(this.view[nn]=t.filter(n=>n!==this))}};function hg(e,t){let n=t?.injector??v(Ee);return ye(`NgAfterRender`),mg(e,n,t,!1)}function gg(e,t){let n=t?.injector??v(Ee);return ye(`NgAfterNextRender`),mg(e,n,t,!0)}function hT(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function mg(e,t,n,r){let o=t.get(ys);o.impl??=t.get(Pl);let i=t.get(vn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Se):null,a=t.get(Yn,null,{optional:!0}),c=new Qr(o.impl,hT(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ll=new S(``,{factory:()=>{let e=v(ve),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function yg(e,t,n){let r=e.get(Ll);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function gT(e,t){let n=e.get(Ll);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function mT(e,t){let n=e.get(Ll);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function yT(e,t){for(let[n,r]of t)yg(e,r.animateFns)}function hp(e,t,n,r){let o=e?.[Ye]?.enter;t!==null&&o&&o.has(n.index)&&yT(r,o)}function gp(e,t,n,r){try{n.get(Pr)}catch{return r(!1)}let o=e?.[Ye];o?.enter?.has(t.index)&&gT(n,o.enter.get(t.index).animateFns);let i=vT(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];vs(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&tr.add(e[Qe]),yg(n,()=>ET(e,t,o||void 0,i,r),o||void 0)}function vT(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[m].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function ET(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l)}n.detachedLeaveAnimationFns=void 0}if(e&&vs(e,t,i),i.length>0){let s=n||e?.[Ye];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),DT(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&tr.delete(e[Qe]),o(!0)})}else e&&tr.delete(e[Qe]),o(!1)}function vs(e,t,n){if(t.type&12){let o=e[t.index];if(he(o))for(let i=j;i<o.length;i++){let s=o[i];s[m].type===2&&IT(s,n)}}let r=t.child;for(;r;)vs(e,r,n),r=r.next}function IT(e,t){let n=e[Ye];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[m].firstChild;for(;r;)vs(e,r,t),r=r.next}function DT(e,t,n){t.then(()=>{e[Ye]?.running===t&&(e[Ye].running=void 0,tr.delete(e[Qe])),n(!0)})}function Zn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;he(o)?c=o:xe(o)&&(l=!0,o=o[ue]);let u=J(o);e===0&&r!==null?(hp(a,r,i,n),s==null?og(t,r,u):cn(t,r,u,s||null,!0)):e===1&&r!==null?(hp(a,r,i,n),cn(t,r,u,s||null,!0),fT(i,u,a)):e===2?(a?.[Ye]?.leave?.has(i.index)&&pT(i,u,a),Ur.delete(u),gp(a,i,n,d=>{if(Ur.has(u)){Ur.delete(u);return}xl(t,u,l,d)})):e===3&&(Ur.delete(u),gp(a,i,n,()=>{t.destroyNode(u)})),c!=null&&RT(t,e,n,c,i,r,s)}}function TT(e,t){vg(e,t),t[ue]=null,t[oe]=null}function CT(e,t,n,r,o,i){r[ue]=o,r[oe]=t,Is(e,r,n,1,o,i)}function vg(e,t){t[Pe].changeDetectionScheduler?.notify(9),Is(e,t,t[O],2,null,null)}function wT(e){let t=e[Un];if(!t)return mc(e[m],e);for(;t;){let n=null;if(xe(t))n=t[Un];else{let r=t[j];r&&(n=r)}if(!n){for(;t&&!t[Ne]&&t!==e;)xe(t)&&mc(t[m],t),t=t[q];t===null&&(t=e),xe(t)&&mc(t[m],t),n=t&&t[Ne]}t=n}}function Fl(e,t){let n=e[rn],r=n.indexOf(t);n.splice(r,1)}function Es(e,t){if(Ze(t))return;let n=t[O];n.destroyNode&&Is(e,t,n,3,null,null),wT(t)}function mc(e,t){if(Ze(t))return;let n=I(null);try{t[b]&=-129,t[b]|=256,t[Ie]&&mt(t[Ie]),_T(e,t),bT(e,t),t[m].type===1&&t[O].destroy();let r=t[Ct];if(r!==null&&he(t[q])){r!==t[q]&&Fl(r,t);let o=t[ze];o!==null&&o.detachView(e)}xc(t)}finally{I(n)}}function bT(e,t){let n=e.cleanup,r=t[Bn];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[Bn]=null);let o=t[nt];if(o!==null){t[nt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Et];if(i!==null){t[Et]=null;for(let s of i)s.destroy()}}function _T(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 dn)){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];L(k.LifecycleHookStart,a,c);try{c.call(a)}finally{L(k.LifecycleHookEnd,a,c)}}else{L(k.LifecycleHookStart,o,i);try{i.call(o)}finally{L(k.LifecycleHookEnd,o,i)}}}}}function Eg(e,t,n){return ST(e,t.parent,n)}function ST(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ue];if(Le(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===fn.None||o===fn.Emulated)return null}return fe(r,n)}function Ig(e,t,n){return NT(e,t,n)}function MT(e,t,n){return e.type&40?fe(e,n):null}var NT=MT;var mp;function jl(e,t,n,r){let o=Eg(e,r,t),i=t[O],a=Ig(r.parent||t[oe],r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)dp(i,o,n[c],a,!1);else dp(i,o,n,a,!1);mp!==void 0&&mp(i,r,t,n,o)}function $r(e,t){if(t!==null){let n=t.type;if(n&3)return fe(t,e);if(n&4)return Wc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return $r(e,r);{let o=e[t.index];return he(o)?Wc(-1,o):J(o)}}else{if(n&128)return $r(e,t.next);if(n&32)return Ol(t,e)()||J(e[t.index]);{let r=Dg(e,t);if(r!==null){if(Array.isArray(r))return r[0];return $r(rt(e[ee]),r)}else return $r(e,t.next)}}}return null}function Dg(e,t){if(t!==null){let r=e[ee][oe],o=t.projection;return r.projection[o]}return null}function Wc(e,t){let n=j+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return $r(r,o)}return t[it]}function Vl(e,t,n,r,o,i,s){for(;n!=null;){let a=r[X];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&er(J(c),r),n.flags|=2),!lo(n))if(l&8)Vl(e,t,n.child,r,o,i,!1),Zn(t,e,a,o,c,n,i,r);else if(l&32){let u=Ol(n,r),d;for(;d=u();)Zn(t,e,a,o,d,n,i,r);Zn(t,e,a,o,c,n,i,r)}else l&16?Tg(e,t,r,n,o,i):Zn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Is(e,t,n,r,o,i){e.type===3?xT(n,r,t,o,i):Vl(n,r,e.firstChild,t,o,i,!1)}function xT(e,t,n,r,o){let s=n[m].firstChild,a=s.next,c=J(n[s.index]),l=J(n[a.index]),u=a.index+1,d=n[u];if(t===1||t===0)r!==null&&(d&&d.hasChildNodes()?cn(e,r,d,o,!0):(cn(e,r,c,o,!0),cn(e,r,l,o,!0)));else if(t===2){if(d||(d=document.createDocumentFragment(),n[u]=d),c&&c.parentNode===d)return;let p=c;for(;p!==null;){let f=p.nextSibling;if(d.appendChild(p),p===l)break;p=f}}}function AT(e,t,n){let r=t[O];Tg(r,0,t,n,Eg(e,n,t),Ig(n.parent||t[oe],n,t))}function Tg(e,t,n,r,o,i){let s=n[ee],c=s[oe].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Zn(t,e,n[X],o,u,r,i,n)}else{let l=c,u=s[q];Yi(r)&&(l.flags|=128),Vl(e,t,l,u,o,i,!0)}}function RT(e,t,n,r,o,i,s){let a=r[it];if(a!==J(r)&&Zn(t,e,n,i,a,o,s),(r[b]&4)===0)for(let l=j;l<r.length;l++){let u=r[l];Is(u[m],u,e,t,i,a)}}function OT(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf(`-`)===-1?void 0:Zi.DashCase;o==null?e.removeStyle(n,r,i):(typeof o==`string`&&o.endsWith(`!important`)&&(o=o.slice(0,-10),i|=Zi.Important),e.setStyle(n,r,o,i))}}function Hl(e,t,n,r,o,i,s,a,c,l,u){let d=A+r,p=d+o,f=kT(d,p),h=typeof l==`function`?l():l;return f[m]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i==`function`?i():i,pipeRegistry:typeof s==`function`?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function kT(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:W);return n}function PT(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Hl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Bl(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ue]=o,d[b]=r|1228,(l!==null||e&&e[b]&2048)&&(d[b]|=2048),za(d),d[q]=d[Tt]=e,d[G]=n,d[Pe]=s||e&&e[Pe],d[O]=a||e&&e[O],d[X]=c||e&&e[X]||null,d[oe]=i,d[Qe]=KI(),d[de]=u,d[Ga]=l,d[ee]=t.type==2?e[ee]:d,d}function LT(e,t,n){let r=fe(t,e),o=PT(n),i=e[Pe].rendererFactory,s=Ul(e,Bl(e,o,null,Cg(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Cg(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function wg(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 Ul(e,t){return e[Un]?e[qa][Ne]=t:e[Un]=t,e[qa]=t,t}function FT(e=1){bg(P(),y(),ge()+e,!1)}function bg(e,t,n,r){if(!r)if((t[b]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Fi(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ji(t,i,0,n)}bt(n)}var Ds=(function(e){return e[e.None=0]=`None`,e[e.SignalBased=1]=`SignalBased`,e[e.HasDecoratorInputTransform=2]=`HasDecoratorInputTransform`,e})(Ds||{});function pn(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ds.SignalBased)!==0&&(c=t[i][$]),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):Qp(t,c,i,r)}finally{I(o)}}function _g(e,t,n,r,o){let i=ge(),s=r&2;try{bt(-1),s&&t.length>A&&bg(e,t,A,!1);L(s?k.TemplateUpdateStart:k.TemplateCreateStart,o,n),n(r,o)}finally{bt(i);L(s?k.TemplateUpdateEnd:k.TemplateCreateEnd,o,n)}}function Ts(e,t,n){UT(e,t,n),(n.flags&64)===64&&$T(e,t,n)}function fo(e,t,n=fe){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 jT(e,t,n,r){let i=r.get(Il,_h)||n===fn.ShadowDom||n===fn.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return VT(s),s}function VT(e){Sg(e)}var Sg=()=>null;function HT(e){ph(e)?ig(e):dD(e)}function Mg(){Sg=HT}function BT(e){return e===`class`?`className`:e===`for`?`htmlFor`:e===`formaction`?`formAction`:e===`innerHtml`?`innerHTML`:e===`readonly`?`readOnly`:e===`tabindex`?`tabIndex`:e}function Ng(e,t,n,r,o,i){let s=t[m];if(Cs(e,s,t,n,r)){Le(e)&&Ag(t,e.index);return}e.type&3&&(n=BT(n)),xg(e,t,n,r,o,i)}function xg(e,t,n,r,o,i){if(e.type&3){let s=fe(e,t);r=i!=null?i(r,e.value||``,n):r,o.setProperty(s,n,r)}else e.type&12}function Ag(e,t){let n=Ae(t,e);n[b]&16||(n[b]|=64)}function UT(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Le(n)&&LT(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||zi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Wr(t,e,s,n);if(er(c,t),i!==null&&WT(t,s-r,c,a,n,i),Fe(a)){let l=Ae(n.index,t);l[G]=Wr(t,e,s,n)}}}function $T(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=xf();try{bt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Ei(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&qT(c,l)}}finally{bt(-1),Ei(s)}}function qT(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function $l(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];fg(t,i.selectors,!1)&&(r??=[],Fe(i)?r.unshift(i):r.push(i))}return r}function GT(e,t,n,r,o,i){let s=fe(e,t);Rg(t[O],s,i,e.value,n,r,o)}function Rg(e,t,n,r,o,i,s){if(i==null)s?.(i,r||``,o),e.removeAttribute(t,o,n);else{let a=s==null?le(i):s(i,r||``,o);e.setAttribute(t,o,a,n)}}function WT(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],l=s[a+1];pn(r,n,c,l)}}function ql(e,t,n,r,o){let i=A+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,an(e,!0);let c=e.type===2;return c?(sg(t[O],a,e),(Df()===0||$n(e))&&er(a,t),Tf()):er(a,t),wi()&&(!c||!lo(e))&&jl(s,t,a,e),e}function Gl(e){let t=e;return tc()?nc():(t=t.parent,an(t,!1)),t}function Wl(e,t){let n=e[X];if(!n)return;let r;try{r=n.get(Mt,null)}catch{r=null}r?.(t)}function Cs(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 l=s[c],u=s[c+1],d=t.data[l];pn(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];pn(u,l,r,o),a=!0}return a}function zT(e,t,n,r,o,i){let s=null,a=null,c=null,l=!1,u=e.directiveToIndex.get(r.type);if(typeof u==`number`?s=u:[s,a,c]=u,a!==null&&c!==null&&e.hostDirectiveInputs?.hasOwnProperty(o)){let d=e.hostDirectiveInputs[o];for(let p=0;p<d.length;p+=2){let f=d[p];if(f>=a&&f<=c){let h=t.data[f],g=d[p+1];pn(h,n[f],g,i),l=!0}else if(f>c)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(pn(r,n[s],o,i),l=!0),l}function QT(e,t){let n=Ae(t,e),r=n[m];YT(r,n);let o=n[ue];o!==null&&n[de]===null&&(n[de]=Bh(o,n[X])),L(k.ComponentStart);try{zl(r,n,n[G])}finally{L(k.ComponentEnd,n[G])}}function YT(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function zl(e,t,n){Di(t);try{let r=e.viewQuery;r!==null&&Lc(1,r,n);let o=e.template;o!==null&&_g(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ze]?.finishViewCreation(e),e.staticContentQueries&&Wh(e,t),e.staticViewQueries&&Lc(2,e.viewQuery,n);let i=e.components;i!==null&&ZT(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[b]&=-5,Ti()}}function ZT(e,t){for(let n=0;n<t.length;n++)QT(e,t[n])}function ar(e,t,n,r){let o=I(null);try{let i=t.tView,c=Bl(e,i,n,e[b]&4096?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[Ct]=e[t.index];let u=e[ze];return u!==null&&(c[ze]=u.createEmbeddedView(i)),zl(i,c,n),c}finally{I(o)}}function hn(e,t){return!t||t.firstChild===null||Yi(e)}function Yr(e,t,n,r,o=!1){if(e.type===3){let i=e.firstChild,s=i.next,a=J(t[i.index]),c=J(t[s.index]),l=a;for(;l!==null&&(r.push(l),l!==c);)l=l.nextSibling;return r}for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];if(i!==null)if(he(i)){let a=i[it];a!==i[ue]&&r.push(J(i)),i[b]&4||Og(i,r),r.push(a)}else r.push(J(i));let s=n.type;if(s&8)Yr(e,t,n.child,r);else if(s&32){let a=Ol(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Dg(t,n);if(Array.isArray(a))r.push(...a);else{let c=rt(t[ee]);Yr(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Og(e,t){for(let n=j;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&Yr(r[m],r,o,t)}}function kg(e){if(e[nn]!==null){for(let t of e[nn])t.impl.addSequence(t);e[nn].length=0}}var Pg=[];function KT(e){return e[Ie]??JT(e)}function JT(e){let t=Pg.pop()??Object.create(eC);return t.lView=e,t}function XT(e){e.lView[Ie]!==e&&(e.lView=null,Pg.push(e))}var eC=s(r({},pt),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{sn(e.lView)},consumerOnSignalRead(){this.lView[Ie]=this}});function tC(e){let t=e[Ie]??Object.create(nC);return t.lView=e,t}var nC=s(r({},pt),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{let t=rt(e.lView);for(;t&&!Lg(t[m]);)t=rt(t);t&&pi(t)},consumerOnSignalRead(){this.lView[Ie]=this}});function Lg(e){return e.type!==2}function Fg(e){if(e[Et]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Et])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[b]&8192)}}var rC=100;function jg(e,t=0){let r=e[Pe].rendererFactory;r.begin?.();try{oC(e,t)}finally{r.end?.()}}function oC(e,t){let n=oc();try{wr(!0),zc(e,t);let r=0;for(;jr(e);){if(r===rC)throw new _(103,!1);r++,zc(e,1)}}finally{wr(n)}}function iC(e,t,n,r){if(Ze(t))return;let o=t[b];Di(t);let a=!0,c=null,l=null;Lg(e)?(l=KT(t),c=et(l)):qo()===null?(a=!1,l=tC(t),c=et(l)):t[Ie]&&(mt(t[Ie]),t[Ie]=null);try{za(t),Sf(e.bindingStartIndex),n!==null&&_g(e,t,n,2,r);let u=(o&3)===3;if(u){let f=e.preOrderCheckHooks;f!==null&&Fi(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ji(t,f,0,null),pc(t,0)}if(sC(t),Fg(t),Vg(t,0),e.contentQueries!==null&&Wh(e,t),true)if(u){let f=e.contentCheckHooks;f!==null&&Fi(t,f)}else{let f=e.contentHooks;f!==null&&ji(t,f,1),pc(t,1)}cC(e,t);let d=e.components;d!==null&&Bg(t,d,0);let p=e.viewQuery;if(p!==null&&Lc(2,p,r),true)if(u){let f=e.viewCheckHooks;f!==null&&Fi(t,f)}else{let f=e.viewHooks;f!==null&&ji(t,f,2),pc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[li]){for(let f of t[li])f();t[li]=null}kg(t),t[b]&=-73}catch(u){throw sn(t),u}finally{l!==null&&(gt(l,c),a&&XT(l)),Ti()}}function Vg(e,t){for(let n=mh(e);n!==null;n=yh(n))for(let r=j;r<n.length;r++){let o=n[r];Hg(o,t)}}function sC(e){for(let t=mh(e);t!==null;t=yh(t)){if(!(t[b]&2))continue;let n=t[rn];for(let r=0;r<n.length;r++){let o=n[r];pi(o)}}}function aC(e,t,n){L(k.ComponentStart);let r=Ae(t,e);try{Hg(r,n)}finally{L(k.ComponentEnd,r[G])}}function Hg(e,t){fi(e)&&zc(e,t)}function zc(e,t){let r=e[m],o=e[b],i=e[Ie],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&On(i)),s||=!1,i&&(i.dirty=!1),e[b]&=-9217,s)iC(r,e,r.template,e[G]);else if(o&8192){let a=I(null);try{Fg(e),Vg(e,1);let c=r.components;c!==null&&Bg(e,c,1),kg(e)}finally{I(a)}}}function Bg(e,t,n){for(let r=0;r<t.length;r++)aC(e,t[r],n)}function cC(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)bt(~o);else{let i=o,s=n[++r],a=n[++r];Nf(s,i);let c=t[i];L(k.HostBindingsUpdateStart,c);try{a(2,c)}finally{L(k.HostBindingsUpdateEnd,c)}}}}finally{bt(-1)}}function Ql(e,t){let n=oc()?64:1088;for(e[Pe].changeDetectionScheduler?.notify(t);e;){e[b]|=n;let r=rt(e);if(on(e)&&!r)return e;e=r}return null}function Ug(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function $g(e,t){let n=j+t;if(n<e.length)return e[n]}function cr(e,t,n,r=!0){let o=t[m];if(lC(o,t,e,n),r){let s=Wc(n,e),a=t[O],c=a.parentNode(e[it]);c!==null&&CT(o,e[oe],a,t,c,s)}let i=t[de];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Yl(e,t){let n=Zr(e,t);return n!==void 0&&Es(n[m],n),n}function Zr(e,t){if(e.length<=j)return;let n=j+t,r=e[n];if(r){let o=r[Ct];o!==null&&o!==e&&Fl(o,r),t>0&&(e[n-1][Ne]=r[Ne]);let i=Or(e,j+t);TT(r[m],r);let s=i[ze];s!==null&&s.detachView(i[m]),r[q]=null,r[Ne]=null,r[b]&=-129}return r}function lC(e,t,n,r){let o=j+r,i=n.length;r>0&&(n[o-1][Ne]=t),r<i-j?(t[Ne]=n[o],Va(n,j+r,t)):(n.push(t),t[Ne]=null),t[q]=n;let s=t[Ct];s!==null&&n!==s&&qg(s,t);let a=t[ze];a!==null&&a.insertView(e),hi(t),t[b]|=128}function qg(e,t){let n=e[rn],r=t[q];if(xe(r))e[b]|=2;else{let o=r[q][ee];t[ee]!==o&&(e[b]|=2)}n===null?e[rn]=[t]:n.push(t)}var kt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return Yr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[G]}set context(t){this._lView[G]=t}get destroyed(){return Ze(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q];if(he(t)){let n=t[Lr],r=n?n.indexOf(this):-1;r>-1&&(Zr(t,r),Or(n,r))}this._attachedToViewContainer=!1}Es(this._lView[m],this._lView)}onDestroy(t){Wn(this._lView,t)}markForCheck(){Ql(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[b]&=-129}reattach(){hi(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,jg(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=on(this._lView),n=this._lView[Ct];n!==null&&!t&&Fl(n,this._lView),vg(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let n=on(this._lView),r=this._lView[Ct];r!==null&&!n&&qg(r,this._lView),hi(this._lView)}};var Kr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=uC;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){return new kt(ar(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o}))}}return e})();function uC(){return ws(U(),y())}function ws(e,t){return e.type&4?new Kr(t,e,ir(e,t)):null}function En(e,t,n,r,o){let i=e.data[t];if(i===null)i=dC(e,t,n,r,o),Mf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=_f();i.injectorIndex=s===null?-1:s.injectorIndex}return an(i,!0),i}function dC(e,t,n,r,o){let i=ec(),s=tc(),a=s?i:i&&i.parent,c=e.data[t]=pC(e,a,n,t,r,o);return fC(e,c,i,s),c}function fC(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 pC(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return yi()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Ci(),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 hC=new RegExp(`^(\\d+)*(${Ih}|${Eh})*(.*)`);function gC(e){let[n,r,o,i]=e.match(hC),s=r?parseInt(r,10):o,a=[];for(let[c,l,u]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(u,10)||1;a.push(l,d)}return[s,...a]}function mC(e){return!e.prev&&e.parent?.type===8}function yc(e){return e.index-A}function yC(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function bs(e,t,n,r){let o=yc(r),i=yC(e,o);if(i===void 0){let s=e.data[wh];if(s?.[o])i=EC(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(mC(r))i=Pc(e,yc(r.parent));else{let l=fe(c,n);if(a)i=l.firstChild;else{let u=yc(c),d=Pc(e,u);if(c.type===2&&d)i=_s(_l(e,u)+1,d);else i=l.nextSibling}}}}return i}function _s(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function vC(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case eD:n=n.firstChild;break;case tD:n=n.nextSibling;break}}return n}function EC(e,t){let[n,...r]=gC(e),o;if(n===Eh)o=t[ee][ue];else if(n===Ih)o=ug(t[ee][ue]);else o=J(t[Number(n)+A]);return vC(o,r)}function DC(e){let t=e[de];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let o=e[O];for(let i of r.values())TC(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function TC(e,t,n){for(let r of n.node.cases[n.case]){let o=t.get(r.index-A);o&&xl(e,o,!1)}}function Ss(e){let t=e[De]??[],r=e[q][O],o=[];for(let i of t)i.data[vl]!==void 0?o.push(i):Wg(i,r);e[De]=o}function CC(e){let{lContainer:t}=e,n=t[De];if(n===null)return;let o=t[q][O];for(let i of n)Wg(i,o)}function Wg(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[zr];for(;n<o;){let i=r.nextSibling;xl(t,r,!1),r=i,n++}}}function Ms(e){Ss(e);let t=e[ue];xe(t)&&Ki(t);for(let n=j;n<e.length;n++)Ki(e[n])}function Ki(e){DC(e);let t=e[m];for(let n=A;n<t.bindingStartIndex;n++)if(he(e[n])){let r=e[n];Ms(r)}else xe(e[n])&&Ki(e[n])}function Zl(e){let t=e._views;for(let n of t){let r=Uh(n);r!==null&&r[ue]!==null&&(xe(r)?Ki(r):Ms(r))}}function wC(e,t,n,r){e!==null&&(n.cleanup(t),Ms(e.lContainer),Zl(r))}function bC(e,t){let n=[];for(let r of t)for(let o=0;o<(r[ml]??1);o++){let i={data:r,firstChild:null};r[zr]>0&&(i.firstChild=e,e=_s(r[zr],e)),n.push(i)}return[e,n]}var zg=()=>null;var Qg=()=>null;function Yg(){zg=_C,Qg=SC}function _C(e,t){return Kg(e,t)?e[De].shift():(Ss(e),null)}function Jr(e,t){return zg(e,t)}function SC(e,t,n){if(t.tView.ssrId===null)return null;let r=Jr(e,t.tView.ssrId);return n[m].firstUpdatePass&&r===null&&MC(n,t),r}function Zg(e,t,n){return Qg(e,t,n)}function MC(e,t){let n=t;for(;n;){if(yp(e,n))return;if((n.flags&256)===256)break;n=n.prev}for(n=t.next;n&&(n.flags&512)===512;){if(yp(e,n))return;n=n.next}}function Kg(e,t){let n=e[De];return!t||n===null||n.length===0?!1:n[0].data[Ch]===t}function yp(e,t){let n=t.tView?.ssrId;if(n==null)return!1;let r=e[t.index];return he(r)&&Kg(r,n)?(Ss(r),!0):!1}var Jg=class{};var Xr=class{};var Qc=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>NC()};function NC(){let e=y(),n=Ae(U().index,e);return(xe(n)?n:e)[O]}var Xg=(()=>{class e{static ɵprov=re({token:e,providedIn:`root`,factory:()=>null})}return e})();function em(e){return e.debugInfo?.className||e.type.name||null}var Bi={};var ln=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Bi,r);return o!==Bi||n===Bi?o:this.parentInjector.get(t,n,r)}};function Kl(e){return Ns(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function tm(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 Ns(e){return e!==null&&(typeof e==`function`||typeof e==`object`)}function xs(e,t,n){return e[t]=n}function xC(e,t){return e[t]}function ie(e,t,n){if(n===W)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function eo(e,t,n,r){let o=ie(e,t,n);return ie(e,t+1,r)||o}function nm(e,t,n,r,o){let i=eo(e,t,n,r);return ie(e,t+2,o)||i}function AC(e,t,n,r,o,i){let s=eo(e,t,n,r);return eo(e,t+2,o,i)||s}function un(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&iD(o,i);Ql(Le(e)?Ae(e.index,t):t,5);let a=t[G],c=vp(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=vp(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function vp(e,t,n,r){let o=I(null);try{return L(k.OutputStart,t,n),n(r)!==!1}catch(i){return Wl(e,i),!1}finally{L(k.OutputEnd,t,n),I(o)}}function Jl(e,t,n,r,o,i,s,a){let c=$n(e),l=!1,u=null;if(!r&&c&&(u=OC(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=fe(e,n),p=r?r(d):d;sD(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!RC(i))rm(r?g=>r(J(g[e.index])):e.index,t,n,i,a,f,!1)}return l}function RC(e){return e.startsWith(`animation`)||e.startsWith(`transition`)}function OC(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[Bn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s==`string`&&(i+=2)}return null}function rm(e,t,n,r,o,i,s){let a=t.firstCreatePass?Za(t):null,c=Ya(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Ep(e,t,n,r,o){let i=null,s=null,a=null,c=!1,l=e.directiveToIndex.get(n.type);if(typeof l==`number`?i=l:[i,s,a]=l,s!==null&&a!==null&&e.hostDirectiveOutputs?.hasOwnProperty(r)){let u=e.hostDirectiveOutputs[r];for(let d=0;d<u.length;d+=2){let p=u[d];if(p>=s&&p<=a)c=!0,Ji(e,t,p,u[d+1],r,o);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=!0,Ji(e,t,i,r,r,o)),c}function Ji(e,t,n,r,o,i){let s=t[n],a=t[m],d=s[a.data[n].outputs[r]].subscribe(i);rm(e.index,a,t,o,i,d,!0)}function kC(){PC()}function PC(){let e=y(),t=P(),n=U();if(t.firstCreatePass&&jC(t,n),n.controlDirectiveIndex===-1)return;ye(`NgSignalForms`);let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new Xi(e,t,n))}function LC(){FC()}function FC(){let e=y(),t=P(),n=st();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new Xi(e,t,n))}var Xi=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return fe(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Ep(this.tNode,this.lView,r,t,un(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?`valueChange`:`checkedChange`,r=this.tView.data[this.tNode.customControlIndex];Ep(this.tNode,this.lView,r,n,un(this.tNode,this.lView,t))}listenToDom(t,n){Jl(this.tNode,this.tView,this.lView,void 0,this.lView[O],t,n,un(this.tNode,this.lView,n))}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return!1;let i=!1;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let a=this.tView.data[s],c=this.lView[s];pn(a,c,t,n),i=!0}if(o)for(let s=0;s<o.length;s+=2){let a=o[s];if(a===this.tNode.controlDirectiveIndex)continue;let c=o[s+1],l=this.tView.data[a],u=this.lView[a];pn(l,u,c,n),i=!0}return i}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?`value`:`checked`;zT(this.tNode,this.tView,this.lView,n,r,t)}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return!1;let n=this.tView.data[this.tNode.customControlIndex];return(n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===!0}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=!0;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!=`function`){for(let s in o.inputs)n[o.inputs[s]]=!0;let i=Ip(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i==`function`)continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=!0}let s=Ip(i.directive);s!==null&&r.push(...s)}}}return n}};function Ip(e){return typeof e==`function`&&`ɵdir`in e?e.ɵdir.hostDirectives??null:null}function jC(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}VC(e,t)}function VC(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(Dp(r,`value`)){t.flags|=1024,t.customControlIndex=n;return}if(Dp(r,`checked`)){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+`Change`];if(!i||!s)return!1;for(let a=0;a<i.length;a+=2){let c=i[a];for(let l=0;l<s.length;l+=2)if(c===s[l])for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[p,f,h]=d;if(c>=f&&c<=h)return t.flags|=o,t.customControlIndex=p,!0}}return!1};if(n(`value`,1024)||n(`checked`,2048))return}}function Dp(e,t){return HC(e,t)&&BC(e,t+`Change`)}function HC(e,t){return t in e.inputs}function BC(e,t){return t in e.outputs}var Yc=Symbol(`BINDING`);var om=new S(``);function es(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=ei(o,a);else if(i==2){let c=a,l=t[++s];r=ei(r,c+`: `+l+`;`)}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function po(e,t=0){let n=y();if(n===null)return qe(e,t);return sh(U(),n,Q(e),t)}function UC(){throw new Error(`invalid`)}function im(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}GC(e,t,n,a,i,c,l)}i!==null&&r!==null&&$C(n,r,i)}function $C(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 _(-301,!1);r.push(t[o],i)}}function qC(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function GC(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Fe(f)&&(c=f,qC(e,n,p)),Mc(zi(n,t),e,f.type)}KC(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=wg(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Xn(n.mergedAttrs,f.hostAttrs),zC(e,n,t,d,f),ZC(d,f,o),s!==null&&s.has(f)){let[g,T]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,T+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}WC(e,n,i)}function WC(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Tp(0,t,o,r),Tp(1,t,o,r),wp(t,r,!1);else{let i=n.get(o);Cp(0,t,i,r),Cp(1,t,i,r),wp(t,r,!0)}}}function Tp(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),sm(t,i)}}function Cp(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),sm(t,s)}}function sm(e,t){t===`class`?e.flags|=8:t===`style`&&(e.flags|=16)}function wp(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Rl(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 l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function zC(e,t,n,r,o){e.data[r]=o;let s=new dn(o.factory||(o.factory=vt(o.type,!0)),Fe(o),po,null);e.blueprint[r]=s,n[r]=s,QC(e,t,r,wg(e,n,o.hostVars,W),o)}function QC(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;YC(s)!=a&&s.push(a),s.push(n,r,i)}}function YC(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n==`number`&&n<0)return n}return 0}function ZC(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Fe(t)&&(n[``]=e)}}function KC(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Xl(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,d=En(c,e,n,r,Te(l,s));return i&&im(c,t,d,Te(l,a),o),d.mergedAttrs=Xn(d.mergedAttrs,d.attrs),d.attrs!==null&&es(d,d.attrs,!1),d.mergedAttrs!==null&&es(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function eu(e,t){Kp(e,t),Wa(t)&&e.queries.elementEnd(t)}function JC(e,t,n,r,o,i){let s=t.consts,c=En(t,e,n,r,Te(s,o));if(c.mergedAttrs=Xn(c.mergedAttrs,c.attrs),i!=null){let l=Te(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&es(c,c.attrs,!1),c.mergedAttrs!==null&&es(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var am=typeof ShadowRoot<`u`;var XC=typeof Document<`u`;function ew(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ds.SignalBased)!==0};return o&&(i.transform=o),i})}function tw(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function nw(e,t,n){let r=t instanceof ve?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new ln(n,r):n}function rw(e){let t=e.get(Xr,null);if(t===null)throw new _(407,!1);return{rendererFactory:t,sanitizer:e.get(Xg,null),changeDetectionScheduler:e.get(ke,null),ngReflect:!1,tracingService:e.get(vn,null,{optional:!0})}}function ow(e,t){let n=cm(e);return Nl(t,n,n===`svg`?jn:n===`math`?ui:null)}function iw(e){if(e?.toLowerCase()===`script`)throw new _(905,!1)}function cm(e){return(e.selectors[0][0]||`div`).toLowerCase()}var gn=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=ew(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=tw(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=lT(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){L(k.DynamicComponentStart);let a=I(null);try{let c=this.componentDef,l=nw(c,o||this.ngModule,t),u=rw(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(em(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{I(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=sw(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?jT(l,o,a.encapsulation,n):ow(a,l);iw(u?.tagName);let d=n.get(om,null),p=aw(u,()=>n.get(_t,null)??ls());d&&d.addHost(p);let f=s?.some(bp)||i?.some(T=>typeof T!=`function`&&T.bindings.some(bp)),h=Bl(null,c,null,512|Cg(a),null,null,t,l,n,null,Bh(u,n,!0));d&&am&&p instanceof ShadowRoot&&Wn(h,()=>{d.removeHost(p)}),h[A]=u,Di(h);let g=null;try{let T=Xl(A,h,2,`#host`,()=>c.directiveRegistry,!0,0);sg(l,u,T),er(u,h),Ts(c,h,T),Sl(c,T,h),eu(c,T),r!==void 0&&lw(T,this.ngContentSelectors,r),g=Ae(T.index,h),h[G]=g[G],zl(c,h,null)}catch(T){throw g!==null&&xc(g),xc(h),T}finally{L(k.DynamicComponentEnd),Ti()}return new ts(this.componentType,h,!!f)}};function sw(e,t,n,r){let o=e?[`ng-version`,`22.1.1`]:uT(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Yc].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!=`function`)for(let p of d.bindings){a+=p[Yc].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let p=Rr(typeof u==`function`?u:u.type);c.push(p)}return Hl(0,null,cw(i,s),1,a,c,null,null,null,[o],null)}function aw(e,t){let n=e.getRootNode?.();return XC&&n instanceof Document?n.head:n&&am&&n instanceof ShadowRoot?n:t().head}function cw(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function bp(e){let t=e[Yc].kind;return t===`input`||t===`twoWay`}var ts=class extends Jg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=qn(n[m],A),this.location=ir(this._tNode,n),this.instance=Ae(this._tNode.index,n)[G],this.hostView=this.changeDetectorRef=new kt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;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;Cs(r,o[m],o,t,n);this.previousInputValues.set(t,n);Ql(Ae(r.index,o),1)}get injector(){return new Rt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function lw(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 As=(()=>{class e{static __NG_ELEMENT_ID__=uw}return e})();function uw(){return lm(U(),y())}var Zc=class e extends As{_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 Rt(this._hostTNode,this._hostLView)}get parentInjector(){let t=hl(this._hostTNode,this._hostLView);if(eh(t)){let n=Gi(t,this._hostLView),r=qi(t),o=n[m].data[r+8];return new Rt(o,n)}else return new Rt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=_p(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j}createEmbeddedView(t,n,r){let o,i;typeof r==`number`?o=r:r!=null&&(o=r.index,i=r.injector);let s=Jr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,hn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new gn(Ge(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let x=this.parentInjector.get(ve,null);x&&(i=x)}let p=Ge(u.componentType??{}),f=Jr(this._lContainer,p?.id??null),h=f?.firstChild??null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,c,hn(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Ef(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q],l=new e(c,c[oe],c[q]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return cr(s,o,i,r),t.attachToViewContainerRef(),Va(vc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=_p(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Zr(this._lContainer,n);r&&(Or(vc(this._lContainer),n),Es(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=Zr(this._lContainer,n);return r&&Or(vc(this._lContainer),n)!=null?new kt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function _p(e){return e[Lr]}function vc(e){return e[Lr]||(e[Lr]=[])}function lm(e,t){let n,r=t[e.index];return he(r)?n=r:(n=Ug(r,t,null,e),t[e.index]=n,Ul(t,n)),um(n,t,e,r),new Zc(n,e,t)}function dw(e,t){let n=e[O],r=n.createComment(``),o=fe(t,e);return cn(n,n.parentNode(o),r,n.nextSibling(o),!1),r}var um=fm;var tu=()=>!1;function dm(e,t,n){return tu(e,t,n)}function fm(e,t,n,r){if(e[it])return;let o;n.type&8?o=J(r):o=dw(t,n),e[it]=o}function fw(e,t,n){if(e[it]&&e[De])return!0;let r=n[de],o=t.index-A;if(!r||hh(t)||qh(r,o))return!1;let s=Pc(r,o),a=r.data[us]?.[o];if(a===void 0)return!1;let[c,l]=bC(s,a);return e[it]=c,e[De]=l,!0}function pw(e,t,n,r){tu(e,n,t)||fm(e,t,n,r)}function pm(){um=pw,tu=fw}var Kc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}};var Jc=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)ru(t,n).matches!==null&&this.queries[n].setDirty()}};var ns=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t==`string`?this.predicate=vw(t):this.predicate=t}};var Xc=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}};var el=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,hw(n,i)),this.matchTNodeWithReadOption(t,n,Vi(n,t,i,!1,!1))}else r===Kr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Vi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===so||o===As||o===Kr&&n.type&4)this.addMatch(n.index,-2);else{let i=Vi(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function hw(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function gw(e,t){return e.type&11?ir(e,t):e.type&4?ws(e,t):null}function mw(e,t,n,r){return n===-1?gw(t,e):n===-2?yw(e,t,r):Wr(e,e[m],n,t)}function yw(e,t,n){if(n===so)return ir(t,e);if(n===Kr)return ws(t,e);if(n===As)return lm(t,e)}function hm(e,t,n,r){let o=t[ze].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(mw(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function tl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=hm(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=j;d<u.length;d++){let p=u[d];p[Ct]===p[q]&&tl(p[m],p,l,r)}if(u[rn]!==null){let d=u[rn];for(let p=0;p<d.length;p++){let f=d[p];tl(f[m],f,l,r)}}}}}return r}function nu(e,t){return e[ze].queries[t].queryList}function gm(e,t,n){let r=new Qi((n&4)===4);return If(e,t,r,r.destroy),(t[ze]??=new Jc).queries.push(new Kc(r))-1}function mm(e,t,n){let r=P();return r.firstCreatePass&&(vm(r,new ns(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),gm(r,y(),t)}function ym(e,t,n,r){let o=P();if(o.firstCreatePass){let i=U();vm(o,new ns(t,n,r),i.index),Ew(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return gm(o,y(),n)}function vw(e){return e.split(`,`).map(t=>t.trim())}function vm(e,t,n){e.queries===null&&(e.queries=new Xc),e.queries.track(new el(t,n))}function Ew(e,t){let n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}function ru(e,t){return e.queries.getByIndex(t)}function Em(e,t){let n=e[m],r=ru(n,t);return r.crossesNgTemplate?tl(n,e,t,[]):hm(n,e,r,t)}function Im(e,t,n){let r,o=Er(()=>{r._dirtyCounter();let i=Iw(r,e);if(t&&i===void 0)throw new _(-951,!1);return i});return r=o[$],r._dirtyCounter=bi(0),r._flatValue=void 0,o}function ou(e){return Im(!0,!1,e)}function iu(e){return Im(!0,!0,e)}function Dm(e,t){let n=e[$];n._lView=y(),n._queryIndex=t,n._queryList=nu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Iw(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[b]&4)return t?void 0:ne;let o=nu(n,r),i=Em(n,r);return o.reset(i,uh),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function su(e){return!!e&&typeof e.then==`function`}function Tm(e){return!!e&&typeof e.subscribe==`function`}var nr=class{};var Cm=class{};var rs=class extends nr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ef(t);this._bootstrapComponents=JD(i.bootstrap),this._r3Injector=cc(t,n,[{provide:nr,useValue:this},...r],Mr(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)}};var os=class extends Cm{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new rs(this.moduleType,t,[])}};var to=class extends nr{injector;instance=null;constructor(t){super();let n=new Jt([...t.providers,{provide:nr,useValue:this}],t.parent||Hn(),t.debugName,new Set([`environment`]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function au(e,t,n=null){return new to({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Dw=(()=>{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=ai(!1,n.type),o=r.length>0?au([r],this._injector,``):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 ɵprov=re({token:e,providedIn:`environment`,factory:()=>new e(qe(ve))})}return e})();function Tw(e){return oo(()=>{let t=wm(e),n=s(r({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==gl.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Dw).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||fn.Emulated,styles:e.styles||ne,_:null,schemas:e.schemas||null,tView:null,id:``});t.standalone&&ye(`NgStandalone`),bm(n);let r$1=e.dependencies;return n.directiveDefs=Sp(r$1,Cw),n.pipeDefs=Sp(r$1,La),n.id=Nw(n),n})}function Cw(e){return Ge(e)||Rr(e)}function ww(e){return oo(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function bw(e,t){if(e==null)return It;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=Ds.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function _w(e){if(e==null)return It;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Sw(e){return oo(()=>{let t=wm(e);return bm(t),t})}function Mw(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function wm(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||It,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:bw(e.inputs,t),outputs:_w(e.outputs),debugInfo:null}}function bm(e){e.features?.forEach(t=>t(e))}function Sp(e,t){return e?()=>{let n=typeof e==`function`?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function Nw(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}var cu=new S(``);function xw(e){return en([{provide:cu,multi:!0,useValue:e}])}var lu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=v(cu,{optional:!0})??[];injector=v(Ee);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ci(this.injector,o);if(su(i))n.push(i);else if(Tm(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 ɵfac=function(r){return new(r||e)};static ɵprov=io({token:e,factory:e.ɵfac})}return e})();function Aw(e){return t=>{t.controlDef={create:(n,r)=>{n?.ɵngControlCreate(r)},update:(n,r)=>{n?.ɵngControlUpdate?.(r)},passThroughInput:e}}}function Rw(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Ow,n.hostDirectives=r?e.map(nl):[e]):r?n.hostDirectives.unshift(...e.map(nl)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Ow(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,_m(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&Fe(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{kw(s.declaredInputs,i.inputs)}),[t,r,o]}function _m(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o==`function`){let i=o();for(let s of i)Mp(nl(s),t,n,r)}else Mp(o,t,n,r)}function Mp(e,t,n,r){let o=Rr(e.directive);if(_m(o,t,n,r),n.has(o)){let i=n.get(o);Np(i,e.inputs,`input`),Np(i,e.outputs,`output`)}else r.includes(o)||(n.set(o,e),t.push(o))}function Np(e,t,n){let r=n===`input`?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i)})}function nl(e){return typeof e==`function`?{directive:Q(e),inputs:{},outputs:{}}:{directive:Q(e.directive),inputs:xp(e.inputs),outputs:xp(e.outputs)}}function xp(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function kw(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e[r]=e[n]}}function Pw(e){return Object.getPrototypeOf(e.prototype).constructor}function Sm(e){let t=Pw(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,xr)?t[xr]:void 0,s=Object.hasOwn(t,Ar)?t[Ar]:void 0;if(Fe(e))o=i??s;else{if(i)throw new _(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=Ec(e.inputs),c.declaredInputs=Ec(e.declaredInputs),c.outputs=Ec(e.outputs);let l=o.hostBindings;l&&Hw(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&jw(e,u),d&&Vw(e,d),Lw(e,o),Jd(e.outputs,o.outputs),Fe(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===Sm&&(n=!1)}}t=Object.getPrototypeOf(t)}Fw(r)}function Lw(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Fw(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Xn(o.hostAttrs,n=Xn(n,o.hostAttrs))}}function Ec(e){return e===It?{}:e===ne?[]:e}function jw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Vw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Hw(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Mm(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Xn(e.mergedAttrs,e.attrs);let u=e.tView=Hl(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),an(e,!1);let c=Am(n,t,e,r);wi()&&jl(n,t,c,e),er(c,t);let l=Ug(c,t,c,e);t[r+A]=l,Ul(t,l),dm(l,e,t)}function Bw(e,t,n,r,o,i,s,a,c,l,u){let d=n+A,p;return t.firstCreatePass?(p=En(t,d,4,s||null,a||null),mi()&&im(t,e,p,Te(t.consts,l),$l),Kp(t,p)):p=t.data[d],Mm(p,e,t,n,r,o,i,c),$n(p)&&Ts(t,e,p),l!=null&&fo(e,p,u),p}function mn(e,t,n,r,o,i,s,a,c,l,u){let d=n+A,p;if(t.firstCreatePass){if(p=En(t,d,4,s||null,a||null),l!=null){let f=Te(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Mm(p,e,t,n,r,o,i,c),l!=null&&fo(e,p,u),p}function Nm(e,t,n,r,o,i,s,a){let c=y(),l=P();return Bw(c,l,e,t,n,r,o,Te(l.consts,i),void 0,s,a),Nm}function xm(e,t,n,r,o,i,s,a){let c=y(),l=P();return mn(c,l,e,t,n,r,o,Te(l.consts,i),void 0,s,a),xm}var Am=Rm;function Rm(e,t,n,r){return at(!0),t[O].createComment(``)}function Uw(e,t,n,r){let o=!ps(t,n);at(o);let i=t[de]?.data[Th]?.[r]??null;if(i!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=i),o)return Rm(e,t);let s=t[de],a=bs(s,e,t,n);ds(s,r,a);return _s(_l(s,r),a)}function Om(){Am=Uw}var me=(function(e){return e[e.NOT_STARTED=0]=`NOT_STARTED`,e[e.IN_PROGRESS=1]=`IN_PROGRESS`,e[e.COMPLETE=2]=`COMPLETE`,e[e.FAILED=3]=`FAILED`,e})(me||{});var Ap=0;var $w=1;var V=(function(e){return e[e.Placeholder=0]=`Placeholder`,e[e.Loading=1]=`Loading`,e[e.Complete=2]=`Complete`,e[e.Error=3]=`Error`,e})(V||{});var no=(function(e){return e[e.Initial=-1]=`Initial`,e})(no||{});var qw=0;var In=1;var Gw=4;var Ww=5;var zw=6;var Qw=7;var Jn=8;var Yw=9;var uu=(function(e){return e[e.Manual=0]=`Manual`,e[e.Playthrough=1]=`Playthrough`,e})(uu||{});function km(e,t,n){let r=Lm(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function Ui(e,t){let n=Lm(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Pm(e){Ui(1,e),Ui(0,e),Ui(2,e)}function Lm(e){let t=Gw;return e===1?t=Ww:e===2&&(t=Yw),t}function Rs(e){return e+1}function ut(e,t){e[m];return e[Rs(t.index)]}function Zw(e,t,n){e[m];let o=Rs(t);e[o]=n}function lr(e,t){let n=Rs(t.index);return e.data[n]}function Kw(e,t,n){let r=Rs(t);e.data[r]=n}function Jw(e,t,n){let r=t[m],o=lr(r,n);switch(e){case V.Complete:return o.primaryTmplIndex;case V.Loading:return o.loadingTmplIndex;case V.Error:return o.errorTmplIndex;case V.Placeholder:return o.placeholderTmplIndex;default:return null}}function Rp(e,t){return t===V.Placeholder?e.placeholderBlockConfig?.[Ap]??null:t===V.Loading?e.loadingBlockConfig?.[Ap]??null:null}function Xw(e){return e.loadingBlockConfig?.[$w]??null}function Op(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function eb(e,t){return qn(e,t.primaryTmplIndex+A)}var tb=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?au(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=re({token:e,providedIn:`environment`,factory:()=>new e})}return e})();var Fm=new S(``);function Ic(e,t,n){return e.get(tb).getOrCreateInjector(t,e,n,``)}function nb(e,t,n){if(e instanceof ln){let o=e.injector,i=e.parentInjector;return new ln(o,Ic(i,t,n))}let r=e.get(ve);if(r!==e)return new ln(e,Ic(r,t,n));return Ic(e,t,n)}function At(e,t,n,r=!1){let o=n[q],i=o[m];if(Ze(o))return;let s=ut(o,t),a=s[In],c=s[Qw];if(!(c!==null&&e<c)&&kp(a,e)&&kp(s[qw]??-1,e)){let l=lr(i,t),d=!r&&(Xw(l)!==null||Rp(l,V.Loading)!==null||Rp(l,V.Placeholder))?ib:ob;try{d(e,s,n,t,o)}catch(p){Wl(o,p)}}}function rb(e,t){let n=e[De]?.findIndex(o=>o.data[El]===t[In])??-1;return{dehydratedView:n>-1?e[De][n]:null,dehydratedViewIx:n}}function ob(e,t,n,r,o){L(k.DeferBlockStateStart);let i=Jw(e,o,r);if(i!==null){t[In]=e;let s=o[m],c=qn(s,i+A),l=0;Yl(n,l);let u;if(e===V.Complete){let h=lr(s,r),g=h.providers;g&&g.length>0&&(u=nb(o[X],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=rb(n,t),f=ar(o,c,null,{injector:u,dehydratedView:d});if(cr(n,f,l,hn(c,d)),pi(f),p>-1&&n[De]?.splice(p,1),(e===V.Complete||e===V.Error)&&Array.isArray(t[Jn])){for(let h of t[Jn])h();t[Jn]=null}}L(k.DeferBlockStateEnd)}function kp(e,t){return e<t}function jm(e,t){let n=e[t.index];At(V.Placeholder,t,n)}function Pp(e,t,n){e.loadingPromise.then(()=>{e.loadingState===me.COMPLETE?At(V.Complete,t,n):e.loadingState===me.FAILED&&At(V.Error,t,n)})}var ib=null;function Vm(e,t){return t[X].get(Fm,null,{optional:!0})?.behavior!==uu.Manual}function sb(e,t,n,r){let o=n.get(Me);return oD(e,()=>o.run(t),i=>o.runOutsideAngular(()=>rD(i)),r)}function ab(e,t,n){return n==null?e:n>=0?Qa(n,e):e[t.index][j]??null}function cb(e,t){return di(A+t,e)}function lb(e,t,n,r,o,i,s,a){if(!Vm(s,e))return;let c=e[X],l=c.get(Me),u;function d(){if(Ze(e)){u.destroy();return}let p=ut(e,t),f=p[In];if(f!==no.Initial&&f!==V.Placeholder){u.destroy();return}let h=ab(e,t,r);if(!h||(u.destroy(),Ze(h)))return;let T=o(cb(h,n),()=>{l.run(()=>{e!==h&&gi(h,T),i()})},c,a);e!==h&&Wn(h,T),km(s,p,T)}u=hg({read:d},{injector:c})}var ub=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=re({token:e,factory:e.ɵfac,providedIn:`platform`})}return e})();var Hm=new S(``);var ho=new S(``);function Bm(){fa(()=>{throw new _(600,``)})}var db=10;var Pt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=v(Mt);afterRenderManager=v(ys);zonelessEnabled=v(Hr);rootEffectScheduler=v(Si);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new te;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=v(St);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(be(n=>!n))}constructor(){v(vn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=v(ve);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ee.NULL){return this._injector.get(Me).run(()=>{if(L(k.BootstrapComponentStart),!this._injector.get(lu).done)throw new _(405,``);let a=Ge(n),c=this._injector.get(nr),l=new gn(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=fb(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),g=h.location.nativeElement,T=h.injector.get(Hm,null);return T?.registerApplication(g),h.onDestroy(()=>{this.detachView(h.hostView),qr(this.components,h),T?.unregisterApplication(g)}),this._loadComponent(h),L(k.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){L(k.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ms.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw L(k.ChangeDetectionEnd),new _(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),L(k.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Xr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<db;){L(k.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{L(k.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!jr(o))continue;jg(o,r&&!this.zonelessEnabled?0:1),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>jr(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;qr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ho,[]).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),()=>qr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static ɵfac=function(r){return new(r||e)};static ɵprov=io({token:e,factory:e.ɵfac})}return e})();function fb(e){return e===void 0||typeof e==`string`||e instanceof Element?{hostElement:e}:e}function qr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Um(e,t,n){let r=t[X],o=t[m];if(e.loadingState!==me.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=ut(t,n),s=eb(o,e);e.loadingState=me.IN_PROGRESS,Ui(1,i);let a=e.dependencyResolverFn,c=r.get(xi).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,p=[],f=[];for(let h=0;h<l.length;h++){let g=l[h];if(g.status===`fulfilled`){let T=g.value,x=Ge(T)||Rr(T);if(x)p.push(x);else{let H=La(T);H&&f.push(H)}}else{u=!0,g.reason instanceof Error?g.reason:new Error(String(g.reason));break}}if(u){if(e.loadingState=me.FAILED,e.errorTmplIndex===null)Wl(t,new _(-750,``))}else{e.loadingState=me.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Op(h.directiveRegistry,p);e.providers=ai(!1,...p.map(x=>x.type))}f.length>0&&(h.pipeRegistry=Op(h.pipeRegistry,f))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=me.COMPLETE,c()}),e.loadingPromise)}function du(e,t,n){let r=t[m],o=t[n.index];if(!Vm(e,t))return;let i=ut(t,n),s=lr(r,n);switch(Pm(i),s.loadingState){case me.NOT_STARTED:At(V.Loading,n,o),Um(s,t,n),s.loadingState===me.IN_PROGRESS&&Pp(s,n,o);break;case me.IN_PROGRESS:At(V.Loading,n,o),Pp(s,n,o);break;case me.COMPLETE:At(V.Complete,n,o);break;case me.FAILED:At(V.Error,n,o);break;default:}}async function $m(e,t,n){let r=e.get(sr);if(r.hydrating.has(t))return;let{parentBlockPromise:i,hydrationQueue:s}=hD(t,e);if(s.length===0)return;i!==null&&s.shift(),gb(r,s),i!==null&&await i;let a=s[0];r.has(a)?await Lp(e,s,n):r.awaitParentBlock(a,async()=>await Lp(e,s,n))}async function Lp(e,t,n){let r=e.get(sr),o=r.hydrating,i=e.get(St),s=i.add();for(let c=0;c<t.length;c++){let l=t[c],u=r.get(l);if(u!=null){if(await yb(u),await mb(e),pb(u)){CC(u),Fp(t.slice(c),r);break}o.get(l).resolve()}else{hb(c,t,r),Fp(t.slice(c),r);break}}let a=t[t.length-1];await o.get(a)?.promise,i.remove(s),n&&n(t),wC(r.get(a),t,r,e.get(Pt))}function pb(e){return ut(e.lView,e.tNode)[In]===V.Error}function hb(e,t,n){let r=e-1,o=r>-1?n.get(t[r]):null;o&&Ms(o.lContainer)}function Fp(e,t){let n=t.hydrating;for(let r in e)n.get(r)?.reject();t.cleanup(e)}function gb(e,t){for(let n of t)e.hydrating.set(n,ac())}function mb(e){return new Promise(t=>gg(t,{injector:e}))}async function yb(e){let{tNode:t,lView:n}=e,r=ut(n,t);return new Promise(o=>{vb(r,o),du(2,n,t)})}function vb(e,t){Array.isArray(e[Jn])||(e[Jn]=[]),e[Jn].push(t)}function qm(e,t,n){return e===0?jp(t,n):e===2?!jp(t,n):!0}function Eb(e){return e!=null&&(e&1)===1}function jp(e,t){let n=e[X],r=lr(e[m],t),o=fs(n),i=Eb(r.flags),a=ut(e,t)[zw]!==null;return!(i&&a&&o)}function Ib(e,t,n,r,o,i,s,a,c,l){let u=y(),d=P(),p=e+A,f=mn(u,d,e,null,0,0),h=u[X],g=fs(h);if(d.firstCreatePass){ye(`NgDefer`);let ur={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:me.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,ur,a,s),Kw(d,p,ur)}let T=u[p];dm(T,f,u);let x=null,H=null;if(T[De]?.length>0){let ur=T[De][0].data;H=ur[vl]??null,x=ur[El]}let Ft=[null,no.Initial,null,null,null,null,H,x,null,null];Zw(u,p,Ft);let $s=null;H!==null&&g&&($s=h.get(sr),$s.add(H,{lView:u,tNode:f,lContainer:T}));let Gu=()=>{Pm(Ft),H!==null&&$s?.cleanup([H])};km(0,Ft,()=>gi(u,Gu)),Wn(u,Gu)}function Db(e){let t=y(),n=st();if(!qm(0,t,n))return;if(ie(t,je(),e)){let o=I(null);try{let i=!!e,a=ut(t,n)[In];i===!1&&a===no.Initial?jm(t,n):i===!0&&(a===no.Initial||a===V.Placeholder)&&du(0,t,n)}finally{I(o)}}}function Tb(e,t,n){let r=y(),o=U();qm(0,r,o)&&(jm(r,o),lb(r,o,e,t,sb,()=>du(0,r,o),0,n))}function Gm(e,t){let n=y();if(ie(n,je(),t)){let o=P(),i=st();if(Cs(i,o,n,e,t))Le(i)&&Ag(n,i.index);else{let a=fe(i,n);Rg(n[O],a,null,i.value,e,t,null)}}return Gm}function Wm(e,t,n,r){let o=y();if(ie(o,je(),t)){P();GT(st(),o,e,t,n,r)}return Wm}var rl=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Dc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Cb(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){I(r);let l=t.length-1;for(I(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Dc(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],g=Dc(a,f,l,h,n);if(g!==0){g<0&&e.updateValue(a,h),a--,l--;continue}let T=n(s,u),x=n(a,f),H=n(s,d);if(Object.is(H,x)){let Ft=n(l,h);Object.is(Ft,T)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new is,i??=Hp(e,s,a,n),ol(e,o,s,H))e.updateValue(s,d),s++,a++;else if(i.has(H))o.set(T,e.detach(s)),a--;else{let Ft=e.create(s,t[s]);e.attach(s,Ft),s++,a++}}for(;s<=l;)Vp(e,o,n,s,t[s]),s++}else if(t!=null){I(r);let l=t[Symbol.iterator]();I(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Dc(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new is,i??=Hp(e,s,a,n);let h=n(s,p);if(ol(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let g=n(s,d);o.set(g,e.detach(s)),a--}}}for(;!u.done;)Vp(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function ol(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Vp(e,t,n,r,o){if(ol(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Hp(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var is=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function wb(e,t,n,r,o,i,s,a){ye(`NgControlFlow`);let c=y(),l=P();return mn(c,l,e,t,n,r,o,Te(l.consts,i),256,s,a),fu}function fu(e,t,n,r,o,i,s,a){ye(`NgControlFlow`);let c=y(),l=P();return mn(c,l,e,t,n,r,o,Te(l.consts,i),512,s,a),fu}function bb(e,t){ye(`NgControlFlow`);let n=y(),r=je(),o=n[r]!==W?n[r]:-1,i=o!==-1?ss(n,A+o):void 0,s=0;if(ie(n,r,e)){let a=I(null);try{if(i!==void 0&&Yl(i,s),e!==-1){let c=A+e,l=ss(n,c),u=cl(n[m],c),d=Zg(l,u,n);cr(l,ar(n,u,t,{dehydratedView:d}),s,hn(u,d))}}finally{I(a)}}else if(i!==void 0){let a=$g(i,s);a!==void 0&&(a[G]=t)}}var il=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-j}};function _b(e){return e}function Sb(e,t){return t}var sl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Mb(e,t,n,r,o,i,s,a,c,l,u,d,p){ye(`NgControlFlow`);let f=y(),h=P(),g=c!==void 0,T=y(),H=new sl(g,a?s.bind(T[ee][G]):s);T[A+e]=H,mn(f,h,e+1,t,n,r,o,Te(h.consts,i),256),g&&mn(f,h,e+2,c,l,u,d,Te(h.consts,p),512)}var al=class extends rl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-j}at(t){return this.getLView(t)[G].$implicit}attach(t,n){let r=n[de];this.needsIndexUpdate||=t!==this.length,cr(this.lContainer,n,t,hn(this.templateTNode,r)),xb(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Ab(this.lContainer,t),Rb(this.lContainer,t)}create(t,n){let r=Jr(this.lContainer,this.templateTNode.tView.ssrId);return ar(this.hostLView,this.templateTNode,new il(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Es(t[m],t)}updateValue(t,n){this.getLView(t)[G].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[G].$index=t}getLView(t){return Ob(this.lContainer,t)}};function Nb(e){let t=I(null),n=ge();try{let r=y(),o=r[m],i=r[n],s=n+1,a=ss(r,s);if(i.liveCollection===void 0)i.liveCollection=new al(a,r,cl(o,s));else i.liveCollection.reset();let c=i.liveCollection;if(Cb(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=je(),u=c.length===0;if(ie(r,l,u)){let d=n+2,p=ss(r,d);if(u){let f=cl(o,d),h=Zg(p,f,r);cr(p,ar(r,f,void 0,{dehydratedView:h}),0,hn(f,h))}else o.firstUpdatePass&&Ss(p),Yl(p,0)}}}finally{I(t)}}function ss(e,t){return e[t]}function xb(e,t){if(e.length<=j)return;let r=e[j+t],o=r?r[Ye]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[X];mT(i,o),tr.delete(r[Qe]),o.detachedLeaveAnimationFns=void 0}}function Ab(e,t){if(e.length<=j)return;let r=e[j+t],o=r?r[Ye]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function Rb(e,t){return Zr(e,t)}function Ob(e,t){return $g(e,t)}function cl(e,t){return qn(e,t)}function zm(e,t,n){let r=y();if(ie(r,je(),t)){P();Ng(st(),r,e,t,r[O],n)}return zm}function ll(e,t,n,r,o){Cs(t,e,n,o?`class`:`style`,r)}function as(e,t,n,r){let o=y(),i=o[m],s=e+A,a=i.firstCreatePass?Xl(s,o,2,t,$l,mi(),n,r):i.data[s];if(Le(a)){let c=o[Pe].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(em(l),()=>(Bp(e,t,o,a,r),as))}}return Bp(e,t,o,a,r),as}function Bp(e,t,n,r,o){if(ql(r,n,e,t,mu),$n(r)){let i=n[m];Ts(i,n,r),Sl(i,r,n)}o!=null&&fo(n,r)}function pu(){let e=P(),n=Gl(U());return e.firstCreatePass&&eu(e,n),Ja(n)&&Xa(),Ka(),n.classesWithoutHost!=null&&OI(n)&&ll(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&kI(n)&&ll(e,n,y(),n.stylesWithoutHost,!1),pu}function Qm(e,t,n,r){return as(e,t,n,r),pu(),Qm}function hu(e,t,n,r){let o=y(),i=o[m],s=e+A,a=i.firstCreatePass?JC(s,i,2,t,n,r):i.data[s];return ql(a,o,e,t,mu),r!=null&&fo(o,a),hu}function gu(){return Ja(Gl(U()))&&Xa(),Ka(),gu}function Ym(e,t,n,r){return hu(e,t,n,r),gu(),Ym}var mu=(e,t,n,r,o)=>(at(!0),Nl(t[O],r,Ci()));function kb(e,t,n,r,o){let i=!ps(t,n);if(at(i),i)return Nl(t[O],r,Ci());let s=t[de],a=bs(s,e,t,n);return $h(s,o)&&ds(s,o,a.nextSibling),s&&(fh(n)||ph(a))&&Le(n)&&(Cf(n),ig(a)),a}function Zm(){mu=kb}function yu(e,t,n){let r=y(),o=r[m],i=e+A,s=o.firstCreatePass?Xl(i,r,8,`ng-container`,$l,mi(),t,n):o.data[i];if(ql(s,r,e,`ng-container`,Jm),$n(s)){let a=r[m];Ts(a,r,s),Sl(a,s,r)}return n!=null&&fo(r,s),yu}function vu(){let e=P(),n=Gl(U());return e.firstCreatePass&&eu(e,n),vu}function Km(e,t,n){return yu(e,t,n),vu(),Km}var Jm=(e,t,n,r,o)=>(at(!0),rg(t[O],``));function Pb(e,t,n,r,o){let i,s=!ps(t,n);if(at(s),s)return rg(t[O],``);let a=t[de],c=bs(a,e,t,n),l=fD(a,o);return ds(a,o,c),i=_s(l,c),i}function Xm(){Jm=Pb}function Lb(){return y()}function ey(e,t,n){let r=y();if(ie(r,je(),t)){P();xg(st(),r,e,t,r[O],n)}return ey}var Br=void 0;function Fb(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,``).length;return t===1&&n===0?1:5}var jb=[`en`,[[`a`,`p`],[`AM`,`PM`]],[[`AM`,`PM`]],[[`S`,`M`,`T`,`W`,`T`,`F`,`S`],[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`]],Br,[[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]],Br,[[`B`,`A`],[`BC`,`AD`],[`Before Christ`,`Anno Domini`]],0,[6,0],[`M/d/yy`,`MMM d, y`,`MMMM d, y`,`EEEE, MMMM d, y`],[`h:mm a`,`h:mm:ss a`,`h:mm:ss a z`,`h:mm:ss a zzzz`],[`{1}, {0}`,Br,Br,Br],[`.`,`,`,`;`,`%`,`+`,`-`,`E`,`×`,`‰`,`∞`,`NaN`,`:`],[`#,##0.###`,`#,##0%`,`¤#,##0.00`,`#E0`],`USD`,`$`,`US Dollar`,{},`ltr`,Fb];var Gr=Object.create(null);function Vb(e,t,n){typeof t!=`string`&&(n=t,t=e[ul.LocaleId]),t=t.toLowerCase().replace(/_/g,`-`),Gr[t]=e,n&&(Gr[t][ul.ExtraData]=n)}function Hb(e){let t=Bb(e),n=Up(t);if(n)return n;let r=t.split(`-`)[0];if(n=Up(r),n)return n;if(r===`en`)return jb;throw new _(701,!1)}function Up(e){if(!(e in Gr)){let t=We.ng&&We.ng.common&&We.ng.common.locales&&We.ng.common.locales[e];return t!==void 0&&(Gr[e]=t),t}return Gr[e]}var ul={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};function Bb(e){return e.toLowerCase().replace(/_/g,`-`)}var go=`en-US`;var Ub=`USD`;function ty(e){typeof e==`string`&&e.toLowerCase().replace(/_/g,`-`)}function ny(e,t,n){let r=y(),o=P(),i=U();return oy(o,r,r[O],i,e,t,n),ny}function ry(e,t,n){let r=y(),o=P(),i=U();return(i.type&3||n)&&Jl(i,o,r,n,r[O],e,t,un(i,r,t)),ry}function oy(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=un(r,t,i),Jl(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=un(r,t,i),Ji(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=un(r,t,i),Ji(r,t,d,o,o,c)}}function qb(e=1){return Pf(e)}function Gb(e,t){let n=null,r=oT(e);for(let o=0;o<t.length;o++){let i=t[o];if(i===`*`){n=o;continue}if(r===null?fg(e,i,!0):aT(r,i))return o}return n}function Wb(e){let t=y()[ee][oe];if(!t.projection){let r=t.projection=af(e?e.length:1,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Gb(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function zb(e,t=0,n,r,o,i){let s=y(),a=P(),c=r?e+1:null;c!==null&&mn(s,a,c,r,o,i,null,n);let l=En(a,A+e,16,null,n||null);l.projection===null&&(l.projection=t),nc();let d=!s[de]||yi();s[ee][oe].projection[l.projection]===null&&c!==null?Qb(s,a,c):d&&!lo(l)&&AT(a,s,l)}function Qb(e,t,n){let r=A+n,o=t.data[r],i=e[r],s=Jr(i,o.tView.ssrId);cr(i,ar(e,o,void 0,{dehydratedView:s}),0,hn(o,s))}function iy(e,t,n,r){return ym(e,t,n,r),iy}function sy(e,t,n){return mm(e,t,n),sy}function Yb(e){let t=y(),n=P(),r=Ii();Vr(r+1);let o=ru(n,r);if(e.dirty&&vf(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Em(t,r);e.reset(i,uh),e.notifyOnChanges()}return!0}return!1}function Zb(){return nu(y(),Ii())}function ay(e,t,n,r,o){return Dm(t,ym(e,n,r,o)),ay}function cy(e,t,n,r){return Dm(e,mm(t,n,r)),cy}function Kb(e=1){Vr(Ii()+e)}function Jb(e){return Gn(rc(),A+e)}function Li(e,t){return e<<17|t<<2}function yn(e){return e>>17&32767}function Xb(e){return(e&2)==2}function e_(e,t){return e&131071|t<<17}function dl(e){return e|2}function rr(e){return(e&131068)>>2}function Tc(e,t){return e&-131069|t<<2}function t_(e){return(e&1)===1}function fl(e){return e|1}function n_(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=yn(s),c=rr(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Vn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=yn(e[a+1]);e[r+1]=Li(p,a),p!==0&&(e[p+1]=Tc(e[p+1],r)),e[a+1]=e_(e[a+1],r)}else e[r+1]=Li(a,0),a!==0&&(e[a+1]=Tc(e[a+1],r)),a=r;else e[r+1]=Li(c,0),a===0?a=r:e[c+1]=Tc(e[c+1],r),c=r;l&&(e[r+1]=dl(e[r+1])),$p(e,u,r,!0),$p(e,u,r,!1),r_(t,u,e,r,i),s=Li(a,c),i?t.classBindings=s:t.styleBindings=s}function r_(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t==`string`&&Vn(i,t)>=0&&(n[r+1]=fl(n[r+1]))}function $p(e,t,n,r){let o=e[n+1],i=t===null,s=r?yn(o):rr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];o_(c,t)&&(a=!0,e[s+1]=r?fl(l):dl(l)),s=r?yn(l):rr(l)}a&&(e[n+1]=r?dl(o):fl(o))}function o_(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t==`string`?Vn(e,t)>=0:!1}var Y={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ly(e){return e.substring(Y.key,Y.keyEnd)}function i_(e){return e.substring(Y.value,Y.valueEnd)}function s_(e){return fy(e),uy(e,or(e,0,Y.textEnd))}function uy(e,t){let n=Y.textEnd;return n===t?-1:(t=Y.keyEnd=c_(e,Y.key=t,n),or(e,t,n))}function a_(e){return fy(e),dy(e,or(e,0,Y.textEnd))}function dy(e,t){let n=Y.textEnd,r=Y.key=or(e,t,n);return n===r?-1:(r=Y.keyEnd=l_(e,r,n),r=qp(e,r,n,58),r=Y.value=or(e,r,n),r=Y.valueEnd=u_(e,r,n),qp(e,r,n,59))}function fy(e){Y.key=0,Y.keyEnd=0,Y.value=0,Y.valueEnd=0,Y.textEnd=e.length}function or(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function c_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function l_(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function qp(e,t,n,r){return t=or(e,t,n),t<n&&t++,t}function u_(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Gp(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Gp(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Gp(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function py(e,t,n){return gy(e,t,n,!1),py}function hy(e,t){return gy(e,t,null,!0),hy}function d_(e){my(Ey,f_,e,!1)}function f_(e,t){for(let n=a_(t);n>=0;n=dy(t,n))Ey(e,ly(t),i_(t))}function p_(e){my(I_,h_,e,!0)}function h_(e,t){for(let n=s_(t);n>=0;n=uy(t,n))kr(e,ly(t),!0)}function gy(e,t,n,r){let o=y(),i=P(),s=zn(2);if(i.firstUpdatePass&&vy(i,e,s,r),t!==W&&ie(o,s,t)){let a=i.data[ge()];Iy(i,a,o,o[O],e,o[s+1]=T_(t,n),r,s)}}function my(e,t,n,r){let o=P(),i=zn(2);o.firstUpdatePass&&vy(o,null,i,r);let s=y();if(n!==W&&ie(s,i,n)){let a=o.data[ge()];if(Dy(a,r)&&!yy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ei(c,n||``)),ll(o,a,s,n,r)}else D_(o,a,s,s[O],s[i+1],s[i+1]=E_(e,t,n),r,i)}}function yy(e,t){return t>=e.expandoStartIndex}function vy(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ge()],s=yy(e,n);Dy(i,r)&&t===null&&!s&&(t=!1),t=g_(o,i,t,r),n_(o,i,t,n,s,r)}}function g_(e,t,n,r){let o=Af(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Cc(null,e,t,n,r),n=ro(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Cc(o,e,t,n,r),i===null){let c=m_(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Cc(null,e,t,c[1],r),c=ro(c,t.attrs,r),y_(e,t,r,c))}else i=v_(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function m_(e,t,n){let r=n?t.classBindings:t.styleBindings;if(rr(r)!==0)return e[yn(r)]}function y_(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[yn(o)]=r}function v_(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=ro(r,s,n)}return ro(r,t.attrs,n)}function Cc(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=ro(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function ro(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]),kr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function E_(e,t,n){if(n==null||n===``)return ne;let r=[],o=Ot(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o==`object`)for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o==`string`&&t(r,o);return r}function Ey(e,t,n){kr(e,t,Ot(n))}function I_(e,t,n){let r=String(t);r!==``&&!r.includes(` `)&&kr(e,r,n)}function D_(e,t,n,r,o,i,s,a){o===W&&(o=ne);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&Iy(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Iy(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1];if(!cs(t_(l)?Wp(c,t,n,o,rr(l),s):void 0)){cs(i)||Xb(l)&&(i=Wp(c,null,n,o,a,s));OT(r,s,di(ge(),n),o,i)}}function Wp(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===W&&(p=d?ne:void 0);let f=d?si(p,r):u===r?p:void 0;if(l&&!cs(f)&&(f=si(c,r)),cs(f)&&(a=f,s))return a;let h=e[o+1];o=s?yn(h):rr(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=si(c,r))}return a}function cs(e){return e!==void 0}function T_(e,t){return e==null||e===``||(typeof t==`string`?e=Ot(e)+t:typeof e==`object`&&(e=Mr(Ot(e)))),e}function Dy(e,t){return(e.flags&(t?8:16))!==0}function C_(e,t=``){let n=y(),r=P(),o=e+A,i=r.firstCreatePass?En(r,o,1,t,null):r.data[o],s=Ty(r,n,i,t);n[o]=s,wi()&&jl(r,n,s,i),an(i,!1)}var Ty=(e,t,n,r)=>(at(!0),ng(t[O],r));function w_(e,t,n,r){let o=!ps(t,n);if(at(o),o)return ng(t[O],r);let i=t[de];return bs(i,e,t,n)}function Cy(){Ty=w_}function wy(e,t,n,r=``){return ie(e,je(),n)?t+le(n)+r:W}function b_(e,t,n,r,o,i=``){let a=eo(e,vi(),n,o);return zn(2),a?t+le(n)+r+le(o)+i:W}function __(e,t,n,r,o,i,s,a=``){let l=nm(e,vi(),n,o,s);return zn(3),l?t+le(n)+r+le(o)+i+le(s)+a:W}function S_(e,t,n,r,o,i,s,a,c,l=``){let d=AC(e,vi(),n,o,s,c);return zn(4),d?t+le(n)+r+le(o)+i+le(s)+a+le(c)+l:W}function by(e){return Eu(``,e),by}function Eu(e,t,n){let r=y(),o=wy(r,e,t,n);return o!==W&&Os(r,ge(),o),Eu}function _y(e,t,n,r,o){let i=y(),s=b_(i,e,t,n,r,o);return s!==W&&Os(i,ge(),s),_y}function Sy(e,t,n,r,o,i,s){let a=y(),c=__(a,e,t,n,r,o,i,s);return c!==W&&Os(a,ge(),c),Sy}function My(e,t,n,r,o,i,s,a,c){let l=y(),u=S_(l,e,t,n,r,o,i,s,a,c);return u!==W&&Os(l,ge(),u),My}function Os(e,t,n){let r=di(t,e);UD(e[O],r,n)}function Ny(e,t,n){Ni(t)&&(t=t());let r=y();if(ie(r,je(),t)){P();Ng(st(),r,e,t,r[O],n)}return Ny}function M_(e,t){let n=Ni(e);return n&&e.set(t),n}function xy(e,t){let n=y(),r=P(),o=U();return oy(r,n,n[O],o,e,t),xy}var Ay={};function Ry(e){ye(`NgLet`);let t=P(),n=y(),r=e+A;return an(En(t,r,128,null,null),!1),Fr(t,n,r,Ay),Ry}function N_(e){return Fr(P(),y(),ge(),e),e}function x_(e){let n=Gn(rc(),A+e);if(n===Ay)throw new _(314,!1);return n}function A_(e){return ie(y(),je(),e)?le(e):W}function R_(e,t,n=``){return wy(y(),e,t,n)}function zp(e,t,n){let r=P();r.firstCreatePass&&Oy(t,r.data,r.blueprint,Fe(e),n)}function Oy(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i<e.length;i++)Oy(e[i],t,n,r,o);else{let i=P(),s=y(),a=U(),c=Kt(e)?e:Q(e.provide),l=$a(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Kt(e)||!e.multi){let f=new dn(l,o,po,null),h=bc(c,t,o?u:u+p,d);h===-1?(Mc(zi(a,s),i,c),wc(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=bc(c,t,u+p,d),h=bc(c,t,u,u+p),g=f>=0&&n[f],T=h>=0&&n[h];if(o&&!T||!o&&!g){Mc(zi(a,s),i,c);let x=P_(o?k_:O_,n.length,o,r,l,e);!o&&T&&(n[h].providerFactory=x),wc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=ky(n[o?h:f],l,!o&&r);wc(i,e,f>-1?f:h,x)}!o&&r&&T&&n[h].componentProviders++}}}function wc(e,t,n,r){let o=Kt(t),i=pf(t);if(o||i){let c=(i?Q(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function ky(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function O_(e,t,n,r,o){return pl(this.multi,[])}function k_(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Wr(r,r[m],this.providerFactory.index,o);s=c.slice(0,a),pl(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],pl(i,s);return s}function pl(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function P_(e,t,n,r,o,i){let s=new dn(e,n,po,null);return s.multi=[],s.index=t,s.componentProviders=0,ky(s,o,r&&!n),s}function L_(e,t){return n=>{n.providersResolver=(r,o)=>zp(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>zp(r,o?o(t):t,!0))}}var F_=()=>null;var Iu=new S(``);function Py(){return F_()}function Ly(e){e.requested&&e.activated&&(e.injector,e.document)}function V_(e,t){let n=wt()+e,r=y();return r[n]===W?xs(r,n,t()):xC(r,n)}function H_(e,t,n){return Fy(y(),wt(),e,t,n)}function B_(e,t,n,r){return jy(y(),wt(),e,t,n,r)}function U_(e,t,n,r,o){return Vy(y(),wt(),e,t,n,r,o)}function Du(e,t){let n=e[t];return n===W?void 0:n}function Fy(e,t,n,r,o,i){let s=t+n;return ie(e,s,o)?xs(e,s+1,i?r.call(i,o):r(o)):Du(e,s+1)}function jy(e,t,n,r,o,i,s){let a=t+n;return eo(e,a,o,i)?xs(e,a+2,s?r.call(s,o,i):r(o,i)):Du(e,a+2)}function Vy(e,t,n,r,o,i,s,a){let c=t+n;return nm(e,c,o,i,s)?xs(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Du(e,c+3)}function $_(e,t){let n=P(),r,o=e+A;n.firstCreatePass?(r=q_(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=vt(r.type,!0)),a=ce(po);try{let c=Wi(!1),l=i();return Wi(c),Fr(n,y(),o,l),l}finally{ce(a)}}function q_(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function G_(e,t,n){let r=e+A,o=y(),i=Gn(o,r);return Tu(o,r)?Fy(o,wt(),t,i.transform,n,i):i.transform(n)}function W_(e,t,n,r){let o=e+A,i=y(),s=Gn(i,o);return Tu(i,o)?jy(i,wt(),t,s.transform,n,r,s):s.transform(n,r)}function z_(e,t,n,r,o){let i=e+A,s=y(),a=Gn(s,i);return Tu(s,i)?Vy(s,wt(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Tu(e,t){return e[m].data[t].pure}function Q_(e,t){return ws(e,t)}var Hy=(()=>{class e{applicationErrorHandler=v(Mt);appRef=v(Pt);taskService=v(St);ngZone=v(Me);zonelessEnabled=v(Hr);tracing=v(vn,{optional:!0});zoneIsDefined=typeof Zone<`u`&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(br):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(v(fc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Bf:lc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(br+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){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=io({token:e,factory:e.ɵfac})}return e})();function Y_(){return ye(`NgZoneless`),en([...Cu(),[]])}function Cu(){return[{provide:ke,useExisting:Hy},{provide:Me,useClass:_r},{provide:Hr,useValue:!0}]}var Z_=(()=>{class e{compileModuleSync(n){return new os(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static ɵfac=function(r){return new(r||e)};static ɵprov=io({token:e,factory:e.ɵfac})}return e})();function K_(){return typeof $localize<`u`&&$localize.locale||go}var wu=new S(``,{factory:()=>v(wu,{optional:!0,skipSelf:!0})||K_()});var J_=new S(``,{factory:()=>Ub});var ks=class{destroyed=!1;listeners=null;errorHandler=v(ot,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=v(Se);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new _(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[n]=null):this.listeners.splice(n,1))}}}emit(t){if(this.destroyed){console.warn(Sr(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let n=I(null);try{for(let r of this.listeners)try{r!==null&&r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&X_(this.listeners)),I(n),this.isEmitting=!1}}};function X_(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}var eS=new S(``);function tS(e,t){return Er(e,t?.equal)}function Uy(e){return Wd(e)}(class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e(`IDLE`);static LOADING=new e(`LOADING`)});var nS=e=>e;function rS(e,t){if(typeof e==`function`)return By(ya(e,nS,t?.equal),t?.debugName,t?.set);else return By(ya(e.source,e.computation,e.equal),e.debugName,e.set)}function By(e,t,n){let r=e[$],o=e;if(n!==void 0){let i=s=>va(r,s);o.set=s=>n(s,i),o.update=s=>n(s(Uy(e)),i)}else o.set=i=>va(r,i),o.update=i=>Gd(r,i);return o.asReadonly=_i.bind(e),o}var xu={JSACTION:`__jsaction`,OWNER:`__owner`};var Wy={};function oS(e){return e[xu.JSACTION]}function $y(e,t){e[xu.JSACTION]=t}function iS(e){return Wy[e]}function sS(e,t){Wy[e]=t}var C={CLICK:`click`,CLICKMOD:`clickmod`,DBLCLICK:`dblclick`,FOCUS:`focus`,FOCUSIN:`focusin`,BLUR:`blur`,FOCUSOUT:`focusout`,SUBMIT:`submit`,KEYDOWN:`keydown`,KEYPRESS:`keypress`,KEYUP:`keyup`,MOUSEOVER:`mouseover`,MOUSEOUT:`mouseout`,MOUSEENTER:`mouseenter`,MOUSELEAVE:`mouseleave`,POINTEROVER:`pointerover`,POINTEROUT:`pointerout`,POINTERENTER:`pointerenter`,POINTERLEAVE:`pointerleave`,ERROR:`error`,LOAD:`load`,TOUCHSTART:`touchstart`,TOUCHEND:`touchend`,TOUCHMOVE:`touchmove`,TOGGLE:`toggle`};var aS=[C.MOUSEENTER,C.MOUSELEAVE,`pointerenter`,`pointerleave`];C.CLICK,C.DBLCLICK,C.FOCUSIN,C.FOCUSOUT,C.KEYDOWN,C.KEYUP,C.KEYPRESS,C.MOUSEOVER,C.MOUSEOUT,C.SUBMIT,C.TOUCHSTART,C.TOUCHEND,C.TOUCHMOVE;var cS=[C.FOCUS,C.BLUR,C.ERROR,C.LOAD,C.TOGGLE];var Au=e=>cS.indexOf(e)>=0;function lS(e){return e===C.MOUSEENTER?C.MOUSEOVER:e===C.MOUSELEAVE?C.MOUSEOUT:e===C.POINTERENTER?C.POINTEROVER:e===C.POINTERLEAVE?C.POINTEROUT:e}function uS(e,t,n,r){let o=!1;Au(t)&&(o=!0);let i=typeof r==`boolean`?{capture:o,passive:r}:o;return e.addEventListener(t,n,i),{eventType:t,handler:n,capture:o,passive:r}}function dS(e,t){if(e.removeEventListener){let n=typeof t.passive==`boolean`?{capture:t.capture}:t.capture;e.removeEventListener(t.eventType,t.handler,n)}else e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}function fS(e){e.preventDefault?e.preventDefault():e.returnValue=!1}var qy=typeof navigator<`u`&&/Macintosh/.test(navigator.userAgent);function pS(e){return e.which===2||e.which==null&&e.button===4}function hS(e){return qy&&e.metaKey||!qy&&e.ctrlKey||pS(e)||e.shiftKey}function gS(e,t,n){let r=e.relatedTarget;return(e.type===C.MOUSEOVER&&t===C.MOUSEENTER||e.type===C.MOUSEOUT&&t===C.MOUSELEAVE||e.type===C.POINTEROVER&&t===C.POINTERENTER||e.type===C.POINTEROUT&&t===C.POINTERLEAVE)&&(!r||r!==n&&!n.contains(r))}function mS(e,t){let n={};for(let r in e){if(r===`srcElement`||r===`target`)continue;let o=r,i=e[o];typeof i!=`function`&&(n[o]=i)}return e.type===C.MOUSEOVER?n.type=C.MOUSEENTER:e.type===C.MOUSEOUT?n.type=C.MOUSELEAVE:e.type===C.POINTEROVER?n.type=C.POINTERENTER:n.type=C.POINTERLEAVE,n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}var js=class{element;handlerInfos=[];constructor(t){this.element=t}addEventListener(t,n,r){this.handlerInfos.push(uS(this.element,t,n(this.element),r))}cleanUp(){for(let t=0;t<this.handlerInfos.length;t++)dS(this.element,this.handlerInfos[t]);this.handlerInfos=[]}};var yS={EVENT_ACTION_SEPARATOR:`:`};function Lt(e){return e.eventType}function Ru(e,t){e.eventType=t}function Ls(e){return e.event}function zy(e,t){e.event=t}function Qy(e){return e.targetElement}function Yy(e,t){e.targetElement=t}function Zy(e){return e.eic}function vS(e,t){e.eic=t}function ES(e){return e.timeStamp}function IS(e,t){e.timeStamp=t}function Fs(e){return e.eia}function Ky(e,t,n){e.eia=[t,n]}function _u(e){e.eia=void 0}function Ps(e){return e[1]}function DS(e){return e.eirp}function Jy(e,t){e.eirp=t}function Xy(e){return e.eir}function ev(e,t){e.eir=t}function tv(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}function TS(e,t,n,r,o,i,s,a){return{eventType:e,event:t,targetElement:n,eic:r,timeStamp:o,eia:i,eirp:s,eiack:a}}var Su=class e{eventInfo;constructor(t){this.eventInfo=t}getEventType(){return Lt(this.eventInfo)}setEventType(t){Ru(this.eventInfo,t)}getEvent(){return Ls(this.eventInfo)}setEvent(t){zy(this.eventInfo,t)}getTargetElement(){return Qy(this.eventInfo)}setTargetElement(t){Yy(this.eventInfo,t)}getContainer(){return Zy(this.eventInfo)}setContainer(t){vS(this.eventInfo,t)}getTimestamp(){return ES(this.eventInfo)}setTimestamp(t){IS(this.eventInfo,t)}getAction(){let t=Fs(this.eventInfo);if(t)return{name:t[0],element:t[1]}}setAction(t){if(!t){_u(this.eventInfo);return}Ky(this.eventInfo,t.name,t.element)}getIsReplay(){return DS(this.eventInfo)}setIsReplay(t){Jy(this.eventInfo,t)}getResolved(){return Xy(this.eventInfo)}setResolved(t){ev(this.eventInfo,t)}clone(){return new e(tv(this.eventInfo))}};var CS={};var wS=/\s*;\s*/;var bS=C.CLICK;var Mu=class{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:t=!1,clickModSupport:n=!0}={}){this.syntheticMouseEventSupport=t,this.clickModSupport=n}resolveEventType(t){this.clickModSupport&&Lt(t)===C.CLICK&&hS(Ls(t))?Ru(t,C.CLICKMOD):this.a11yClickSupport&&this.updateEventInfoForA11yClick(t)}resolveAction(t){Xy(t)||(this.populateAction(t,Qy(t)),ev(t,!0))}resolveParentAction(t){let n=Fs(t),r=n&&Ps(n);_u(t);let o=r&&this.getParentNode(r);o&&this.populateAction(t,o)}populateAction(t,n){let r=n;for(;r&&r!==Zy(t)&&(r.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(r,t),!Fs(t));)r=this.getParentNode(r);let o=Fs(t);if(o&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(t),this.syntheticMouseEventSupport&&(Lt(t)===C.MOUSEENTER||Lt(t)===C.MOUSELEAVE||Lt(t)===C.POINTERENTER||Lt(t)===C.POINTERLEAVE)))if(gS(Ls(t),Lt(t),Ps(o)))zy(t,mS(Ls(t),Ps(o))),Yy(t,Ps(o));else _u(t)}getParentNode(t){let n=t[xu.OWNER];if(n)return n;let r=t.parentNode;return r?.nodeName===`#document-fragment`?r?.host??null:r}populateActionOnElement(t,n){let r=this.parseActions(t),o=r[Lt(n)];o!==void 0&&Ky(n,o,t),this.a11yClickSupport&&this.populateClickOnlyAction(t,n,r)}parseActions(t){let n=oS(t);if(!n){let r=t.getAttribute(Ai.JSACTION);if(!r)n=CS,$y(t,n);else{if(n=iS(r),!n){n={};let o=r.split(wS);for(let i=0;i<o.length;i++){let s=o[i];if(!s)continue;let a=s.indexOf(yS.EVENT_ACTION_SEPARATOR),c=a!==-1,l=c?s.substr(0,a).trim():bS,u=c?s.substr(a+1).trim():s;n[l]=u}sS(r,n)}$y(t,n)}}return n}addA11yClickSupport(t,n,r){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=t,this.preventDefaultForA11yClick=n,this.populateClickOnlyAction=r}};var nv=(function(e){return e[e.I_AM_THE_JSACTION_FRAMEWORK=0]=`I_AM_THE_JSACTION_FRAMEWORK`,e})(nv||{});var Nu=class{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(t,{actionResolver:n,eventReplayer:r}={}){this.dispatchDelegate=t,this.actionResolver=n,this.eventReplayer=r}dispatch(t){let n=new Su(t);this.actionResolver?.resolveEventType(t),this.actionResolver?.resolveAction(t);let r=n.getAction();if(r&&_S(r.element,n)&&fS(n.getEvent()),this.eventReplayer&&n.getIsReplay()){this.scheduleEventInfoWrapperReplay(n);return}this.dispatchDelegate(n)}scheduleEventInfoWrapperReplay(t){this.replayEventInfoWrappers.push(t),!this.eventReplayScheduled&&(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}};function _S(e,t){return e.tagName===`A`&&(t.getEventType()===C.CLICK||t.getEventType()===C.CLICKMOD)}var rv=Symbol.for(`propagationStopped`);var Ou={REPLAY:101};var SS="`preventDefault` called during event replay.";var MS="`composedPath` called during event replay.";var Vs=class{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(t,n=!0){this.dispatchDelegate=t,this.clickModSupport=n,this.actionResolver=new Mu({clickModSupport:n}),this.dispatcher=new Nu(r=>{this.dispatchToDelegate(r)},{actionResolver:this.actionResolver})}dispatch(t){this.dispatcher.dispatch(t)}dispatchToDelegate(t){for(t.getIsReplay()&&AS(t),NS(t);t.getAction();){if(RS(t),Au(t.getEventType())&&t.getAction().element!==t.getTargetElement()||(this.dispatchDelegate(t.getEvent(),t.getAction().name),xS(t)))return;this.actionResolver.resolveParentAction(t.eventInfo)}}};function NS(e){let t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),r=()=>{t[rv]=!0,n()};Dn(t,`stopPropagation`,r),Dn(t,`stopImmediatePropagation`,r)}function xS(e){return!!e.getEvent()[rv]}function AS(e){let t=e.getEvent(),n=e.getTargetElement(),r=t.preventDefault.bind(t);Dn(t,`target`,n),Dn(t,`eventPhase`,Ou.REPLAY),Dn(t,`preventDefault`,()=>{throw r(),new Error(SS+``)}),Dn(t,`composedPath`,()=>{throw new Error(MS+``)})}function RS(e){let t=e.getEvent(),n=e.getAction()?.element;n&&Dn(t,`currentTarget`,n,{configurable:!0})}function Dn(e,t,n,{configurable:r=!1}={}){Object.defineProperty(e,t,{value:n,configurable:r})}function ov(e,t){e.ecrd(n=>{t.dispatch(n)},nv.I_AM_THE_JSACTION_FRAMEWORK)}function OS(e){return e?.q??[]}function kS(e){e&&(Gy(e.c,e.et,e.h),Gy(e.c,e.etc,e.h,!0))}function Gy(e,t,n,r){for(let o=0;o<t.length;o++)e.removeEventListener(t[o],n,r)}var PS=!1;var iv=(()=>{class e{static MOUSE_SPECIAL_SUPPORT=PS;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(n){this.containerManager=n}handleEvent(n,r,o){let i=TS(n,r,r.target,o,Date.now());this.handleEventInfo(i)}handleEventInfo(n){if(!this.dispatcher){Jy(n,!0),this.queuedEventInfos?.push(n);return}this.dispatcher(n)}addEvent(n,r,o){if(n in this.eventHandlers||!this.containerManager||!e.MOUSE_SPECIAL_SUPPORT&&aS.indexOf(n)>=0)return;let i=(a,c,l)=>{this.handleEvent(a,c,l)};this.eventHandlers[n]=i;let s=lS(r||n);if(s!==n){let a=this.browserEventTypeToExtraEventTypes[s]||[];a.push(n),this.browserEventTypeToExtraEventTypes[s]=a}this.containerManager.addEventListener(s,a=>c=>{i(n,c,a)},o)}replayEarlyEvents(n=window._ejsa){n&&(this.replayEarlyEventInfos(n.q),kS(n),delete window._ejsa)}replayEarlyEventInfos(n){for(let r=0;r<n.length;r++){let o=n[r],i=this.getEventTypesForBrowserEventType(o.eventType);for(let s=0;s<i.length;s++){let a=tv(o);Ru(a,i[s]),this.handleEventInfo(a)}}}getEventTypesForBrowserEventType(n){let r=[];return this.eventHandlers[n]&&r.push(n),this.browserEventTypeToExtraEventTypes[n]&&r.push(...this.browserEventTypeToExtraEventTypes[n]),r}handler(n){return this.eventHandlers[n]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(n,r){this.ecrd(n,r)}ecrd(n,r){if(this.dispatcher=n,this.queuedEventInfos?.length){for(let o=0;o<this.queuedEventInfos.length;o++)this.handleEventInfo(this.queuedEventInfos[o]);this.queuedEventInfos=null}}}return e})();function sv(e,t=window){return OS(t._ejsas?.[e])}function ku(e,t=window){t._ejsas&&(t._ejsas[e]=void 0)}var yv=Symbol(`InputSignalNode#UNSET`);var LS=s(r({},Ir),{transformFn:void 0,applyValueToInputSignal(e,t){Qt(e,t)}});function vv(e,t){let n=Object.create(LS);n.value=e,n.transformFn=t?.transform;function r(){if(ht(n),n.value===yv)throw new _(-950,null);return n.value}return r[$]=n,r}var av=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>lh(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};var FB=(()=>{let e=new S(``);return e.__NG_ELEMENT_ID__=t=>{let n=U();if(n===null)throw new _(-204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new _(-204,!1)},e})();function jB(e){return FS(e)?e.default:e}function FS(e){return e&&typeof e==`object`&&`default`in e}function VB(e){return new ks}function cv(e,t){return vv(e,t)}function jS(e){return vv(yv,e)}var HB=(cv.required=jS,cv);function lv(e,t){return ou(t)}function VS(e,t){return iu(t)}var BB=(lv.required=VS,lv);function uv(e,t){return ou(t)}function HS(e,t){return iu(t)}var UB=(uv.required=HS,uv);var Hs=new WeakSet;var dv=``;function fv(e){return e.get(Dl,Sh)}function BS(){let e=[{provide:Dl,useFactory:()=>{let t=!0;{let n=v(Nt);t=!!window._ejsas?.[n]}return t&&ye(`NgEventReplay`),t}}];return e.push({provide:Dt,useValue:()=>{let t=v(Pt),{injector:n}=t;if(!Hs.has(t)){let r=v(Cl);if(fv(n)){Lh();let i=kh(n.get(Nt),(s,a,c)=>{s.nodeType===Node.ELEMENT_NODE&&(xh(s,a,c),Ah(s,r))});t.onDestroy(i)}}},multi:!0},{provide:ho,useFactory:()=>{let t=v(Pt),{injector:n}=t;return()=>{if(!fv(n)||Hs.has(t))return;Hs.add(t);let r=n.get(Nt);t.onDestroy(()=>{Hs.delete(t),ku(r)}),t.whenStable().then(()=>{if(t.destroyed)return;let o=n.get(Oh);US(o,n);let i=n.get(Cl);i.get(dv)?.forEach(Rh),i.delete(dv);let s=o.instance;fs(n)?t.onDestroy(()=>s.cleanUp()):s.cleanUp()})}},multi:!0}),e}var US=(e,t)=>{let n=t.get(Nt),r=window._ejsas[n],o=e.instance=new iv(new js(r.c));for(let a of r.et)o.addEvent(a);for(let a of r.etc)o.addEvent(a);let i=sv(n);o.replayEarlyEventInfos(i),ku(n);ov(o,new Vs(a=>{$S(t,a,a.currentTarget)}))};function $S(e,t,n){let r=(n&&n.getAttribute(co))??``;/d\d+/.test(r)?qS(r,e,t,n):t.eventPhase===Ou.REPLAY&&wl(t,n)}function qS(e,t,n,r){let o=t.get(Mh);o.push({event:n,currentTarget:r}),$m(t,e,GS(o))}function GS(e){return t=>{let n=new Set(t),r=[];for(let{event:o,currentTarget:i}of e){let s=i.getAttribute(co);n.has(s)?wl(o,i):r.push({event:o,currentTarget:i})}e.length=0,e.push(...r)}}var pv=!1;var WS=1e4;function zS(){pv||(pv=!0,Hh(),Zm(),Cy(),Xm(),Om(),pm(),Yg(),Mg())}function QS(e){return e.whenStable()}function $B(){let e=[{provide:ao,useFactory:()=>{let t=!0;return t=!!v(Qn,{optional:!0})?.get(bl,null),t&&ye(`NgHydration`),t}},{provide:Dt,useValue:()=>{let t=v(_t);v(ao)&&(Gh(t),zS())},multi:!0}];return e.push({provide:Il,useFactory:()=>v(ao)},{provide:ho,useFactory:()=>{let t=v(ke);if(v(ao)){let n=v(Pt);return()=>{QS(n).then(()=>{n.destroyed||(Zl(n),t.notify(7))})}}return()=>{}},multi:!0}),en(e)}function qB(){let e=[BS(),{provide:Tl,useValue:!0},{provide:sr,useFactory:Py}];return e.push({provide:Iu,useFactory:()=>({requested:!1,activated:!1,injector:v(Ee),document:v(_t)})},{provide:ho,useFactory:()=>{let t=v(Iu);return()=>{t.requested||(t.requested=!0,Ly(t))}},multi:!0}),e}WS-1e3;var Lu=class{supports(t){return Kl(t)}create(t){return new Fu(t)}};var YS=(e,t)=>t;var Fu=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||YS}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<hv(r,o,i)?n:r,a=hv(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 l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}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??=[],!Kl(t))throw new _(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,tm(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 ju(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 Us),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 Us),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}};var ju=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}};var Vu=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}};var Us=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Vu,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 hv(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}var Hu=class{supports(t){return t instanceof Map||Ns(t)}create(){return new Bu}};var Bu=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Ns(t)))throw new _(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Uu(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}};var Uu=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function gv(){return new ZS([new Lu])}var ZS=(()=>{class e{factories;static ɵprov=re({token:e,providedIn:`root`,factory:gv});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:()=>{let r=v(e,{optional:!0,skipSelf:!0});return e.create(n,r||gv())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new _(901,!1)}}return e})();function mv(){return new KS([new Hu])}var KS=(()=>{class e{static ɵprov=re({token:e,providedIn:`root`,factory:mv});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=v(e,{optional:!0,skipSelf:!0});return e.create(n,r||mv())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new _(901,!1)}}return e})();var WB=(()=>{class e{static __NG_ELEMENT_ID__=JS}return e})();function JS(e){return XS(U(),y(),(e&16)===16)}function XS(e,t,n){if(Le(e)&&!n){let r=Ae(e.index,t);return new kt(r,r)}else if(e.type&175){let r=t[ee];return new kt(r,t)}return null}var $u=new S(``);var eM=new S(``);function mo(e){return!e.moduleRef}function tM(e){let t=mo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Me);return n.run(()=>{mo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Mt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),mo(e)){let i=()=>t.destroy(),s=e.platformInjector.get($u);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get($u);s.add(i),e.moduleRef.onDestroy(()=>{qr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return rM(r,n,()=>{let i=t.get(St),s=i.add(),a=t.get(lu);return a.runInitializers(),a.donePromise.then(()=>{if(ty(t.get(wu,go)||go),!t.get(eM,!0))return mo(e)?t.get(Pt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(mo(e)){let u=t.get(Pt);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return nM?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var nM;function rM(e,t,n){try{let r=n();return su(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Bs=null;function oM(e=[],t){return Ee.create({name:t,providers:[{provide:Ua,useValue:`platform`},{provide:$u,useValue:new Set([()=>Bs=null])},...e]})}function iM(e=[]){if(Bs)return Bs;let t=oM(e);return Bs=t,Bm(),sM(t),t}function sM(e){let t=e.get(qf,null);ci(e,()=>{t?.forEach(n=>n())})}function zB(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;L(k.BootstrapApplicationStart);try{let i=o?.injector??iM(r);return tM({r3Injector:new to({providers:[Cu(),$f,...n||[]],parent:i,debugName:``,runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{L(k.BootstrapApplicationEnd)}}function QB(e){return typeof e==`boolean`?e:e!=null&&e!==`false`}function YB(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Pu=Symbol(`NOT_SET`);var Ev=new Set;var aM=s(r({},Ir),{kind:`afterRenderEffectPhase`,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Pu,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Pu&&!On(this))return this.signal;try{for(let o of this.cleanup??Ev)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=et(this),r;try{r=this.userFn.apply(null,t)}finally{gt(this,n)}return(this.value===Pu||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}});var qu=class extends Qr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Se),s),this.scheduler=o;for(let a of kl){let c=n[a];if(c===void 0)continue;let l=Object.create(aM);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(ht(l),l.value),l.signal[$]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Ev)n()}finally{mt(t)}}};function ZB(e,t){let n=t?.injector??v(Ee),r=n.get(ke),o=n.get(ys),i=n.get(vn,null,{optional:!0});o.impl??=n.get(Pl);let s=e;typeof s==`function`&&(s={mixedReadWrite:e});let a=n.get(Yn,null,{optional:!0}),c=new qu(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function KB(e,t){let n=Ge(e),r=t.elementInjector||Hn();return new gn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function JB(e){let t=Ge(e);if(!t)return null;let n=new gn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{Ld as $,ey as $n,ta as $r,WB as $t,Gf as A,yE as Ai,ao as An,nr as Ar,Rw as At,JB as B,by as Bn,qb as Br,Tb as Bt,Eu as C,x_ as Ci,_b as Cn,lf as Cr,QB as Ct,Fo as D,xw as Di,_y as Dn,nD as Dr,Qm as Dt,Ff as E,xn as Ei,_t as En,md as Er,Qi as Et,Hb as F,zD as Fi,bb as Fn,p_ as Fr,Sm as Ft,KD as G,ci as Gn,re as Gr,UC as Gt,Jb as H,cI as Hn,qf as Hr,Tm as Ht,He as I,z_ as Ii,bd as In,po as Ir,Sr as It,Km as J,dI as Jn,so as Jr,Ut as Jt,KS as K,cy as Kn,ry as Kr,U_ as Kt,ID as L,zb as Li,be as Ln,pu as Lr,St as Lt,Gv as M,yu as Mi,au as Mn,om as Mr,S as Mt,HB as N,z as Ni,av as Nn,ot as Nr,Sb as Nt,GI as O,xy as Oi,aE as On,nE as Or,Qn as Ot,H_ as P,zB as Pi,ay as Pn,pE as Pr,Se as Pt,Lb as Q,en as Qn,tS as Qr,Vb as Qt,Ib as R,zf as Ri,bf as Rn,py as Rr,Sw as Rt,Ee as S,ww as Si,_I as Sn,lI as Sr,Pv as St,FT as T,xm as Ti,_e as Tn,mE as Tr,Qc as Tt,Je as U,ca as Un,rE as Ur,Tw as Ut,J_ as V,cE as Vn,qe as Vr,Td as Vt,KB as W,cg as Wn,rS as Wr,UB as Wt,LC as X,dr as Xn,sy as Xr,VB as Xt,Kr as Y,d_ as Yn,su as Yr,Uy as Yt,L_ as Z,eS as Zn,tE as Zr,V_ as Zt,DD as _,wb as _i,ZS as _n,kC as _r,Ny as _t,A_ as a,uE as ai,Wv as an,gr as ar,Me as at,ED as b,wf as bi,Zi as bn,kv as br,Pd as bt,B as c,uf as ci,Xe as cn,hE as cr,Mt as ct,B_ as d,vD as di,YB as dn,hu as dr,NE as dt,te as ei,WD as en,fE as er,Lf as et,C_ as f,vE as fi,YD as fn,hy as fr,N_ as ft,Cv as g,vu as gi,ZB as gn,jB as gr,Nt as gt,Cm as h,vn as hi,Ym as hn,iy as hr,Nn as ht,$v as i,tt as ii,Wm as in,gg as ir,Md as it,Gm as j,ye as ji,as as jn,ny as jr,Ry as jt,G_ as k,yD as ki,ag as kn,na as kr,R_ as kt,BB as l,ul as li,Xr as ln,ho as lr,Mw as lt,Ce as m,ve as mi,Yb as mn,io as mr,Nm as mt,$_ as n,ti as ni,Wb as nn,fu as nr,M_ as nt,As as o,uI as oi,XI as on,gs as or,Mi as ot,Cd as p,vN as pi,Y_ as pn,ia as pr,Nb as pt,Kb as q,dE as qn,sI as qr,Ua as qt,$t as r,tr as ri,We as rn,gd as rr,Mb as rt,Aw as s,ub as si,Xd as sn,gu as sr,Ml as st,$B as t,tg as ti,W_ as tn,fn as tr,M as tt,BS as u,v as ui,Xv as un,hr as ur,My as ut,Db as v,wd as vi,Z_ as vn,kd as vr,Ot as vt,FB as w,xi as wi,_d as wn,lh as wr,Q_ as wt,EE as x,wu as xi,_ as xn,lE as xr,Pt as xt,Dd as y,we as yi,Zb as yn,ke as yr,Ov as yt,Id as z,zm as zi,bi as zn,qB as zr,Sy as zt};
//# debugId=7c9a3f2e-6647-519f-b196-2fa5de027ac1
//# sourceMappingURL=chunk-DR8zdE1B.js.map