multimodalsim-viewer 0.1.2.0__py3-none-any.whl → 0.1.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ var Zf=Object.create;var yn=Object.defineProperty,Qf=Object.defineProperties,Yf=Object.getOwnPropertyDescriptor,Kf=Object.getOwnPropertyDescriptors,Jf=Object.getOwnPropertyNames,Xn=Object.getOwnPropertySymbols,Xf=Object.getPrototypeOf,ti=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable;var ei=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),ep=e=>{throw TypeError(e)};var Ua=(e,t,n)=>t in e?yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oe=(e,t)=>{for(var n in t||={})ti.call(t,n)&&Ua(e,n,t[n]);if(Xn)for(var n of Xn(t))za.call(t,n)&&Ua(e,n,t[n]);return e},ie=(e,t)=>Qf(e,Kf(t));var EI=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var II=(e,t)=>{var n={};for(var r in e)ti.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Xn)for(var r of Xn(e))t.indexOf(r)<0&&za.call(e,r)&&(n[r]=e[r]);return n};var wI=(e,t)=>()=>(e&&(t=e(e=0)),t);var CI=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),bI=(e,t)=>{for(var n in t)yn(e,n,{get:t[n],enumerable:!0})},Ga=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Jf(t))!ti.call(e,o)&&o!==n&&yn(e,o,{get:()=>t[o],enumerable:!(r=Yf(t,o))||r.enumerable});return e};var _I=(e,t,n)=>(n=e!=null?Zf(Xf(e)):{},Ga(t||!e||!e.__esModule?yn(n,"default",{value:e,enumerable:!0}):n,e)),MI=e=>Ga(yn({},"__esModule",{value:!0}),e);var Wa=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())}),tp=function(e,t){this[0]=e,this[1]=t};var TI=e=>{var t=e[ei("asyncIterator")],n=!1,r,o={};return t==null?(t=e[ei("iterator")](),r=i=>o[i]=s=>t[i](s)):(t=t.call(e),r=i=>o[i]=s=>{if(n){if(n=!1,i==="throw")throw s;return s}return n=!0,{done:!1,value:new tp(new Promise(a=>{var u=t[i](s);u instanceof Object||ep("Object expected"),a(u)}),1)}}),o[ei("iterator")]=()=>o,r("next"),"throw"in t?r("throw"):o.throw=i=>{throw i},"return"in t&&r("return"),o};function Za(e,t){return Object.is(e,t)}var z=null,vn=!1,ii=1,Q=Symbol("SIGNAL");function _(e){let t=z;return z=e,t}function Qa(){return z}function np(){return vn}var dt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function tr(e){if(vn)throw new Error("");if(z===null)return;z.consumerOnSignalRead(e);let t=z.nextProducerIndex++;if(rr(z),t<z.producerNode.length&&z.producerNode[t]!==e&&Dn(z)){let n=z.producerNode[t];nr(n,z.producerIndexOfThis[t])}z.producerNode[t]!==e&&(z.producerNode[t]=e,z.producerIndexOfThis[t]=Dn(z)?eu(e,z,t):0),z.producerLastReadVersion[t]=e.version}function rp(){ii++}function Ya(e){if(!(Dn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ii)){if(!e.producerMustRecompute(e)&&!In(e)){qa(e);return}e.producerRecomputeValue(e),qa(e)}}function Ka(e){if(e.liveConsumerNode===void 0)return;let t=vn;vn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Xa(n)}finally{vn=t}}function Ja(){return z?.consumerAllowSignalWrites!==!1}function Xa(e){e.dirty=!0,Ka(e),e.consumerMarkedDirty?.(e)}function qa(e){e.dirty=!1,e.lastCleanEpoch=ii}function Pt(e){return e&&(e.nextProducerIndex=0),_(e)}function En(e,t){if(_(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Dn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)nr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function In(e){rr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ya(n),r!==n.version))return!0}return!1}function Lt(e){if(rr(e),Dn(e))for(let t=0;t<e.producerNode.length;t++)nr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function eu(e,t,n){if(tu(e),e.liveConsumerNode.length===0&&nu(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=eu(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function nr(e,t){if(tu(e),e.liveConsumerNode.length===1&&nu(e))for(let r=0;r<e.producerNode.length;r++)nr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];rr(o),o.producerIndexOfThis[r]=t}}function Dn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function rr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function tu(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function nu(e){return e.producerNode!==void 0}function si(e){let t=Object.create(op);t.computation=e;let n=()=>{if(Ya(t),tr(t),t.value===er)throw t.error;return t.value};return n[Q]=t,n}var ni=Symbol("UNSET"),ri=Symbol("COMPUTING"),er=Symbol("ERRORED"),op=ie(oe({},dt),{value:ni,dirty:!0,error:null,equal:Za,kind:"computed",producerMustRecompute(e){return e.value===ni||e.value===ri},producerRecomputeValue(e){if(e.value===ri)throw new Error("Detected cycle in computations.");let t=e.value;e.value=ri;let n=Pt(e),r,o=!1;try{r=e.computation(),_(null),o=t!==ni&&t!==er&&r!==er&&e.equal(t,r)}catch(i){r=er,e.error=i}finally{En(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ip(){throw new Error}var ru=ip;function ou(){ru()}function iu(e){ru=e}var sp=null;function su(e){let t=Object.create(ai);t.value=e;let n=()=>(tr(t),t.value);return n[Q]=t,n}function or(e,t){Ja()||ou(),e.equal(e.value,t)||(e.value=t,ap(e))}function au(e,t){Ja()||ou(),or(e,t(e.value))}var ai=ie(oe({},dt),{equal:Za,value:void 0,kind:"signal"});function ap(e){e.version++,rp(),Ka(e),sp?.()}function uu(e,t,n){let r=Object.create(up);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)||(Lt(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=oi)}let a=()=>{if(r.fn===null)return;if(np())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!In(r))return;r.hasRun=!0;let u=Pt(r);try{r.cleanupFn(),r.cleanupFn=oi,r.fn(o)}finally{En(r,u)}};return r.ref={notify:()=>Xa(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Q]:r},r.ref}var oi=()=>{},up=ie(oe({},dt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:oi});function w(e){return typeof e=="function"}function Ke(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 ir=Ke(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ft(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof ir?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{cu(i)}catch(s){t=t??[],s instanceof ir?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ir(t)}}add(t){var n;if(t&&t!==this)if(this.closed)cu(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)&&ft(n,t)}remove(t){let{_finalizers:n}=this;n&&ft(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var ui=j.EMPTY;function sr(e){return e instanceof j||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function cu(e){w(e)?e():e.unsubscribe()}var we={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Vt={setTimeout(e,t,...n){let{delegate:r}=Vt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Vt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ar(e){Vt.setTimeout(()=>{let{onUnhandledError:t}=we;if(t)t(e);else throw e})}function pt(){}var lu=ci("C",void 0,void 0);function du(e){return ci("E",void 0,e)}function fu(e){return ci("N",e,void 0)}function ci(e,t,n){return{kind:e,value:t,error:n}}var ht=null;function jt(e){if(we.useDeprecatedSynchronousErrorHandling){let t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ht;if(ht=null,n)throw r}}else e()}function pu(e){we.useDeprecatedSynchronousErrorHandling&&ht&&(ht.errorThrown=!0,ht.error=e)}var gt=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,sr(t)&&t.add(this)):this.destination=dp}static create(t,n,r){return new Ce(t,n,r)}next(t){this.isStopped?di(fu(t),this):this._next(t)}error(t){this.isStopped?di(du(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?di(lu,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()}}},cp=Function.prototype.bind;function li(e,t){return cp.call(e,t)}var fi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ur(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ur(r)}else ur(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ur(n)}}},Ce=class extends gt{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&we.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&li(t.next,i),error:t.error&&li(t.error,i),complete:t.complete&&li(t.complete,i)}):o=t}this.destination=new fi(o)}};function ur(e){we.useDeprecatedSynchronousErrorHandling?pu(e):ar(e)}function lp(e){throw e}function di(e,t){let{onStoppedNotification:n}=we;n&&Vt.setTimeout(()=>n(e,t))}var dp={closed:!0,next:pt,error:lp,complete:pt};var Bt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ee(e){return e}function fp(...e){return pi(e)}function pi(e){return e.length===0?ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{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=hp(n)?n:new Ce(n,r,o);return jt(()=>{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=hu(r),new r((o,i)=>{let s=new Ce({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)}[Bt](){return this}pipe(...n){return pi(n)(this)}toPromise(n){return n=hu(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 hu(e){var t;return(t=e??we.Promise)!==null&&t!==void 0?t:Promise}function pp(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function hp(e){return e&&e instanceof gt||pp(e)&&sr(e)}function hi(e){return w(e?.lift)}function v(e){return t=>{if(hi(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 m(e,t,n,r,o){return new gi(e,t,n,r,o)}var gi=class extends gt{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 mi(){return v((e,t)=>{let n=null;e._refCount++;let r=m(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 yi=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,hi(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 j;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return mi()(this)}};var Ht={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Ht;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new j(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Ht;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Ht;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var gu=Ke(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new cr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new gu}next(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){jt(()=>{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(){jt(()=>{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?ui:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,ft(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new cr(t,n),e})(),cr=class extends se{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:ui}};var wn=class extends se{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 Cn={now(){return(Cn.delegate||Date).now()},delegate:void 0};var bn=class extends se{constructor(t=1/0,n=1/0,r=Cn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};var lr=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var _n={setInterval(e,t,...n){let{delegate:r}=_n;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=_n;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var $t=class extends lr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return _n.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&_n.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ft(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ut=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ut.now=Cn.now;var zt=class extends Ut{constructor(t,n=Ut.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var be=new zt($t),mu=be;var dr=class extends $t{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Ht.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Ht.cancelAnimationFrame(n),t._scheduled=void 0)}};var fr=class extends zt{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var gp=new fr(dr);var mt=new x(e=>e.complete());function pr(e){return e&&w(e.schedule)}function vi(e){return e[e.length-1]}function hr(e){return w(vi(e))?e.pop():void 0}function Ae(e){return pr(vi(e))?e.pop():void 0}function yu(e,t){return typeof vi(e)=="number"?e.pop():t}function Du(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 vu(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 yt(e){return this instanceof yt?(this.v=e,this):new yt(e)}function Eu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(S,E){i.push([f,g,S,E])>1||u(f,g)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(g){p(i[0][3],g)}}function c(f){f.value instanceof yt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Iu(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 vu=="function"?vu(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 gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function mr(e){return w(e?.then)}function yr(e){return w(e[Bt])}function vr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function Dr(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 mp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Er=mp();function Ir(e){return w(e?.[Er])}function wr(e){return Eu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield yt(n.read());if(o)return yield yt(void 0);yield yield yt(r)}}finally{n.releaseLock()}})}function Cr(e){return w(e?.getReader)}function F(e){if(e instanceof x)return e;if(e!=null){if(yr(e))return yp(e);if(gr(e))return vp(e);if(mr(e))return Dp(e);if(vr(e))return wu(e);if(Ir(e))return Ep(e);if(Cr(e))return Ip(e)}throw Dr(e)}function yp(e){return new x(t=>{let n=e[Bt]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function vp(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Dp(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ar)})}function Ep(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function wu(e){return new x(t=>{wp(e,t).catch(n=>t.error(n))})}function Ip(e){return wu(wr(e))}function wp(e,t){var n,r,o,i;return Du(this,void 0,void 0,function*(){try{for(n=Iu(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 Y(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 br(e,t=0){return v((n,r)=>{n.subscribe(m(r,o=>Y(r,e,()=>r.next(o),t),()=>Y(r,e,()=>r.complete(),t),o=>Y(r,e,()=>r.error(o),t)))})}function _r(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Cu(e,t){return F(e).pipe(_r(t),br(t))}function bu(e,t){return F(e).pipe(_r(t),br(t))}function _u(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Mu(e,t){return new x(n=>{let r;return Y(n,t,()=>{r=e[Er](),Y(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function Mr(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{Y(n,t,()=>{let r=e[Symbol.asyncIterator]();Y(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Tu(e,t){return Mr(wr(e),t)}function Su(e,t){if(e!=null){if(yr(e))return Cu(e,t);if(gr(e))return _u(e,t);if(mr(e))return bu(e,t);if(vr(e))return Mr(e,t);if(Ir(e))return Mu(e,t);if(Cr(e))return Tu(e,t)}throw Dr(e)}function Fe(e,t){return t?Su(e,t):F(e)}function Cp(...e){let t=Ae(e);return Fe(e,t)}function bp(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function _p(e){return!!e&&(e instanceof x||w(e.lift)&&w(e.subscribe))}var He=Ke(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Mp(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Ce({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new He)}});e.subscribe(i)})}function Tr(e){return e instanceof Date&&!isNaN(e)}var Tp=Ke(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Sp(e,t){let{first:n,each:r,with:o=Np,scheduler:i=t??be,meta:s=null}=Tr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return v((a,u)=>{let c,l,d=null,p=0,f=h=>{l=Y(u,i,()=>{try{c.unsubscribe(),F(o({meta:s,lastValue:d,seen:p})).subscribe(u)}catch(g){u.error(g)}},h)};c=a.subscribe(m(u,h=>{l?.unsubscribe(),p++,u.next(d=h),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Np(e){throw new Tp(e)}function $e(e,t){return v((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:xp}=Array;function Ap(e,t){return xp(t)?e(...t):e(t)}function Sr(e){return $e(t=>Ap(e,t))}var{isArray:Fp}=Array,{getPrototypeOf:Rp,prototype:Op,keys:kp}=Object;function Nr(e){if(e.length===1){let t=e[0];if(Fp(t))return{args:t,keys:null};if(Pp(t)){let n=kp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Pp(e){return e&&typeof e=="object"&&Rp(e)===Op}function xr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Lp(...e){let t=Ae(e),n=hr(e),{args:r,keys:o}=Nr(e);if(r.length===0)return Fe([],t);let i=new x(Vp(r,t,o?s=>xr(o,s):ee));return n?i.pipe(Sr(n)):i}function Vp(e,t,n=ee){return r=>{Nu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)Nu(t,()=>{let c=Fe(e[u],t),l=!1;c.subscribe(m(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Nu(e,t,n){e?Y(n,e,t):t()}function xu(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=g=>c<r?h(g):u.push(g),h=g=>{i&&t.next(g),c++;let S=!1;F(n(g,l++)).subscribe(m(t,E=>{o?.(E),i?f(E):t.next(E)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;u.length&&c<r;){let E=u.shift();s?Y(t,s,()=>h(E)):h(E)}p()}catch(E){t.error(E)}}))};return e.subscribe(m(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ue(e,t,n=1/0){return w(t)?Ue((r,o)=>$e((i,s)=>t(r,i,o,s))(F(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>xu(r,o,e,n)))}function Ar(e=1/0){return Ue(ee,e)}function Au(){return Ar(1)}function Gt(...e){return Au()(Fe(e,Ae(e)))}function jp(e){return new x(t=>{F(e()).subscribe(t)})}function Bp(...e){let t=hr(e),{args:n,keys:r}=Nr(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;F(n[l]).subscribe(m(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?xr(r,a):a),i.complete())}))}});return t?o.pipe(Sr(t)):o}function Wt(e=0,t,n=mu){let r=-1;return t!=null&&(pr(t)?n=t:r=t),new x(o=>{let i=Tr(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 Hp(e=0,t=be){return e<0&&(e=0),Wt(e,e,t)}function $p(...e){let t=Ae(e),n=yu(e,1/0),r=e;return r.length?r.length===1?F(r[0]):Ar(n)(Fe(r,t)):mt}function Je(e,t){return v((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Fu(e){return v((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(m(n,c=>{r=!0,o=c,i||F(e(c)).subscribe(i=m(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Up(e,t=be){return Fu(()=>Wt(e,t))}function Ru(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=F(e(s,Ru(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ou(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(m(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 zp(e,t){return w(t)?Ue(e,t,1):Ue(e,1)}function Gp(e,t=be){return v((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<c){o=this.schedule(void 0,c-l),r.add(o);return}a()}n.subscribe(m(r,c=>{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Mn(e){return v((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function vt(e){return e<=0?()=>mt:v((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ku(){return v((e,t)=>{e.subscribe(m(t,pt))})}function Pu(e){return $e(()=>e)}function Di(e,t){return t?n=>Gt(t.pipe(vt(1),ku()),n.pipe(Di(e))):Ue((n,r)=>F(e(n,r)).pipe(vt(1),Pu(n)))}function Wp(e,t=be){let n=Wt(e,t);return Di(()=>n)}function qp(e,t=ee){return e=e??Zp,v((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Zp(e,t){return e===t}function Fr(e=Qp){return v((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Qp(){return new He}function Yp(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Kp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Je((o,i)=>e(o,i,r)):ee,vt(1),n?Mn(t):Fr(()=>new He))}function Ei(e){return e<=0?()=>mt:v((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Jp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Je((o,i)=>e(o,i,r)):ee,Ei(1),n?Mn(t):Fr(()=>new He))}function Xp(){return v((e,t)=>{let n,r=!1;e.subscribe(m(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function eh(e,t){return v(Ou(e,t,arguments.length>=2,!0))}function wi(e={}){let{connector:t=()=>new se,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return v((g,S)=>{c++,!d&&!l&&p();let E=u=u??t();S.add(()=>{c--,c===0&&!d&&!l&&(a=Ii(h,o))}),E.subscribe(S),!s&&c>0&&(s=new Ce({next:N=>E.next(N),error:N=>{d=!0,p(),a=Ii(f,n,N),E.error(N)},complete:()=>{l=!0,p(),a=Ii(f,r),E.complete()}}),F(g).subscribe(s))})(i)}}function Ii(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ce({next:()=>{r.unsubscribe(),e()}});return F(t(...n)).subscribe(r)}function th(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,wi({connector:()=>new bn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function nh(e){return Je((t,n)=>e<=n)}function rh(...e){let t=Ae(e);return v((n,r)=>{(t?Gt(e,n,t):Gt(e,n)).subscribe(r)})}function oh(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,u=>{o?.unsubscribe();let c=0,l=i++;F(e(u,l)).subscribe(o=m(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Lu(e){return v((t,n)=>{F(e).subscribe(m(n,()=>n.complete(),pt)),!n.closed&&t.subscribe(n)})}function ih(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(m(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function sh(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(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)}))}):ee}var Tc="https://g.co/ng/security#xss",M=class extends Error{code;constructor(t,n){super(Sc(t,n)),this.code=t}};function Sc(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Nc=Symbol("InputSignalNode#UNSET"),ah=ie(oe({},ai),{transformFn:void 0,applyValueToInputSignal(e,t){or(e,t)}});function xc(e,t){let n=Object.create(ah);n.value=e,n.transformFn=t?.transform;function r(){if(tr(n),n.value===Nc)throw new M(-950,!1);return n.value}return r[Q]=n,r}function Io(e){return{toString:e}.toString()}var qt=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function uh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ue).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(`
4
+ `);return n===-1?t:t.substring(0,n)}function Pi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var ch=O({__forward_ref__:O});function Ac(e){return e.__forward_ref__=Ac,e.toString=function(){return ue(this())},e}function G(e){return Fc(e)?e():e}function Fc(e){return typeof e=="function"&&e.hasOwnProperty(ch)&&e.__forward_ref__===Ac}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function lh(e){return{providers:e.providers||[],imports:e.imports||[]}}function wo(e){return Vu(e,Rc)||Vu(e,Oc)}function x0(e){return wo(e)!==null}function Vu(e,t){return e.hasOwnProperty(t)?e[t]:null}function dh(e){let t=e&&(e[Rc]||e[Oc]);return t||null}function ju(e){return e&&(e.hasOwnProperty(Bu)||e.hasOwnProperty(fh))?e[Bu]:null}var Rc=O({\u0275prov:O}),Bu=O({\u0275inj:O}),Oc=O({ngInjectableDef:O}),fh=O({ngInjectorDef:O}),A=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function kc(e){return e&&!!e.\u0275providers}var ph=O({\u0275cmp:O}),hh=O({\u0275dir:O}),gh=O({\u0275pipe:O}),mh=O({\u0275mod:O}),zr=O({\u0275fac:O}),xn=O({__NG_ELEMENT_ID__:O}),Hu=O({__NG_ENV_ID__:O});function en(e){return typeof e=="string"?e:e==null?"":String(e)}function yh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():en(e)}function vh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function $s(e,t){throw new M(-201,!1)}var T=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}(T||{}),Li;function Pc(){return Li}function ae(e){let t=Li;return Li=e,t}function Lc(e,t,n){let r=wo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;$s(e,"Injector")}var Dh={},An=Dh,Eh="__NG_DI_FLAG__",Gr="ngTempTokenPath",Ih="ngTokenPath",wh=/\n/gm,Ch="\u0275",$u="__source",Jt;function bh(){return Jt}function Xe(e){let t=Jt;return Jt=e,t}function _h(e,t=T.Default){if(Jt===void 0)throw new M(-203,!1);return Jt===null?Lc(e,void 0,t):Jt.get(e,t&T.Optional?null:void 0,t)}function ce(e,t=T.Default){return(Pc()||_h)(G(e),t)}function I(e,t=T.Default){return ce(e,Co(t))}function Co(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Vi(e){let t=[];for(let n=0;n<e.length;n++){let r=G(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Mh(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(ce(o,i))}else t.push(ce(r))}return t}function Mh(e){return e[Eh]}function Th(e,t,n,r){let o=e[Gr];throw t[$u]&&o.unshift(t[$u]),e.message=Sh(`
5
+ `+e.message,o,n,r),e[Ih]=o,e[Gr]=null,e}function Sh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Ch?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ue(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(wh,`
7
+ `)}`}function It(e,t){let n=e.hasOwnProperty(zr);return n?e[zr]:null}function Nh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function xh(e){return e.flat(Number.POSITIVE_INFINITY)}function Us(e,t){e.forEach(n=>Array.isArray(n)?Us(n,t):t(n))}function Vc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ah(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Fh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function bo(e,t,n){let r=$n(e,t);return r>=0?e[r|1]=n:(r=~r,Fh(e,r,t,n)),r}function Ci(e,t){let n=$n(e,t);if(n>=0)return e[n|1]}function $n(e,t){return Rh(e,t,1)}function Rh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ze={},te=[],qr=new A(""),jc=new A("",-1),Bc=new A(""),Zr=class{get(t,n=An){if(n===An){let r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}};function Hc(e,t){let n=e[mh]||null;if(!n&&t===!0)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function rt(e){return e[ph]||null}function zs(e){return e[hh]||null}function $c(e){return e[gh]||null}function Oh(e){let t=rt(e)||zs(e)||$c(e);return t!==null&&t.standalone}function kh(e){return{\u0275providers:e}}function Ph(...e){return{\u0275providers:Uc(!0,e),\u0275fromNgModule:!0}}function Uc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Us(t,s=>{let a=s;ji(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&zc(o,i),n}function zc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Gs(o,i=>{t(i,r)})}}function ji(e,t,n,r){if(e=G(e),!e)return!1;let o=null,i=ju(e),s=!i&&rt(e);if(!i&&!s){let u=e.ngModule;if(i=ju(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)ji(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Us(i.imports,l=>{ji(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&zc(c,t)}if(!a){let c=It(o)||(()=>new o);t({provide:o,useFactory:c,deps:te},o),t({provide:Bc,useValue:o,multi:!0},o),t({provide:qr,useValue:()=>ce(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Gs(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Gs(e,t){for(let n of e)kc(n)&&(n=n.\u0275providers),Array.isArray(n)?Gs(n,t):t(n)}var Lh=O({provide:String,useValue:O});function Gc(e){return e!==null&&typeof e=="object"&&Lh in e}function Vh(e){return!!(e&&e.useExisting)}function jh(e){return!!(e&&e.useFactory)}function tn(e){return typeof e=="function"}function Bh(e){return!!e.useClass}var Wc=new A(""),Lr={},Hh={},bi;function _o(){return bi===void 0&&(bi=new Zr),bi}var ot=class{},Fn=class extends ot{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Hi(t,s=>this.processProvider(s)),this.records.set(jc,Zt(void 0,this)),o.has("environment")&&this.records.set(ot,Zt(void 0,this));let i=this.records.get(Wc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bc,te,T.Self))}destroy(){Sn(this),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return Sn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Sn(this);let n=Xe(this),r=ae(void 0),o;try{return t()}finally{Xe(n),ae(r)}}get(t,n=An,r=T.Default){if(Sn(this),t.hasOwnProperty(Hu))return t[Hu](this);r=Co(r);let o,i=Xe(this),s=ae(void 0);try{if(!(r&T.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Wh(t)&&wo(t);c&&this.injectableDefInScope(c)?u=Zt(Bi(t),Lr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&T.Self?_o():this.parent;return n=r&T.Optional&&n===An?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Gr]=a[Gr]||[]).unshift(ue(t)),i)throw a;return Th(a,t,"R3InjectorError",this.source)}else throw a}finally{ae(s),Xe(i)}}resolveInjectorInitializers(){let t=_(null),n=Xe(this),r=ae(void 0),o;try{let i=this.get(qr,te,T.Self);for(let s of i)s()}finally{Xe(n),ae(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=G(t);let n=tn(t)?t:G(t&&t.provide),r=Uh(t);if(!tn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Zt(void 0,Lr,!0),o.factory=()=>Vi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===Lr&&(n.value=Hh,n.value=n.factory()),typeof n.value=="object"&&n.value&&Gh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=G(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 Bi(e){let t=wo(e),n=t!==null?t.factory:It(e);if(n!==null)return n;if(e instanceof A)throw new M(204,!1);if(e instanceof Function)return $h(e);throw new M(204,!1)}function $h(e){if(e.length>0)throw new M(204,!1);let n=dh(e);return n!==null?()=>n.factory(e):()=>new e}function Uh(e){if(Gc(e))return Zt(void 0,e.useValue);{let t=qc(e);return Zt(t,Lr)}}function qc(e,t,n){let r;if(tn(e)){let o=G(e);return It(o)||Bi(o)}else if(Gc(e))r=()=>G(e.useValue);else if(jh(e))r=()=>e.useFactory(...Vi(e.deps||[]));else if(Vh(e))r=()=>ce(G(e.useExisting));else{let o=G(e&&(e.useClass||e.provide));if(zh(e))r=()=>new o(...Vi(e.deps));else return It(o)||Bi(o)}return r}function Sn(e){if(e.destroyed)throw new M(205,!1)}function Zt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zh(e){return!!e.deps}function Gh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Wh(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function Hi(e,t){for(let n of e)Array.isArray(n)?Hi(n,t):n&&kc(n)?Hi(n.\u0275providers,t):t(n)}function Zc(e,t){e instanceof Fn&&Sn(e);let n,r=Xe(e),o=ae(void 0);try{return t()}finally{Xe(r),ae(o)}}function Qc(){return Pc()!==void 0||bh()!=null}function Mo(e){if(!Qc())throw new M(-203,!1)}function qh(e){return typeof e=="function"}var Ve=0,C=1,D=2,J=3,Te=4,le=5,nn=6,Qr=7,W=8,Rn=9,Ge=10,L=11,On=12,Uu=13,dn=14,he=15,wt=16,Qt=17,We=18,To=19,Yc=20,tt=21,Vr=22,Ct=23,fe=24,H=25,Ws=1;var bt=7,Yr=8,rn=9,K=10;function nt(e){return Array.isArray(e)&&typeof e[Ws]=="object"}function Ze(e){return Array.isArray(e)&&e[Ws]===!0}function qs(e){return(e.flags&4)!==0}function At(e){return e.componentOffset>-1}function So(e){return(e.flags&1)===1}function Oe(e){return!!e.template}function Kr(e){return(e[D]&512)!==0}function Un(e){return(e[D]&256)===256}var $i=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Kc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Jc=(()=>{let e=()=>Xc;return e.ngInherit=!0,e})();function Xc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Qh),Zh}function Zh(){let e=tl(this),t=e?.current;if(t){let n=e.previous;if(n===ze)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Qh(e,t,n,r,o){let i=this.declaredInputs[r],s=tl(e)||Yh(e,{previous:ze,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new $i(c&&c.currentValue,n,u===ze),Kc(e,t,o,n)}var el="__ngSimpleChanges__";function tl(e){return e[el]||null}function Yh(e,t){return e[el]=t}var zu=null;var De=function(e,t,n){zu?.(e,t,n)},nl="svg",Kh="math";function ke(e){for(;Array.isArray(e);)e=e[Ve];return e}function Jh(e){for(;Array.isArray(e);){if(typeof e[Ws]=="object")return e;e=e[Ve]}return null}function rl(e,t){return ke(t[e])}function Se(e,t){return ke(t[e.index])}function Zs(e,t){return e.data[t]}function No(e,t){return e[t]}function Pe(e,t){let n=t[e];return nt(n)?n:n[Ve]}function Xh(e){return(e[D]&4)===4}function Qs(e){return(e[D]&128)===128}function eg(e){return Ze(e[J])}function it(e,t){return t==null?null:e[t]}function ol(e){e[Qt]=0}function Ys(e){e[D]&1024||(e[D]|=1024,Qs(e)&&zn(e))}function tg(e,t){for(;e>0;)t=t[dn],e--;return t}function xo(e){return!!(e[D]&9216||e[fe]?.dirty)}function Ui(e){e[Ge].changeDetectionScheduler?.notify(9),e[D]&64&&(e[D]|=1024),xo(e)&&zn(e)}function zn(e){e[Ge].changeDetectionScheduler?.notify(0);let t=_t(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Qs(t)));)t=_t(t)}function il(e,t){if(Un(e))throw new M(911,!1);e[tt]===null&&(e[tt]=[]),e[tt].push(t)}function ng(e,t){if(e[tt]===null)return;let n=e[tt].indexOf(t);n!==-1&&e[tt].splice(n,1)}function _t(e){let t=e[J];return Ze(t)?t[J]:t}function sl(e){return e[Qr]??=[]}function al(e){return e.cleanup??=[]}function rg(e,t,n,r){let o=sl(t);o.push(n),e.firstCreatePass&&al(e).push(r,o.length-1)}var b={lFrame:gl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var zi=!1;function og(){return b.lFrame.elementDepthCount}function ig(){b.lFrame.elementDepthCount++}function sg(){b.lFrame.elementDepthCount--}function ul(){return b.bindingsEnabled}function cl(){return b.skipHydrationRootTNode!==null}function ag(e){return b.skipHydrationRootTNode===e}function ug(){b.skipHydrationRootTNode=null}function y(){return b.lFrame.lView}function R(){return b.lFrame.tView}function A0(e){return b.lFrame.contextLView=e,e[W]}function F0(e){return b.lFrame.contextLView=null,e}function q(){let e=ll();for(;e!==null&&e.type===64;)e=e.parent;return e}function ll(){return b.lFrame.currentTNode}function cg(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ct(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function Ks(){return b.lFrame.isParent}function Js(){b.lFrame.isParent=!1}function dl(){return b.lFrame.contextLView}function fl(){return zi}function Jr(e){let t=zi;return zi=e,t}function Ao(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function lg(){return b.lFrame.bindingIndex}function dg(e){return b.lFrame.bindingIndex=e}function lt(){return b.lFrame.bindingIndex++}function Xs(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function fg(){return b.lFrame.inI18n}function pg(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Gi(t)}function hg(){return b.lFrame.currentDirectiveIndex}function Gi(e){b.lFrame.currentDirectiveIndex=e}function ea(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ta(){return b.lFrame.currentQueryIndex}function Fo(e){b.lFrame.currentQueryIndex=e}function gg(e){let t=e[C];return t.type===2?t.declTNode:t.type===1?e[le]:null}function pl(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=gg(i),o===null||(i=i[dn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=hl();return r.currentTNode=t,r.lView=e,!0}function na(e){let t=hl(),n=e[C];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function hl(){let e=b.lFrame,t=e===null?null:e.child;return t===null?gl(e):t}function gl(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 ml(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var yl=ml;function ra(){let e=ml();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 mg(e){return(b.lFrame.contextLView=tg(e,b.lFrame.contextLView))[W]}function je(){return b.lFrame.selectedIndex}function Mt(e){b.lFrame.selectedIndex=e}function fn(){let e=b.lFrame;return Zs(e.tView,e.selectedIndex)}function R0(){b.lFrame.currentNamespace=nl}function O0(){yg()}function yg(){b.lFrame.currentNamespace=null}function vg(){return b.lFrame.currentNamespace}var vl=!0;function Ro(){return vl}function Oo(e){vl=e}function Dg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Xc(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 ko(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function jr(e,t,n){Dl(e,t,3,n)}function Br(e,t,n,r){(e[D]&3)===n&&Dl(e,t,n,r)}function _i(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function Dl(e,t,n,r){let o=r!==void 0?e[Qt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[Qt]+=65536),(a<i||i==-1)&&(Eg(e,n,t,u),e[Qt]=(e[Qt]&4294901760)+u+2),u++}function Gu(e,t){De(4,e,t);let n=_(null);try{t.call(e)}finally{_(n),De(5,e,t)}}function Eg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[Qt]>>16&&(e[D]&3)===t&&(e[D]+=16384,Gu(a,i)):Gu(a,i)}var Xt=-1,Tt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Ig(e){return e instanceof Tt}function wg(e){return(e.flags&8)!==0}function Cg(e){return(e.flags&16)!==0}function bg(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];_g(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function El(e){return e===3||e===4||e===6}function _g(e){return e.charCodeAt(0)===64}function on(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Wu(e,n,o,null,t[++r]):Wu(e,n,o,null,null))}}return e}function Wu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Mi={},Wi=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Co(r);let o=this.injector.get(t,Mi,r);return o!==Mi||n===Mi?o:this.parentInjector.get(t,n,r)}};function Il(e){return e!==Xt}function Xr(e){return e&32767}function Mg(e){return e>>16}function eo(e,t){let n=Mg(e),r=t;for(;n>0;)r=r[dn],n--;return r}var qi=!0;function to(e){let t=qi;return qi=e,t}var Tg=256,wl=Tg-1,Cl=5,Sg=0,Re={};function Ng(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(xn)&&(r=n[xn]),r==null&&(r=n[xn]=Sg++);let o=r&wl,i=1<<o;t.data[e+(o>>Cl)]|=i}function no(e,t){let n=bl(e,t);if(n!==-1)return n;let r=t[C];r.firstCreatePass&&(e.injectorIndex=t.length,Ti(r.data,e),Ti(t,null),Ti(r.blueprint,null));let o=oa(e,t),i=e.injectorIndex;if(Il(o)){let s=Xr(o),a=eo(o,t),u=a[C].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Ti(e,t){e.push(0,0,0,0,0,0,0,0,t)}function bl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function oa(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=Nl(o),r===null)return Xt;if(n++,o=o[dn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Xt}function Zi(e,t,n){Ng(e,t,n)}function xg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(El(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function _l(e,t,n){if(n&T.Optional||e!==void 0)return e;$s(t,"NodeInjector")}function Ml(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),!(n&(T.Self|T.Host))){let o=e[Rn],i=ae(void 0);try{return o?o.get(t,r,n&T.Optional):Lc(t,r,n&T.Optional)}finally{ae(i)}}return _l(r,t,n)}function Tl(e,t,n,r=T.Default,o){if(e!==null){if(t[D]&2048&&!(r&T.Self)){let s=Og(e,t,n,r,Re);if(s!==Re)return s}let i=Sl(e,t,n,r,Re);if(i!==Re)return i}return Ml(t,n,r,o)}function Sl(e,t,n,r,o){let i=Fg(n);if(typeof i=="function"){if(!pl(t,e,r))return r&T.Host?_l(o,n,r):Ml(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))$s(n);else return s}finally{yl()}}else if(typeof i=="number"){let s=null,a=bl(e,t),u=Xt,c=r&T.Host?t[he][le]:null;for((a===-1||r&T.SkipSelf)&&(u=a===-1?oa(e,t):t[a+8],u===Xt||!Zu(r,!1)?a=-1:(s=t[C],a=Xr(u),t=eo(u,t)));a!==-1;){let l=t[C];if(qu(i,a,l.data)){let d=Ag(a,t,n,s,r,c);if(d!==Re)return d}u=t[a+8],u!==Xt&&Zu(r,t[C].data[a+8]===c)&&qu(i,a,t)?(s=l,a=Xr(u),t=eo(u,t)):a=-1}}return o}function Ag(e,t,n,r,o,i){let s=t[C],a=s.data[e+8],u=r==null?At(a)&&qi:r!=s&&(a.type&3)!==0,c=o&T.Host&&i===a,l=Hr(a,s,n,u,c);return l!==null?kn(t,s,l,a):Re}function Hr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f<p;f++){let h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Oe(f)&&f.type===n)return u}return null}function kn(e,t,n,r){let o=e[n],i=t.data;if(Ig(o)){let s=o;s.resolving&&vh(yh(i[n]));let a=to(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ae(s.injectImpl):null,l=pl(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Dg(n,i[n],t)}finally{c!==null&&ae(c),to(a),s.resolving=!1,yl()}}return o}function Fg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(xn)?e[xn]:void 0;return typeof t=="number"?t>=0?t&wl:Rg:t}function qu(e,t,n){let r=1<<e;return!!(n[t+(e>>Cl)]&r)}function Zu(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var Et=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Tl(this._tNode,this._lView,t,Co(r),n)}};function Rg(){return new Et(q(),y())}function k0(e){return Io(()=>{let t=e.prototype.constructor,n=t[zr]||Qi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[zr]||Qi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Qi(e){return Fc(e)?()=>{let t=Qi(G(e));return t&&t()}:It(e)}function Og(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!Kr(s);){let a=Sl(i,s,n,r|T.Self,Re);if(a!==Re)return a;let u=i.parent;if(!u){let c=s[Yc];if(c){let l=c.get(n,Re,r);if(l!==Re)return l}u=Nl(s),s=s[dn]}i=u}return o}function Nl(e){let t=e[C],n=t.type;return n===2?t.declTNode:n===1?e[le]:null}function xl(e){return xg(q(),e)}function Qu(e,t=null,n=null,r){let o=Al(e,t,n,r);return o.resolveInjectorInitializers(),o}function Al(e,t=null,n=null,r,o=new Set){let i=[n||te,Ph(e)];return r=r||(typeof e=="object"?void 0:ue(e)),new Fn(i,t||_o(),r||null,o)}var Le=class e{static THROW_IF_NOT_FOUND=An;static NULL=new Zr;static create(t,n){if(Array.isArray(t))return Qu({name:""},n,t,"");{let r=t.name??"";return Qu({name:r},t.parent,t.providers,r)}}static \u0275prov=V({token:e,providedIn:"any",factory:()=>ce(jc)});static __NG_ELEMENT_ID__=-1};var Yu=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>xl(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},kg=new A("");kg.__NG_ELEMENT_ID__=e=>{let t=q();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new M(204,!1)};var Fl=!1,pn=(()=>{class e{static __NG_ELEMENT_ID__=Pg;static __NG_ENV_ID__=n=>n}return e})(),ro=class extends pn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return il(this._lView,t),()=>ng(this._lView,t)}};function Pg(){return new ro(y())}var St=class{},ia=new A("",{providedIn:"root",factory:()=>!1});var Rl=new A(""),Ol=new A(""),Gn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new wn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})();var Yi=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Qc()&&(this.destroyRef=I(pn,{optional:!0})??void 0,this.pendingTasks=I(Gn,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let 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 j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},et=Yi;function Pn(...e){}function kl(e){let t,n;function r(){e=Pn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Ku(e){return queueMicrotask(()=>e()),()=>{e=Pn}}var sa="isAngularZone",oo=sa+"_ID",Lg=0,pe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new et(!1);onMicrotaskEmpty=new et(!1);onStable=new et(!1);onError=new et(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Fl}=t;if(typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Bg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(sa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Vg,Pn,Pn);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)}},Vg={};function aa(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 jg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){kl(()=>{e.callbackScheduled=!1,Ki(e),e.isCheckStableRunning=!0,aa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ki(e)}function Bg(e){let t=()=>{jg(e)},n=Lg++;e._inner=e._inner.fork({name:"angular",properties:{[sa]:!0,[oo]:n,[oo+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(Hg(u))return r.invokeTask(i,s,a,u);try{return Ju(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Xu(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Ju(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!$g(u)&&t(),Xu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ki(e),aa(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ki(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ju(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xu(e){e._nesting--,aa(e)}var Ji=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new et;onMicrotaskEmpty=new et;onStable=new et;onError=new et;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 Hg(e){return Pl(e,"__ignore_ng_zone__")}function $g(e){return Pl(e,"__scheduler_tick__")}function Pl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var st=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ug=new A("",{providedIn:"root",factory:()=>{let e=I(pe),t=I(st);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Xi=class{destroyed=!1;listeners=null;errorHandler=I(st,{optional:!0});destroyRef=I(pn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new M(953,!1);if(this.listeners===null)return;let n=_(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{_(n)}}};function P0(e){return new Xi}function ec(e,t){return xc(e,t)}function zg(e){return xc(Nc,e)}var L0=(ec.required=zg,ec);function Gg(){return hn(q(),y())}function hn(e,t){return new Ft(Se(e,t))}var Ft=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Gg}return e})();function Ll(e){return e instanceof Ft?e.nativeElement:e}var tc=new Set;function Ee(e){tc.has(e)||(tc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Wg(e){return typeof e=="function"&&e[Q]!==void 0}function qg(e,t){Ee("NgSignals");let n=su(e),r=n[Q];return t?.equal&&(r.equal=t.equal),n.set=o=>or(r,o),n.update=o=>au(r,o),n.asReadonly=Zg.bind(n),n}function Zg(){let e=this[Q];if(e.readonlyFn===void 0){let t=()=>this();t[Q]=e,e.readonlyFn=t}return e.readonlyFn}function Vl(e){return Wg(e)&&typeof e.set=="function"}function Qg(){return this._results[Symbol.iterator]()}var es=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new se}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=xh(t);(this._changesDetected=!Nh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Qg};function jl(e){return(e.flags&128)===128}var Bl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Bl||{}),Hl=new Map,Yg=0;function Kg(){return Yg++}function Jg(e){Hl.set(e[To],e)}function ts(e){Hl.delete(e[To])}var nc="__ngContext__";function Rt(e,t){nt(t)?(e[nc]=t[To],Jg(t)):e[nc]=t}function $l(e){return zl(e[On])}function Ul(e){return zl(e[Te])}function zl(e){for(;e!==null&&!Ze(e);)e=e[Te];return e}var ns;function V0(e){ns=e}function Xg(){if(ns!==void 0)return ns;if(typeof document<"u")return document;throw new M(210,!1)}var j0=new A("",{providedIn:"root",factory:()=>em}),em="ng",tm=new A(""),nm=new A("",{providedIn:"platform",factory:()=>"unknown"});var B0=new A(""),H0=new A("",{providedIn:"root",factory:()=>Xg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var rm="h",om="b";var Gl=!1,im=new A("",{providedIn:"root",factory:()=>Gl});var ua=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ua||{}),Po=new A("");var Yt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Yt||{}),Wl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),sm=[Yt.EarlyRead,Yt.Write,Yt.MixedReadWrite,Yt.Read],am=(()=>{class e{ngZone=I(pe);scheduler=I(St);errorHandler=I(st,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){I(Po,{optional:!0})}execute(){this.executing=!0;for(let n of sm)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[n](r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ua.AFTER_NEXT_RENDER,n):n()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),rs=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i=null){this.impl=t,this.hooks=n,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function um(e,t){!t?.injector&&Mo(um);let n=t?.injector??I(Le);return Ee("NgAfterRender"),ql(e,n,t,!1)}function cm(e,t){!t?.injector&&Mo(cm);let n=t?.injector??I(Le);return Ee("NgAfterNextRender"),ql(e,n,t,!0)}function lm(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ql(e,t,n,r){let o=t.get(Wl);o.impl??=t.get(am);let i=t.get(Po,null,{optional:!0}),s=n?.phase??Yt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(pn):null,u=new rs(o.impl,lm(e,s),r,a,i?.snapshot(null));return o.impl.register(u),u}var dm=()=>null;function Zl(e,t,n=!1){return dm(e,t,n)}function Ql(e,t){let n=e.contentQueries;if(n!==null){let r=_(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Fo(i),a.contentQueries(2,t[s],s)}}}finally{_(r)}}}function os(e,t,n){Fo(0);let r=_(null);try{t(e,n)}finally{_(r)}}function ca(e,t,n){if(qs(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{_(r)}}}var Ln=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ln||{}),Rr;function fm(){if(Rr===void 0&&(Rr=null,qt.trustedTypes))try{Rr=qt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Rr}function Lo(e){return fm()?.createHTML(e)||e}var qe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Tc})`}},is=class extends qe{getTypeName(){return"HTML"}},ss=class extends qe{getTypeName(){return"Style"}},as=class extends qe{getTypeName(){return"Script"}},us=class extends qe{getTypeName(){return"URL"}},cs=class extends qe{getTypeName(){return"ResourceURL"}};function Vo(e){return e instanceof qe?e.changingThisBreaksApplicationSecurity:e}function pm(e,t){let n=hm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Tc})`)}return n===t}function hm(e){return e instanceof qe&&e.getTypeName()||null}function $0(e){return new is(e)}function U0(e){return new ss(e)}function z0(e){return new as(e)}function G0(e){return new us(e)}function W0(e){return new cs(e)}function gm(e){let t=new ds(e);return mm()?new ls(t):t}var ls=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Lo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ds=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Lo(t),n}};function mm(){try{return!!new window.DOMParser().parseFromString(Lo(""),"text/html")}catch{return!1}}var ym=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Yl(e){return e=String(e),e.match(ym)?e:"unsafe:"+e}function Qe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Wn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Kl=Qe("area,br,col,hr,img,wbr"),Jl=Qe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xl=Qe("rp,rt"),vm=Wn(Xl,Jl),Dm=Wn(Jl,Qe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Em=Wn(Xl,Qe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),rc=Wn(Kl,Dm,Em,vm),ed=Qe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Im=Qe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),wm=Qe("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Cm=Wn(ed,Im,wm),bm=Qe("script,style,template"),fs=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Tm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Mm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=oc(t).toLowerCase();if(!rc.hasOwnProperty(n))return this.sanitizedSomething=!0,!bm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Cm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;ed[a]&&(u=Yl(u)),this.buf.push(" ",s,'="',ic(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=oc(t).toLowerCase();rc.hasOwnProperty(n)&&!Kl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ic(t))}};function _m(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Mm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw td(t);return t}function Tm(e){let t=e.firstChild;if(t&&_m(e,t))throw td(t);return t}function oc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function td(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Sm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Nm=/([^\#-~ |!])/g;function ic(e){return e.replace(/&/g,"&amp;").replace(Sm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Nm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Or;function q0(e,t){let n=null;try{Or=Or||gm(e);let r=t?String(t):"";n=Or.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Or.getInertBodyElement(r)}while(r!==i);let a=new fs().sanitizeChildren(sc(n)||n);return Lo(a)}finally{if(n){let r=sc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function sc(e){return"content"in e&&xm(e)?e.content:null}function xm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var nd=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(nd||{});function Z0(e){let t=Am();return t?t.sanitize(nd.URL,e)||"":pm(e,"URL")?Vo(e):Yl(en(e))}function Am(){let e=y();return e&&e[Ge].sanitizer}var Fm=/^>|^->|<!--|-->|--!>|<!-$/g,Rm=/(<|>)/g,Om="\u200B$1\u200B";function km(e){return e.replace(Fm,t=>t.replace(Rm,Om))}function Q0(e){return e.ownerDocument.defaultView}function rd(e){return e instanceof Function?e():e}var at=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(at||{});function Pm(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var od="ng-template";function Lm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Pm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(la(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function la(e){return e.type===4&&e.value!==od}function Vm(e,t,n){let r=e.type===4&&!n?od:e.value;return t===r}function jm(e,t,n){let r=4,o=e.attrs,i=o!==null?$m(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!_e(r)&&!_e(u))return!1;if(s&&_e(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Vm(e,u,n)||u===""&&t.length===1){if(_e(r))return!1;s=!0}}else if(r&8){if(o===null||!Lm(e,o,u,n)){if(_e(r))return!1;s=!0}}else{let c=t[++a],l=Bm(u,o,la(e),n);if(l===-1){if(_e(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(_e(r))return!1;s=!0}}}}return _e(r)||s}function _e(e){return(e&1)===0}function Bm(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Um(t,e)}function id(e,t,n=!1){for(let r=0;r<t.length;r++)if(jm(e,t[r],n))return!0;return!1}function Hm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function $m(e){for(let t=0;t<e.length;t++){let n=e[t];if(El(n))return t}return e.length}function Um(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function zm(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ac(e,t){return e?":not("+t.trim()+")":t}function Gm(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!_e(s)&&(t+=ac(i,o),o=""),r=s,i=i||!_e(r);n++}return o!==""&&(t+=ac(i,o)),t}function Wm(e){return e.map(Gm).join(",")}function qm(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!_e(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var de={};function Zm(e,t){return e.createText(t)}function Qm(e,t,n){e.setValue(t,n)}function Ym(e,t){return e.createComment(km(t))}function sd(e,t,n){return e.createElement(t,n)}function io(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ad(e,t,n){e.appendChild(t,n)}function uc(e,t,n,r,o){r!==null?io(e,t,n,r,o):ad(e,t,n)}function Km(e,t,n){e.removeChild(null,t,n)}function Jm(e,t,n){e.setAttribute(t,"style",n)}function Xm(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ud(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&bg(e,t,r),o!==null&&Xm(e,t,o),i!==null&&Jm(e,t,i)}function Y0(e=1){cd(R(),y(),je()+e,!1)}function cd(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&jr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Br(t,i,0,n)}Mt(n)}function me(e,t=T.Default){let n=y();if(n===null)return ce(e,t);let r=q();return Tl(r,n,G(e),t)}function K0(){let e="invalid";throw new Error(e)}function ld(e,t,n,r,o,i){let s=_(null);try{let a=null;o&at.SignalBased&&(a=t[r][Q]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&at.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Kc(t,a,r,i)}finally{_(s)}}function da(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[Ve]=o,d[D]=r|4|128|8|64|1024,(c!==null||e&&e[D]&2048)&&(d[D]|=2048),ol(d),d[J]=d[dn]=e,d[W]=n,d[Ge]=s||e&&e[Ge],d[L]=a||e&&e[L],d[Rn]=u||e&&e[Rn]||null,d[le]=i,d[To]=Kg(),d[nn]=l,d[Yc]=c,d[he]=t.type==2?e[he]:d,d}function dd(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function fd(e,t,n,r,o){let i=je(),s=r&2;try{Mt(-1),s&&t.length>H&&cd(e,t,H,!1),De(s?2:0,o),n(r,o)}finally{Mt(i),De(s?3:1,o)}}function fa(e,t,n){ul()&&(Rt(Se(n,t),t),pd(e,t,n))}function pd(e,t,n){ly(e,t,n),(n.flags&64)===64&&dy(e,t,n)}function pa(e,t,n=Se){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function ey(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ha(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ha(e,t,n,r,o,i,s,a,u,c,l){let d=H+r,p=d+o,f=ty(d,p),h=typeof c=="function"?c():c;return f[C]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1,ssrId:l}}function ty(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:de);return n}function ny(e,t,n,r){let i=r.get(im,Gl)||n===Ln.ShadowDom,s=e.selectRootElement(t,i);return ry(s),s}function ry(e){oy(e)}var oy=()=>null;function cc(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=at.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?lc(r,n,c,a,u):lc(r,n,c,a)}return r}function lc(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 iy(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;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;u=cc(0,d.inputs,l,u,f),c=cc(1,d.outputs,l,c,h);let g=u!==null&&s!==null&&!la(t)?by(u,l,s):null;a.push(g)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function sy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function qn(e,t,n,r,o,i,s,a){let u=Se(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(ya(e,n,l,r,o),At(t)&&ay(n,t.index)):t.type&3?(r=sy(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function ay(e,t){let n=Pe(t,e);n[D]&16||(n[D]|=64)}function ga(e,t,n,r){if(ul()){let o=r===null?null:{"":-1},i=py(e,n);if(i!==null){let[s,a]=gd(e,n,i);hd(e,t,n,s,o,a)}o&&gy(n,r,o)}n.mergedAttrs=on(n.mergedAttrs,n.attrs)}function hd(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Zi(no(n,t),e,r[c].type);yy(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=dd(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=on(n.mergedAttrs,l.hostAttrs),vy(e,n,t,u,l),my(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}iy(e,n,i)}function uy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;cy(s)!=a&&s.push(a),s.push(n,r,i)}}function cy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ly(e,t,n){let r=n.directiveStart,o=n.directiveEnd;At(n)&&Ey(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||no(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],u=kn(t,e,s,n);if(Rt(u,t),i!==null&&Cy(t,s-r,u,a,n,i),Oe(a)){let c=Pe(n.index,t);c[W]=kn(t,e,s,n)}}}function dy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=hg();try{Mt(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Gi(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&fy(u,c)}}finally{Mt(-1),Gi(s)}}function fy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function py(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];id(t,i.selectors,!1)&&(r??=[],Oe(i)?r.unshift(i):r.push(i))}return r}function gd(e,t,n){let r=[],o=null;for(let i of n)i.findHostDirectiveDefs!==null&&(o??=new Map,i.findHostDirectiveDefs(i,r,o)),Oe(i)&&(r.push(i),hy(e,t,r.length-1));return At(t)?r.push(...n.slice(1)):r.push(...n),[r,o]}function hy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function gy(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new M(-301,!1);r.push(t[o],i)}}}function my(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Oe(t)&&(n[""]=e)}}function yy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function vy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=It(o.type,!0)),s=new Tt(i,Oe(o),me);e.blueprint[r]=s,n[r]=s,uy(e,t,r,dd(e,n,o.hostVars,de),o)}function Dy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ey(e,t,n){let r=Se(t,e),o=ey(n),i=e[Ge].rendererFactory,s=ma(e,da(e,o,null,Dy(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Iy(e,t,n,r,o,i){let s=Se(e,t);wy(t[L],s,i,e.value,n,r,o)}function wy(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?en(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Cy(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];ld(r,n,u,c,l,d)}}function by(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function md(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function ma(e,t){return e[On]?e[Uu][Te]=t:e[On]=t,e[Uu]=t,t}function yd(e,t,n){return(e===null||Oe(e))&&(n=Jh(n[t.index])),n[L]}function vd(e,t){let n=e[Rn],r=n?n.get(st,null):null;r&&r.handleError(t)}function ya(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];ld(l,c,r,a,u,o)}}function _y(e,t){let n=Pe(t,e),r=n[C];My(r,n);let o=n[Ve];o!==null&&n[nn]===null&&(n[nn]=Zl(o,n[Rn])),va(r,n,n[W])}function My(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function va(e,t,n){na(t);try{let r=e.viewQuery;r!==null&&os(1,r,n);let o=e.template;o!==null&&fd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[We]?.finishViewCreation(e),e.staticContentQueries&&Ql(e,t),e.staticViewQueries&&os(2,e.viewQuery,n);let i=e.components;i!==null&&Ty(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,ra()}}function Ty(e,t){for(let n=0;n<t.length;n++)_y(e,t[n])}var so=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(so||{}),Sy;function Da(e,t){return Sy(e,t)}function Ea(e){return(e.flags&32)===32}function Kt(e,t,n,r,o){if(r!=null){let i,s=!1;Ze(r)?i=r:nt(r)&&(s=!0,r=r[Ve]);let a=ke(r);e===0&&n!==null?o==null?ad(t,n,a):io(t,n,a,o||null,!0):e===1&&n!==null?io(t,n,a,o||null,!0):e===2?Km(t,a,s):e===3&&t.destroyNode(a),i!=null&&jy(t,e,i,n,o)}}function Ny(e,t){Dd(e,t),t[Ve]=null,t[le]=null}function xy(e,t,n,r,o,i){r[Ve]=o,r[le]=t,Ho(e,r,n,1,o,i)}function Dd(e,t){t[Ge].changeDetectionScheduler?.notify(10),Ho(e,t,t[L],2,null,null)}function Ay(e){let t=e[On];if(!t)return Si(e[C],e);for(;t;){let n=null;if(nt(t))n=t[On];else{let r=t[K];r&&(n=r)}if(!n){for(;t&&!t[Te]&&t!==e;)nt(t)&&Si(t[C],t),t=t[J];t===null&&(t=e),nt(t)&&Si(t[C],t),n=t&&t[Te]}t=n}}function Fy(e,t,n,r){let o=K+r,i=n.length;r>0&&(n[o-1][Te]=t),r<i-K?(t[Te]=n[o],Vc(n,K+r,t)):(n.push(t),t[Te]=null),t[J]=n;let s=t[wt];s!==null&&n!==s&&Ed(s,t);let a=t[We];a!==null&&a.insertView(e),Ui(t),t[D]|=128}function Ed(e,t){let n=e[rn],r=t[J];if(nt(r))e[D]|=2;else{let o=r[J][he];t[he]!==o&&(e[D]|=2)}n===null?e[rn]=[t]:n.push(t)}function Ia(e,t){let n=e[rn],r=n.indexOf(t);n.splice(r,1)}function Vn(e,t){if(e.length<=K)return;let n=K+t,r=e[n];if(r){let o=r[wt];o!==null&&o!==e&&Ia(o,r),t>0&&(e[n-1][Te]=r[Te]);let i=Wr(e,K+t);Ny(r[C],r);let s=i[We];s!==null&&s.detachView(i[C]),r[J]=null,r[Te]=null,r[D]&=-129}return r}function jo(e,t){if(Un(t))return;let n=t[L];n.destroyNode&&Ho(e,t,n,3,null,null),Ay(t)}function Si(e,t){if(Un(t))return;let n=_(null);try{t[D]&=-129,t[D]|=256,t[fe]&&Lt(t[fe]),Oy(e,t),Ry(e,t),t[C].type===1&&t[L].destroy();let r=t[wt];if(r!==null&&Ze(t[J])){r!==t[J]&&Ia(r,t);let o=t[We];o!==null&&o.detachView(e)}ts(t)}finally{_(n)}}function Ry(e,t){let n=e.cleanup,r=t[Qr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Qr]=null);let o=t[tt];if(o!==null){t[tt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ct];if(i!==null){t[Ct]=null;for(let s of i)s.destroy()}}function Oy(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Tt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];De(4,a,u);try{u.call(a)}finally{De(5,a,u)}}else{De(4,o,i);try{i.call(o)}finally{De(5,o,i)}}}}}function Id(e,t,n){return ky(e,t.parent,n)}function ky(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ve];if(At(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ln.None||o===Ln.Emulated)return null}return Se(r,n)}function wd(e,t,n){return Ly(e,t,n)}function Py(e,t,n){return e.type&40?Se(e,n):null}var Ly=Py,dc;function Bo(e,t,n,r){let o=Id(e,r,t),i=t[L],s=r.parent||t[le],a=wd(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)uc(i,o,n[u],a,!1);else uc(i,o,n,a,!1);dc!==void 0&&dc(i,r,t,n,o)}function Nn(e,t){if(t!==null){let n=t.type;if(n&3)return Se(t,e);if(n&4)return ps(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Nn(e,r);{let o=e[t.index];return Ze(o)?ps(-1,o):ke(o)}}else{if(n&128)return Nn(e,t.next);if(n&32)return Da(t,e)()||ke(e[t.index]);{let r=Cd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=_t(e[he]);return Nn(o,r)}else return Nn(e,t.next)}}}return null}function Cd(e,t){if(t!==null){let r=e[he][le],o=t.projection;return r.projection[o]}return null}function ps(e,t){let n=K+e+1;if(n<t.length){let r=t[n],o=r[C].firstChild;if(o!==null)return Nn(r,o)}return t[bt]}function wa(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&Rt(ke(a),r),n.flags|=2),!Ea(n))if(u&8)wa(e,t,n.child,r,o,i,!1),Kt(t,e,o,a,i);else if(u&32){let c=Da(n,r),l;for(;l=c();)Kt(t,e,o,l,i);Kt(t,e,o,a,i)}else u&16?bd(e,t,r,n,o,i):Kt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ho(e,t,n,r,o,i){wa(n,r,e.firstChild,t,o,i,!1)}function Vy(e,t,n){let r=t[L],o=Id(e,n,t),i=n.parent||t[le],s=wd(i,n,t);bd(r,0,t,n,o,s)}function bd(e,t,n,r,o,i){let s=n[he],u=s[le].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];Kt(t,e,o,l,i)}else{let c=u,l=s[J];jl(r)&&(c.flags|=128),wa(e,t,c,l,o,i,!0)}}function jy(e,t,n,r,o){let i=n[bt],s=ke(n);i!==s&&Kt(t,e,r,i,o);for(let a=K;a<n.length;a++){let u=n[a];Ho(u[C],u,e,t,r,i)}}function By(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:so.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=so.Important),e.setStyle(n,r,o,i))}}function Zn(e,t,n,r){let o=_(null);try{let i=t.tView,a=e[D]&4096?4096:16,u=da(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[wt]=c;let l=e[We];return l!==null&&(u[We]=l.createEmbeddedView(i)),va(i,u,n),u}finally{_(o)}}function _d(e,t){let n=K+t;if(n<e.length)return e[n]}function sn(e,t){return!t||t.firstChild===null||jl(e)}function Qn(e,t,n,r=!0){let o=t[C];if(Fy(o,t,e,n),r){let s=ps(n,e),a=t[L],u=a.parentNode(e[bt]);u!==null&&xy(o,e[le],a,t,u,s)}let i=t[nn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Md(e,t){let n=Vn(e,t);return n!==void 0&&jo(n[C],n),n}function ao(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ke(i)),Ze(i)&&Hy(i,r);let s=n.type;if(s&8)ao(e,t,n.child,r);else if(s&32){let a=Da(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=Cd(t,n);if(Array.isArray(a))r.push(...a);else{let u=_t(t[he]);ao(u[C],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Hy(e,t){for(let n=K;n<e.length;n++){let r=e[n],o=r[C].firstChild;o!==null&&ao(r[C],r,o,t)}e[bt]!==e[Ve]&&t.push(e[bt])}var Td=[];function $y(e){return e[fe]??Uy(e)}function Uy(e){let t=Td.pop()??Object.create(Gy);return t.lView=e,t}function zy(e){e.lView[fe]!==e&&(e.lView=null,Td.push(e))}var Gy=ie(oe({},dt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{zn(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function Wy(e){let t=e[fe]??Object.create(qy);return t.lView=e,t}var qy=ie(oe({},dt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=_t(e.lView);for(;t&&!Sd(t[C]);)t=_t(t);t&&Ys(t)},consumerOnSignalRead(){this.lView[fe]=this}});function Sd(e){return e.type!==2}function Nd(e){if(e[Ct]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ct])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var Zy=100;function xd(e,t=!0,n=0){let o=e[Ge].rendererFactory,i=!1;i||o.begin?.();try{Qy(e,n)}catch(s){throw t&&vd(e,s),s}finally{i||o.end?.()}}function Qy(e,t){let n=fl();try{Jr(!0),hs(e,t);let r=0;for(;xo(e);){if(r===Zy)throw new M(103,!1);r++,hs(e,1)}}finally{Jr(n)}}function Yy(e,t,n,r){if(Un(t))return;let o=t[D],i=!1,s=!1;na(t);let a=!0,u=null,c=null;i||(Sd(e)?(c=$y(t),u=Pt(c)):Qa()===null?(a=!1,c=Wy(t),u=Pt(c)):t[fe]&&(Lt(t[fe]),t[fe]=null));try{ol(t),dg(e.bindingStartIndex),n!==null&&fd(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&jr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Br(t,f,0,null),_i(t,0)}if(s||Ky(t),Nd(t),Ad(t,0),e.contentQueries!==null&&Ql(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&jr(t,f)}else{let f=e.contentHooks;f!==null&&Br(t,f,1),_i(t,1)}Xy(e,t);let d=e.components;d!==null&&Rd(t,d,0);let p=e.viewQuery;if(p!==null&&os(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&jr(t,f)}else{let f=e.viewHooks;f!==null&&Br(t,f,2),_i(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Vr]){for(let f of t[Vr])f();t[Vr]=null}i||(t[D]&=-73)}catch(l){throw i||zn(t),l}finally{c!==null&&(En(c,u),a&&zy(c)),ra()}}function Ad(e,t){for(let n=$l(e);n!==null;n=Ul(n))for(let r=K;r<n.length;r++){let o=n[r];Fd(o,t)}}function Ky(e){for(let t=$l(e);t!==null;t=Ul(t)){if(!(t[D]&2))continue;let n=t[rn];for(let r=0;r<n.length;r++){let o=n[r];Ys(o)}}}function Jy(e,t,n){let r=Pe(t,e);Fd(r,n)}function Fd(e,t){Qs(e)&&hs(e,t)}function hs(e,t){let r=e[C],o=e[D],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&In(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)Yy(r,e,r.template,e[W]);else if(o&8192){Nd(e),Ad(e,1);let a=r.components;a!==null&&Rd(e,a,1)}}function Rd(e,t,n){for(let r=0;r<t.length;r++)Jy(e,t[r],n)}function Xy(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Mt(~o);else{let i=o,s=n[++r],a=n[++r];pg(s,i);let u=t[i];De(24,u),a(2,u),De(25,u)}}}finally{Mt(-1)}}function Ca(e,t){let n=fl()?64:1088;for(e[Ge].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=_t(e);if(Kr(e)&&!r)return e;e=r}return null}var Nt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[C];return ao(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[W]}get dirty(){return!!(this._lView[D]&9280)||!!this._lView[fe]?.dirty}set context(t){this._lView[W]=t}get destroyed(){return Un(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[J];if(Ze(t)){let n=t[Yr],r=n?n.indexOf(this):-1;r>-1&&(Vn(t,r),Wr(n,r))}this._attachedToViewContainer=!1}jo(this._lView[C],this._lView)}onDestroy(t){il(this._lView,t)}markForCheck(){Ca(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ys(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){Ui(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,xd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Kr(this._lView),n=this._lView[wt];n!==null&&!t&&Ia(n,this._lView),Dd(this._lView[C],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=Kr(this._lView),r=this._lView[wt];r!==null&&!n&&Ed(r,this._lView),Ui(this._lView)}},jn=(()=>{class e{static __NG_ELEMENT_ID__=nv}return e})(),ev=jn,tv=class extends ev{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Zn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Nt(o)}};function nv(){return $o(q(),y())}function $o(e,t){return e.type&4?new tv(t,e,hn(e,t)):null}function Ot(e,t,n,r,o){let i=e.data[t];if(i===null)i=rv(e,t,n,r,o),fg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=cg();i.injectorIndex=s===null?-1:s.injectorIndex}return ct(i,!0),i}function rv(e,t,n,r,o){let i=ll(),s=Ks(),a=s?i:i&&i.parent,u=e.data[t]=iv(e,a,n,t,r,o);return ov(e,u,i,s),u}function ov(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function iv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return cl()&&(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}}var X0=new RegExp(`^(\\d+)*(${om}|${rm})*(.*)`);var sv=()=>null;function an(e,t){return sv(e,t)}var gs=class{},uo=class{},ms=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ue(t)}.`)}},un=class{static NULL=new ms},co=class{},ba=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>av()}return e})();function av(){let e=y(),t=q(),n=Pe(t.index,e);return(nt(n)?n:e)[L]}var uv=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>null})}return e})();function lo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Pi(o,a);else if(i==2){let u=a,c=t[++s];r=Pi(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var fo=class extends un{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=rt(t);return new cn(n,this.ngModule)}};function fc(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:at.None;t?n.push({propName:s,templateName:r,isSignal:(a&at.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function cv(e){let t=e.toLowerCase();return t==="svg"?nl:t==="math"?Kh:null}var cn=class extends uo{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=fc(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return fc(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Wm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){let i=_(null);try{o=o||this.ngModule;let s=o instanceof ot?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Wi(t,s):t,u=a.get(co,null);if(u===null)throw new M(407,!1);let c=a.get(uv,null),l=a.get(St,null),d={rendererFactory:u,sanitizer:c,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?ny(p,r,this.componentDef.encapsulation,a):sd(p,f,cv(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let S=null;h!==null&&(S=Zl(h,a,!0));let E=ha(0,null,null,1,0,null,null,null,null,null,null),N=da(null,E,null,g,null,null,d,p,a,null,S);N[H]=h,na(N);let re=null;try{let X=r?["ng-version","19.1.4"]:qm(this.componentDef.selectors[0]),U=Ot(E,H,2,"#host",X),[mn,Wf]=gd(E,U,[this.componentDef]);hd(E,N,U,mn,{},Wf);for(let qf of mn)U.mergedAttrs=on(U.mergedAttrs,qf.hostAttrs);U.mergedAttrs=on(U.mergedAttrs,X),lo(U,U.mergedAttrs,!0),h&&(ud(p,h,U),Rt(h,N)),n!==void 0&&lv(U,this.ngContentSelectors,n),pd(E,N,U),ca(E,U,N),ko(E,U),re=Pe(U.index,N),N[W]=re[W],va(E,N,null)}catch(X){throw re!==null&&ts(re),ts(N),X}finally{ra()}return new ys(this.componentType,N)}finally{_(i)}}},ys=class extends gs{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Zs(n[C],H),this.location=hn(this._tNode,n),this.instance=Pe(this._tNode.index,n)[W],this.hostView=this.changeDetectorRef=new Nt(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;ya(i[C],i,o,t,n),this.previousInputValues.set(t,n);let s=Pe(this._tNode.index,i);Ca(s,1)}}get injector(){return new Et(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function lv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Yn=(()=>{class e{static __NG_ELEMENT_ID__=dv}return e})();function dv(){let e=q();return kd(e,y())}var fv=Yn,Od=class extends fv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return hn(this._hostTNode,this._hostLView)}get injector(){return new Et(this._hostTNode,this._hostLView)}get parentInjector(){let t=oa(this._hostTNode,this._hostLView);if(Il(t)){let n=eo(t,this._hostLView),r=Xr(t),o=n[C].data[r+8];return new Et(o,n)}else return new Et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=pc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-K}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=an(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,sn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!qh(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new cn(rt(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(ot,null);g&&(i=g)}let l=rt(u.componentType??{}),d=an(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,sn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(eg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[J],c=new Od(u,u[le],u[J]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Qn(s,o,i,r),t.attachToViewContainerRef(),Vc(Ni(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=pc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Vn(this._lContainer,n);r&&(Wr(Ni(this._lContainer),n),jo(r[C],r))}detach(t){let n=this._adjustIndex(t,-1),r=Vn(this._lContainer,n);return r&&Wr(Ni(this._lContainer),n)!=null?new Nt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pc(e){return e[Yr]}function Ni(e){return e[Yr]||(e[Yr]=[])}function kd(e,t){let n,r=t[e.index];return Ze(r)?n=r:(n=md(r,t,null,e),t[e.index]=n,ma(t,n)),hv(n,t,e,r),new Od(n,e,t)}function pv(e,t){let n=e[L],r=n.createComment(""),o=Se(t,e),i=n.parentNode(o);return io(n,i,r,n.nextSibling(o),!1),r}var hv=yv,gv=()=>!1;function mv(e,t,n){return gv(e,t,n)}function yv(e,t,n,r){if(e[bt])return;let o;n.type&8?o=ke(r):o=pv(t,n),e[bt]=o}var vs=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ds=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Ma(t,n).matches!==null&&this.queries[n].setDirty()}},po=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=wv(t):this.predicate=t}},Es=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Is=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,vv(n,i)),this.matchTNodeWithReadOption(t,n,Hr(n,t,i,!1,!1))}else r===jn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Hr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ft||o===Yn||o===jn&&n.type&4)this.addMatch(n.index,-2);else{let i=Hr(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function vv(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Dv(e,t){return e.type&11?hn(e,t):e.type&4?$o(e,t):null}function Ev(e,t,n,r){return n===-1?Dv(t,e):n===-2?Iv(e,t,r):kn(e,e[C],n,t)}function Iv(e,t,n){if(n===Ft)return hn(t,e);if(n===jn)return $o(t,e);if(n===Yn)return kd(t,e)}function Pd(e,t,n,r){let o=t[We].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(Ev(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function ws(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Pd(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=K;d<l.length;d++){let p=l[d];p[wt]===p[J]&&ws(p[C],p,c,r)}if(l[rn]!==null){let d=l[rn];for(let p=0;p<d.length;p++){let f=d[p];ws(f[C],f,c,r)}}}}}return r}function _a(e,t){return e[We].queries[t].queryList}function Ld(e,t,n){let r=new es((n&4)===4);return rg(e,t,r,r.destroy),(t[We]??=new Ds).queries.push(new vs(r))-1}function Vd(e,t,n){let r=R();return r.firstCreatePass&&(Bd(r,new po(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ld(r,y(),t)}function jd(e,t,n,r){let o=R();if(o.firstCreatePass){let i=q();Bd(o,new po(t,n,r),i.index),Cv(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ld(o,y(),n)}function wv(e){return e.split(",").map(t=>t.trim())}function Bd(e,t,n){e.queries===null&&(e.queries=new Es),e.queries.track(new Is(t,n))}function Cv(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 Ma(e,t){return e.queries.getByIndex(t)}function Hd(e,t){let n=e[C],r=Ma(n,t);return r.crossesNgTemplate?ws(n,e,t,[]):Pd(n,e,r,t)}function $d(e,t,n){let r,o=si(()=>{r._dirtyCounter();let i=bv(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[Q],r._dirtyCounter=qg(0),r._flatValue=void 0,o}function Ud(e){return $d(!0,!1,e)}function zd(e){return $d(!0,!0,e)}function Gd(e,t){let n=e[Q];n._lView=y(),n._queryIndex=t,n._queryList=_a(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function bv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:te;let o=_a(n,r),i=Hd(n,r);return o.reset(i,Ll),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function hc(e,t){return Ud(t)}function _v(e,t){return zd(t)}var tN=(hc.required=_v,hc);function gc(e,t){return Ud(t)}function Mv(e,t){return zd(t)}var nN=(gc.required=Mv,gc);var ut=class{},Cs=class{};var bs=class extends ut{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new fo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Hc(t);this._bootstrapComponents=rd(i.bootstrap),this._r3Injector=Al(t,n,[{provide:ut,useValue:this},{provide:un,useValue:this.componentFactoryResolver},...r],ue(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},_s=class extends Cs{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new bs(this.moduleType,t,[])}};var ho=class extends ut{injector;componentFactoryResolver=new fo(this);instance=null;constructor(t){super();let n=new Fn([...t.providers,{provide:ut,useValue:this},{provide:un,useValue:this.componentFactoryResolver}],t.parent||_o(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Tv(e,t,n=null){return new ho({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Sv=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Uc(!1,n.type),o=r.length>0?Tv([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=V({token:e,providedIn:"environment",factory:()=>new e(ce(ot))})}return e})();function rN(e){return Io(()=>{let t=Wd(e),n=ie(oe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Bl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Sv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ln.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ee("NgStandalone"),qd(n);let r=e.dependencies;return n.directiveDefs=yc(r,!1),n.pipeDefs=yc(r,!0),n.id=Fv(n),n})}function Nv(e){return rt(e)||zs(e)}function xv(e){return e!==null}function Av(e){return Io(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function mc(e,t){if(e==null)return ze;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=at.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==at.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Ta(e){return Io(()=>{let t=Wd(e);return qd(t),t})}function Kn(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Wd(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||ze,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mc(e.inputs,t),outputs:mc(e.outputs),debugInfo:null}}function qd(e){e.features?.forEach(t=>t(e))}function yc(e,t){if(!e)return null;let n=t?$c:Nv;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(xv)}function Fv(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Rv(e){return Object.getPrototypeOf(e.prototype).constructor}function Ov(e){let t=Rv(e.type),n=!0,r=[e];for(;t;){let o;if(Oe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=kr(e.inputs),s.inputTransforms=kr(e.inputTransforms),s.declaredInputs=kr(e.declaredInputs),s.outputs=kr(e.outputs);let a=o.hostBindings;a&&jv(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Lv(e,u),c&&Vv(e,c),kv(e,o),uh(e.outputs,o.outputs),Oe(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Ov&&(n=!1)}}t=Object.getPrototypeOf(t)}Pv(r)}function kv(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Pv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=on(o.hostAttrs,n=on(n,o.hostAttrs))}}function kr(e){return e===ze?{}:e===te?[]:e}function Lv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Vv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function jv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function oN(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Zd,n.hostDirectives=r?e.map(Ms):[e]):r?n.hostDirectives.unshift(...e.map(Ms)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Zd(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)vc(Ms(i),t,n)}else vc(r,t,n)}function vc(e,t,n){let r=zs(e.directive);Bv(r.declaredInputs,e.inputs),Zd(r,t,n),n.set(r,e),t.push(r)}function Ms(e){return typeof e=="function"?{directive:G(e),inputs:ze,outputs:ze}:{directive:G(e.directive),inputs:Dc(e.inputs),outputs:Dc(e.outputs)}}function Dc(e){if(e===void 0||e.length===0)return ze;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Bv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Hv(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}function Sa(e,t,n){return e[t]=n}function $v(e,t){return e[t]}function ge(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Qd(e,t,n,r){let o=ge(e,t,n);return ge(e,t+1,r)||o}function Uv(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Ot(t,e,4,s||null,a||null);ga(t,n,l,it(c,u)),ko(t,l);let d=l.tView=ha(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function go(e,t,n,r,o,i,s,a,u,c){let l=n+H,d=t.firstCreatePass?Uv(l,t,e,r,o,i,s,a,u):t.data[l];ct(d,!1);let p=Gv(t,e,d,n);Ro()&&Bo(t,e,p,d),Rt(p,e);let f=md(p,e,p,d);return e[l]=f,ma(e,f),mv(f,d,e),So(d)&&fa(t,e,d),u!=null&&pa(e,d,c),d}function zv(e,t,n,r,o,i,s,a){let u=y(),c=R(),l=it(c.consts,i);return go(u,c,e,t,n,r,o,l,s,a),zv}var Gv=Wv;function Wv(e,t,n,r){return Oo(!0),t[L].createComment("")}var iN=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var qv=new A("");function Na(e){return!!e&&typeof e.then=="function"}function Yd(e){return!!e&&typeof e.subscribe=="function"}var Zv=new A("");var Kd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(Zv,{optional:!0})??[];injector=I(Le);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Zc(this.injector,o);if(Na(i))n.push(i);else if(Yd(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jd=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>new mo})}return e})(),mo=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Qv=new A("");function Yv(){iu(()=>{throw new M(600,!1)})}function Kv(e){return e.isBoundToModule}var Jv=10;function Xv(e,t,n){try{let r=n();return Na(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Bn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(Ug);afterRenderManager=I(Wl);zonelessEnabled=I(ia);rootEffectScheduler=I(Jd);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new se;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=I(Gn).hasPendingTasks.pipe($e(n=>!n));constructor(){I(Po,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(ot);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof uo;if(!this._injector.get(Kd).done){let p=!o&&Oh(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get(un).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=Kv(s)?void 0:this._injector.get(ut),u=r||s.selector,c=s.create(Le.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(qv,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),$r(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(ua.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new M(101,!1);let n=_(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,_(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(co,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<Jv;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)eD(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>xo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;$r(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Qv,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$r(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $r(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function eD(e,t,n,r){if(!n&&!xo(e))return;xd(e,t,n&&!r?0:1)}function tD(e,t,n,r){let o=y(),i=lt();if(ge(o,i,t)){let s=R(),a=fn();Iy(a,o,e,t,n,r)}return tD}function xa(e,t,n,r){return ge(e,lt(),n)?t+en(n)+r:de}function nD(e,t,n,r,o,i){let s=lg(),a=Qd(e,s,n,o);return Xs(2),a?t+en(n)+r+en(o)+i:de}function Pr(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function rD(e){return(e&2)==2}function oD(e,t){return e&131071|t<<17}function Ts(e){return e|2}function ln(e){return(e&131068)>>2}function xi(e,t){return e&-131069|t<<2}function iD(e){return(e&1)===1}function Ss(e){return e|1}function sD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),u=ln(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||$n(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=xt(e[a+1]);e[r+1]=Pr(p,a),p!==0&&(e[p+1]=xi(e[p+1],r)),e[a+1]=oD(e[a+1],r)}else e[r+1]=Pr(a,0),a!==0&&(e[a+1]=xi(e[a+1],r)),a=r;else e[r+1]=Pr(u,0),a===0?a=r:e[u+1]=xi(e[u+1],r),u=r;c&&(e[r+1]=Ts(e[r+1])),Ec(e,l,r,!0),Ec(e,l,r,!1),aD(t,l,e,r,i),s=Pr(a,u),i?t.classBindings=s:t.styleBindings=s}function aD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&$n(i,t)>=0&&(n[r+1]=Ss(n[r+1]))}function Ec(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):ln(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];uD(u,t)&&(a=!0,e[s+1]=r?Ss(c):Ts(c)),s=r?xt(c):ln(c)}a&&(e[n+1]=r?Ts(o):Ss(o))}function uD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?$n(e,t)>=0:!1}var Me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function cD(e){return e.substring(Me.key,Me.keyEnd)}function lD(e){return dD(e),Xd(e,ef(e,0,Me.textEnd))}function Xd(e,t){let n=Me.textEnd;return n===t?-1:(t=Me.keyEnd=fD(e,Me.key=t,n),ef(e,t,n))}function dD(e){Me.key=0,Me.keyEnd=0,Me.value=0,Me.valueEnd=0,Me.textEnd=e.length}function ef(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function fD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function pD(e,t,n){let r=y(),o=lt();if(ge(r,o,t)){let i=R(),s=fn();qn(i,s,r,e,t,r[L],n,!1)}return pD}function Ns(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ya(e,n,i[s],s,r)}function tf(e,t,n){return rf(e,t,n,!1),tf}function hD(e,t){return rf(e,t,null,!0),hD}function sN(e){of(ED,nf,e,!0)}function nf(e,t){for(let n=lD(t);n>=0;n=Xd(t,n))bo(e,cD(t),!0)}function rf(e,t,n,r){let o=y(),i=R(),s=Xs(2);if(i.firstUpdatePass&&af(i,e,s,r),t!==de&&ge(o,s,t)){let a=i.data[je()];uf(i,a,o,o[L],e,o[s+1]=wD(t,n),r,s)}}function of(e,t,n,r){let o=R(),i=Xs(2);o.firstUpdatePass&&af(o,null,i,r);let s=y();if(n!==de&&ge(s,i,n)){let a=o.data[je()];if(cf(a,r)&&!sf(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Pi(u,n||"")),Ns(o,a,s,n,r)}else ID(o,a,s,s[L],s[i+1],s[i+1]=DD(e,t,n),r,i)}}function sf(e,t){return t>=e.expandoStartIndex}function af(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[je()],s=sf(e,n);cf(i,r)&&t===null&&!s&&(t=!1),t=gD(o,i,t,r),sD(o,i,t,n,s,r)}}function gD(e,t,n,r){let o=ea(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ai(null,e,t,n,r),n=Hn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ai(o,e,t,n,r),i===null){let u=mD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Ai(null,e,t,u[1],r),u=Hn(u,t.attrs,r),yD(e,t,r,u))}else i=vD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function mD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ln(r)!==0)return e[xt(r)]}function yD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function vD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Hn(r,s,n)}return Hn(r,t.attrs,n)}function Ai(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Hn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Hn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),bo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function DD(e,t,n){if(n==null||n==="")return te;let r=[],o=Vo(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function ED(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&bo(e,r,n)}function ID(e,t,n,r,o,i,s,a){o===de&&(o=te);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=u<o.length?o[u+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,g;l===d?(u+=2,c+=2,p!==f&&(h=d,g=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,g=f),h!==null&&uf(e,t,n,r,h,g,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function uf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=iD(c)?Ic(u,t,n,o,ln(c),s):void 0;if(!yo(l)){yo(i)||rD(c)&&(i=Ic(u,null,n,o,a,s));let d=rl(je(),n);By(r,s,d,o,i)}}function Ic(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===de&&(p=d?te:void 0);let f=d?Ci(p,r):l===r?p:void 0;if(c&&!yo(f)&&(f=Ci(u,r)),yo(f)&&(a=f,s))return a;let h=e[o+1];o=s?xt(h):ln(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Ci(u,r))}return a}function yo(e){return e!==void 0}function wD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ue(Vo(e)))),e}function cf(e,t){return(e.flags&(t?8:16))!==0}function aN(e,t,n){let r=y(),o=xa(r,e,t,n);of(bo,nf,o,!0)}var xs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Fi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function CD(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=Fi(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=Fi(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let g=n(i,c),S=n(s,p),E=n(i,l);if(Object.is(E,S)){let N=n(u,f);Object.is(N,g)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new vo,o??=Cc(e,i,s,n),As(e,r,i,E))e.updateValue(i,l),i++,s++;else if(o.has(E))r.set(g,e.detach(i)),s--;else{let N=e.create(i,t[i]);e.attach(i,N),i++,s++}}for(;i<=u;)wc(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=Fi(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new vo,o??=Cc(e,i,s,n);let f=n(i,d);if(As(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)wc(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function As(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function wc(e,t,n,r,o){if(As(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Cc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var vo=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function uN(e,t){Ee("NgControlFlow");let n=y(),r=lt(),o=n[r]!==de?n[r]:-1,i=o!==-1?Do(n,H+o):void 0,s=0;if(ge(n,r,e)){let a=_(null);try{if(i!==void 0&&Md(i,s),e!==-1){let u=H+e,c=Do(n,u),l=ks(n[C],u),d=an(c,l.tView.ssrId),p=Zn(n,l,t,{dehydratedView:d});Qn(c,p,s,sn(l,d))}}finally{_(a)}}else if(i!==void 0){let a=_d(i,s);a!==void 0&&(a[W]=t)}}var Fs=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-K}};function cN(e){return e}function lN(e,t){return t}var Rs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function dN(e,t,n,r,o,i,s,a,u,c,l,d,p){Ee("NgControlFlow");let f=y(),h=R(),g=u!==void 0,S=y(),E=a?s.bind(S[he][W]):s,N=new Rs(g,E);S[H+e]=N,go(f,h,e+1,t,n,r,o,it(h.consts,i)),g&&go(f,h,e+2,u,c,l,d,it(h.consts,p))}var Os=class extends xs{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-K}at(t){return this.getLView(t)[W].$implicit}attach(t,n){let r=n[nn];this.needsIndexUpdate||=t!==this.length,Qn(this.lContainer,n,t,sn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,bD(this.lContainer,t)}create(t,n){let r=an(this.lContainer,this.templateTNode.tView.ssrId),o=Zn(this.hostLView,this.templateTNode,new Fs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){jo(t[C],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[W].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[W].$index=t}getLView(t){return _D(this.lContainer,t)}};function fN(e){let t=_(null),n=je();try{let r=y(),o=r[C],i=r[n],s=n+1,a=Do(r,s);if(i.liveCollection===void 0){let c=ks(o,s);i.liveCollection=new Os(a,r,c)}else i.liveCollection.reset();let u=i.liveCollection;if(CD(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=lt(),l=u.length===0;if(ge(r,c,l)){let d=n+2,p=Do(r,d);if(l){let f=ks(o,d),h=an(p,f.tView.ssrId),g=Zn(r,f,void 0,{dehydratedView:h});Qn(p,g,0,sn(f,h))}else Md(p,0)}}}finally{_(t)}}function Do(e,t){return e[t]}function bD(e,t){return Vn(e,t)}function _D(e,t){return _d(e,t)}function ks(e,t){return Zs(e,t)}function MD(e,t,n,r,o,i){let s=t.consts,a=it(s,o),u=Ot(t,e,2,r,a);return ga(t,n,u,it(s,i)),u.attrs!==null&&lo(u,u.attrs,!1),u.mergedAttrs!==null&&lo(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function lf(e,t,n,r){let o=y(),i=R(),s=H+e,a=o[L],u=i.firstCreatePass?MD(s,i,o,t,n,r):i.data[s],c=SD(i,o,u,a,t,e);o[s]=c;let l=So(u);return ct(u,!0),ud(a,c,u),!Ea(u)&&Ro()&&Bo(i,o,c,u),og()===0&&Rt(c,o),ig(),l&&(fa(i,o,u),ca(i,u,o)),r!==null&&pa(o,u),lf}function df(){let e=q();Ks()?Js():(e=e.parent,ct(e,!1));let t=e;ag(t)&&ug(),sg();let n=R();return n.firstCreatePass&&(ko(n,e),qs(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&wg(t)&&Ns(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Cg(t)&&Ns(n,t,y(),t.stylesWithoutHost,!1),df}function TD(e,t,n,r){return lf(e,t,n,r),df(),TD}var SD=(e,t,n,r,o,i)=>(Oo(!0),sd(r,o,vg()));function ND(e,t,n,r,o){let i=t.consts,s=it(i,r),a=Ot(t,e,8,"ng-container",s);s!==null&&lo(a,s,!0);let u=it(i,o);return ga(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function ff(e,t,n){let r=y(),o=R(),i=e+H,s=o.firstCreatePass?ND(i,o,r,t,n):o.data[i];ct(s,!0);let a=AD(o,r,s,e);return r[i]=a,Ro()&&Bo(o,r,a,s),Rt(a,r),So(s)&&(fa(o,r,s),ca(o,s,r)),n!=null&&pa(r,s),ff}function pf(){let e=q(),t=R();return Ks()?Js():(e=e.parent,ct(e,!1)),t.firstCreatePass&&(ko(t,e),qs(e)&&t.queries.elementEnd(e)),pf}function xD(e,t,n){return ff(e,t,n),pf(),xD}var AD=(e,t,n,r)=>(Oo(!0),Ym(t[L],""));function pN(){return y()}function FD(e,t,n){let r=y(),o=lt();if(ge(r,o,t)){let i=R(),s=fn();qn(i,s,r,e,t,r[L],n,!0)}return FD}function RD(e,t,n){let r=y(),o=lt();if(ge(r,o,t)){let i=R(),s=fn(),a=ea(i.data),u=yd(a,s,r);qn(i,s,r,e,t,u,n,!0)}return RD}var Dt=void 0;function OD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var kD=["en",[["a","p"],["AM","PM"],Dt],[["AM","PM"],Dt,Dt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Dt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Dt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Dt,"{1} 'at' {0}",Dt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",OD],Ri={};function ye(e){let t=PD(e),n=bc(t);if(n)return n;let r=t.split("-")[0];if(n=bc(r),n)return n;if(r==="en")return kD;throw new M(701,!1)}function bc(e){return e in Ri||(Ri[e]=qt.ng&&qt.ng.common&&qt.ng.common.locales&&qt.ng.common.locales[e]),Ri[e]}var B=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(B||{});function PD(e){return e.toLowerCase().replace(/_/g,"-")}var Eo="en-US";var LD=Eo;function VD(e){typeof e=="string"&&(LD=e.toLowerCase().replace(/_/g,"-"))}var jD=(e,t,n)=>{};function BD(e,t,n,r){let o=y(),i=R(),s=q();return Aa(i,o,o[L],s,e,t,r),BD}function HD(e,t){let n=q(),r=y(),o=R(),i=ea(o.data),s=yd(i,n,r);return Aa(o,r,s,n,e,t),HD}function $D(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Qr],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Aa(e,t,n,r,o,i,s){let a=So(r),c=e.firstCreatePass&&al(e),l=t[W],d=sl(t),p=!0;if(r.type&3||s){let g=Se(r,t),S=s?s(g):g,E=d.length,N=s?X=>s(ke(X[r.index])):r.index,re=null;if(!s&&a&&(re=$D(e,t,o,r.index)),re!==null){let X=re.__ngLastListenerFn__||re;X.__ngNextListenerFn__=i,re.__ngLastListenerFn__=i,p=!1}else{i=Mc(r,t,l,i),jD(g,o,i);let X=n.listen(S,o,i);d.push(i,X),c&&c.push(o,N,E,E+1)}}else i=Mc(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let S=0;S<g;S+=2){let E=h[S],N=h[S+1],U=t[E][N].subscribe(i),mn=d.length;d.push(i,U),c&&c.push(o,r.index,mn,-(mn+1))}}}function _c(e,t,n,r){let o=_(null);try{return De(6,t,n),n(r)!==!1}catch(i){return vd(e,i),!1}finally{De(7,t,n),_(o)}}function Mc(e,t,n,r){return function o(i){if(i===Function)return r;let s=At(e)?Pe(e.index,t):t;Ca(s,5);let a=_c(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=_c(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function hN(e=1){return mg(e)}function UD(e,t){let n=null,r=Hm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?id(e,i,!0):zm(r,i))return o}return n}function gN(e){let t=y()[he][le];if(!t.projection){let n=e?e.length:1,r=t.projection=Ah(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?UD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function mN(e,t=0,n,r,o,i){let s=y(),a=R(),u=r?e+1:null;u!==null&&go(s,a,u,r,o,i,null,n);let c=Ot(a,H+e,16,null,n||null);c.projection===null&&(c.projection=t),Js();let d=!s[nn]||cl();s[he][le].projection[c.projection]===null&&u!==null?zD(s,a,u):d&&!Ea(c)&&Vy(a,s,c)}function zD(e,t,n){let r=H+n,o=t.data[r],i=e[r],s=an(i,o.tView.ssrId),a=Zn(e,o,void 0,{dehydratedView:s});Qn(i,a,0,sn(o,s))}function GD(e,t,n,r,o){let i=y(),s=xa(i,t,n,r);if(s!==de){let a=R(),u=fn();qn(a,u,i,e,s,i[L],o,!1)}return GD}function yN(e,t,n,r){jd(e,t,n,r)}function vN(e,t,n){Vd(e,t,n)}function DN(e){let t=y(),n=R(),r=ta();Fo(r+1);let o=Ma(n,r);if(e.dirty&&Xh(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Hd(t,r);e.reset(i,Ll),e.notifyOnChanges()}return!0}return!1}function EN(){return _a(y(),ta())}function IN(e,t,n,r,o){Gd(t,jd(e,n,r,o))}function wN(e,t,n,r){Gd(e,Vd(t,n,r))}function CN(e=1){Fo(ta()+e)}function Fa(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function bN(e){let t=dl();return No(t,H+e)}function _N(e,t=""){let n=y(),r=R(),o=e+H,i=r.firstCreatePass?Ot(r,o,1,t,null):r.data[o],s=WD(r,n,i,t,e);n[o]=s,Ro()&&Bo(r,n,s,i),ct(i,!1)}var WD=(e,t,n,r,o)=>(Oo(!0),Zm(t[L],r));function qD(e){return hf("",e,""),qD}function hf(e,t,n){let r=y(),o=xa(r,e,t,n);return o!==de&&gf(r,je(),o),hf}function ZD(e,t,n,r,o){let i=y(),s=nD(i,e,t,n,r,o);return s!==de&&gf(i,je(),s),ZD}function gf(e,t,n){let r=rl(t,e);Qm(e[L],r,n)}function QD(e,t,n){Vl(t)&&(t=t());let r=y(),o=lt();if(ge(r,o,t)){let i=R(),s=fn();qn(i,s,r,e,t,r[L],n,!1)}return QD}function MN(e,t){let n=Vl(e);return n&&e.set(t),n}function YD(e,t){let n=y(),r=R(),o=q();return Aa(r,n,n[L],o,e,t),YD}var mf={};function KD(e){let t=R(),n=y(),r=e+H,o=Ot(t,r,128,null,null);return ct(o,!1),Fa(t,n,r,mf),KD}function TN(e){Ee("NgLet");let t=R(),n=y(),r=je();return Fa(t,n,r,e),e}function SN(e){let t=dl(),n=No(t,H+e);if(n===mf)throw new M(314,!1);return n}function JD(e,t,n){let r=R();if(r.firstCreatePass){let o=Oe(e);Ps(n,r.data,r.blueprint,o,!0),Ps(t,r.data,r.blueprint,o,!1)}}function Ps(e,t,n,r,o){if(e=G(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ps(e[i],t,n,r,o);else{let i=R(),s=y(),a=q(),u=tn(e)?e:G(e.provide),c=qc(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(tn(e)||!e.multi){let f=new Tt(c,o,me),h=ki(u,t,o?l:l+p,d);h===-1?(Zi(no(a,s),i,u),Oi(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=ki(u,t,l+p,d),h=ki(u,t,l,l+p),g=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!g){Zi(no(a,s),i,u);let E=tE(o?eE:XD,n.length,o,r,c);!o&&S&&(n[h].providerFactory=E),Oi(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(E),s.push(E)}else{let E=yf(n[o?h:f],c,!o&&r);Oi(i,e,f>-1?f:h,E)}!o&&r&&S&&n[h].componentProviders++}}}function Oi(e,t,n,r){let o=tn(t),i=Bh(t);if(o||i){let u=(i?G(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 yf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ki(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function XD(e,t,n,r){return Ls(this.multi,[])}function eE(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=kn(n,n[C],this.providerFactory.index,r);i=a.slice(0,s),Ls(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Ls(o,i);return i}function Ls(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function tE(e,t,n,r,o){let i=new Tt(e,n,me);return i.multi=[],i.index=t,i.componentProviders=0,yf(i,o,r&&!n),i}function NN(e,t=[]){return n=>{n.providersResolver=(r,o)=>JD(r,o?o(e):e,t)}}function xN(e,t,n){let r=Ao()+e,o=y();return o[r]===de?Sa(o,r,n?t.call(n):t()):$v(o,r)}function AN(e,t,n,r){return Df(y(),Ao(),e,t,n,r)}function vf(e,t){let n=e[t];return n===de?void 0:n}function Df(e,t,n,r,o,i){let s=t+n;return ge(e,s,o)?Sa(e,s+1,i?r.call(i,o):r(o)):vf(e,s+1)}function nE(e,t,n,r,o,i,s){let a=t+n;return Qd(e,a,o,i)?Sa(e,a+2,s?r.call(s,o,i):r(o,i)):vf(e,a+2)}function FN(e,t){let n=R(),r,o=e+H;n.firstCreatePass?(r=rE(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=It(r.type,!0)),s,a=ae(me);try{let u=to(!1),c=i();return to(u),Fa(n,y(),o,c),c}finally{ae(a)}}function rE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function RN(e,t,n){let r=e+H,o=y(),i=No(o,r);return Ef(o,r)?Df(o,Ao(),t,i.transform,n,i):i.transform(n)}function ON(e,t,n,r){let o=e+H,i=y(),s=No(i,o);return Ef(i,o)?nE(i,Ao(),t,s.transform,n,r,s):s.transform(n,r)}function Ef(e,t){return e[C].data[t].pure}function kN(e,t){return $o(e,t)}var Vs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},PN=(()=>{class e{compileModuleSync(n){return new _s(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Hc(n),i=rd(o.declarations).reduce((s,a)=>{let u=rt(a);return u&&s.push(new cn(u)),s},[]);return new Vs(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var oE=(()=>{class e{zone=I(pe);changeDetectionScheduler=I(St);applicationRef=I(Bn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iE=new A("",{factory:()=>!1});function If({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new pe(ie(oe({},wf()),{scheduleInRootZone:n})),[{provide:pe,useFactory:e},{provide:qr,multi:!0,useFactory:()=>{let r=I(oE,{optional:!0});return()=>r.initialize()}},{provide:qr,multi:!0,useFactory:()=>{let r=I(sE);return()=>{r.initialize()}}},t===!0?{provide:Rl,useValue:!0}:[],{provide:Ol,useValue:n??Fl}]}function LN(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=If({ngZoneFactory:()=>{let o=wf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Ee("NgZone_CoalesceEvent"),new pe(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return kh([{provide:iE,useValue:!0},{provide:ia,useValue:!1},r])}function wf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var sE=(()=>{class e{subscription=new j;initialized=!1;zone=I(pe);pendingTasks=I(Gn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var aE=(()=>{class e{appRef=I(Bn);taskService=I(Gn);ngZone=I(pe);zonelessEnabled=I(ia);tracing=I(Po,{optional:!0});disableScheduling=I(Rl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(oo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Ol,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ji||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Ku:kl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(oo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ku(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uE(){return typeof $localize<"u"&&$localize.locale||Eo}var gn=new A("",{providedIn:"root",factory:()=>I(gn,T.Optional|T.SkipSelf)||uE()});var js=new A(""),cE=new A("");function Tn(e){return!e.moduleRef}function lE(e){let t=Tn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(pe);return n.run(()=>{Tn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(st,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Tn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(js);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(js);s.add(i),e.moduleRef.onDestroy(()=>{$r(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Xv(r,n,()=>{let i=t.get(Kd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(gn,Eo);if(VD(s||Eo),!t.get(cE,!0))return Tn(e)?t.get(Bn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Tn(e)){let u=t.get(Bn);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return dE(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function dE(e,t){let n=e.injector.get(Bn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new M(-403,!1);t.push(e)}var Ur=null;function fE(e=[],t){return Le.create({name:t,providers:[{provide:Wc,useValue:"platform"},{provide:js,useValue:new Set([()=>Ur=null])},...e]})}function pE(e=[]){if(Ur)return Ur;let t=fE(e);return Ur=t,Yv(),hE(t),t}function hE(e){let t=e.get(tm,null);Zc(e,()=>{t?.forEach(n=>n())})}var Ra=(()=>{class e{static __NG_ELEMENT_ID__=gE}return e})();function gE(e){return mE(q(),y(),(e&16)===16)}function mE(e,t,n){if(At(e)&&!n){let r=Pe(e.index,t);return new Nt(r,r)}else if(e.type&175){let r=t[he];return new Nt(r,t)}return null}function VN(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=pE(r),i=[If({}),{provide:St,useExisting:aE},...n||[]],s=new ho({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return lE({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function yE(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function vE(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function jN(e,t){Ee("NgSignals");let n=si(e);return t?.equal&&(n[Q].equal=t.equal),n}function DE(e){let t=_(null);try{return e()}finally{_(t)}}var Cf=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=EE}return e})();function EE(){return new Cf(y(),q())}var IE=!1,wE=(()=>{class e extends mo{pendingTasks=I(Gn);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Bs=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=uu(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(st,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function CE(){}function bE(e,t){Ee("NgSignals"),!t?.injector&&Mo(CE);let n=t?.injector??I(Le),r=t?.manualCleanup!==!0?n.get(pn):null,o=new Bs(n.get(wE),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Ra,null,{optional:!0});return!i||!(i._lView[D]&8)?o.watcher.notify():(i._lView[Vr]??=[]).push(o.watcher.notify),o}var _E=IE;var Hs=class{[Q];constructor(t){this[Q]=t}destroy(){this[Q].destroy()}};function ME(e,t){if(_E)return bE(e,t);Ee("NgSignals"),!t?.injector&&Mo(ME);let n=t?.injector??I(Le),r=t?.manualCleanup!==!0?n.get(pn):null,o,i=n.get(Cf,null,{optional:!0}),s=n.get(St);return i!==null&&!t?.forceRoot?(o=NE(i.view,s,e),r instanceof ro&&r._lView===i.view&&(r=null)):o=xE(e,n.get(Jd),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Hs(o)}var bf=ie(oe({},dt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Pn,run(){if(this.dirty=!1,this.hasRun&&!In(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Pt(this),n=Jr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Jr(n),En(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),TE=ie(oe({},bf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Lt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),SE=ie(oe({},bf),{consumerMarkedDirty(){this.view[D]|=8192,zn(this.view),this.notifier.notify(14)},destroy(){Lt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ct]?.delete(this)}});function NE(e,t,n){let r=Object.create(SE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Ct]??=new Set,e[Ct].add(r),r.consumerMarkedDirty(r),r}function xE(e,t,n){let r=Object.create(TE);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}function BN(e,t){let n=rt(e),r=t.elementInjector||_o();return new cn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var Ff=null;function Oa(){return Ff}function fx(e){Ff??=e}var _f=class{};var Rf=new A(""),Of=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:()=>I(FE),providedIn:"platform"})}return e})();var FE=(()=>{class e extends Of{_location;_history;_doc=I(Rf);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Oa().getBaseHref(this._doc)}onPopState(n){let r=Oa().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Oa().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function kf(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Mf(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 kt(e){return e&&e[0]!=="?"?"?"+e:e}var Ha=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:()=>I(OE),providedIn:"root"})}return e})(),RE=new A(""),OE=(()=>{class e extends Ha{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(Rf).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return kf(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+kt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+kt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+kt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(ce(Of),ce(RE,8))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var kE=(()=>{class e{_subject=new se;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=VE(Mf(Tf(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+kt(r))}normalize(n){return e.stripTrailingSlash(LE(this._basePath,Tf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=kt;static joinWithSlash=kf;static stripTrailingSlash=Mf;static \u0275fac=function(r){return new(r||e)(ce(Ha))};static \u0275prov=V({token:e,factory:()=>PE(),providedIn:"root"})}return e})();function PE(){return new kE(ce(Ha))}function LE(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Tf(e){return e.replace(/\/index.html$/,"")}function VE(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var $a=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}($a||{});var ne=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ne||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),ve=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ve||{}),Z={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function jE(e){return ye(e)[B.LocaleId]}function BE(e,t,n){let r=ye(e),o=[r[B.DayPeriodsFormat],r[B.DayPeriodsStandalone]],i=Ie(o,t);return Ie(i,n)}function HE(e,t,n){let r=ye(e),o=[r[B.DaysFormat],r[B.DaysStandalone]],i=Ie(o,t);return Ie(i,n)}function $E(e,t,n){let r=ye(e),o=[r[B.MonthsFormat],r[B.MonthsStandalone]],i=Ie(o,t);return Ie(i,n)}function UE(e,t){let r=ye(e)[B.Eras];return Ie(r,t)}function Uo(e,t){let n=ye(e);return Ie(n[B.DateFormat],t)}function zo(e,t){let n=ye(e);return Ie(n[B.TimeFormat],t)}function Go(e,t){let r=ye(e)[B.DateTimeFormat];return Ie(r,t)}function xe(e,t){let n=ye(e),r=n[B.NumberSymbols][t];if(typeof r>"u"){if(t===Z.CurrencyDecimal)return n[B.NumberSymbols][Z.Decimal];if(t===Z.CurrencyGroup)return n[B.NumberSymbols][Z.Group]}return r}function Pf(e,t){return ye(e)[B.NumberFormats][t]}function Lf(e){if(!e[B.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[B.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function zE(e){let t=ye(e);return Lf(t),(t[B.ExtraData][2]||[]).map(r=>typeof r=="string"?ka(r):[ka(r[0]),ka(r[1])])}function GE(e,t,n){let r=ye(e);Lf(r);let o=[r[B.ExtraData][0],r[B.ExtraData][1]],i=Ie(o,t)||[];return Ie(i,n)||[]}function Ie(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function ka(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var WE=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Wo={},qE=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function ZE(e,t,n,r){let o=rI(e);t=Ye(n,t)||t;let s=[],a;for(;t;)if(a=qE.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=jf(r,u),o=nI(o,r,!0));let c="";return s.forEach(l=>{let d=eI(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Ko(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Ye(e,t){let n=jE(e);if(Wo[n]??={},Wo[n][t])return Wo[n][t];let r="";switch(t){case"shortDate":r=Uo(e,ve.Short);break;case"mediumDate":r=Uo(e,ve.Medium);break;case"longDate":r=Uo(e,ve.Long);break;case"fullDate":r=Uo(e,ve.Full);break;case"shortTime":r=zo(e,ve.Short);break;case"mediumTime":r=zo(e,ve.Medium);break;case"longTime":r=zo(e,ve.Long);break;case"fullTime":r=zo(e,ve.Full);break;case"short":let o=Ye(e,"shortTime"),i=Ye(e,"shortDate");r=qo(Go(e,ve.Short),[o,i]);break;case"medium":let s=Ye(e,"mediumTime"),a=Ye(e,"mediumDate");r=qo(Go(e,ve.Medium),[s,a]);break;case"long":let u=Ye(e,"longTime"),c=Ye(e,"longDate");r=qo(Go(e,ve.Long),[u,c]);break;case"full":let l=Ye(e,"fullTime"),d=Ye(e,"fullDate");r=qo(Go(e,ve.Full),[l,d]);break}return r&&(Wo[n][t]=r),r}function qo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ne(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function QE(e,t){return Ne(e,3).substring(0,t)}function $(e,t,n=0,r=!1,o=!1){return function(i,s){let a=YE(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return QE(a,t);let u=xe(s,Z.MinusSign);return Ne(a,t,u,r,o)}}function YE(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function P(e,t,n=ne.Format,r=!1){return function(o,i){return KE(o,i,e,t,n,r)}}function KE(e,t,n,r,o,i){switch(n){case 2:return $E(t,o,r)[e.getMonth()];case 1:return HE(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let c=zE(t),l=GE(t,o,r),d=c.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,S=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(g&&S)return!0}else if(g||S)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return BE(t,o,r)[s<12?0:1];case 3:return UE(t,r)[e.getFullYear()<=0?0:1];default:let u=n;throw new Error(`unexpected translation type ${u}`)}}function Zo(e){return function(t,n,r){let o=-1*r,i=xe(n,Z.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Ne(s,2,i)+Ne(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Ne(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Ne(s,2,i)+":"+Ne(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Ne(s,2,i)+":"+Ne(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var JE=0,Yo=4;function XE(e){let t=Ko(e,JE,1).getDay();return Ko(e,0,1+(t<=Yo?Yo:Yo+7)-t)}function Vf(e){let t=e.getDay(),n=t===0?-3:Yo-t;return Ko(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Pa(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Vf(n),s=XE(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ne(o,e,xe(r,Z.MinusSign))}}function Qo(e,t=!1){return function(n,r){let i=Vf(n).getFullYear();return Ne(i,e,xe(r,Z.MinusSign),t)}}var La={};function eI(e){if(La[e])return La[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(3,k.Abbreviated);break;case"GGGG":t=P(3,k.Wide);break;case"GGGGG":t=P(3,k.Narrow);break;case"y":t=$(0,1,0,!1,!0);break;case"yy":t=$(0,2,0,!0,!0);break;case"yyy":t=$(0,3,0,!1,!0);break;case"yyyy":t=$(0,4,0,!1,!0);break;case"Y":t=Qo(1);break;case"YY":t=Qo(2,!0);break;case"YYY":t=Qo(3);break;case"YYYY":t=Qo(4);break;case"M":case"L":t=$(1,1,1);break;case"MM":case"LL":t=$(1,2,1);break;case"MMM":t=P(2,k.Abbreviated);break;case"MMMM":t=P(2,k.Wide);break;case"MMMMM":t=P(2,k.Narrow);break;case"LLL":t=P(2,k.Abbreviated,ne.Standalone);break;case"LLLL":t=P(2,k.Wide,ne.Standalone);break;case"LLLLL":t=P(2,k.Narrow,ne.Standalone);break;case"w":t=Pa(1);break;case"ww":t=Pa(2);break;case"W":t=Pa(1,!0);break;case"d":t=$(2,1);break;case"dd":t=$(2,2);break;case"c":case"cc":t=$(7,1);break;case"ccc":t=P(1,k.Abbreviated,ne.Standalone);break;case"cccc":t=P(1,k.Wide,ne.Standalone);break;case"ccccc":t=P(1,k.Narrow,ne.Standalone);break;case"cccccc":t=P(1,k.Short,ne.Standalone);break;case"E":case"EE":case"EEE":t=P(1,k.Abbreviated);break;case"EEEE":t=P(1,k.Wide);break;case"EEEEE":t=P(1,k.Narrow);break;case"EEEEEE":t=P(1,k.Short);break;case"a":case"aa":case"aaa":t=P(0,k.Abbreviated);break;case"aaaa":t=P(0,k.Wide);break;case"aaaaa":t=P(0,k.Narrow);break;case"b":case"bb":case"bbb":t=P(0,k.Abbreviated,ne.Standalone,!0);break;case"bbbb":t=P(0,k.Wide,ne.Standalone,!0);break;case"bbbbb":t=P(0,k.Narrow,ne.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(0,k.Abbreviated,ne.Format,!0);break;case"BBBB":t=P(0,k.Wide,ne.Format,!0);break;case"BBBBB":t=P(0,k.Narrow,ne.Format,!0);break;case"h":t=$(3,1,-12);break;case"hh":t=$(3,2,-12);break;case"H":t=$(3,1);break;case"HH":t=$(3,2);break;case"m":t=$(4,1);break;case"mm":t=$(4,2);break;case"s":t=$(5,1);break;case"ss":t=$(5,2);break;case"S":t=$(6,1);break;case"SS":t=$(6,2);break;case"SSS":t=$(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Zo(0);break;case"ZZZZZ":t=Zo(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Zo(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Zo(2);break;default:return null}return La[e]=t,t}function jf(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function tI(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function nI(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=jf(t,o);return tI(e,r*(i-o))}function rI(e){if(Sf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Ko(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(WE))return oI(r)}let t=new Date(e);if(!Sf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function oI(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function Sf(e){return e instanceof Date&&!isNaN(e.valueOf())}var iI=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Nf=22,Jo=".",Jn="0",sI=";",aI=",",Va="#";var uI="%";function Bf(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=xe(n,Z.Infinity);else{let c=fI(e);s&&(c=dI(c));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let N=i.match(iI);if(N===null)throw new Error(`${i} is not a valid digit info`);let re=N[1],X=N[3],U=N[5];re!=null&&(l=ja(re)),X!=null&&(d=ja(X)),U!=null?p=ja(U):X!=null&&d>p&&(p=d)}pI(c,d,p);let f=c.digits,h=c.integerLen,g=c.exponent,S=[];for(u=f.every(N=>!N);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?S=f.splice(h,f.length):(S=f,f=[0]);let E=[];for(f.length>=t.lgSize&&E.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)E.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&E.unshift(f.join("")),a=E.join(xe(n,r)),S.length&&(a+=xe(n,o)+S.join("")),g&&(a+=xe(n,Z.Exponential)+"+"+g)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function cI(e,t,n){let r=Pf(t,$a.Percent),o=Hf(r,xe(t,Z.MinusSign));return Bf(e,o,t,Z.Group,Z.Decimal,n,!0).replace(new RegExp(uI,"g"),xe(t,Z.PercentSign))}function lI(e,t,n){let r=Pf(t,$a.Decimal),o=Hf(r,xe(t,Z.MinusSign));return Bf(e,o,t,Z.Group,Z.Decimal,n)}function Hf(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(sI),o=r[0],i=r[1],s=o.indexOf(Jo)!==-1?o.split(Jo):[o.substring(0,o.lastIndexOf(Jn)+1),o.substring(o.lastIndexOf(Jn)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(Va));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===Jn?n.minFrac=n.maxFrac=l+1:d===Va?n.maxFrac=l+1:n.posSuf+=d}let c=a.split(aI);if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(Va);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function dI(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function fI(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(Jo))>-1&&(t=t.replace(Jo,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===Jn;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Jn;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Nf&&(r=r.splice(0,Nf-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function pI(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let u=i!==0,c=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,u&&(h[f]===0&&f>=c?h.pop():u=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function ja(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function px(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 Ba=/\s+/,xf=[],hx=(()=>{class e{_ngEl;_renderer;initialClasses=xf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Ba):xf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Ba):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Ba).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(me(Ft),me(ba))};static \u0275dir=Ta({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var gx=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(me(Yn))};static \u0275dir=Ta({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Jc]})}return e})();function Xo(e,t){return new M(2100,!1)}var hI=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,mx=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw Xo(e,n);return n.replace(hI,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Kn({name:"titlecase",type:e,pure:!0})}return e})();var gI="mediumDate",mI=new A(""),yI=new A(""),yx=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??gI,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return ZE(n,s,i||this.locale,a)}catch(s){throw Xo(e,s.message)}}static \u0275fac=function(r){return new(r||e)(me(gn,16),me(mI,24),me(yI,24))};static \u0275pipe=Kn({name:"date",type:e,pure:!0})}return e})();var vx=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!$f(n))return null;o||=this._locale;try{let i=Uf(n);return lI(i,o,r)}catch(i){throw Xo(e,i.message)}}static \u0275fac=function(r){return new(r||e)(me(gn,16))};static \u0275pipe=Kn({name:"number",type:e,pure:!0})}return e})(),Dx=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!$f(n))return null;o||=this._locale;try{let i=Uf(n);return cI(i,o,r)}catch(i){throw Xo(e,i.message)}}static \u0275fac=function(r){return new(r||e)(me(gn,16))};static \u0275pipe=Kn({name:"percent",type:e,pure:!0})}return e})();function $f(e){return!(e==null||e===""||e!==e)}function Uf(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var vI="browser",DI="server";function Ex(e){return e===vI}function Ix(e){return e===DI}var Af=class{};var Be=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}(Be||{}),bx="*";function _x(e,t){return{type:Be.Trigger,name:e,definitions:t,options:{}}}function Mx(e,t=null){return{type:Be.Animate,styles:t,timings:e}}function Tx(e,t=null){return{type:Be.Group,steps:e,options:t}}function Sx(e,t=null){return{type:Be.Sequence,steps:e,options:t}}function Nx(e){return{type:Be.Style,styles:e,offset:null}}function xx(e,t,n){return{type:Be.State,name:e,styles:t,options:n}}function Ax(e,t,n=null){return{type:Be.Transition,expr:e,animation:t,options:n}}function Fx(e=null){return{type:Be.AnimateChild,options:e}}function Rx(e,t,n=null){return{type:Be.Query,selector:e,animation:t,options:n}}var zf=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){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}},Gf=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){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}},Ox="!";export{oe as a,ie as b,EI as c,II as d,wI as e,CI as f,bI as g,_I as h,MI as i,Wa as j,TI as k,j as l,fp as m,x as n,mi as o,yi as p,se as q,wn as r,bn as s,gp as t,mt as u,Fe as v,Cp as w,bp as x,_p as y,He as z,Mp as A,Sp as B,$e as C,Lp as D,Ue as E,Gt as F,jp as G,Bp as H,Hp as I,$p as J,Je as K,Up as L,Ru as M,zp as N,Gp as O,Mn as P,vt as Q,Wp as R,qp as S,Yp as T,Kp as U,Ei as V,Jp as W,Xp as X,eh as Y,wi as Z,th as _,nh as $,rh as aa,oh as ba,Lu as ca,ih as da,sh as ea,M as fa,Ac as ga,V as ha,lh as ia,x0 as ja,A as ka,T as la,ce as ma,I as na,kh as oa,Ph as pa,Wc as qa,ot as ra,Zc as sa,Mo as ta,Jc as ua,A0 as va,F0 as wa,R0 as xa,O0 as ya,k0 as za,Le as Aa,Yu as Ba,pn as Ca,St as Da,Gn as Ea,et as Fa,pe as Ga,st as Ha,P0 as Ia,L0 as Ja,Ft as Ka,Ee as La,Wg as Ma,qg as Na,es as Oa,V0 as Pa,j0 as Qa,tm as Ra,nm as Sa,B0 as Ta,H0 as Ua,Po as Va,um as Wa,cm as Xa,Ln as Ya,Vo as Za,pm as _a,$0 as $a,U0 as ab,z0 as bb,G0 as cb,W0 as db,Yl as eb,q0 as fb,nd as gb,Z0 as hb,Q0 as ib,Y0 as jb,me as kb,K0 as lb,so as mb,jn as nb,co as ob,ba as pb,Yn as qb,tN as rb,nN as sb,ut as tb,Cs as ub,Tv as vb,rN as wb,Av as xb,Ta as yb,Kn as zb,Ov as Ab,oN as Bb,Hv as Cb,zv as Db,iN as Eb,Na as Fb,Qv as Gb,Bn as Hb,tD as Ib,pD as Jb,tf as Kb,hD as Lb,sN as Mb,aN as Nb,uN as Ob,cN as Pb,lN as Qb,dN as Rb,fN as Sb,lf as Tb,df as Ub,TD as Vb,xD as Wb,pN as Xb,FD as Yb,RD as Zb,BD as _b,HD as $b,hN as ac,gN as bc,mN as cc,GD as dc,yN as ec,vN as fc,DN as gc,EN as hc,IN as ic,wN as jc,CN as kc,bN as lc,_N as mc,qD as nc,hf as oc,ZD as pc,QD as qc,MN as rc,YD as sc,KD as tc,TN as uc,SN as vc,NN as wc,xN as xc,AN as yc,FN as zc,RN as Ac,ON as Bc,kN as Cc,PN as Dc,LN as Ec,Ra as Fc,VN as Gc,yE as Hc,vE as Ic,jN as Jc,DE as Kc,ME as Lc,BN as Mc,Oa as Nc,fx as Oc,_f as Pc,Rf as Qc,kE as Rc,px as Sc,hx as Tc,gx as Uc,mx as Vc,yx as Wc,vx as Xc,Dx as Yc,vI as Zc,Ex as _c,Ix as $c,Af as ad,Be as bd,bx as cd,_x as dd,Mx as ed,Tx as fd,Sx as gd,Nx as hd,xx as id,Ax as jd,Fx as kd,Rx as ld,zf as md,Gf as nd,Ox as od};