p3x-redis-ui-material
Version:
💿 P3X Redis UI triple frontend — Angular + React/MUI + Vue/Vuetify with 54 languages, 7 themes, Socket.IO, desktop notifications, and full feature parity
4 lines • 410 kB
JavaScript
import{a as Pp,b as Lp}from"./chunk-FCVD6SGJ.js";import{a as A,b as ee,h as ur}from"./chunk-O7S4L63H.js";function O(e){return typeof e=="function"}function Kc(e){return O(e?.lift)}function T(e){return n=>{if(Kc(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function dr(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Wi=dr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Cn(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var L=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(O(r))try{r()}catch(i){n=i instanceof Wi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{jp(i)}catch(s){n=n??[],s instanceof Wi?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Wi(n)}}add(n){var t;if(n&&n!==this)if(this.closed)jp(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Cn(t,n)}remove(n){let{_finalizers:t}=this;t&&Cn(t,n),n instanceof e&&n._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var Xc=L.EMPTY;function Gi(e){return e instanceof L||e&&"closed"in e&&O(e.remove)&&O(e.add)&&O(e.unsubscribe)}function jp(e){O(e)?e():e.unsubscribe()}var Je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var fr={setTimeout(e,n,...t){let{delegate:r}=fr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=fr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function qi(e){fr.setTimeout(()=>{let{onUnhandledError:n}=Je;if(n)n(e);else throw e})}function xn(){}var Bp=Qc("C",void 0,void 0);function Vp(e){return Qc("E",void 0,e)}function Hp(e){return Qc("N",e,void 0)}function Qc(e,n,t){return{kind:e,value:n,error:t}}var Tn=null;function pr(e){if(Je.useDeprecatedSynchronousErrorHandling){let n=!Tn;if(n&&(Tn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Tn;if(Tn=null,t)throw r}}else e()}function Up(e){Je.useDeprecatedSynchronousErrorHandling&&Tn&&(Tn.errorThrown=!0,Tn.error=e)}var Sn=class extends L{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Gi(n)&&n.add(this)):this.destination=aE}static create(n,t,r){return new At(n,t,r)}next(n){this.isStopped?el(Hp(n),this):this._next(n)}error(n){this.isStopped?el(Vp(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?el(Bp,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},iE=Function.prototype.bind;function Jc(e,n){return iE.call(e,n)}var tl=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Yi(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Yi(r)}else Yi(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Yi(t)}}},At=class extends Sn{constructor(n,t,r){super();let o;if(O(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&Je.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Jc(n.next,i),error:n.error&&Jc(n.error,i),complete:n.complete&&Jc(n.complete,i)}):o=n}this.destination=new tl(o)}};function Yi(e){Je.useDeprecatedSynchronousErrorHandling?Up(e):qi(e)}function sE(e){throw e}function el(e,n){let{onStoppedNotification:t}=Je;t&&fr.setTimeout(()=>t(e,n))}var aE={closed:!0,next:xn,error:sE,complete:xn};function C(e,n,t,r,o){return new nl(e,n,t,r,o)}var nl=class extends Sn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function ve(e,n){return T((t,r)=>{let o=0;t.subscribe(C(r,i=>e.call(n,i,o++)&&r.next(i)))})}var be=null,Zi=!1,rl=1,cE=null,ue=Symbol("SIGNAL");function I(e){let n=be;return be=e,n}function Ji(){return be}var Mn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function An(e){if(Zi)throw new Error("");if(be===null)return;be.consumerOnSignalRead(e);let n=be.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=be.recomputing;if(r&&(t=n!==void 0?n.nextProducer:be.producers,t!==void 0&&t.producer===e)){be.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===be&&(!r||uE(o,be)))return;let i=mr(be),s={producer:e,consumer:be,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};be.producersTail=s,n!==void 0?n.nextProducer=s:be.producers=s,i&&Gp(e,s)}function $p(){rl++}function es(e){if(!(mr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===rl)){if(!e.producerMustRecompute(e)&&!hr(e)){Qi(e);return}e.producerRecomputeValue(e),Qi(e)}}function ol(e){if(e.consumers===void 0)return;let n=Zi;Zi=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||lE(r)}}finally{Zi=n}}function il(){return be?.consumerAllowSignalWrites!==!1}function lE(e){e.dirty=!0,ol(e),e.consumerMarkedDirty?.(e)}function Qi(e){e.dirty=!1,e.lastCleanEpoch=rl}function qt(e){return e&&zp(e),I(e)}function zp(e){e.producersTail=void 0,e.recomputing=!0}function Nn(e,n){I(n),e&&Wp(e)}function Wp(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(mr(e))do t=sl(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function hr(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(es(t),r!==t.version))return!0}return!1}function Yt(e){if(mr(e)){let n=e.producers;for(;n!==void 0;)n=sl(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Gp(e,n){let t=e.consumersTail,r=mr(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Gp(o.producer,o)}function sl(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!mr(n)){let i=n.producers;for(;i!==void 0;)i=sl(i)}return t}function mr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ts(e){cE?.(e)}function uE(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function ns(e,n){return Object.is(e,n)}function _o(e,n){let t=Object.create(dE);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(es(t),An(t),t.value===bo)throw t.error;return t.value};return r[ue]=t,ts(t),r}var Ki=Symbol("UNSET"),Xi=Symbol("COMPUTING"),bo=Symbol("ERRORED"),dE=ee(A({},Mn),{value:Ki,dirty:!0,error:null,equal:ns,kind:"computed",producerMustRecompute(e){return e.value===Ki||e.value===Xi},producerRecomputeValue(e){if(e.value===Xi)throw new Error("");let n=e.value;e.value=Xi;let t=qt(e),r,o=!1;try{r=e.computation(),I(null),o=n!==Ki&&n!==bo&&r!==bo&&e.equal(n,r)}catch(i){r=bo,e.error=i}finally{Nn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function fE(){throw new Error}var qp=fE;function Yp(e){qp(e)}function al(e){qp=e}var pE=null;function cl(e,n){let t=Object.create(Do);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Zp(t);return r[ue]=t,ts(t),[r,s=>gr(t,s),s=>ll(t,s)]}function Zp(e){return An(e),e.value}function gr(e,n){il()||Yp(e),e.equal(e.value,n)||(e.value=n,hE(e))}function ll(e,n){il()||Yp(e),gr(e,n(e.value))}var Do=ee(A({},Mn),{equal:ns,value:void 0,kind:"signal"});function hE(e){e.version++,$p(),ol(e),pE?.(e)}var ul=ee(A({},Mn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function dl(e){if(e.dirty=!1,e.version>0&&!hr(e))return;e.version++;let n=qt(e);try{e.cleanup(),e.fn()}finally{Nn(e,n)}}var yr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Re(e){return e}function mE(...e){return fl(e)}function fl(e){return e.length===0?Re:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var N=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=yE(t)?t:new At(t,r,o);return pr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Kp(r),new r((o,i)=>{let s=new At({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[yr](){return this}pipe(...t){return fl(t)(this)}toPromise(t){return t=Kp(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Kp(e){var n;return(n=e??Je.Promise)!==null&&n!==void 0?n:Promise}function gE(e){return e&&O(e.next)&&O(e.error)&&O(e.complete)}function yE(e){return e&&e instanceof Sn||gE(e)&&Gi(e)}function Xp(){return T((e,n)=>{let t=null;e._refCount++;let r=C(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var Eo=class extends N{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Kc(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new L;let t=this.getSubject();n.add(this.source.subscribe(C(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=L.EMPTY)}return n}refCount(){return Xp()(this)}};var vr={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=vr;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new L(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=vr;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=vr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Qp=dr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var x=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new rs(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Qp}next(t){pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Xc:(this.currentObservers=null,i.push(t),new L(()=>{this.currentObservers=null,Cn(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new N;return t.source=this,t}}return e.create=(n,t)=>new rs(n,t),e})(),rs=class extends x{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Xc}};var Rn=class extends x{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var wo={now(){return(wo.delegate||Date).now()},delegate:void 0};var Io=class extends x{constructor(n=1/0,t=1/0,r=wo){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var os=class extends L{constructor(n,t){super()}schedule(n,t=0){return this}};var Co={setInterval(e,n,...t){let{delegate:r}=Co;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=Co;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var Zt=class extends os{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return Co.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&Co.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}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:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Cn(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var vE=1,pl,hl={};function Jp(e){return e in hl?(delete hl[e],!0):!1}var eh={setImmediate(e){let n=vE++;return hl[n]=!0,pl||(pl=Promise.resolve()),pl.then(()=>Jp(n)&&e()),n},clearImmediate(e){Jp(e)}};var{setImmediate:bE,clearImmediate:_E}=eh,xo={setImmediate(...e){let{delegate:n}=xo;return(n?.setImmediate||bE)(...e)},clearImmediate(e){let{delegate:n}=xo;return(n?.clearImmediate||_E)(e)},delegate:void 0};var is=class extends Zt{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=xo.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(xo.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var br=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};br.now=wo.now;var Kt=class extends br{constructor(n,t=br.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var ss=class extends Kt{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var ml=new ss(is);var Nt=new Kt(Zt),th=Nt;var as=class extends Zt{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=vr.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&t===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(vr.cancelAnimationFrame(t),n._scheduled=void 0)}};var cs=class extends Kt{flush(n){this._active=!0;let t;n?t=n.id:(t=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var gl=new cs(as);var On=new N(e=>e.complete());function ls(e){return e&&O(e.schedule)}function yl(e){return e[e.length-1]}function us(e){return O(yl(e))?e.pop():void 0}function gt(e){return ls(yl(e))?e.pop():void 0}function nh(e,n){return typeof yl(e)=="number"?e.pop():n}function oh(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function rh(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function kn(e){return this instanceof kn?(this.v=e,this):new kn(e)}function ih(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),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(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(v){return new Promise(function(b,_){i.push([f,v,b,_])>1||c(f,v)})},m&&(o[f]=m(o[f])))}function c(f,m){try{l(r[f](m))}catch(v){h(i[0][3],v)}}function l(f){f.value instanceof kn?Promise.resolve(f.value.v).then(u,d):h(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function sh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof rh=="function"?rh(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var ds=e=>e&&typeof e.length=="number"&&typeof e!="function";function fs(e){return O(e?.then)}function ps(e){return O(e[yr])}function hs(e){return Symbol.asyncIterator&&O(e?.[Symbol.asyncIterator])}function ms(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 DE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gs=DE();function ys(e){return O(e?.[gs])}function vs(e){return ih(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield kn(t.read());if(o)return yield kn(void 0);yield yield kn(r)}}finally{t.releaseLock()}})}function bs(e){return O(e?.getReader)}function U(e){if(e instanceof N)return e;if(e!=null){if(ps(e))return EE(e);if(ds(e))return wE(e);if(fs(e))return IE(e);if(hs(e))return ah(e);if(ys(e))return CE(e);if(bs(e))return xE(e)}throw ms(e)}function EE(e){return new N(n=>{let t=e[yr]();if(O(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wE(e){return new N(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function IE(e){return new N(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,qi)})}function CE(e){return new N(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function ah(e){return new N(n=>{TE(e,n).catch(t=>n.error(t))})}function xE(e){return ah(vs(e))}function TE(e,n){var t,r,o,i;return oh(this,void 0,void 0,function*(){try{for(t=sh(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function Se(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function _s(e,n=0){return T((t,r)=>{t.subscribe(C(r,o=>Se(r,e,()=>r.next(o),n),()=>Se(r,e,()=>r.complete(),n),o=>Se(r,e,()=>r.error(o),n)))})}function Ds(e,n=0){return T((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function ch(e,n){return U(e).pipe(Ds(n),_s(n))}function lh(e,n){return U(e).pipe(Ds(n),_s(n))}function uh(e,n){return new N(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function dh(e,n){return new N(t=>{let r;return Se(t,n,()=>{r=e[gs](),Se(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>O(r?.return)&&r.return()})}function Es(e,n){if(!e)throw new Error("Iterable cannot be null");return new N(t=>{Se(t,n,()=>{let r=e[Symbol.asyncIterator]();Se(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function fh(e,n){return Es(vs(e),n)}function ph(e,n){if(e!=null){if(ps(e))return ch(e,n);if(ds(e))return uh(e,n);if(fs(e))return lh(e,n);if(hs(e))return Es(e,n);if(ys(e))return dh(e,n);if(bs(e))return fh(e,n)}throw ms(e)}function yt(e,n){return n?ph(e,n):U(e)}function Ee(...e){let n=gt(e);return yt(e,n)}function SE(e,n){let t=O(e)?e:()=>e,r=o=>o.error(t());return new N(n?o=>n.schedule(r,0,o):r)}function Rt(e){return!!e&&(e instanceof N||O(e.lift)&&O(e.subscribe))}var To=dr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function hh(e){return e instanceof Date&&!isNaN(e)}function oe(e,n){return T((t,r)=>{let o=0;t.subscribe(C(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:ME}=Array;function AE(e,n){return ME(n)?e(...n):e(n)}function ws(e){return oe(n=>AE(e,n))}var{isArray:NE}=Array,{getPrototypeOf:RE,prototype:OE,keys:kE}=Object;function Is(e){if(e.length===1){let n=e[0];if(NE(n))return{args:n,keys:null};if(FE(n)){let t=kE(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function FE(e){return e&&typeof e=="object"&&RE(e)===OE}function Cs(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function vl(...e){let n=gt(e),t=us(e),{args:r,keys:o}=Is(e);if(r.length===0)return yt([],n);let i=new N(PE(r,n,o?s=>Cs(o,s):Re));return t?i.pipe(ws(t)):i}function PE(e,n,t=Re){return r=>{mh(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)mh(n,()=>{let l=yt(e[c],n),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function mh(e,n,t){e?Se(t,e,n):n()}function gh(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&n.complete()},f=v=>l<r?m(v):c.push(v),m=v=>{i&&n.next(v),l++;let b=!1;U(t(v,u++)).subscribe(C(n,_=>{o?.(_),i?f(_):n.next(_)},()=>{b=!0},void 0,()=>{if(b)try{for(l--;c.length&&l<r;){let _=c.shift();s?Se(n,s,()=>m(_)):m(_)}h()}catch(_){n.error(_)}}))};return e.subscribe(C(n,f,()=>{d=!0,h()})),()=>{a?.()}}function Ot(e,n,t=1/0){return O(n)?Ot((r,o)=>oe((i,s)=>n(r,i,o,s))(U(e(r,o))),t):(typeof n=="number"&&(t=n),T((r,o)=>gh(r,o,e,t)))}function So(e=1/0){return Ot(Re,e)}function yh(){return So(1)}function Xt(...e){return yh()(yt(e,gt(e)))}function LE(e){return new N(n=>{U(e()).subscribe(n)})}function jE(...e){let n=us(e),{args:t,keys:r}=Is(e),o=new N(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;U(t[u]).subscribe(C(i,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Cs(r,a):a),i.complete())}))}});return n?o.pipe(ws(n)):o}function Fn(e=0,n,t=th){let r=-1;return n!=null&&(ls(n)?t=n:r=n),new N(o=>{let i=hh(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function BE(e=0,n=Nt){return e<0&&(e=0),Fn(e,e,n)}function VE(...e){let n=gt(e),t=nh(e,1/0),r=e;return r.length?r.length===1?U(r[0]):So(t)(yt(r,n)):On}function vh(e){return T((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,t.next(l)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(C(t,l=>{r=!0,o=l,i||U(e(l)).subscribe(i=C(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function Mo(e,n=Nt){return vh(()=>Fn(e,n))}function bh(e){return T((n,t)=>{let r=null,o=!1,i;r=n.subscribe(C(t,void 0,void 0,s=>{i=U(e(s,bh(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function _h(e,n,t,r,o){return(i,s)=>{let a=t,c=n,l=0;i.subscribe(C(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function HE(e,n){return T(_h(e,n,arguments.length>=2,!1,!0))}function bl(e,n){return O(n)?Ot(e,n,1):Ot(e,1)}function Pn(e,n=Nt){return T((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}t.subscribe(C(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Dh(e){return T((n,t)=>{let r=!1;n.subscribe(C(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function et(e){return e<=0?()=>On:T((n,t)=>{let r=0;n.subscribe(C(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Eh(){return T((e,n)=>{e.subscribe(C(n,xn))})}function wh(e){return oe(()=>e)}function _l(e,n){return n?t=>Xt(n.pipe(et(1),Eh()),t.pipe(_l(e))):Ot((t,r)=>U(e(t,r)).pipe(et(1),wh(t)))}function UE(e,n=Nt){let t=Fn(e,n);return _l(()=>t)}function _r(e,n=Re){return e=e??$E,T((t,r)=>{let o,i=!0;t.subscribe(C(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function $E(e,n){return e===n}function Ih(e=zE){return T((n,t)=>{let r=!1;n.subscribe(C(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function zE(){return new To}function Dl(e){return T((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function WE(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ve((o,i)=>e(o,i,r)):Re,et(1),t?Dh(n):Ih(()=>new To))}function GE(e){return e<=0?()=>On:T((n,t)=>{let r=[];n.subscribe(C(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function El(){return T((e,n)=>{let t,r=!1;e.subscribe(C(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function Il(e={}){let{connector:n=()=>new x,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,u=d=!1},m=()=>{let v=s;f(),v?.unsubscribe()};return T((v,b)=>{l++,!d&&!u&&h();let _=c=c??n();b.add(()=>{l--,l===0&&!d&&!u&&(a=wl(m,o))}),_.subscribe(b),!s&&l>0&&(s=new At({next:P=>_.next(P),error:P=>{d=!0,h(),a=wl(f,t,P),_.error(P)},complete:()=>{u=!0,h(),a=wl(f,r),_.complete()}}),U(v).subscribe(s))})(i)}}function wl(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new At({next:()=>{r.unsubscribe(),e()}});return U(n(...t)).subscribe(r)}function Cl(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,Il({connector:()=>new Io(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ao(e){return ve((n,t)=>e<=t)}function Dr(...e){let n=gt(e);return T((t,r)=>{(n?Xt(e,t,n):Xt(e,t)).subscribe(r)})}function No(e,n){return T((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;U(e(c,u)).subscribe(o=C(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function kt(e){return T((n,t)=>{U(e).subscribe(C(t,()=>t.complete(),xn)),!t.closed&&n.subscribe(t)})}function xl(e,n=!1){return T((t,r)=>{let o=0;t.subscribe(C(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function Tl(e,n,t){let r=O(e)||n||t?{next:e,error:n,complete:t}:e;return r?T((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Re}var Sl;function xs(){return Sl}function vt(e){let n=Sl;return Sl=e,n}var Ch=Symbol("NotFound");function Er(e){return e===Ch||e?.name==="\u0275NotFound"}function xh(e){let n=I(null);try{return e()}finally{I(n)}}var Os="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(n,t){super(tn(n,t)),this.code=n}};function qE(e){return`NG0${Math.abs(e)}`}function tn(e,n){return`${qE(e)}${n?": "+n:""}`}var Be=globalThis;function V(e){for(let n in e)if(e[n]===V)return n;throw Error("")}function Nh(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function jo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(jo).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
`);return r>=0?t.slice(0,r):t}function ks(e,n){return e?n?`${e} ${n}`:e:n||""}var YE=V({__forward_ref__:V});function Ir(e){return e.__forward_ref__=Ir,e}function de(e){return Hl(e)?e():e}function Hl(e){return typeof e=="function"&&e.hasOwnProperty(YE)&&e.__forward_ref__===Ir}function g(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function J(e){return{providers:e.providers||[],imports:e.imports||[]}}function Bo(e){return KE(e,Fs)}function ZE(e){return Bo(e)!==null}function KE(e,n){return e.hasOwnProperty(n)&&e[n]||null}function XE(e){let n=e?.[Fs]??null;return n||null}function Al(e){return e&&e.hasOwnProperty(Ss)?e[Ss]:null}var Fs=V({\u0275prov:V}),Ss=V({\u0275inj:V}),y=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=g({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ul(e){return e&&!!e.\u0275providers}var $l=V({\u0275cmp:V}),zl=V({\u0275dir:V}),Wl=V({\u0275pipe:V}),Gl=V({\u0275mod:V}),Oo=V({\u0275fac:V}),Hn=V({__NG_ELEMENT_ID__:V}),Th=V({__NG_ENV_ID__:V});function ql(e){return Ls(e,"@NgModule"),e[Gl]||null}function Dt(e){return Ls(e,"@Component"),e[$l]||null}function Ps(e){return Ls(e,"@Directive"),e[zl]||null}function Rh(e){return Ls(e,"@Pipe"),e[Wl]||null}function Ls(e,n){if(e==null)throw new D(-919,!1)}function Oe(e){return typeof e=="string"?e:e==null?"":String(e)}var Oh=V({ngErrorCode:V}),QE=V({ngErrorMessage:V}),JE=V({ngTokenPath:V});function Yl(e,n){return kh("",-200,n)}function js(e,n){throw new D(-201,!1)}function kh(e,n,t){let r=new D(n,e);return r[Oh]=n,r[QE]=e,t&&(r[JE]=t),r}function ew(e){return e[Oh]}var Nl;function Fh(){return Nl}function we(e){let n=Nl;return Nl=e,n}function Zl(e,n,t){let r=Bo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;js(e,"")}var tw={},Ln=tw,nw="__NG_DI_FLAG__",Rl=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=jn(t)||0;try{return this.injector.get(n,r&8?null:Ln,r)}catch(o){if(Er(o))return o;throw o}}};function rw(e,n=0){let t=xs();if(t===void 0)throw new D(-203,!1);if(t===null)return Zl(e,void 0,n);{let r=ow(n),o=t.retrieve(e,r);if(Er(o)){if(r.optional)return null;throw o}return o}}function S(e,n=0){return(Fh()||rw)(de(e),n)}function p(e,n){return S(e,jn(n))}function jn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ow(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ol(e){let n=[];for(let t=0;t<e.length;t++){let r=de(e[t]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=iw(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(S(o,i))}else n.push(S(r))}return n}function iw(e){return e[nw]}function Qt(e,n){let t=e.hasOwnProperty(Oo);return t?e[Oo]:null}function Ph(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function Lh(e){return e.flat(Number.POSITIVE_INFINITY)}function Bs(e,n){e.forEach(t=>Array.isArray(t)?Bs(t,n):n(t))}function Kl(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Vo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function jh(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Bh(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function Vs(e,n,t){let r=Cr(e,n);return r>=0?e[r|1]=t:(r=~r,Bh(e,r,n,t)),r}function Hs(e,n){let t=Cr(e,n);if(t>=0)return e[t|1]}function Cr(e,n){return sw(e,n,1)}function sw(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var tt={},_e=[],xr=new y(""),Xl=new y("",-1),Ql=new y(""),ko=class{get(n,t=Ln){if(t===Ln){let o=kh("",-201);throw o.name="\u0275NotFound",o}return t}};function Ho(e){return{\u0275providers:e}}function Vh(...e){return{\u0275providers:Jl(!0,e),\u0275fromNgModule:!0}}function Jl(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return Bs(n,s=>{let a=s;Ms(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Hh(o,i),t}function Hh(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];eu(o,i=>{n(i,r)})}}function Ms(e,n,t,r){if(e=de(e),!e)return!1;let o=null,i=Al(e),s=!i&&Dt(e);if(!i&&!s){let c=e.ngModule;if(i=Al(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Ms(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Bs(i.imports,u=>{Ms(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&Hh(l,n)}if(!a){let l=Qt(o)||(()=>new o);n({provide:o,useFactory:l,deps:_e},o),n({provide:Ql,useValue:o,multi:!0},o),n({provide:xr,useValue:()=>S(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;eu(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function eu(e,n){for(let t of e)Ul(t)&&(t=t.\u0275providers),Array.isArray(t)?eu(t,n):n(t)}var aw=V({provide:String,useValue:V});function Uh(e){return e!==null&&typeof e=="object"&&aw in e}function cw(e){return!!(e&&e.useExisting)}function lw(e){return!!(e&&e.useFactory)}function Bn(e){return typeof e=="function"}function $h(e){return!!e.useClass}var Uo=new y(""),Ts={},Sh={},Ml;function Tr(){return Ml===void 0&&(Ml=new ko),Ml}var ie=class{},Vn=class extends ie{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Fl(n,s=>this.processProvider(s)),this.records.set(Xl,wr(void 0,this)),o.has("environment")&&this.records.set(ie,wr(void 0,this));let i=this.records.get(Uo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ql,_e,{self:!0}))}retrieve(n,t){let r=jn(t)||0;try{return this.get(n,Ln,r)}catch(o){if(Er(o))return o;throw o}}destroy(){Ro(this),this._destroyed=!0;let n=I(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),I(n)}}onDestroy(n){return Ro(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Ro(this);let t=vt(this),r=we(void 0),o;try{return n()}finally{vt(t),we(r)}}get(n,t=Ln,r){if(Ro(this),n.hasOwnProperty(Th))return n[Th](this);let o=jn(r),i,s=vt(this),a=we(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=hw(n)&&Bo(n);u&&this.injectableDefInScope(u)?l=wr(kl(n),Ts):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Tr():this.parent;return t=o&8&&t===Ln?null:t,c.get(n,t)}catch(c){let l=ew(c);throw l===-200||l===-201?new D(l,null):c}finally{we(a),vt(s)}}resolveInjectorInitializers(){let n=I(null),t=vt(this),r=we(void 0),o;try{let i=this.get(xr,_e,{self:!0});for(let s of i)s()}finally{vt(t),we(r),I(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=de(n);let t=Bn(n)?n:de(n&&n.provide),r=dw(n);if(!Bn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=wr(void 0,Ts,!0),o.factory=()=>Ol(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=I(null);try{if(t.value===Sh)throw Yl("");return t.value===Ts&&(t.value=Sh,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&pw(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{I(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=de(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function kl(e){let n=Bo(e),t=n!==null?n.factory:Qt(e);if(t!==null)return t;if(e instanceof y)throw new D(-204,!1);if(e instanceof Function)return uw(e);throw new D(-204,!1)}function uw(e){if(e.length>0)throw new D(-204,!1);let t=XE(e);return t!==null?()=>t.factory(e):()=>new e}function dw(e){if(Uh(e))return wr(void 0,e.useValue);{let n=tu(e);return wr(n,Ts)}}function tu(e,n,t){let r;if(Bn(e)){let o=de(e);return Qt(o)||kl(o)}else if(Uh(e))r=()=>de(e.useValue);else if(lw(e))r=()=>e.useFactory(...Ol(e.deps||[]));else if(cw(e))r=(o,i)=>S(de(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=de(e&&(e.useClass||e.provide));if(fw(e))r=()=>new o(...Ol(e.deps));else return Qt(o)||kl(o)}return r}function Ro(e){if(e.destroyed)throw new D(-205,!1)}function wr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function fw(e){return!!e.deps}function pw(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function hw(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Fl(e,n){for(let t of e)Array.isArray(t)?Fl(t,n):t&&Ul(t)?Fl(t.\u0275providers,n):n(t)}function Sr(e,n){let t;e instanceof Vn?(Ro(e),t=e):t=new Rl(e);let r,o=vt(t),i=we(void 0);try{return n()}finally{vt(o),we(i)}}function zh(){return Fh()!==void 0||xs()!=null}var nt=0,w=1,M=2,fe=3,Ve=4,Ie=5,Un=6,Mr=7,se=8,Pt=9,rt=10,$=11,Ar=12,nu=13,$n=14,Ce=15,nn=16,zn=17,Et=18,Lt=19,ru=20,Ft=21,Us=22,Jt=23,ke=24,Wn=25,rn=26,Z=27,Wh=1,ou=6,on=7,$o=8,Gn=9,re=10;function jt(e){return Array.isArray(e)&&typeof e[Wh]=="object"}function ot(e){return Array.isArray(e)&&e[Wh]===!0}function iu(e){return(e.flags&4)!==0}function wt(e){return e.componentOffset>-1}function Nr(e){return(e.flags&1)===1}function it(e){return!!e.template}function Rr(e){return(e[M]&512)!==0}function qn(e){return(e[M]&256)===256}var su="svg",Gh="math";function He(e){for(;Array.isArray(e);)e=e[nt];return e}function au(e,n){return He(n[e])}function Ue(e,n){return He(n[e.index])}function $s(e,n){return e.data[n]}function zs(e,n){return e[n]}function cu(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function $e(e,n){let t=n[e];return jt(t)?t:t[nt]}function qh(e){return(e[M]&4)===4}function Ws(e){return(e[M]&128)===128}function Yh(e){return ot(e[fe])}function Fe(e,n){return n==null?null:e[n]}function lu(e){e[zn]=0}function uu(e){e[M]&1024||(e[M]|=1024,Ws(e)&&Yn(e))}function Zh(e,n){for(;e>0;)n=n[$n],e--;return n}function zo(e){return!!(e[M]&9216||e[ke]?.dirty)}function Gs(e){e[rt].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),zo(e)&&Yn(e)}function Yn(e){e[rt].changeDetectionScheduler?.notify(0);let n=en(e);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!Ws(n)));)n=en(n)}function du(e,n){if(qn(e))throw new D(911,!1);e[Ft]===null&&(e[Ft]=[]),e[Ft].push(n)}function Kh(e,n){if(e[Ft]===null)return;let t=e[Ft].indexOf(n);t!==-1&&e[Ft].splice(t,1)}function en(e){let n=e[fe];return ot(n)?n[fe]:n}function fu(e){return e[Mr]??=[]}function pu(e){return e.cleanup??=[]}function Xh(e,n,t,r){let o=fu(n);o.push(t),e.firstCreatePass&&pu(e).push(r,o.length-1)}var F={lFrame:um(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Pl=!1;function Qh(){return F.lFrame.elementDepthCount}function Jh(){F.lFrame.elementDepthCount++}function hu(){F.lFrame.elementDepthCount--}function qs(){return F.bindingsEnabled}function mu(){return F.skipHydrationRootTNode!==null}function gu(e){return F.skipHydrationRootTNode===e}function yu(){F.skipHydrationRootTNode=null}function E(){return F.lFrame.lView}function G(){return F.lFrame.tView}function em(e){return F.lFrame.contextLView=e,e[se]}function tm(e){return F.lFrame.contextLView=null,e}function ce(){let e=vu();for(;e!==null&&e.type===64;)e=e.parent;return e}function vu(){return F.lFrame.currentTNode}function nm(){let e=F.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Or(e,n){let t=F.lFrame;t.currentTNode=e,t.isParent=n}function bu(){return F.lFrame.isParent}function _u(){F.lFrame.isParent=!1}function rm(){return F.lFrame.contextLView}function Du(){return Pl}function Fo(e){let n=Pl;return Pl=e,n}function Wo(){let e=F.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ys(){return F.lFrame.bindingIndex}function om(e){return F.lFrame.bindingIndex=e}function Bt(){return F.lFrame.bindingIndex++}function kr(e){let n=F.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function im(){return F.lFrame.inI18n}function sm(e,n){let t=F.lFrame;t.bindingIndex=t.bindingRootIndex=e,Zs(n)}function am(){return F.lFrame.currentDirectiveIndex}function Zs(e){F.lFrame.currentDirectiveIndex=e}function cm(e){let n=F.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Ks(){return F.lFrame.currentQueryIndex}function Go(e){F.lFrame.currentQueryIndex=e}function mw(e){let n=e[w];return n.type===2?n.declTNode:n.type===1?e[Ie]:null}function Eu(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=mw(i),o===null||(i=i[$n],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=F.lFrame=lm();return r.currentTNode=n,r.lView=e,!0}function Xs(e){let n=lm(),t=e[w];F.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function lm(){let e=F.lFrame,n=e===null?null:e.child;return n===null?um(e):n}function um(e){let n={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=n),n}function dm(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wu=dm;function Qs(){let e=dm();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 fm(e){return(F.lFrame.contextLView=Zh(e,F.lFrame.contextLView))[se]}function ze(){return F.lFrame.selectedIndex}function sn(e){F.lFrame.selectedIndex=e}function Fr(){let e=F.lFrame;return $s(e.tView,e.selectedIndex)}function pm(){F.lFrame.currentNamespace=su}function hm(){gw()}function gw(){F.lFrame.currentNamespace=null}function mm(){return F.lFrame.currentNamespace}var gm=!0;function Js(){return gm}function qo(e){gm=e}function Ll(e,n=null,t=null,r){let o=Iu(e,n,t,r);return o.resolveInjectorInitializers(),o}function Iu(e,n=null,t=null,r,o=new Set){let i=[t||_e,Vh(e)],s;return new Vn(i,n||Tr(),s||null,o)}var j=class e{static THROW_IF_NOT_FOUND=Ln;static NULL=new ko;static create(n,t){if(Array.isArray(n))return Ll({name:""},t,n,"");{let r=n.name??"";return Ll({name:r},n.parent,n.providers,r)}}static \u0275prov=g({token:e,providedIn:"any",factory:()=>S(Xl)});static __NG_ELEMENT_ID__=-1},R=new y(""),st=(()=>{class e{static __NG_ELEMENT_ID__=yw;static __NG_ENV_ID__=t=>t}return e})(),As=class extends st{_lView;constructor(n){super(),this._lView=n}get destroyed(){return qn(this._lView)}onDestroy(n){let t=this._lView;return du(t,n),()=>Kh(t,n)}};function yw(){return new As(E())}var ym=!1,vm=new y(""),Zn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Rn(!1);debugTaskTracker=p(vm,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=g({token:e,providedIn:"root",factory:()=>new e})}return e})(),jl=class extends x{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,zh()&&(this.destroyRef=p(st,{optional:!0})??void 0,this.pendingTasks=p(Zn,{optional:!0})??void 0)}emit(n){let t=I(null);try{super.next(n)}finally{I(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof L&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Q=jl;function Ns(...e){}function Cu(e){let n,t;function r(){e=Ns;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function bm(e){return queueMicrotask(()=>e()),()=>{e=Ns}}var xu="isAngularZone",Po=xu+"_ID",vw=0,k=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Q(!1);onMicrotaskEmpty=new Q(!1);onStable=new Q(!1);onError=new Q(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ym}=n;if(typeof Zone>"u")t