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 • 975 kB
JavaScript
import {F as F$5,E as E$2,L as L$5,o,s,J as J$7,H as H$6,K as K$7,C as C$8}from'./main-HNF44SV3.js';function k$2(e){return typeof e=="function"}function al(e){return k$2(e?.lift)}function x$3(e){return n=>{if(al(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 _r(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 Ji$1=_r(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 Rn$1(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1);}}var L$4=class e{constructor(n){this.initialTeardown=n,this.closed=false,this._parentage=null,this._finalizers=null;}unsubscribe(){let n;if(!this.closed){this.closed=true;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(k$2(r))try{r();}catch(i){n=i instanceof Ji$1?i.errors:[i];}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Zp(i);}catch(s){n=n??[],s instanceof Ji$1?n=[...n,...s.errors]:n.push(s);}}if(n)throw new Ji$1(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Zp(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)&&Rn$1(t,n);}remove(n){let{_finalizers:t}=this;t&&Rn$1(t,n),n instanceof e&&n._removeParent(this);}};L$4.EMPTY=(()=>{let e=new L$4;return e.closed=true,e})();var cl=L$4.EMPTY;function es(e){return e instanceof L$4||e&&"closed"in e&&k$2(e.remove)&&k$2(e.add)&&k$2(e.unsubscribe)}function Zp(e){k$2(e)?e():e.unsubscribe();}var it$6={Promise:void 0};var Dr={setTimeout(e,n,...t){return setTimeout(e,n,...t)},clearTimeout(e){return (clearTimeout)(e)},delegate:void 0};function ts(e){Dr.setTimeout(()=>{throw e});}function On$2(){}function Er(e){e();}var Pn$2=class Pn extends L$4{constructor(n){super(),this.isStopped=false,n?(this.destination=n,es(n)&&n.add(this)):this.destination=_E;}static create(n,t,r){return new Lt$3(n,t,r)}next(n){this.isStopped?dl():this._next(n);}error(n){this.isStopped?dl():(this.isStopped=true,this._error(n));}complete(){this.isStopped?dl():(this.isStopped=true,this._complete());}unsubscribe(){this.closed||(this.isStopped=true,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();}}};var fl=class{constructor(n){this.partialObserver=n;}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n);}catch(r){ns(r);}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n);}catch(r){ns(r);}else ns(n);}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete();}catch(t){ns(t);}}},Lt$3=class Lt extends Pn$2{constructor(n,t,r){super();let o;if(k$2(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else {o=n;}this.destination=new fl(o);}};function ns(e){ts(e);}function bE(e){throw e}function dl(e,n){}var _E={closed:true,next:On$2,error:bE,complete:On$2};function I$4(e,n,t,r,o){return new pl(e,n,t,r,o)}var pl=class extends Pn$2{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 ye$3(e,n){return x$3((t,r)=>{let o=0;t.subscribe(I$4(r,i=>e.call(n,i,o++)&&r.next(i)));})}var De$3=null,rs=false,Fn$1=1,ue$3=Symbol("SIGNAL");function E$1(e){let n=De$3;return De$3=e,n}function as(){return De$3}var Ln$1={version:0,lastCleanEpoch:0,dirty:false,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:false,consumerAllowSignalWrites:false,consumerIsAlwaysLive:false,kind:"unknown",producerMustRecompute:()=>false,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function jn$2(e){if(rs)throw new Error("");if(De$3===null)return;De$3.consumerOnSignalRead(e);let n=De$3.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=De$3.recomputing;if(r&&(t=n!==void 0?n.nextProducer:De$3.producers,t!==void 0&&t.producer===e)){De$3.producersTail=t,t.lastReadVersion=e.version,t.knownValidAtEpoch=Fn$1;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===De$3&&(!r||o.knownValidAtEpoch===Fn$1))return;let i=Ir(De$3),s={producer:e,consumer:De$3,nextProducer:t,prevConsumer:void 0,knownValidAtEpoch:Fn$1,lastReadVersion:e.version,nextConsumer:void 0};De$3.producersTail=s,n!==void 0?n.nextProducer=s:De$3.producers=s,i&&rh(e,s);}function eh(){Fn$1++;}function cs(e){if(!(Ir(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Fn$1)){if(!e.producerMustRecompute(e)&&!wr(e)){ss(e);return}e.producerRecomputeValue(e),ss(e);}}function hl(e){if(e.consumers===void 0)return;let n=rs;rs=true;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||EE(r);}}finally{rs=n;}}function ml(){return De$3?.consumerAllowSignalWrites!==false}function EE(e){e.dirty=true,hl(e),e.consumerMarkedDirty?.(e);}function ss(e){e.dirty=false,e.lastCleanEpoch=Fn$1;}function rn$2(e){return e&&th(e),E$1(e)}function th(e){if(e.producersTail?.knownValidAtEpoch===Fn$1){let n=e.producers;for(;n!==void 0;)n.knownValidAtEpoch=null,n=n.nextProducer;}e.producersTail=void 0,e.recomputing=true;}function Bn$2(e,n){E$1(n),e&&nh(e);}function nh(e){e.recomputing=false;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(Ir(e))do t=gl(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0;}}function wr(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(cs(t),r!==t.version))return true}return false}function on$2(e){if(Ir(e)){let n=e.producers;for(;n!==void 0;)n=gl(n);}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0;}function rh(e,n){let t=e.consumersTail,r=Ir(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)rh(o.producer,o);}function gl(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,!Ir(n)){let i=n.producers;for(;i!==void 0;)i=gl(i);}return t}function Ir(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function us(e,n){return Object.is(e,n)}function No$1(e,n){let t=Object.create(wE);t.computation=e;let r=()=>{if(cs(t),jn$2(t),t.value===Ao$1)throw t.error;return t.value};return r[ue$3]=t,r}var os=Symbol("UNSET"),is=Symbol("COMPUTING"),Ao$1=Symbol("ERRORED"),wE=F$5(E$2({},Ln$1),{value:os,dirty:true,error:null,equal:us,kind:"computed",producerMustRecompute(e){return e.value===os||e.value===is},producerRecomputeValue(e){if(e.value===is)throw new Error("");let n=e.value;e.value=is;let t=rn$2(e),r,o=false;try{r=e.computation(),E$1(null),o=n!==os&&n!==Ao$1&&r!==Ao$1&&e.equal(n,r);}catch(i){r=Ao$1,e.error=i;}finally{Bn$2(e,t);}if(o){e.value=n;return}e.value=r,e.version++;}});function IE(){throw new Error}var oh=IE;function ih(e){oh(e);}function yl(e){oh=e;}function vl(e,n){let t=Object.create(Ro$1);t.value=e,n!==void 0&&(t.equal=n);let r=()=>sh(t);return r[ue$3]=t,[r,s=>Cr$1(t,s),s=>bl(t,s)]}function sh(e){return jn$2(e),e.value}function Cr$1(e,n){ml()||ih(e),e.equal(e.value,n)||(e.value=n,xE(e));}function bl(e,n){ml()||ih(e),Cr$1(e,n(e.value));}var Ro$1=F$5(E$2({},Ln$1),{equal:us,value:void 0,kind:"signal"});function xE(e){e.version++,eh(),hl(e);}var _l=F$5(E$2({},Ln$1),{consumerIsAlwaysLive:true,consumerAllowSignalWrites:true,dirty:true,kind:"effect"});function Dl(e){if(e.dirty=false,e.version>0&&!wr(e))return;e.version++;let n=rn$2(e);try{e.cleanup(),e.fn();}finally{Bn$2(e,n);}}var El;function ds(){return El}function bt$6(e){let n=El;return El=e,n}var ah=Symbol("NotFound");function xr(e){return e===ah||e?.name==="\u0275NotFound"}function ch(e){let n=E$1(null);try{return e()}finally{E$1(n);}}var Tr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Oe$3(e){return e}function TE(...e){return wl(e)}function wl(e){return e.length===0?Oe$3:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var O$4=(()=>{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=ME(t)?t:new Lt$3(t,r,o);return Er(()=>{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=lh(r),new r((o,i)=>{let s=new Lt$3({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)}[Tr](){return this}pipe(...t){return wl(t)(this)}toPromise(t){return t=lh(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 lh(e){var n;return (n=e??it$6.Promise)!==null&&n!==void 0?n:Promise}function SE(e){return e&&k$2(e.next)&&k$2(e.error)&&k$2(e.complete)}function ME(e){return e&&e instanceof Pn$2||SE(e)&&es(e)}function uh(){return x$3((e,n)=>{let t=null;e._refCount++;let r=I$4(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 Oo$1=class Oo extends O$4{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,al(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$4;let t=this.getSubject();n.add(this.source.subscribe(I$4(t,void 0,()=>{this._teardown(),t.complete();},r=>{this._teardown(),t.error(r);},()=>this._teardown()))),n.closed&&(this._connection=null,n=L$4.EMPTY);}return n}refCount(){return uh()(this)}};var Sr$1={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;let o=n(i=>{t=void 0,e(i);});return new L$4(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Sr$1;return (n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){return (cancelAnimationFrame)(...e)},delegate:void 0};var dh=_r(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed";});var C$7=(()=>{class e extends O$4{constructor(){super(),this.closed=false,this.currentObservers=null,this.observers=[],this.isStopped=false,this.hasError=false,this.thrownError=null;}lift(t){let r=new fs(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new dh}next(t){Er(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t);}});}error(t){Er(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=true,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t);}});}complete(){Er(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=true;let{observers:t}=this;for(;t.length;)t.shift().complete();}});}unsubscribe(){this.isStopped=this.closed=true,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?cl:(this.currentObservers=null,i.push(t),new L$4(()=>{this.currentObservers=null,Rn$1(i,t);}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete();}asObservable(){let t=new O$4;return t.source=this,t}}return e.create=(n,t)=>new fs(n,t),e})(),fs=class extends C$7{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:cl}};var Vn$1=class Vn extends C$7{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 ko$1={now(){return (ko$1.delegate||Date).now()},delegate:void 0};var Po$1=class Po extends C$7{constructor(n=1/0,t=1/0,r=ko$1){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=true,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 ps=class extends L$4{constructor(n,t){super();}schedule(n,t=0){return this}};var Fo$1={setInterval(e,n,...t){let{delegate:r}=Fo$1;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){return (clearInterval)(e)},delegate:void 0};var sn$2=class sn extends ps{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=false;}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=true,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 Fo$1.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===false)return t;t!=null&&Fo$1.clearInterval(t);}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=false;let r=this._execute(n,t);if(r)return r;this.pending===false&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null));}_execute(n,t){let r=false,o;try{this.work(n);}catch(i){r=true,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=false,Rn$1(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe();}}};var AE=1,Il,Cl={};function fh(e){return e in Cl?(delete Cl[e],true):false}var ph={setImmediate(e){let n=AE++;return Cl[n]=true,Il||(Il=Promise.resolve()),Il.then(()=>fh(n)&&e()),n},clearImmediate(e){fh(e);}};var{setImmediate:NE,clearImmediate:RE}=ph,Lo$1={setImmediate(...e){let{delegate:n}=Lo$1;return (n?.setImmediate||NE)(...e)},clearImmediate(e){return (RE)(e)},delegate:void 0};var hs=class extends sn$2{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=Lo$1.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&&(Lo$1.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0));}};var Mr=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)}};Mr.now=ko$1.now;var an$2=class an extends Mr{constructor(n,t=Mr.now){super(n,t),this.actions=[],this._active=false;}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=true;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=false,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var ms=class extends an$2{flush(n){this._active=true;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=false,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var xl=new ms(hs);var jt$3=new an$2(sn$2),hh=jt$3;var gs=class extends sn$2{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=Sr$1.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&&(Sr$1.cancelAnimationFrame(t),n._scheduled=void 0);}};var ys=class extends an$2{flush(n){this._active=true;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=false,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var Tl=new ys(gs);var Hn$1=new O$4(e=>e.complete());function vs(e){return e&&k$2(e.schedule)}function Sl(e){return e[e.length-1]}function bs(e){return k$2(Sl(e))?e.pop():void 0}function _t$5(e){return vs(Sl(e))?e.pop():void 0}function mh(e,n){return typeof Sl(e)=="number"?e.pop():n}function yh(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,[])).next());})}function gh(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 Un$1(e){return this instanceof Un$1?(this.v=e,this):new Un$1(e)}function vh(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(g){return new Promise(function(v,w){i.push([f,g,v,w])>1||c(f,g);})},m&&(o[f]=m(o[f])));}function c(f,m){try{l(r[f](m));}catch(g){h(i[0][3],g);}}function l(f){f.value instanceof Un$1?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 bh(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 gh=="function"?gh(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 _s=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ds(e){return k$2(e?.then)}function Es(e){return k$2(e[Tr])}function ws(e){return Symbol.asyncIterator&&k$2(e?.[Symbol.asyncIterator])}function Is(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 OE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Cs=OE();function xs(e){return k$2(e?.[Cs])}function Ts(e){return vh(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield Un$1(t.read());if(o)return yield Un$1(void 0);yield yield Un$1(r);}}finally{t.releaseLock();}})}function Ss(e){return k$2(e?.getReader)}function W$6(e){if(e instanceof O$4)return e;if(e!=null){if(Es(e))return kE(e);if(_s(e))return PE(e);if(Ds(e))return FE(e);if(ws(e))return _h(e);if(xs(e))return LE(e);if(Ss(e))return jE(e)}throw Is(e)}function kE(e){return new O$4(n=>{let t=e[Tr]();if(k$2(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function PE(e){return new O$4(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete();})}function FE(e){return new O$4(n=>{e.then(t=>{n.closed||(n.next(t),n.complete());},t=>n.error(t)).then(null,ts);})}function LE(e){return new O$4(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete();})}function _h(e){return new O$4(n=>{BE(e,n).catch(t=>n.error(t));})}function jE(e){return _h(Ts(e))}function BE(e,n){var t,r,o,i;return yh(this,void 0,void 0,function*(){try{for(t=bh(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 Te$4(e,n,t,r=0,o=false){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe();},r);if(e.add(i),!o)return i}function Ms(e,n=0){return x$3((t,r)=>{t.subscribe(I$4(r,o=>Te$4(r,e,()=>r.next(o),n),()=>Te$4(r,e,()=>r.complete(),n),o=>Te$4(r,e,()=>r.error(o),n)));})}function As(e,n=0){return x$3((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n));})}function Dh(e,n){return W$6(e).pipe(As(n),Ms(n))}function Eh(e,n){return W$6(e).pipe(As(n),Ms(n))}function wh(e,n){return new O$4(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule());})})}function Ih(e,n){return new O$4(t=>{let r;return Te$4(t,n,()=>{r=e[Cs](),Te$4(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,true);}),()=>k$2(r?.return)&&r.return()})}function Ns(e,n){if(!e)throw new Error("Iterable cannot be null");return new O$4(t=>{Te$4(t,n,()=>{let r=e[Symbol.asyncIterator]();Te$4(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value);});},0,true);});})}function Ch(e,n){return Ns(Ts(e),n)}function xh(e,n){if(e!=null){if(Es(e))return Dh(e,n);if(_s(e))return wh(e,n);if(Ds(e))return Eh(e,n);if(ws(e))return Ns(e,n);if(xs(e))return Ih(e,n);if(Ss(e))return Ch(e,n)}throw Is(e)}function Dt$2(e,n){return n?xh(e,n):W$6(e)}function Se$3(...e){let n=_t$5(e);return Dt$2(e,n)}function VE(e,n){let t=k$2(e)?e:()=>e,r=o=>o.error(t());return new O$4(r)}function Bt$2(e){return !!e&&(e instanceof O$4||k$2(e.lift)&&k$2(e.subscribe))}var jo$1=_r(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence";});function Th(e){return e instanceof Date&&!isNaN(e)}function oe$3(e,n){return x$3((t,r)=>{let o=0;t.subscribe(I$4(r,i=>{r.next(e.call(n,i,o++));}));})}var{isArray:HE}=Array;function UE(e,n){return HE(n)?e(...n):e(n)}function Rs(e){return oe$3(n=>UE(e,n))}var{isArray:$E}=Array,{getPrototypeOf:zE,prototype:WE,keys:GE}=Object;function Os(e){if(e.length===1){let n=e[0];if($E(n))return {args:n,keys:null};if(qE(n)){let t=GE(n);return {args:t.map(r=>n[r]),keys:t}}}return {args:e,keys:null}}function qE(e){return e&&typeof e=="object"&&zE(e)===WE}function ks(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Ml(...e){let n=_t$5(e),t=bs(e),{args:r,keys:o}=Os(e);if(r.length===0)return Dt$2([],n);let i=new O$4(YE(r,n,o?s=>ks(o,s):Oe$3));return t?i.pipe(Rs(t)):i}function YE(e,n,t=Oe$3){return r=>{Sh(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Sh(n,()=>{let l=Dt$2(e[c],n),u=false;l.subscribe(I$4(r,d=>{i[c]=d,u||(u=true,a--),a||r.next(t(i.slice()));},()=>{--s||r.complete();}));},r);},r);}}function Sh(e,n,t){e?Te$4(t,e,n):n();}function Mh(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=false,h=()=>{d&&!c.length&&!l&&n.complete();},f=g=>l<r?m(g):c.push(g),m=g=>{l++;let v=false;W$6(t(g,u++)).subscribe(I$4(n,w=>{n.next(w);},()=>{v=true;},void 0,()=>{if(v)try{for(l--;c.length&&l<r;){let w=c.shift();s?Te$4(n,s,()=>m(w)):m(w);}h();}catch(w){n.error(w);}}));};return e.subscribe(I$4(n,f,()=>{d=true,h();})),()=>{}}function Vt$4(e,n,t=1/0){return k$2(n)?Vt$4((r,o)=>oe$3((i,s)=>n(r,i,o,s))(W$6(e(r,o))),t):(typeof n=="number"&&(t=n),x$3((r,o)=>Mh(r,o,e,t)))}function Bo$1(e=1/0){return Vt$4(Oe$3,e)}function Ah(){return Bo$1(1)}function cn$2(...e){return Ah()(Dt$2(e,_t$5(e)))}function ZE(e){return new O$4(n=>{W$6(e()).subscribe(n);})}function KE(...e){let n=bs(e),{args:t,keys:r}=Os(e),o=new O$4(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=false;W$6(t[u]).subscribe(I$4(i,h=>{d||(d=true,l--),a[u]=h;},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?ks(r,a):a),i.complete());}));}});return n?o.pipe(Rs(n)):o}function $n$1(e=0,n,t=hh){let r=-1;return n!=null&&(vs(n)?t=n:r=n),new O$4(o=>{let i=Th(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 XE(e=0,n=jt$3){return e<0&&(e=0),$n$1(e,e,n)}function QE(...e){let n=_t$5(e),t=mh(e,1/0),r=e;return r.length?r.length===1?W$6(r[0]):Bo$1(t)(Dt$2(r,n)):Hn$1}function Nh(e){return x$3((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(I$4(t,l=>{r=!0,o=l,i||W$6(e(l)).subscribe(i=I$4(t,a,c));},()=>{s=!0,(!r||!i||i.closed)&&t.complete();}));})}function Vo$1(e,n=jt$3){return Nh(()=>$n$1(e,n))}function Rh(e){return x$3((n,t)=>{let r=null,o=!1,i;r=n.subscribe(I$4(t,void 0,void 0,s=>{i=W$6(e(s,Rh(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0;})),o&&(r.unsubscribe(),r=null,i.subscribe(t));})}function Oh(e,n,t,r,o){return (i,s)=>{let a=t,c=n,l=0;i.subscribe(I$4(s,u=>{let d=l++;c=a?e(c,u,d):(a=true,u);},(()=>{a&&s.next(c),s.complete();})));}}function JE(e,n){return x$3(Oh(e,n,arguments.length>=2,!1,!0))}function Al(e,n){return k$2(n)?Vt$4(e,n,1):Vt$4(e,1)}function zn$1(e,n=jt$3){return x$3((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(I$4(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 kh(e){return x$3((n,t)=>{let r=!1;n.subscribe(I$4(t,o=>{r=!0,t.next(o);},()=>{r||t.next(e),t.complete();}));})}function st$7(e){return e<=0?()=>Hn$1:x$3((n,t)=>{let r=0;n.subscribe(I$4(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete());}));})}function Ph(){return x$3((e,n)=>{e.subscribe(I$4(n,On$2));})}function Fh(e){return oe$3(()=>e)}function Nl(e,n){return n?t=>cn$2(n.pipe(st$7(1),Ph()),t.pipe(Nl(e))):Vt$4((t,r)=>W$6(e(t,r)).pipe(st$7(1),Fh(t)))}function ew(e,n=jt$3){let t=$n$1(e,n);return Nl(()=>t)}function Ar(e,n=Oe$3){return e=e??tw,x$3((t,r)=>{let o,i=!0;t.subscribe(I$4(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s));}));})}function tw(e,n){return e===n}function Lh(e=nw){return x$3((n,t)=>{let r=!1;n.subscribe(I$4(t,o=>{r=!0,t.next(o);},()=>r?t.complete():t.error(e())));})}function nw(){return new jo$1}function Rl(e){return x$3((n,t)=>{try{n.subscribe(t);}finally{t.add(e);}})}function rw(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ye$3((o,i)=>e(o,i,r)):Oe$3,st$7(1),t?kh(n):Lh(()=>new jo$1))}function ow(e){return e<=0?()=>Hn$1:x$3((n,t)=>{let r=[];n.subscribe(I$4(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 Ol(){return x$3((e,n)=>{let t,r=!1;e.subscribe(I$4(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0;}));})}function Pl(e={}){let{connector:n=()=>new C$7,resetOnError:t=true,resetOnComplete:r=true,resetOnRefCountZero:o=true}=e;return i=>{let s,a,c,l=0,u=false,d=false,h=()=>{a?.unsubscribe(),a=void 0;},f=()=>{h(),s=c=void 0,u=d=false;},m=()=>{let g=s;f(),g?.unsubscribe();};return x$3((g,v)=>{l++,!d&&!u&&h();let w=c=c??n();v.add(()=>{l--,l===0&&!d&&!u&&(a=kl(m,o));}),w.subscribe(v),!s&&l>0&&(s=new Lt$3({next:H=>w.next(H),error:H=>{d=!0,h(),a=kl(f,t,H),w.error(H);},complete:()=>{u=!0,h(),a=kl(f,r),w.complete();}}),W$6(g).subscribe(s));})(i)}}function kl(e,n,...t){if(n===true){e();return}if(n===false)return;let r=new Lt$3({next:()=>{r.unsubscribe(),e();}});return W$6(n(...t)).subscribe(r)}function Fl(e,n,t){let r,o=false;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=false,scheduler:t}=e:r=e??1/0,Pl({connector:()=>new Po$1(r,n,t),resetOnError:true,resetOnComplete:false,resetOnRefCountZero:o})}function Ho$1(e){return ye$3((n,t)=>e<=t)}function Nr(...e){let n=_t$5(e);return x$3((t,r)=>{(n?cn$2(e,t,n):cn$2(e,t)).subscribe(r);})}function Ps(e,n){return x$3((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(I$4(r,c=>{o?.unsubscribe();let l=0,u=i++;W$6(e(c,u)).subscribe(o=I$4(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a();}));},()=>{s=!0,a();}));})}function Ht$2(e){return x$3((n,t)=>{W$6(e).subscribe(I$4(t,()=>t.complete(),On$2)),!t.closed&&n.subscribe(t);})}function Ll(e,n=false){return x$3((t,r)=>{let o=0;t.subscribe(I$4(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete();}));})}function jl(e,n,t){let r=k$2(e)||n||t?{next:e,error:n,complete:t}:e;return r?x$3((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(I$4(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);}));}):Oe$3}var Us="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b$3=class b extends Error{code;constructor(n,t){super(dn$2(n,t)),this.code=n;}};function iw(e){return `NG0${Math.abs(e)}`}function dn$2(e,n){return `${iw(e)}${n?": "+n:""}`}function U$3(e){for(let n in e)if(e[n]===U$3)return n;throw Error("")}function Uh(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t]);}function qo$1(e){if(typeof e=="string")return e;if(Array.isArray(e))return `[${e.map(qo$1).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 $s(e,n){return e?n?`${e} ${n}`:e:n||""}var sw=U$3({__forward_ref__:U$3});function kr(e){return e.__forward_ref__=kr,e}function de$1(e){return Xl(e)?e():e}function Xl(e){return typeof e=="function"&&e.hasOwnProperty(sw)&&e.__forward_ref__===kr}function F$4(e){return {token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ee$2(e){return {providers:e.providers||[],imports:e.imports||[]}}function Yo(e){return cw(e,zs)}function aw(e){return Yo(e)!==null}function cw(e,n){return e.hasOwnProperty(n)&&e[n]||null}function lw(e){let n=e?.[zs]??null;return n||null}function Vl(e){return e&&e.hasOwnProperty(Ls)?e[Ls]:null}var zs=U$3({\u0275prov:U$3}),Ls=U$3({\u0275inj:U$3}),y$2=class y{_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=F$4({token:this,providedIn:t.providedIn||"root",factory:t.factory}));}get multi(){return this}toString(){return `InjectionToken ${this._desc}`}};function Ql(e){return e&&!!e.\u0275providers}var Jl=U$3({\u0275cmp:U$3}),eu=U$3({\u0275dir:U$3}),tu=U$3({\u0275pipe:U$3}),nu=U$3({\u0275mod:U$3}),$o$1=U$3({\u0275fac:U$3}),Zn$1=U$3({__NG_ELEMENT_ID__:U$3}),jh=U$3({__NG_ENV_ID__:U$3});function $h(e){return Gs(e),e[nu]||null}function zt$3(e){return Gs(e),e[Jl]||null}function Ws(e){return Gs(e),e[eu]||null}function zh(e){return Gs(e),e[tu]||null}function Gs(e,n){if(e==null)throw new b$3(-919,false)}function ke$2(e){return typeof e=="string"?e:e==null?"":String(e)}var Wh=U$3({ngErrorCode:U$3}),uw=U$3({ngErrorMessage:U$3});U$3({ngTokenPath:U$3});function ru(e,n){return Gh("",-200)}function qs(e,n){throw new b$3(-201,false)}function Gh(e,n,t){let r=new b$3(n,e);return r[Wh]=n,r[uw]=e,r}function fw(e){return e[Wh]}var Hl;function qh(){return Hl}function Ee$3(e){let n=Hl;return Hl=e,n}function ou(e,n,t){let r=Yo(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;qs();}var $e$6=globalThis;var pw={},Wn$1=pw,hw="__NG_DI_FLAG__",Ul=class{injector;constructor(n){this.injector=n;}retrieve(n,t){let r=Gn$1(t)||0;try{return this.injector.get(n,r&8?null:Wn$1,r)}catch(o){if(xr(o))return o;throw o}}};function mw(e,n=0){let t=ds();if(t===void 0)throw new b$3(-203,false);if(t===null)return ou(e,void 0,n);{let r=gw(n),o=t.retrieve(e,r);if(xr(o)){if(r.optional)return null;throw o}return o}}function A$2(e,n=0){return (qh()||mw)(de$1(e),n)}function p$2(e,n){return A$2(e,Gn$1(n))}function Gn$1(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function gw(e){return {optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function $l(e){let n=[];for(let t=0;t<e.length;t++){let r=de$1(e[t]);if(Array.isArray(r)){if(r.length===0)throw new b$3(900,false);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=yw(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a;}n.push(A$2(o,i));}else n.push(A$2(r));}return n}function yw(e){return e[hw]}function ln$2(e,n){let t=e.hasOwnProperty($o$1);return t?e[$o$1]:null}function Yh(e,n,t){if(e.length!==n.length)return false;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 false}return true}function Zh(e){return e.flat(Number.POSITIVE_INFINITY)}function Ys(e,n){e.forEach(t=>Array.isArray(t)?Ys(t,n):n(t));}function iu(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t);}function Zo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Kh(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Xh(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 Zs(e,n,t){let r=Pr(e,n);return r>=0?e[r|1]=t:(r=~r,Xh(e,r,n,t)),r}function Ks(e,n){let t=Pr(e,n);if(t>=0)return e[t|1]}function Pr(e,n){return vw(e,n,1)}function vw(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 fn$2={},ve$3=[],Fr=new y$2(""),Ko=new y$2("",-1),su=new y$2(""),Or=class{get(n,t=Wn$1){if(t===Wn$1){let o=Gh("",-201);throw o.name="\u0275NotFound",o}return t}};function Xo(e){return {\u0275providers:e}}function Qh(...e){return {\u0275providers:au(true,e),\u0275fromNgModule:true}}function au(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s);};return Ys(n,s=>{let a=s;js(a,i,[],r)&&(o||=[],o.push(a));}),o!==void 0&&Jh(o,i),t}function Jh(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];cu(o,i=>{n(i,r);});}}function js(e,n,t,r){if(e=de$1(e),!e)return false;let o=null,i=Vl(e),s=!i&&zt$3(e);if(!i&&!s){let c=e.ngModule;if(i=Vl(c),i)o=c;else return false}else {if(s&&!s.standalone)return false;o=e;}let a=r.has(o);if(s){if(a)return false;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)js(l,n,t,r);}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Ys(i.imports,u=>{js(u,n,t,r)&&(l||=[],l.push(u));}),l!==void 0&&Jh(l,n);}if(!a){let l=ln$2(o)||(()=>new o);n({provide:o,useFactory:l,deps:ve$3},o),n({provide:su,useValue:o,multi:true},o),n({provide:Fr,useValue:()=>A$2(o),multi:true},o);}let c=i.providers;if(c!=null&&!a){let l=e;cu(c,u=>{n(u,l);});}}else return false;return o!==e&&e.providers!==void 0}function cu(e,n){for(let t of e)Ql(t)&&(t=t.\u0275providers),Array.isArray(t)?cu(t,n):n(t);}var bw=U$3({provide:String,useValue:U$3});function em(e){return e!==null&&typeof e=="object"&&bw in e}function _w(e){return !!(e&&e.useExisting)}function Dw(e){return !!(e&&e.useFactory)}function qn$1(e){return typeof e=="function"}function tm(e){return !!e.useClass}var Qo=new y$2(""),Fs={},Bh={},Bl;function Lr(){return Bl===void 0&&(Bl=new Or),Bl}var ie$5=class ie{},Yn$1=class Yn extends ie$5{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=false;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Wl(n,s=>this.processProvider(s)),this.records.set(Ko,Rr$1(void 0,this)),o.has("environment")&&this.records.set(ie$5,Rr$1(void 0,this));let i=this.records.get(Qo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(su,ve$3,{self:true}));}retrieve(n,t){let r=Gn$1(t)||0;try{return this.get(n,Wn$1,r)}catch(o){if(xr(o))return o;throw o}}destroy(){Uo$1(this),this._destroyed=true;let n=E$1(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(),E$1(n);}}onDestroy(n){return Uo$1(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Uo$1(this);let t=bt$6(this),r=Ee$3(void 0);try{return n()}finally{bt$6(t),Ee$3(r);}}get(n,t=Wn$1,r){if(Uo$1(this),n.hasOwnProperty(jh))return n[jh](this);let o=Gn$1(r),s=bt$6(this),a=Ee$3(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=xw(n)&&Yo(n);u&&this.injectableDefInScope(u)?l=Rr$1(zl(n),Fs):l=null,this.records.set(n,l);}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Lr():this.parent;return t=o&8&&t===Wn$1?null:t,c.get(n,t)}catch(c){let l=fw(c);throw l===-200||l===-201?new b$3(l,null):c}finally{Ee$3(a),bt$6(s);}}resolveInjectorInitializers(){let n=E$1(null),t=bt$6(this),r=Ee$3(void 0);try{let i=this.get(Fr,ve$3,{self:!0});for(let s of i)s();}finally{bt$6(t),Ee$3(r),E$1(n);}}toString(){return "R3Injector[...]"}processProvider(n){n=de$1(n);let t=qn$1(n)?n:de$1(n&&n.provide),r=ww(n);if(!qn$1(n)&&n.multi===true){let o=this.records.get(t);o||(o=Rr$1(void 0,Fs,true),o.factory=()=>$l(o.multi),this.records.set(t,o)),t=n,o.multi.push(n);}this.records.set(t,r);}hydrate(n,t,r){let o=E$1(null);try{if(t.value===Bh)throw ru("");return t.value===Fs&&(t.value=Bh,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&Cw(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{E$1(o);}}injectableDefInScope(n){if(!n.providedIn)return false;let t=de$1(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 zl(e){let n=Yo(e),t=n!==null?n.factory:ln$2(e);if(t!==null)return t;if(e instanceof y$2)throw new b$3(-204,false);if(e instanceof Function)return Ew(e);throw new b$3(-204,false)}function Ew(e){if(e.length>0)throw new b$3(-204,false);let t=lw(e);return t!==null?()=>t.factory(e):()=>new e}function ww(e){if(em(e))return Rr$1(void 0,e.useValue);{let n=lu(e);return Rr$1(n,Fs)}}function lu(e,n,t){let r;if(qn$1(e)){let o=de$1(e);return ln$2(o)||zl(o)}else if(em(e))r=()=>de$1(e.useValue);else if(Dw(e))r=()=>e.useFactory(...$l(e.deps||[]));else if(_w(e))r=(o,i)=>A$2(de$1(e.useExisting),i!==void 0&&i&8?8:void 0);else {let o=de$1(e&&(e.useClass||e.provide));if(Iw(e))r=()=>new o(...$l(e.deps));else return ln$2(o)||zl(o)}return r}function Uo$1(e){if(e.destroyed)throw new b$3(-205,false)}function Rr$1(e,n,t=false){return {factory:e,value:n,multi:t?[]:void 0}}function Iw(e){return !!e.deps}function Cw(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function xw(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Wl(e,n){for(let t of e)Array.isArray(t)?Wl(t,n):t&&Ql(t)?Wl(t.\u0275providers,n):n(t);}function jr(e,n){let t;e instanceof Yn$1?(Uo$1(e),t=e):t=new Ul(e);let o=bt$6(t),i=Ee$3(void 0);try{return n()}finally{bt$6(o),Ee$3(i);}}function nm(){return qh()!==void 0||ds()!=null}var at$8=0,D$5=1,T$3=2,fe=3,ze$5=4,be$2=5,Kn$1=6,Br=7,se$5=8,It$4=9,ct$7=10,$$5=11,Vr=12,uu=13,pn$1=14,we$1=15,hn$2=16,Xn$1=17,Ct$3=18,xt$3=19,du=20,Ut$3=21,Xs=22,un$2=23,Pe$5=24,Qn$1=25,Tt$2=26,K$6=27,rm=1,fu=6,mn$1=7,Jo=8,Jn$1=9,te$3=10;function Wt$4(e){return Array.isArray(e)&&typeof e[rm]=="object"}function We$3(e){return Array.isArray(e)&&e[rm]===true}function pu(e){return (e.flags&4)!==0}function St$3(e){return e.componentOffset>-1}function Hr(e){return (e.flags&1)===1}function lt$6(e){return !!e.template}function Ur(e){return (e[T$3]&512)!==0}function er$1(e){return (e[T$3]&256)===256}var hu="svg",om="math";function Ge$2(e){for(;Array.isArray(e);)e=e[at$8];return e}function mu(e,n){return Ge$2(n[e])}function Fe$3(e,n){return Ge$2(n[e.index])}function Qs(e,n){return e.data[n]}function Js(e,n){return e[n]}function gu(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r;}function qe$5(e,n){let t=n[e];return Wt$4(t)?t:t[at$8]}function im(e){return (e[T$3]&4)===4}function ea(e){return (e[T$3]&128)===128}function sm(e){return We$3(e[fe])}function Le$5(e,n){return n==null?null:e[n]}function yu(e){e[Xn$1]=0;}function vu(e){e[T$3]&1024||(e[T$3]|=1024,ea(e)&&tr$1(e));}function am(e,n){for(;e>0;)n=n[pn$1],e--;return n}function ei$1(e){return !!(e[T$3]&9216||e[Pe$5]?.dirty)}function ta(e){e[ct$7].changeDetectionScheduler?.notify(8),e[T$3]&64&&(e[T$3]|=1024),ei$1(e)&&tr$1(e);}function tr$1(e){e[ct$7].changeDetectionScheduler?.notify(0);let n=$t$2(e);for(;n!==null&&!(n[T$3]&8192||(n[T$3]|=8192,!ea(n)));)n=$t$2(n);}function na(e,n){if(er$1(e))throw new b$3(911,false);e[Ut$3]===null&&(e[Ut$3]=[]),e[Ut$3].push(n);}function cm(e,n){if(e[Ut$3]===null)return;let t=e[Ut$3].indexOf(n);t!==-1&&e[Ut$3].splice(t,1);}function $t$2(e){let n=e[fe];return We$3(n)?n[fe]:n}function bu(e){return e[Br]??=[]}function _u(e){return e.cleanup??=[]}function lm(e,n,t,r){let o=bu(n);o.push(t),e.firstCreatePass&&_u(e).push(r,o.length-1);}var P$5={lFrame:Em(null),bindingsEnabled:true,skipHydrationRootTNode:null};var Gl=false;function um(){return P$5.lFrame.elementDepthCount}function dm(){P$5.lFrame.elementDepthCount++;}function Du(){P$5.lFrame.elementDepthCount--;}function ra(){return P$5.bindingsEnabled}function Eu(){return P$5.skipHydrationRootTNode!==null}function wu(e){return P$5.skipHydrationRootTNode===e}function Iu(){P$5.skipHydrationRootTNode=null;}function _$2(){return P$5.lFrame.lView}function G$5(){return P$5.lFrame.tView}function fm(e){return P$5.lFrame.contextLView=e,e[se$5]}function pm(e){return P$5.lFrame.contextLView=null,e}function ae$4(){let e=Cu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Cu(){return P$5.lFrame.currentTNode}function hm(){let e=P$5.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function $r(e,n){let t=P$5.lFrame;t.currentTNode=e,t.isParent=n;}function xu(){return P$5.lFrame.isParent}function Tu(){P$5.lFrame.isParent=false;}function mm(){return P$5.lFrame.contextLView}function Su(){return Gl}function zo$1(e){let n=Gl;return Gl=e,n}function ti$1(){let e=P$5.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function oa(){return P$5.lFrame.bindingIndex}function gm(e){return P$5.lFrame.bindingIndex=e}function Gt$3(){return P$5.lFrame.bindingIndex++}function zr(e){let n=P$5.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function ym(){return P$5.lFrame.inI18n}function vm(e,n){let t=P$5.lFrame;t.bindingIndex=t.bindingRootIndex=e,ia(n);}function bm(){return P$5.lFrame.currentDirectiveIndex}function ia(e){P$5.lFrame.currentDirectiveIndex=e;}function _m(e){let n=P$5.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function sa(){return P$5.lFrame.currentQueryIndex}function ni$1(e){P$5.lFrame.currentQueryIndex=e;}function Tw(e){let n=e[D$5];return n.type===2?n.declTNode:n.type===1?e[be$2]:null}function Mu(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=Tw(i),o===null||(i=i[pn$1],o.type&10))break;if(o===null)return false;n=o,e=i;}let r=P$5.lFrame=Dm();return r.currentTNode=n,r.lView=e,true}function aa(e){let n=Dm(),t=e[D$5];P$5.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=false;}function Dm(){let e=P$5.lFrame,n=e===null?null:e.child;return n===null?Em(e):n}function Em(e){let n={currentTNode:null,isParent:true,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:false};return e!==null&&(e.child=n),n}function wm(){let e=P$5.lFrame;return P$5.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Au=wm;function ca(){let e=wm();e.isParent=true,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 Im(e){return (P$5.lFrame.contextLView=am(e,P$5.lFrame.contextLView))[se$5]}function Ye$3(){return P$5.lFrame.selectedIndex}function gn$1(e){P$5.lFrame.selectedIndex=e;}function nr$1(){let e=P$5.lFrame;return Qs(e.tView,e.selectedIndex)}function Cm(){P$5.lFrame.currentNamespace=hu;}function xm(){Sw();}function Sw(){P$5.lFrame.currentNamespace=null;}function Nu(){return P$5.lFrame.currentNamespace}var Tm=true;function la(){return Tm}function ri$1(e){Tm=e;}function ql(e,n=null,t=null,r){let o=Ru(e,n,t);return o.resolveInjectorInitializers(),o}function Ru(e,n=null,t=null,r,o=new Set){let i=[t||ve$3,Qh(e)];return new Yn$1(i,n||Lr(),null,o)}var B$3=class e{static THROW_IF_NOT_FOUND=Wn$1;static NULL=new Or;static create(n,t){if(Array.isArray(n))return ql({name:""},t,n);{let r=n.name??"";return ql({name:r},n.parent,n.providers)}}static \u0275prov=F$4({token:e,providedIn:"any",factory:()=>A$2(Ko)});static __NG_ELEMENT_ID__=-1},R$5=new y$2(""),Ze$5=(()=>{class e{static __NG_ELEMENT_ID__=Mw;static __NG_ENV_ID__=t=>t}return e})(),Bs=class extends Ze$5{_lView;constructor(n){super(),this._lView=n;}get destroyed(){return er$1(this._lView)}onDestroy(n){let t=this._lView;return na(t,n),()=>cm(t,n)}};function Mw(){return new Bs(_$2())}var Sm=false,Mm=new y$2(""),rr$1=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=false;pendingTask=new Vn$1(false);debugTaskTracker=p$2(Mm,{optional:true});get hasPendingTasks(){return this.destroyed?false:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new O$4(t=>{t.next(false),t.complete();}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(true);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(false);}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(false),this.destroyed=true,this.pendingTask.unsubscribe();}static \u0275prov=F$4({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yl=class extends C$7{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=false){super(),this.__isAsync=n,nm()&&(this.destroyRef=p$2(Ze$5,{optional:true})??void 0,this.pendingTasks=p$2(rr$1,{optional:true})??void 0);}emit(n){let t=E$1(null);try{super.next(n);}finally{E$1(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$4&&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$4=Yl;function Vs(...e){}function Ou(e){let n,t;function r(){e=Vs;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n