var _l=Object.defineProperty,Ml=Object.defineProperties;var xl=Object.getOwnPropertyDescriptors;var on=Object.getOwnPropertySymbols;var cs=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable;var us=(e,t,n)=>t in e?_l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ke=(e,t)=>{for(var n in t||={})cs.call(t,n)&&us(e,n,t[n]);if(on)for(var n of on(t))ls.call(t,n)&&us(e,n,t[n]);return e},Pe=(e,t)=>Ml(e,xl(t));var Iy=(e,t)=>{var n={};for(var r in e)cs.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&on)for(var r of on(e))t.indexOf(r)<0&&ls.call(e,r)&&(n[r]=e[r]);return n};var Lr=null,sn=!1,Pr=1,an=Symbol("SIGNAL");function b(e){let t=Lr;return Lr=e,t}function ds(){return Lr}function Sl(){return sn}var un={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Tl(e){if(!($r(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Pr)){if(!e.producerMustRecompute(e)&&!ln(e)){e.dirty=!1,e.lastCleanEpoch=Pr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Pr}}function Nl(e){if(e.liveConsumerNode===void 0)return;let t=sn;sn=!0;try{for(let n of e.liveConsumerNode)n.dirty||fs(n)}finally{sn=t}}function fs(e){e.dirty=!0,Nl(e),e.consumerMarkedDirty?.(e)}function cn(e){return e&&(e.nextProducerIndex=0),b(e)}function Vr(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if($r(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ln(e){Hr(e);for(let t=0;t0}function Hr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Al(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ol(e){return e.producerNode!==void 0}function Fl(){throw new Error}var Rl=Fl;function hs(e){Rl=e}function ps(e,t,n){let r=Object.create(kl);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(dn(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=jr)}let a=()=>{if(r.fn===null)return;if(Sl())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!ln(r))return;r.hasRun=!0;let u=cn(r);try{r.cleanupFn(),r.cleanupFn=jr,r.fn(o)}finally{Vr(r,u)}};return r.ref={notify:()=>fs(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[an]:r},r.ref}var jr=()=>{},kl=Pe(ke({},un),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:jr});function g(e){return typeof e=="function"}function lt(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 fn=lt(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 Le(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var k=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(g(r))try{r()}catch(i){t=i instanceof fn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{gs(i)}catch(s){t=t??[],s instanceof fn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new fn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gs(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)&&Le(n,t)}remove(t){let{_finalizers:n}=this;n&&Le(n,t),t instanceof e&&t._removeParent(this)}};k.EMPTY=(()=>{let e=new k;return e.closed=!0,e})();var Ur=k.EMPTY;function hn(e){return e instanceof k||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function gs(e){g(e)?e():e.unsubscribe()}var ie={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var dt={setTimeout(e,t,...n){let{delegate:r}=dt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=dt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function pn(e){dt.setTimeout(()=>{let{onUnhandledError:t}=ie;if(t)t(e);else throw e})}function kt(){}var ms=zr("C",void 0,void 0);function ys(e){return zr("E",void 0,e)}function vs(e){return zr("N",e,void 0)}function zr(e,t,n){return{kind:e,value:t,error:n}}var je=null;function ft(e){if(ie.useDeprecatedSynchronousErrorHandling){let t=!je;if(t&&(je={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=je;if(je=null,n)throw r}}else e()}function Ds(e){ie.useDeprecatedSynchronousErrorHandling&&je&&(je.errorThrown=!0,je.error=e)}var Ve=class extends k{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hn(t)&&t.add(this)):this.destination=jl}static create(t,n,r){return new me(t,n,r)}next(t){this.isStopped?Wr(vs(t),this):this._next(t)}error(t){this.isStopped?Wr(ys(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Wr(ms,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()}}},Pl=Function.prototype.bind;function Gr(e,t){return Pl.call(e,t)}var qr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){gn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){gn(r)}else gn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){gn(n)}}},me=class extends Ve{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ie.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Gr(t.next,i),error:t.error&&Gr(t.error,i),complete:t.complete&&Gr(t.complete,i)}):o=t}this.destination=new qr(o)}};function gn(e){ie.useDeprecatedSynchronousErrorHandling?Ds(e):pn(e)}function Ll(e){throw e}function Wr(e,t){let{onStoppedNotification:n}=ie;n&&dt.setTimeout(()=>n(e,t))}var jl={closed:!0,next:kt,error:Ll,complete:kt};var ht=typeof Symbol=="function"&&Symbol.observable||"@@observable";function V(e){return e}function Vl(...e){return Zr(e)}function Zr(e){return e.length===0?V:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=$l(n)?n:new me(n,r,o);return ft(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Es(r),new r((o,i)=>{let s=new me({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ht](){return this}pipe(...n){return Zr(n)(this)}toPromise(n){return n=Es(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Es(e){var t;return(t=e??ie.Promise)!==null&&t!==void 0?t:Promise}function Bl(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function $l(e){return e&&e instanceof Ve||Bl(e)&&hn(e)}function Yr(e){return g(e?.lift)}function D(e){return t=>{if(Yr(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 v(e,t,n,r,o){return new Qr(e,t,n,r,o)}var Qr=class extends Ve{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}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 Kr(){return D((e,t)=>{let n=null;e._refCount++;let r=v(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 Jr=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Yr(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 k;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=k.EMPTY)}return t}refCount(){return Kr()(this)}};var Is=lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new mn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Is}next(n){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ur:(this.currentObservers=null,i.push(n),new k(()=>{this.currentObservers=null,Le(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new mn(t,n),e})(),mn=class extends K{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:Ur}};var Pt=class extends K{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 Lt={now(){return(Lt.delegate||Date).now()},delegate:void 0};var yn=class extends K{constructor(t=1/0,n=1/0,r=Lt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function In(e){return e&&g(e.schedule)}function Xr(e){return e[e.length-1]}function wn(e){return g(Xr(e))?e.pop():void 0}function le(e){return In(Xr(e))?e.pop():void 0}function Cs(e,t){return typeof Xr(e)=="number"?e.pop():t}function _s(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function bs(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 $e(e){return this instanceof $e?(this.v=e,this):new $e(e)}function Ms(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){r[f]&&(o[f]=function(y){return new Promise(function(O,S){i.push([f,y,O,S])>1||u(f,y)})},p&&(o[f]=p(o[f])))}function u(f,p){try{c(r[f](p))}catch(y){h(i[0][3],y)}}function c(f){f.value instanceof $e?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function h(f,p){f(p),i.shift(),i.length&&u(i[0][0],i[0][1])}}function xs(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 bs=="function"?bs(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,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var gt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Cn(e){return g(e?.then)}function bn(e){return g(e[ht])}function _n(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function Mn(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 Hl(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var xn=Hl();function Sn(e){return g(e?.[xn])}function Tn(e){return Ms(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield $e(n.read());if(o)return yield $e(void 0);yield yield $e(r)}}finally{n.releaseLock()}})}function Nn(e){return g(e?.getReader)}function T(e){if(e instanceof _)return e;if(e!=null){if(bn(e))return Ul(e);if(gt(e))return zl(e);if(Cn(e))return Gl(e);if(_n(e))return Ss(e);if(Sn(e))return Wl(e);if(Nn(e))return ql(e)}throw Mn(e)}function Ul(e){return new _(t=>{let n=e[ht]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function zl(e){return new _(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,pn)})}function Wl(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ss(e){return new _(t=>{Zl(e,t).catch(n=>t.error(n))})}function ql(e){return Ss(Tn(e))}function Zl(e,t){var n,r,o,i;return _s(this,void 0,void 0,function*(){try{for(n=xs(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 U(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 An(e,t=0){return D((n,r)=>{n.subscribe(v(r,o=>U(r,e,()=>r.next(o),t),()=>U(r,e,()=>r.complete(),t),o=>U(r,e,()=>r.error(o),t)))})}function On(e,t=0){return D((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ts(e,t){return T(e).pipe(On(t),An(t))}function Ns(e,t){return T(e).pipe(On(t),An(t))}function As(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Os(e,t){return new _(n=>{let r;return U(n,t,()=>{r=e[xn](),U(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)}),()=>g(r?.return)&&r.return()})}function Fn(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{U(n,t,()=>{let r=e[Symbol.asyncIterator]();U(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Fs(e,t){return Fn(Tn(e),t)}function Rs(e,t){if(e!=null){if(bn(e))return Ts(e,t);if(gt(e))return As(e,t);if(Cn(e))return Ns(e,t);if(_n(e))return Fn(e,t);if(Sn(e))return Os(e,t);if(Nn(e))return Fs(e,t)}throw Mn(e)}function de(e,t){return t?Rs(e,t):T(e)}function Yl(...e){let t=le(e);return de(e,t)}function Ql(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function Kl(e){return!!e&&(e instanceof _||g(e.lift)&&g(e.subscribe))}var He=lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ks(e){return e instanceof Date&&!isNaN(e)}function ye(e,t){return D((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Jl}=Array;function Xl(e,t){return Jl(t)?e(...t):e(t)}function mt(e){return ye(t=>Xl(e,t))}var{isArray:ed}=Array,{getPrototypeOf:td,prototype:nd,keys:rd}=Object;function Rn(e){if(e.length===1){let t=e[0];if(ed(t))return{args:t,keys:null};if(od(t)){let n=rd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function od(e){return e&&typeof e=="object"&&td(e)===nd}function kn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function id(...e){let t=le(e),n=wn(e),{args:r,keys:o}=Rn(e);if(r.length===0)return de([],t);let i=new _(sd(r,t,o?s=>kn(o,s):V));return n?i.pipe(mt(n)):i}function sd(e,t,n=V){return r=>{Ps(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=de(e[u],t),l=!1;c.subscribe(v(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ps(e,t,n){e?U(n,e,t):t()}function Ls(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,h=()=>{d&&!u.length&&!c&&t.complete()},f=y=>c{i&&t.next(y),c++;let O=!1;T(n(y,l++)).subscribe(v(t,S=>{o?.(S),i?f(S):t.next(S)},()=>{O=!0},void 0,()=>{if(O)try{for(c--;u.length&&cp(S)):p(S)}h()}catch(S){t.error(S)}}))};return e.subscribe(v(t,f,()=>{d=!0,h()})),()=>{a?.()}}function ve(e,t,n=1/0){return g(t)?ve((r,o)=>ye((i,s)=>t(r,i,o,s))(T(e(r,o))),n):(typeof t=="number"&&(n=t),D((r,o)=>Ls(r,o,e,n)))}function Pn(e=1/0){return ve(V,e)}function js(){return Pn(1)}function Ln(...e){return js()(de(e,le(e)))}function ad(e){return new _(t=>{T(e()).subscribe(t)})}function ud(...e){let t=wn(e),{args:n,keys:r}=Rn(e),o=new _(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=h},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?kn(r,a):a),i.complete())}))}});return t?o.pipe(mt(t)):o}var cd=["addListener","removeListener"],ld=["addEventListener","removeEventListener"],dd=["on","off"];function eo(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return eo(e,t,n).pipe(mt(r));let[o,i]=pd(e)?ld.map(s=>a=>e[s](t,a,n)):fd(e)?cd.map(Vs(e,t)):hd(e)?dd.map(Vs(e,t)):[];if(!o&>(e))return ve(s=>eo(s,t,n))(T(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...u)=>s.next(1i(a)})}function Vs(e,t){return n=>r=>e[n](t,r)}function fd(e){return g(e.addListener)&&g(e.removeListener)}function hd(e){return g(e.on)&&g(e.off)}function pd(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Bs(e=0,t,n=ws){let r=-1;return t!=null&&(In(t)?n=t:r=t),new _(o=>{let i=ks(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 gd(...e){let t=le(e),n=Cs(e,1/0),r=e;return r.length?r.length===1?T(r[0]):Pn(n)(de(r,t)):Be}function Ue(e,t){return D((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function $s(e){return D((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(v(n,c=>{r=!0,o=c,i||T(e(c)).subscribe(i=v(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function md(e,t=Vt){return $s(()=>Bs(e,t))}function Hs(e){return D((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=T(e(s,Hs(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Us(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(v(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function yd(e,t){return g(t)?ve(e,t,1):ve(e,1)}function vd(e,t=Vt){return D((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Bt(e){return D((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function to(e){return e<=0?()=>Be:D((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Dd(e){return ye(()=>e)}function Ed(e,t=V){return e=e??Id,D((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Id(e,t){return e===t}function jn(e=wd){return D((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function wd(){return new He}function Cd(e){return D((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function zs(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ue((o,i)=>e(o,i,r)):V,to(1),n?Bt(t):jn(()=>new He))}function no(e){return e<=0?()=>Be:D((t,n)=>{let r=[];t.subscribe(v(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function bd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ue((o,i)=>e(o,i,r)):V,no(1),n?Bt(t):jn(()=>new He))}function _d(e,t){return D(Us(e,t,arguments.length>=2,!0))}function Gs(e={}){let{connector:t=()=>new K,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=u=void 0,l=d=!1},p=()=>{let y=s;f(),y?.unsubscribe()};return D((y,O)=>{c++,!d&&!l&&h();let S=u=u??t();O.add(()=>{c--,c===0&&!d&&!l&&(a=ro(p,o))}),S.subscribe(O),!s&&c>0&&(s=new me({next:Q=>S.next(Q),error:Q=>{d=!0,h(),a=ro(f,n,Q),S.error(Q)},complete:()=>{l=!0,h(),a=ro(f,r),S.complete()}}),T(y).subscribe(s))})(i)}}function ro(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new me({next:()=>{r.unsubscribe(),e()}});return T(t(...n)).subscribe(r)}function Md(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Gs({connector:()=>new yn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function xd(e){return Ue((t,n)=>e<=n)}function Sd(...e){let t=le(e);return D((n,r)=>{(t?Ln(e,n,t):Ln(e,n)).subscribe(r)})}function Td(e,t){return D((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,u=>{o?.unsubscribe();let c=0,l=i++;T(e(u,l)).subscribe(o=v(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Nd(e){return D((t,n)=>{T(e).subscribe(v(n,()=>n.complete(),kt)),!n.closed&&t.subscribe(n)})}function Ad(e,t=!1){return D((n,r)=>{let o=0;n.subscribe(v(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Od(e,t,n){let r=g(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(v(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):V}var Fd="https://g.co/ng/security#xss",x=class extends Error{constructor(t,n){super(Ta(t,n)),this.code=t}};function Ta(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function Kt(e){return{toString:e}.toString()}var Vn="__parameters__";function Rd(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Na(e,t,n){return Kt(()=>{let r=Rd(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Vn)?u[Vn]:Object.defineProperty(u,Vn,{value:[]})[Vn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ws=globalThis;function N(e){for(let t in e)if(e[t]===N)return t;throw Error("Could not find renamed property on target object.")}function kd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function $(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map($).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` `);return n===-1?t:t.substring(0,n)}function vo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Pd=N({__forward_ref__:N});function Aa(e){return e.__forward_ref__=Aa,e.toString=function(){return $(this())},e}function B(e){return Oa(e)?e():e}function Oa(e){return typeof e=="function"&&e.hasOwnProperty(Pd)&&e.__forward_ref__===Aa}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Fa(e){return{providers:e.providers||[],imports:e.imports||[]}}function Cr(e){return qs(e,Ra)||qs(e,ka)}function kb(e){return Cr(e)!==null}function qs(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ld(e){let t=e&&(e[Ra]||e[ka]);return t||null}function Zs(e){return e&&(e.hasOwnProperty(Ys)||e.hasOwnProperty(jd))?e[Ys]:null}var Ra=N({\u0275prov:N}),Ys=N({\u0275inj:N}),ka=N({ngInjectableDef:N}),jd=N({ngInjectorDef:N}),A=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=R({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Pa(e){return e&&!!e.\u0275providers}var Vd=N({\u0275cmp:N}),Bd=N({\u0275dir:N}),$d=N({\u0275pipe:N}),Hd=N({\u0275mod:N}),Yn=N({\u0275fac:N}),$t=N({__NG_ELEMENT_ID__:N}),Qs=N({__NG_ENV_ID__:N});function gi(e){return typeof e=="string"?e:e==null?"":String(e)}function Ud(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():gi(e)}function zd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new x(-200,e)}function mi(e,t){throw new x(-201,!1)}var C=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(C||{}),Do;function La(){return Do}function J(e){let t=Do;return Do=e,t}function ja(e,t,n){let r=Cr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&C.Optional)return null;if(t!==void 0)return t;mi(e,"Injector")}var Gd={},Ht=Gd,Eo="__NG_DI_FLAG__",Qn="ngTempTokenPath",Wd="ngTokenPath",qd=/\n/gm,Zd="\u0275",Ks="__source",Et;function Yd(){return Et}function Me(e){let t=Et;return Et=e,t}function Qd(e,t=C.Default){if(Et===void 0)throw new x(-203,!1);return Et===null?ja(e,void 0,t):Et.get(e,t&C.Optional?null:void 0,t)}function q(e,t=C.Default){return(La()||Qd)(B(e),t)}function w(e,t=C.Default){return q(e,br(t))}function br(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Io(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):$(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(qd,` `)}`}var ef=Va(Na("Optional"),8);var tf=Va(Na("SkipSelf"),4);function wt(e,t){let n=e.hasOwnProperty(Yn);return n?e[Yn]:null}function nf(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?yi(n,t):t(n))}function Ba(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Kn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function of(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function _r(e,t,n){let r=Jt(e,t);return r>=0?e[r|1]=n:(r=~r,sf(e,r,t,n)),r}function oo(e,t){let n=Jt(e,t);if(n>=0)return e[n|1]}function Jt(e,t){return af(e,t,1)}function af(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(se(r))return!1;s=!0}}}}return se(r)||s}function se(e){return(e&1)===0}function hf(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!se(s)&&(t+=Xs(i,o),o=""),r=s,i=i||!se(r);n++}return o!==""&&(t+=Xs(i,o)),t}function Df(e){return e.map(vf).join(",")}function Ef(e){let t=[],n=[],r=1,o=2;for(;r{let t=Ka(e),n=Pe(ke({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ua.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""});Ja(n);let r=e.dependencies;return n.directiveDefs=ta(r,!1),n.pipeDefs=ta(r,!0),n.id=bf(n),n})}function If(e){return qe(e)||Za(e)}function wf(e){return e!==null}function qa(e){return Kt(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ea(e,t){if(e==null)return Ct;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=bt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==bt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Xt(e){return Kt(()=>{let t=Ka(e);return Ja(t),t})}function qe(e){return e[Vd]||null}function Za(e){return e[Bd]||null}function Ya(e){return e[$d]||null}function Cf(e){let t=qe(e)||Za(e)||Ya(e);return t!==null?t.standalone:!1}function Qa(e,t){let n=e[Hd]||null;if(!n&&t===!0)throw new Error(`Type ${$(e)} does not have '\u0275mod' property.`);return n}function Ka(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ct,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ea(e.inputs,t),outputs:ea(e.outputs),debugInfo:null}}function Ja(e){e.features?.forEach(t=>t(e))}function ta(e,t){if(!e)return null;let n=t?Ya:If;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(wf)}function bf(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Lb(e){return{\u0275providers:e}}function _f(...e){return{\u0275providers:Xa(!0,e),\u0275fromNgModule:!0}}function Xa(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return yi(t,s=>{let a=s;Co(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&eu(o,i),n}function eu(e,t){for(let n=0;n{t(i,r)})}}function Co(e,t,n,r){if(e=B(e),!e)return!1;let o=null,i=Zs(e),s=!i&&qe(e);if(!i&&!s){let u=e.ngModule;if(i=Zs(u),i)o=u;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 u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Co(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{yi(i.imports,l=>{Co(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&eu(c,t)}if(!a){let c=wt(o)||(()=>new o);t({provide:o,useFactory:c,deps:z},o),t({provide:Ha,useValue:o,multi:!0},o),t({provide:Jn,useValue:()=>q(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Di(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Di(e,t){for(let n of e)Pa(n)&&(n=n.\u0275providers),Array.isArray(n)?Di(n,t):t(n)}var Mf=N({provide:String,useValue:N});function tu(e){return e!==null&&typeof e=="object"&&Mf in e}function xf(e){return!!(e&&e.useExisting)}function Sf(e){return!!(e&&e.useFactory)}function _t(e){return typeof e=="function"}function Tf(e){return!!e.useClass}var nu=new A(""),Hn={},Nf={},io;function Ei(){return io===void 0&&(io=new Xn),io}var Te=class{},Gt=class extends Te{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,_o(t,s=>this.processProvider(s)),this.records.set($a,yt(void 0,this)),o.has("environment")&&this.records.set(Te,yt(void 0,this));let i=this.records.get(nu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ha,z,C.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Me(this),r=J(void 0),o;try{return t()}finally{Me(n),J(r)}}get(t,n=Ht,r=C.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Qs))return t[Qs](this);r=br(r);let o,i=Me(this),s=J(void 0);try{if(!(r&C.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=kf(t)&&Cr(t);c&&this.injectableDefInScope(c)?u=yt(bo(t),Hn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&C.Self?Ei():this.parent;return n=r&C.Optional&&n===Ht?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Qn]=a[Qn]||[]).unshift($(t)),i)throw a;return Jd(a,t,"R3InjectorError",this.source)}else throw a}finally{J(s),Me(i)}}resolveInjectorInitializers(){let t=b(null),n=Me(this),r=J(void 0),o;try{let i=this.get(Jn,z,C.Self);for(let s of i)s()}finally{Me(n),J(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push($(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){t=B(t);let n=_t(t)?t:B(t&&t.provide),r=Of(t);if(!_t(t)&&t.multi===!0){let o=this.records.get(n);o||(o=yt(void 0,Hn,!0),o.factory=()=>Io(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===Hn&&(n.value=Nf,n.value=n.factory()),typeof n.value=="object"&&n.value&&Rf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=B(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 bo(e){let t=Cr(e),n=t!==null?t.factory:wt(e);if(n!==null)return n;if(e instanceof A)throw new x(204,!1);if(e instanceof Function)return Af(e);throw new x(204,!1)}function Af(e){if(e.length>0)throw new x(204,!1);let n=Ld(e);return n!==null?()=>n.factory(e):()=>new e}function Of(e){if(tu(e))return yt(void 0,e.useValue);{let t=ru(e);return yt(t,Hn)}}function ru(e,t,n){let r;if(_t(e)){let o=B(e);return wt(o)||bo(o)}else if(tu(e))r=()=>B(e.useValue);else if(Sf(e))r=()=>e.useFactory(...Io(e.deps||[]));else if(xf(e))r=()=>q(B(e.useExisting));else{let o=B(e&&(e.useClass||e.provide));if(Ff(e))r=()=>new o(...Io(e.deps));else return wt(o)||bo(o)}return r}function yt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ff(e){return!!e.deps}function Rf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function kf(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function _o(e,t){for(let n of e)Array.isArray(n)?_o(n,t):n&&Pa(n)?_o(n.\u0275providers,t):t(n)}function ou(e,t){e instanceof Gt&&e.assertNotDestroyed();let n,r=Me(e),o=J(void 0);try{return t()}finally{Me(r),J(o)}}function iu(){return La()!==void 0||Yd()!=null}function Ii(e){if(!iu())throw new x(-203,!1)}function Pf(e){return typeof e=="function"}var we=0,E=1,m=2,L=3,ce=4,Z=5,Wt=6,er=7,ee=8,Mt=9,De=10,F=11,qt=12,na=13,At=14,te=15,Ze=16,vt=17,Ee=18,Mr=19,su=20,xe=21,Un=22,X=23,Y=25,au=1;var Ye=7,tr=8,xt=9,G=10,nr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(nr||{});function Se(e){return Array.isArray(e)&&typeof e[au]=="object"}function Ce(e){return Array.isArray(e)&&e[au]===!0}function uu(e){return(e.flags&4)!==0}function xr(e){return e.componentOffset>-1}function wi(e){return(e.flags&1)===1}function Ne(e){return!!e.template}function Mo(e){return(e[m]&512)!==0}var xo=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function cu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Ci(){return lu}function lu(e){return e.type.prototype.ngOnChanges&&(e.setInput=jf),Lf}Ci.ngInherit=!0;function Lf(){let e=fu(this),t=e?.current;if(t){let n=e.previous;if(n===Ct)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function jf(e,t,n,r,o){let i=this.declaredInputs[r],s=fu(e)||Vf(e,{previous:Ct,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new xo(c&&c.currentValue,n,u===Ct),cu(e,t,o,n)}var du="__ngSimpleChanges__";function fu(e){return e[du]||null}function Vf(e,t){return e[du]=t}var ra=null;var fe=function(e,t,n){ra?.(e,t,n)},hu="svg",Bf="math";function pe(e){for(;Array.isArray(e);)e=e[we];return e}function pu(e,t){return pe(t[e])}function ne(e,t){return pe(t[e.index])}function bi(e,t){return e.data[t]}function $f(e,t){return e[t]}function Fe(e,t){let n=t[e];return Se(n)?n:n[we]}function Hf(e){return(e[m]&4)===4}function _i(e){return(e[m]&128)===128}function Uf(e){return Ce(e[L])}function rr(e,t){return t==null?null:e[t]}function gu(e){e[vt]=0}function mu(e){e[m]&1024||(e[m]|=1024,_i(e)&&Sr(e))}function zf(e,t){for(;e>0;)t=t[At],e--;return t}function Zt(e){return!!(e[m]&9216||e[X]?.dirty)}function So(e){e[De].changeDetectionScheduler?.notify(7),e[m]&64&&(e[m]|=1024),Zt(e)&&Sr(e)}function Sr(e){e[De].changeDetectionScheduler?.notify(0);let t=Qe(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!_i(t)));)t=Qe(t)}function yu(e,t){if((e[m]&256)===256)throw new x(911,!1);e[xe]===null&&(e[xe]=[]),e[xe].push(t)}function Gf(e,t){if(e[xe]===null)return;let n=e[xe].indexOf(t);n!==-1&&e[xe].splice(n,1)}function Qe(e){let t=e[L];return Ce(t)?t[L]:t}var I={lFrame:Tu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var vu=!1;function Wf(){return I.lFrame.elementDepthCount}function qf(){I.lFrame.elementDepthCount++}function Zf(){I.lFrame.elementDepthCount--}function Du(){return I.bindingsEnabled}function Eu(){return I.skipHydrationRootTNode!==null}function Yf(e){return I.skipHydrationRootTNode===e}function Qf(){I.skipHydrationRootTNode=null}function M(){return I.lFrame.lView}function P(){return I.lFrame.tView}function jb(e){return I.lFrame.contextLView=e,e[ee]}function Vb(e){return I.lFrame.contextLView=null,e}function j(){let e=Iu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Iu(){return I.lFrame.currentTNode}function Kf(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function en(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function wu(){return I.lFrame.isParent}function Cu(){I.lFrame.isParent=!1}function Jf(){return I.lFrame.contextLView}function bu(){return vu}function oa(e){vu=e}function Xf(e){return I.lFrame.bindingIndex=e}function Ot(){return I.lFrame.bindingIndex++}function _u(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function eh(){return I.lFrame.inI18n}function th(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,To(t)}function nh(){return I.lFrame.currentDirectiveIndex}function To(e){I.lFrame.currentDirectiveIndex=e}function rh(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Mu(){return I.lFrame.currentQueryIndex}function Mi(e){I.lFrame.currentQueryIndex=e}function oh(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[Z]:null}function xu(e,t,n){if(n&C.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&C.Host);)if(o=oh(i),o===null||(i=i[At],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=Su();return r.currentTNode=t,r.lView=e,!0}function xi(e){let t=Su(),n=e[E];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Su(){let e=I.lFrame,t=e===null?null:e.child;return t===null?Tu(e):t}function Tu(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 Nu(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Au=Nu;function Si(){let e=Nu();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 ih(e){return(I.lFrame.contextLView=zf(e,I.lFrame.contextLView))[ee]}function ot(){return I.lFrame.selectedIndex}function Ke(e){I.lFrame.selectedIndex=e}function Tr(){let e=I.lFrame;return bi(e.tView,e.selectedIndex)}function Bb(){I.lFrame.currentNamespace=hu}function sh(){return I.lFrame.currentNamespace}var Ou=!0;function Ti(){return Ou}function Ni(e){Ou=e}function ah(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=lu(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 Ai(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[vt]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,ia(a,i)):ia(a,i)}var It=-1,Je=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function ch(e){return e instanceof Je}function lh(e){return(e.flags&8)!==0}function dh(e){return(e.flags&16)!==0}var ao={},No=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=br(r);let o=this.injector.get(t,ao,r);return o!==ao||n===ao?o:this.parentInjector.get(t,n,r)}};function Ru(e){return e!==It}function or(e){return e&32767}function fh(e){return e>>16}function ir(e,t){let n=fh(e),r=t;for(;n>0;)r=r[At],n--;return r}var Ao=!0;function sa(e){let t=Ao;return Ao=e,t}var hh=256,ku=hh-1,Pu=5,ph=0,he={};function gh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty($t)&&(r=n[$t]),r==null&&(r=n[$t]=ph++);let o=r&ku,i=1<>Pu)]|=i}function sr(e,t){let n=Lu(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,uo(r.data,e),uo(t,null),uo(r.blueprint,null));let o=Oi(e,t),i=e.injectorIndex;if(Ru(o)){let s=or(o),a=ir(o,t),u=a[E].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function uo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Lu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Oi(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=Hu(o),r===null)return It;if(n++,o=o[At],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return It}function Oo(e,t,n){gh(e,t,n)}function mh(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>20,d=r?a:a+l,h=o?a+l:c;for(let f=d;f=u&&p.type===n)return f}if(o){let f=s[u];if(f&&Ne(f)&&f.type===n)return u}return null}function Xe(e,t,n,r){let o=e[n],i=t.data;if(ch(o)){let s=o;s.resolving&&zd(Ud(i[n]));let a=sa(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?J(s.injectImpl):null,l=xu(e,r,C.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&ah(n,i[n],t)}finally{c!==null&&J(c),sa(a),s.resolving=!1,Au()}}return o}function vh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty($t)?e[$t]:void 0;return typeof t=="number"?t>=0?t&ku:Dh:t}function aa(e,t,n){let r=1<>Pu)]&r)}function ua(e,t){return!(e&C.Self)&&!(e&C.Host&&t)}var We=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Bu(this._tNode,this._lView,t,br(r),n)}};function Dh(){return new We(j(),M())}function $b(e){return Kt(()=>{let t=e.prototype.constructor,n=t[Yn]||Fo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Yn]||Fo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Fo(e){return Oa(e)?()=>{let t=Fo(B(e));return t&&t()}:wt(e)}function Eh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=$u(i,s,n,r|C.Self,he);if(a!==he)return a;let u=i.parent;if(!u){let c=s[su];if(c){let l=c.get(n,he,r);if(l!==he)return l}u=Hu(s),s=s[At]}i=u}return o}function Hu(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[Z]:null}function Ih(e){return mh(j(),e)}function ca(e,t=null,n=null,r){let o=Uu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Uu(e,t=null,n=null,r,o=new Set){let i=[n||z,_f(e)];return r=r||(typeof e=="object"?void 0:$(e)),new Gt(i,t||Ei(),r||null,o)}var ze=class ze{static create(t,n){if(Array.isArray(t))return ca({name:""},n,t,"");{let r=t.name??"";return ca({name:r},t.parent,t.providers,r)}}};ze.THROW_IF_NOT_FOUND=Ht,ze.NULL=new Xn,ze.\u0275prov=R({token:ze,providedIn:"any",factory:()=>q($a)}),ze.__NG_ELEMENT_ID__=-1;var Ie=ze;var wh=new A("");wh.__NG_ELEMENT_ID__=e=>{let t=j();if(t===null)throw new x(204,!1);if(t.type&2)return t.value;if(e&C.Optional)return null;throw new x(204,!1)};var Ch="ngOriginalError";function co(e){return e[Ch]}var Ae=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&co(t);for(;n&&co(n);)n=co(n);return n||null}},zu=new A("",{providedIn:"root",factory:()=>w(Ae).handleError.bind(void 0)}),tn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=bh,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ro=class extends tn{constructor(t){super(),this._lView=t}onDestroy(t){return yu(this._lView,t),()=>Gf(this._lView,t)}};function bh(){return new Ro(M())}function _h(){return Ft(j(),M())}function Ft(e,t){return new it(ne(e,t))}var it=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=_h;let e=t;return e})();function Mh(e){return e instanceof it?e.nativeElement:e}var nn=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Pt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var ko=class extends K{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,iu()&&(this.destroyRef=w(tn,{optional:!0})??void 0,this.pendingTasks=w(nn,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof k&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ue=ko;function xh(){return this._results[Symbol.iterator]()}var Po=class e{get changes(){return this._changes??=new ue}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=xh)}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=rf(t);(this._changesDetected=!nf(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Gu(e){return(e.flags&128)===128}var Wu=new Map,Sh=0;function Th(){return Sh++}function Nh(e){Wu.set(e[Mr],e)}function Ah(e){Wu.delete(e[Mr])}var la="__ngContext__";function et(e,t){Se(t)?(e[la]=t[Mr],Nh(t)):e[la]=t}function qu(e){return Yu(e[qt])}function Zu(e){return Yu(e[ce])}function Yu(e){for(;e!==null&&!Ce(e);)e=e[ce];return e}var Lo;function Hb(e){Lo=e}function Oh(){if(Lo!==void 0)return Lo;if(typeof document<"u")return document;throw new x(210,!1)}var Ub=new A("",{providedIn:"root",factory:()=>Fh}),Fh="ng",Rh=new A(""),Qu=new A("",{providedIn:"platform",factory:()=>"unknown"});var zb=new A(""),Gb=new A("",{providedIn:"root",factory:()=>Oh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var kh="h",Ph="b";var Lh=()=>null;function Fi(e,t,n=!1){return Lh(e,t,n)}var Ku=!1,jh=new A("",{providedIn:"root",factory:()=>Ku});var jo=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fd})`}};function Ri(e){return e instanceof jo?e.changingThisBreaksApplicationSecurity:e}function Ju(e){return e instanceof Function?e():e}function Xu(e){return(e??w(Ie)).get(Qu)==="browser"}var ar=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ar||{}),Vh;function ki(e,t){return Vh(e,t)}function Dt(e,t,n,r,o){if(r!=null){let i,s=!1;Ce(r)?i=r:Se(r)&&(s=!0,r=r[we]);let a=pe(r);e===0&&n!==null?o==null?oc(t,n,a):cr(t,n,a,o||null,!0):e===1&&n!==null?cr(t,n,a,o||null,!0):e===2?Xh(t,a,s):e===3&&t.destroyNode(a),i!=null&&tp(t,e,i,n,o)}}function Bh(e,t){return e.createText(t)}function $h(e,t,n){e.setValue(t,n)}function ec(e,t,n){return e.createElement(t,n)}function Hh(e,t){tc(e,t),t[we]=null,t[Z]=null}function Uh(e,t,n,r,o,i){r[we]=o,r[Z]=t,Nr(e,r,n,1,o,i)}function tc(e,t){t[De].changeDetectionScheduler?.notify(8),Nr(e,t,t[F],2,null,null)}function zh(e){let t=e[qt];if(!t)return lo(e[E],e);for(;t;){let n=null;if(Se(t))n=t[qt];else{let r=t[G];r&&(n=r)}if(!n){for(;t&&!t[ce]&&t!==e;)Se(t)&&lo(t[E],t),t=t[L];t===null&&(t=e),Se(t)&&lo(t[E],t),n=t&&t[ce]}t=n}}function Gh(e,t,n,r){let o=G+r,i=n.length;r>0&&(n[o-1][ce]=t),r0&&(e[n-1][ce]=r[ce]);let i=Kn(e,G+t);Hh(r[E],r);let s=i[Ee];s!==null&&s.detachView(i[E]),r[L]=null,r[ce]=null,r[m]&=-129}return r}function Li(e,t){if(!(t[m]&256)){let n=t[F];n.destroyNode&&Nr(e,t,n,3,null,null),zh(t)}}function lo(e,t){if(t[m]&256)return;let n=b(null);try{t[m]&=-129,t[m]|=256,t[X]&&dn(t[X]),qh(e,t),Wh(e,t),t[E].type===1&&t[F].destroy();let r=t[Ze];if(r!==null&&Ce(t[L])){r!==t[L]&&Pi(r,t);let o=t[Ee];o!==null&&o.detachView(e)}Ah(t)}finally{b(n)}}function Wh(e,t){let n=e.cleanup,r=t[er];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[er]=null);let o=t[xe];if(o!==null){t[xe]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ut.None||i===Ut.Emulated)return null}return ne(r,n)}}function cr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function oc(e,t,n){e.appendChild(t,n)}function da(e,t,n,r,o){r!==null?cr(e,t,n,r,o):oc(e,t,n)}function Yh(e,t,n,r){e.removeChild(t,n,r)}function ji(e,t){return e.parentNode(t)}function Qh(e,t){return e.nextSibling(t)}function ic(e,t,n){return Jh(e,t,n)}function Kh(e,t,n){return e.type&40?ne(e,n):null}var Jh=Kh,fa;function Vi(e,t,n,r){let o=rc(e,r,t),i=t[F],s=r.parent||t[Z],a=ic(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uY&&lc(e,t,Y,!1),fe(s?2:0,o),n(r,o)}finally{Ke(i),fe(s?3:1,o)}}function pc(e,t,n){if(uu(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function lp(e,t,n,r){let o=Cc(t);o.push(n),e.firstCreatePass&&bc(e).push(r,o.length-1)}function dp(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Eu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ha(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=bt.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?pa(r,n,c,a,u):pa(r,n,c,a)}return r}function pa(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function fp(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function yp(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;xr(n)&&bp(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||sr(n,t),et(r,t);let s=n.initialInputs;for(let a=o;a{Sr(e.lView)},consumerOnSignalRead(){this.lView[X]=this}});function Bp(e){let t=e[X]??Object.create($p);return t.lView=e,t}var $p=Pe(ke({},un),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Qe(e.lView);for(;t&&!xc(t[E]);)t=Qe(t);t&&mu(t)},consumerOnSignalRead(){this.lView[X]=this}});function xc(e){return e.type!==2}var Hp=100;function Sc(e,t=!0,n=0){let r=e[De],o=r.rendererFactory,i=!1;i||o.begin?.();try{Up(e,n)}catch(s){throw t&&_c(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Up(e,t){let n=bu();try{oa(!0),Ho(e,t);let r=0;for(;Zt(e);){if(r===Hp)throw new x(103,!1);r++,Ho(e,1)}}finally{oa(n)}}function zp(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1,s=!1;!i&&t[De].inlineEffectRunner?.flush(),xi(t);let a=!0,u=null,c=null;i||(xc(e)?(c=Pp(t),u=cn(c)):ds()===null?(a=!1,c=Bp(t),u=cn(c)):t[X]&&(dn(t[X]),t[X]=null));try{gu(t),Xf(e.bindingStartIndex),n!==null&&hc(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&zn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Gn(t,f,0,null),so(t,0)}if(s||Gp(t),Tc(t,0),e.contentQueries!==null&&wc(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&zn(t,f)}else{let f=e.contentHooks;f!==null&&Gn(t,f,1),so(t,1)}op(e,t);let d=e.components;d!==null&&Ac(t,d,0);let h=e.viewQuery;if(h!==null&&$o(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&zn(t,f)}else{let f=e.viewHooks;f!==null&&Gn(t,f,2),so(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Un]){for(let f of t[Un])f();t[Un]=null}i||(t[m]&=-73)}catch(l){throw i||Sr(t),l}finally{c!==null&&(Vr(c,u),a&&jp(c)),Si()}}function Tc(e,t){for(let n=qu(e);n!==null;n=Zu(n))for(let r=G;r-1&&(ur(t,r),Kn(n,r))}this._attachedToViewContainer=!1}Li(this._lView[E],this._lView)}onDestroy(t){yu(this._lView,t)}markForCheck(){qi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[m]&=-129}reattach(){So(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Sc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Mo(this._lView),n=this._lView[Ze];n!==null&&!t&&Pi(n,this._lView),tc(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;let n=Mo(this._lView),r=this._lView[Ze];r!==null&&!n&&nc(r,this._lView),So(this._lView)}},nt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Yp;let e=t;return e})(),qp=nt,Zp=class extends qp{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Gi(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new tt(o)}};function Yp(){return Fr(j(),M())}function Fr(e,t){return e.type&4?new Zp(t,e,Ft(e,t)):null}var Yb=new RegExp(`^(\\d+)*(${Ph}|${kh})*(.*)`);var Qp=()=>null;function fr(e,t){return Qp(e,t)}var St=class{},Oc=new A("",{providedIn:"root",factory:()=>!1});var Fc=new A(""),Uo=class{},hr=class{};function Kp(e){let t=Error(`No component factory found for ${$(e)}.`);return t[Jp]=e,t}var Jp="ngComponent";var zo=class{resolveComponentFactory(t){throw Kp(t)}},ns=class ns{};ns.NULL=new zo;var Tt=ns,pr=class{},Zi=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Xp();let e=t;return e})();function Xp(){let e=M(),t=j(),n=Fe(t.index,e);return(Se(n)?n:e)[F]}var eg=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var ga=new Set;function Rt(e){ga.has(e)||(ga.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Rc(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof Ws.requestAnimationFrame=="function"&&Ws.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function ma(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function ya(...e){}var W=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,rg(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(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,tg,ya,ya);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)}},tg={};function Yi(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 ng(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Rc(()=>{e.callbackScheduled=!1,Go(e),e.isCheckStableRunning=!0,Yi(e),e.isCheckStableRunning=!1})}),Go(e))}function rg(e){let t=()=>{ng(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(og(a))return n.invokeTask(o,i,s,a);try{return va(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Da(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return va(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!ig(a)&&t(),Da(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Go(e),Yi(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Go(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function va(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Da(e){e._nesting--,Yi(e)}var Wo=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}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 og(e){return kc(e,"__ignore_ng_zone__")}function ig(e){return kc(e,"__scheduler_tick__")}function kc(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ge=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ge||{}),Pc={destroy(){}};function sg(e,t){!t&&Ii(sg);let n=t?.injector??w(Ie);if(!Xu(n))return Pc;Rt("NgAfterRender");let r=n.get(Rr),o=r.handler??=new mr,i=t?.phase??Ge.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(tn).onDestroy(s),u=ou(n,()=>new gr(i,e));return o.register(u),{destroy:s}}function ag(e,t){!t&&Ii(ag);let n=t?.injector??w(Ie);if(!Xu(n))return Pc;Rt("NgAfterNextRender");let r=n.get(Rr),o=r.handler??=new mr,i=t?.phase??Ge.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(tn).onDestroy(s),u=ou(n,()=>new gr(i,()=>{s(),e()}));return o.register(u),{destroy:s}}var gr=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=w(W),this.errorHandler=w(Ae,{optional:!0}),w(St,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},mr=class{constructor(){this.executingCallbacks=!1,this.buckets={[Ge.EarlyRead]:new Set,[Ge.Write]:new Set,[Ge.MixedReadWrite]:new Set,[Ge.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},Rr=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function qo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&uc(e,n,i.join(" "))}}function pg(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=mg;let e=t;return e})();function mg(){let e=j();return jc(e,M())}var yg=st,Lc=class extends yg{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ft(this._hostTNode,this._hostLView)}get injector(){return new We(this._hostTNode,this._hostLView)}get parentInjector(){let t=Oi(this._hostTNode,this._hostLView);if(Ru(t)){let n=ir(t,this._hostLView),r=or(t),o=n[E].data[r+8];return new We(o,n)}else return new We(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ia(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-G}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=fr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,lr(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Pf(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let u=s?t:new Yt(qe(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let y=(s?c:this.parentInjector).get(Te,null);y&&(i=y)}let l=qe(u.componentType??{}),d=fr(this._lContainer,l?.id??null),h=d?.firstChild??null,f=u.create(c,o,h,i);return this.insertImpl(f.hostView,a,lr(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Uf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[L],c=new Lc(u,u[Z],u[L]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Wi(s,o,i,r),t.attachToViewContainerRef(),Ba(fo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ia(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ur(this._lContainer,n);r&&(Kn(fo(this._lContainer),n),Li(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=ur(this._lContainer,n);return r&&Kn(fo(this._lContainer),n)!=null?new tt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ia(e){return e[tr]}function fo(e){return e[tr]||(e[tr]=[])}function jc(e,t){let n,r=t[e.index];return Ce(r)?n=r:(n=Ic(r,t,null,e),t[e.index]=n,Or(t,n)),Dg(n,t,e,r),new Lc(n,e,t)}function vg(e,t){let n=e[F],r=n.createComment(""),o=ne(t,e),i=ji(n,o);return cr(n,i,r,Qh(n,o),!1),r}var Dg=wg,Eg=()=>!1;function Ig(e,t,n){return Eg(e,t,n)}function wg(e,t,n,r){if(e[Ye])return;let o;n.type&8?o=pe(r):o=vg(t,n),e[Ye]=o}var Yo=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Qo=class e{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;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=G;dt.trim())}function $c(e,t,n){e.queries===null&&(e.queries=new Ko),e.queries.track(new Jo(t,n))}function Ag(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Qi(e,t){return e.queries.getByIndex(t)}function Og(e,t){let n=e[E],r=Qi(n,t);return r.crossesNgTemplate?Xo(n,e,t,[]):Vc(n,e,r,t)}function Fg(e){return typeof e=="function"&&e[an]!==void 0}function Hc(e){return Fg(e)&&typeof e.set=="function"}function Rg(e){return Object.getPrototypeOf(e.prototype).constructor}function kg(e){let t=Rg(e.type),n=!0,r=[e];for(;t;){let o;if(Ne(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Bn(e.inputs),s.inputTransforms=Bn(e.inputTransforms),s.declaredInputs=Bn(e.declaredInputs),s.outputs=Bn(e.outputs);let a=o.hostBindings;a&&Bg(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&jg(e,u),c&&Vg(e,c),Pg(e,o),kd(e.outputs,o.outputs),Ne(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=zt(o.hostAttrs,n=zt(n,o.hostAttrs))}}function Bn(e){return e===Ct?{}:e===z?[]:e}function jg(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Vg(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Bg(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function $g(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Oe=class{},ei=class{};var ti=class extends Oe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yr(this);let o=Qa(t);this._bootstrapComponents=Ju(o.bootstrap),this._r3Injector=Uu(t,n,[{provide:Oe,useValue:this},{provide:Tt,useValue:this.componentFactoryResolver},...r],$(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},ni=class extends ei{constructor(t){super(),this.moduleType=t}create(t){return new ti(this.moduleType,t,[])}};var Dr=class extends Oe{constructor(t){super(),this.componentFactoryResolver=new yr(this),this.instance=null;let n=new Gt([...t.providers,{provide:Oe,useValue:this},{provide:Tt,useValue:this.componentFactoryResolver}],t.parent||Ei(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Hg(e,t,n=null){return new Dr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Uc(e){return zg(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Ug(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function Kg(e){return(e&2)==2}function Jg(e,t){return e&131071|t<<17}function ri(e){return e|2}function Nt(e){return(e&131068)>>2}function ho(e,t){return e&-131069|t<<2}function Xg(e){return(e&1)===1}function oi(e){return e|1}function em(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=rt(s),u=Nt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Jt(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let h=rt(e[a+1]);e[r+1]=$n(h,a),h!==0&&(e[h+1]=ho(e[h+1],r)),e[a+1]=Jg(e[a+1],r)}else e[r+1]=$n(a,0),a!==0&&(e[a+1]=ho(e[a+1],r)),a=r;else e[r+1]=$n(u,0),a===0?a=r:e[u+1]=ho(e[u+1],r),u=r;c&&(e[r+1]=ri(e[r+1])),wa(e,l,r,!0),wa(e,l,r,!1),tm(t,l,e,r,i),s=$n(a,u),i?t.classBindings=s:t.styleBindings=s}function tm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Jt(i,t)>=0&&(n[r+1]=oi(n[r+1]))}function wa(e,t,n,r){let o=e[n+1],i=t===null,s=r?rt(o):Nt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];nm(u,t)&&(a=!0,e[s+1]=r?oi(c):ri(c)),s=r?rt(c):Nt(c)}a&&(e[n+1]=r?ri(o):oi(o))}function nm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Jt(e,t)>=0:!1}var ae={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rm(e){return e.substring(ae.key,ae.keyEnd)}function om(e){return im(e),Wc(e,qc(e,0,ae.textEnd))}function Wc(e,t){let n=ae.textEnd;return n===t?-1:(t=ae.keyEnd=sm(e,ae.key=t,n),qc(e,t,n))}function im(e){ae.key=0,ae.keyEnd=0,ae.value=0,ae.valueEnd=0,ae.textEnd=e.length}function qc(e,t,n){for(;t32;)t++;return t}function am(e,t,n){let r=M(),o=Ot();if(Re(r,o,t)){let i=P(),s=Tr();Hi(i,s,r,e,t,r[F],n,!1)}return am}function ii(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ui(e,n,i[s],s,r)}function Zc(e,t,n){return Qc(e,t,n,!1),Zc}function um(e,t){return Qc(e,t,null,!0),um}function Kb(e){Kc(pm,Yc,e,!0)}function Yc(e,t){for(let n=om(t);n>=0;n=Wc(t,n))_r(e,rm(t),!0)}function Qc(e,t,n,r){let o=M(),i=P(),s=_u(2);if(i.firstUpdatePass&&Xc(i,e,s,r),t!==be&&Re(o,s,t)){let a=i.data[ot()];el(i,a,o,o[F],e,o[s+1]=mm(t,n),r,s)}}function Kc(e,t,n,r){let o=P(),i=_u(2);o.firstUpdatePass&&Xc(o,null,i,r);let s=M();if(n!==be&&Re(s,i,n)){let a=o.data[ot()];if(tl(a,r)&&!Jc(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=vo(u,n||"")),ii(o,a,s,n,r)}else gm(o,a,s,s[F],s[i+1],s[i+1]=hm(e,t,n),r,i)}}function Jc(e,t){return t>=e.expandoStartIndex}function Xc(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ot()],s=Jc(e,n);tl(i,r)&&t===null&&!s&&(t=!1),t=cm(o,i,t,r),em(o,i,t,n,s,r)}}function cm(e,t,n,r){let o=rh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=po(null,e,t,n,r),n=Qt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=po(o,e,t,n,r),i===null){let u=lm(e,t,r);u!==void 0&&Array.isArray(u)&&(u=po(null,e,t,u[1],r),u=Qt(u,t.attrs,r),dm(e,t,r,u))}else i=fm(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function lm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Nt(r)!==0)return e[rt(r)]}function dm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[rt(o)]=r}function fm(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,h=n[o+1];h===be&&(h=d?z:void 0);let f=d?oo(h,r):l===r?h:void 0;if(c&&!Er(f)&&(f=oo(u,r)),Er(f)&&(a=f,s))return a;let p=e[o+1];o=s?rt(p):Nt(p)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=oo(u,r))}return a}function Er(e){return e!==void 0}function mm(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=$(Ri(e)))),e}function tl(e,t){return(e.flags&(t?8:16))!==0}function Jb(e,t,n){let r=M(),o=Gc(r,e,t,n);Kc(_r,Yc,o,!0)}function Xb(e,t){Rt("NgControlFlow");let n=M(),r=Ot(),o=n[r]!==be?n[r]:-1,i=o!==-1?ba(n,Y+o):void 0,s=0;if(Re(n,r,e)){let a=b(null);try{if(i!==void 0&&Rp(i,s),e!==-1){let u=Y+e,c=ba(n,u),l=ym(n[E],u),d=fr(c,l.tView.ssrId),h=Gi(n,l,t,{dehydratedView:d});Wi(c,h,s,lr(l,d))}}finally{b(a)}}else if(i!==void 0){let a=Fp(i,s);a!==void 0&&(a[ee]=t)}}function ba(e,t){return e[t]}function ym(e,t){return bi(e,t)}function vm(e,t,n,r,o,i){let s=t.consts,a=rr(s,o),u=rn(t,e,2,r,a);return vc(t,n,u,rr(s,i)),u.attrs!==null&&qo(u,u.attrs,!1),u.mergedAttrs!==null&&qo(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function nl(e,t,n,r){let o=M(),i=P(),s=Y+e,a=o[F],u=i.firstCreatePass?vm(s,i,o,t,n,r):i.data[s],c=Em(i,o,u,a,t,e);o[s]=c;let l=wi(u);return en(u,!0),cc(a,c,u),!Gg(u)&&Ti()&&Vi(i,o,c,u),Wf()===0&&et(c,o),qf(),l&&(gc(i,o,u),pc(i,u,o)),r!==null&&mc(o,u),nl}function rl(){let e=j();wu()?Cu():(e=e.parent,en(e,!1));let t=e;Yf(t)&&Qf(),Zf();let n=P();return n.firstCreatePass&&(Ai(n,e),uu(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&lh(t)&&ii(n,t,M(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&dh(t)&&ii(n,t,M(),t.stylesWithoutHost,!1),rl}function Dm(e,t,n,r){return nl(e,t,n,r),rl(),Dm}var Em=(e,t,n,r,o,i)=>(Ni(!0),ec(r,o,sh()));function e_(){return M()}function Im(e,t,n){let r=M(),o=Ot();if(Re(r,o,t)){let i=P(),s=Tr();Hi(i,s,r,e,t,r[F],n,!0)}return Im}var Ir="en-US";var wm=Ir;function Cm(e){typeof e=="string"&&(wm=e.toLowerCase().replace(/_/g,"-"))}var bm=(e,t,n)=>{};function _m(e,t,n,r){let o=M(),i=P(),s=j();return ol(i,o,o[F],s,e,t,r),_m}function Mm(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function ol(e,t,n,r,o,i,s){let a=wi(r),c=e.firstCreatePass&&bc(e),l=t[ee],d=Cc(t),h=!0;if(r.type&3||s){let y=ne(r,t),O=s?s(y):y,S=d.length,Q=s?ge=>s(pe(ge[r.index])):r.index,H=null;if(!s&&a&&(H=Mm(e,t,o,r.index)),H!==null){let ge=H.__ngLastListenerFn__||H;ge.__ngNextListenerFn__=i,H.__ngLastListenerFn__=i,h=!1}else{i=Ma(r,t,l,i),bm(y,o,i);let ge=n.listen(O,o,i);d.push(i,ge),c&&c.push(o,Q,S,S+1)}}else i=Ma(r,t,l,i);let f=r.outputs,p;if(h&&f!==null&&(p=f[o])){let y=p.length;if(y)for(let O=0;O-1?Fe(e.index,t):t;qi(s,5);let a=_a(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=_a(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function t_(e=1){return ih(e)}function xm(e,t){let n=null,r=pf(e);for(let o=0;o(Ni(!0),Bh(t[F],r));function Nm(e){return il("",e,""),Nm}function il(e,t,n){let r=M(),o=Gc(r,e,t,n);return o!==be&&Tp(r,ot(),o),il}function Am(e,t,n){Hc(t)&&(t=t());let r=M(),o=Ot();if(Re(r,o,t)){let i=P(),s=Tr();Hi(i,s,r,e,t,r[F],n,!1)}return Am}function l_(e,t){let n=Hc(e);return n&&e.set(t),n}function Om(e,t){let n=M(),r=P(),o=j();return ol(r,n,n[F],o,e,t),Om}function Fm(e,t,n){let r=P();if(r.firstCreatePass){let o=Ne(e);si(n,r.data,r.blueprint,o,!0),si(t,r.data,r.blueprint,o,!1)}}function si(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i>20;if(_t(e)||!e.multi){let f=new Je(c,o,re),p=mo(u,t,o?l:l+h,d);p===-1?(Oo(sr(a,s),i,u),go(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=mo(u,t,l+h,d),p=mo(u,t,l,l+h),y=f>=0&&n[f],O=p>=0&&n[p];if(o&&!O||!o&&!y){Oo(sr(a,s),i,u);let S=Pm(o?km:Rm,n.length,o,r,c);!o&&O&&(n[p].providerFactory=S),go(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=sl(n[o?p:f],c,!o&&r);go(i,e,f>-1?f:p,S)}!o&&r&&O&&n[p].componentProviders++}}}function go(e,t,n,r){let o=_t(t),i=Tf(t);if(o||i){let u=(i?B(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function sl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function mo(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Fm(r,o?o(e):e,t)}}var Lm=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Xa(!1,r.type),i=o.length>0?Hg([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=R({token:t,providedIn:"environment",factory:()=>new t(q(Te))});let e=t;return e})();function f_(e){Rt("NgStandalone"),e.getStandaloneInjector=t=>t.get(Lm).getOrCreateStandaloneInjector(e)}function h_(e,t){return Fr(e,t)}var p_=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var jm=new A("");function Ki(e){return!!e&&typeof e.then=="function"}function al(e){return!!e&&typeof e.subscribe=="function"}var Vm=new A(""),ul=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=w(Vm,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Ki(s))r.push(s);else if(al(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Bm=new A("");function $m(){hs(()=>{throw new x(600,!1)})}function Hm(e){return e.isBoundToModule}var Um=10;function zm(e,t,n){try{let r=n();return Ki(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ji=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(zu),this.afterRenderEffectManager=w(Rr),this.zonelessEnabled=w(Oc),this.externalTestViews=new Set,this.beforeRender=new K,this.afterTick=new K,this.componentTypes=[],this.components=[],this.isStable=w(nn).hasPendingTasks.pipe(ye(r=>!r)),this._injector=w(Te)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof hr;if(!this._injector.get(ul).done){let f=!i&&Cf(r),p=!1;throw new x(405,p)}let a;i?a=r:a=this._injector.get(Tt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Hm(a)?void 0:this._injector.get(Oe),c=o||a.selector,l=a.create(Ie.NULL,[],c,u),d=l.location.nativeElement,h=l.injector.get(jm,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),yo(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new x(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,b(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(pr,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iZt(u))&&(s.execute(),!this.allViews.some(({_lView:u})=>Zt(u))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;yo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Bm,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>yo(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new x(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function yo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Gm(e,t,n,r){if(!n&&!Zt(e))return;Sc(e,t,n&&!r?0:1)}var ui=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},g_=(()=>{let t=class t{compileModuleSync(r){return new ni(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Qa(r),s=Ju(i.declarations).reduce((a,u)=>{let c=qe(u);return c&&a.push(new Yt(c)),a},[]);return new ui(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Wm=(()=>{let t=class t{constructor(){this.zone=w(W),this.changeDetectionScheduler=w(St),this.applicationRef=w(Ji)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function qm({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new W(Ym()),[{provide:W,useFactory:e},{provide:Jn,multi:!0,useFactory:()=>{let n=w(Wm,{optional:!0});return()=>n.initialize()}},{provide:Jn,multi:!0,useFactory:()=>{let n=w(Qm);return()=>{n.initialize()}}},{provide:zu,useFactory:Zm},t===!0?{provide:Fc,useValue:!0}:[]]}function Zm(){let e=w(W),t=w(Ae);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Ym(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Qm=(()=>{let t=class t{constructor(){this.subscription=new k,this.initialized=!1,this.zone=w(W),this.pendingTasks=w(nn)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Km=(()=>{let t=class t{constructor(){this.appRef=w(Ji),this.taskService=w(nn),this.ngZone=w(W),this.zonelessEnabled=w(Oc),this.disableScheduling=w(Fc,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new k,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Wo||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?ma:Rc;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&W.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ma(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Jm(){return typeof $localize<"u"&&$localize.locale||Ir}var Xi=new A("",{providedIn:"root",factory:()=>w(Xi,C.Optional|C.SkipSelf)||Jm()});var cl=new A("");var Zn=null;function Xm(e=[],t){return Ie.create({name:t,providers:[{provide:nu,useValue:"platform"},{provide:cl,useValue:new Set([()=>Zn=null])},...e]})}function ey(e=[]){if(Zn)return Zn;let t=Xm(e);return Zn=t,$m(),ty(t),t}function ty(e){e.get(Rh,null)?.forEach(n=>n())}var es=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ny;let e=t;return e})();function ny(e){return ry(j(),M(),(e&16)===16)}function ry(e,t,n){if(xr(e)&&!n){let r=Fe(e.index,t);return new tt(r,r)}else if(e.type&47){let r=t[te];return new tt(r,t)}return null}var ci=class{constructor(){}supports(t){return Uc(t)}create(t){return new li(t)}},oy=(e,t)=>t,li=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||oy}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{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 di(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 wr),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 wr),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}},di=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},fi=class{constructor(){this._head=null,this._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}},wr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new fi,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 xa(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||Sa()),deps:[[t,new tf,new ef]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new x(901,!1)}};t.\u0275prov=R({token:t,providedIn:"root",factory:Sa});let e=t;return e})();function m_(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=ey(r),i=[qm({}),{provide:St,useExisting:Km},...n||[]],a=new Dr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(W);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ae,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),h=o.get(cl);return h.add(d),a.onDestroy(()=>{l.unsubscribe(),h.delete(d)}),zm(c,u,()=>{let f=a.get(ul);return f.runInitializers(),f.donePromise.then(()=>{let p=a.get(Xi,Ir);Cm(p||Ir);let y=a.get(Ji);return t!==void 0&&y.bootstrap(t),y})})})}catch(t){return Promise.reject(t)}}function iy(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function sy(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ay(e){let t=b(null);try{return e()}finally{b(t)}}var uy=new A("",{providedIn:"root",factory:()=>w(cy)}),cy=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>new hi});let e=t;return e})(),hi=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=w(nn),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},pi=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=ps(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ae,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function ly(e,t){Rt("NgSignals"),!t?.injector&&Ii(ly);let n=t?.injector??w(Ie),r=t?.manualCleanup!==!0?n.get(tn):null,o=new pi(n.get(uy),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(es,null,{optional:!0});return!i||!(i._lView[m]&8)?o.watcher.notify():(i._lView[Un]??=[]).push(o.watcher.notify),o}var yl=null;function rs(){return yl}function B_(e){yl??=e}var ll=class{};var vl=new A(""),Dl=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>w(fy),providedIn:"platform"});let e=t;return e})();var fy=(()=>{let t=class t extends Dl{constructor(){super(),this._doc=w(vl),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return rs().getBaseHref(this._doc)}onPopState(r){let o=rs().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=rs().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function El(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function dl(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function at(e){return e&&e[0]!=="?"?"?"+e:e}var as=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>w(py),providedIn:"root"});let e=t;return e})(),hy=new A(""),py=(()=>{let t=class t extends as{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??w(vl).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return El(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+at(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+at(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+at(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(q(Dl),q(hy,8))},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var gy=(()=>{let t=class t{constructor(r){this._subject=new ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=vy(dl(fl(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+at(o))}normalize(r){return t.stripTrailingSlash(yy(this._basePath,fl(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+at(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+at(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=at,t.joinWithSlash=El,t.stripTrailingSlash=dl,t.\u0275fac=function(o){return new(o||t)(q(as))},t.\u0275prov=R({token:t,factory:()=>my(),providedIn:"root"});let e=t;return e})();function my(){return new gy(q(as))}function yy(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function fl(e){return e.replace(/\/index.html$/,"")}function vy(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function $_(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var os=/\s+/,hl=[],H_=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=hl,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(os):hl}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(os):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(os).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(re(it),re(Zi))},t.\u0275dir=Xt({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var is=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},U_=(()=>{let t=class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new is(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),pl(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);pl(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(re(st),re(nt),re(ts))},t.\u0275dir=Xt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function pl(e,t){e.context.$implicit=t.item}var z_=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new ss,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){gl("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){gl("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(re(st),re(nt))},t.\u0275dir=Xt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),ss=class{constructor(){this.$implicit=null,this.ngIf=null}};function gl(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${$(t)}'.`)}var G_=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(re(st))},t.\u0275dir=Xt({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ci]});let e=t;return e})();var W_=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=qa({type:t}),t.\u0275inj=Fa({});let e=t;return e})(),Dy="browser",Ey="server";function q_(e){return e===Dy}function Z_(e){return e===Ey}var ml=class{};var _e=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(_e||{}),K_="*";function J_(e,t){return{type:_e.Trigger,name:e,definitions:t,options:{}}}function X_(e,t=null){return{type:_e.Animate,styles:t,timings:e}}function eM(e,t=null){return{type:_e.Sequence,steps:e,options:t}}function tM(e){return{type:_e.Style,styles:e,offset:null}}function nM(e,t,n){return{type:_e.State,name:e,styles:t,options:n}}function rM(e,t,n=null){return{type:_e.Transition,expr:e,animation:t,options:n}}function oM(e=null){return{type:_e.AnimateChild,options:e}}function iM(e,t,n=null){return{type:_e.Query,selector:e,animation:t,options:n}}var Il=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},wl=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},sM="!";export{ke as a,Pe as b,Iy as c,k as d,Vl as e,_ as f,Kr as g,Jr as h,K as i,Pt as j,Be as k,de as l,Yl as m,Ql as n,Kl as o,He as p,ye as q,id as r,ve as s,Ln as t,ad as u,ud as v,eo as w,gd as x,Ue as y,md as z,Hs as A,yd as B,vd as C,Bt as D,to as E,Dd as F,Ed as G,Cd as H,zs as I,no as J,bd as K,_d as L,Md as M,xd as N,Sd as O,Td as P,Nd as Q,Ad as R,Od as S,x as T,Aa as U,R as V,Fa as W,kb as X,A as Y,C as Z,q as _,w as $,Ut as aa,Pb as ba,qa as ca,Xt as da,Lb as ea,_f as fa,nu as ga,Te as ha,ou as ia,Ci as ja,jb as ka,Vb as la,Bb as ma,$b as na,Ih as oa,Ie as pa,Ae as qa,it as ra,nn as sa,ue as ta,Po as ua,Hb as va,Ub as wa,Rh as xa,Qu as ya,zb as za,Gb as Aa,ar as Ba,Wb as Ca,re as Da,qb as Ea,nt as Fa,St as Ga,Tt as Ha,pr as Ia,Zi as Ja,Rt as Ka,W as La,sg as Ma,ag as Na,st as Oa,Fg as Pa,kg as Qa,$g as Ra,ei as Sa,Hg as Ta,qg as Ua,Qg as Va,am as Wa,Zc as Xa,um as Ya,Kb as Za,Jb as _a,Xb as $a,nl as ab,rl as bb,Dm as cb,e_ as db,Im as eb,_m as fb,t_ as gb,n_ as hb,r_ as ib,o_ as jb,i_ as kb,s_ as lb,a_ as mb,u_ as nb,c_ as ob,Nm as pb,il as qb,Am as rb,l_ as sb,Om as tb,d_ as ub,f_ as vb,h_ as wb,p_ as xb,Ki as yb,Bm as zb,Ji as Ab,g_ as Bb,es as Cb,m_ as Db,iy as Eb,sy as Fb,ay as Gb,ly as Hb,rs as Ib,B_ as Jb,ll as Kb,vl as Lb,gy as Mb,$_ as Nb,H_ as Ob,U_ as Pb,z_ as Qb,G_ as Rb,W_ as Sb,Dy as Tb,q_ as Ub,Z_ as Vb,ml as Wb,_e as Xb,K_ as Yb,J_ as Zb,X_ as _b,eM as $b,tM as ac,nM as bc,rM as cc,oM as dc,iM as ec,Il as fc,wl as gc,sM as hc};