UNPKG

nestjs-logitron

Version:

Powerful logger module for Nodejs/ Nestjs, seamlessly integrating Pino and Winston for flexible logging with easy configuration.

3 lines 153 kB
var cf=Object.create;var ou=Object.defineProperty;var jo=Object.getOwnPropertyDescriptor;var sf=Object.getOwnPropertyNames;var lf=Object.getPrototypeOf,ff=Object.prototype.hasOwnProperty;var l=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports);var vf=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of sf(t))!ff.call(r,i)&&i!==e&&ou(r,i,{get:()=>t[i],enumerable:!(n=jo(t,i))||n.enumerable});return r};var Ao=(r,t,e)=>(e=r!=null?cf(lf(r)):{},vf(t||!r||!r.__esModule?ou(e,"default",{value:r,enumerable:!0}):e,r));var B=(r,t,e,n)=>{for(var i=n>1?void 0:n?jo(t,e):t,u=r.length-1,o;u>=0;u--)(o=r[u])&&(i=(n?o(t,e,i):o(i))||i);return n&&i&&ou(t,e,i),i},Eo=(r,t)=>(e,n)=>t(e,n,r);var P=l(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.isFunction=void 0;function Ff(r){return typeof r=="function"}Qr.isFunction=Ff});var ue=l(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.createErrorClass=void 0;function Tf(r){var t=function(n){Error.call(n),n.stack=new Error().stack},e=r(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}Jr.createErrorClass=Tf});var au=l(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.UnsubscriptionError=void 0;var Lf=ue();Hr.UnsubscriptionError=Lf.createErrorClass(function(r){return function(e){r(this),this.message=e?e.length+` errors occurred during unsubscription: `+e.map(function(n,i){return i+1+") "+n.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=e}})});var Z=l(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.arrRemove=void 0;function Cf(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}Zr.arrRemove=Cf});var L=l(x=>{"use strict";var To=x&&x.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Lo=x&&x.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},Co=x&&x.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(x,"__esModule",{value:!0});x.isSubscription=x.EMPTY_SUBSCRIPTION=x.Subscription=void 0;var Ar=P(),cu=au(),ko=Z(),su=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,n,i,u;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var c=To(o),f=c.next();!f.done;f=c.next()){var s=f.value;s.remove(this)}}catch(m){t={error:m}}finally{try{f&&!f.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}else o.remove(this);var v=this.initialTeardown;if(Ar.isFunction(v))try{v()}catch(m){u=m instanceof cu.UnsubscriptionError?m.errors:[m]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=To(d),_=p.next();!_.done;_=p.next()){var b=_.value;try{No(b)}catch(m){u=u??[],m instanceof cu.UnsubscriptionError?u=Co(Co([],Lo(u)),Lo(m.errors)):u.push(m)}}}catch(m){n={error:m}}finally{try{_&&!_.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(u)throw new cu.UnsubscriptionError(u)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)No(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&ko.arrRemove(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&ko.arrRemove(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}();x.Subscription=su;x.EMPTY_SUBSCRIPTION=su.EMPTY;function kf(r){return r instanceof su||r&&"closed"in r&&Ar.isFunction(r.remove)&&Ar.isFunction(r.add)&&Ar.isFunction(r.unsubscribe)}x.isSubscription=kf;function No(r){Ar.isFunction(r)?r():r.unsubscribe()}});var Ve=l(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.config=void 0;Xr.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var lu=l(G=>{"use strict";var Ro=G&&G.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},Wo=G&&G.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(G,"__esModule",{value:!0});G.timeoutProvider=void 0;G.timeoutProvider={setTimeout:function(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];var i=G.timeoutProvider.delegate;return i?.setTimeout?i.setTimeout.apply(i,Wo([r,t],Ro(e))):setTimeout.apply(void 0,Wo([r,t],Ro(e)))},clearTimeout:function(r){var t=G.timeoutProvider.delegate;return(t?.clearTimeout||clearTimeout)(r)},delegate:void 0}});var fu=l(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.reportUnhandledError=void 0;var Nf=Ve(),Rf=lu();function Wf(r){Rf.timeoutProvider.setTimeout(function(){var t=Nf.config.onUnhandledError;if(t)t(r);else throw r})}et.reportUnhandledError=Wf});var A=l(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.noop=void 0;function Uf(){}rt.noop=Uf});var Uo=l(K=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});K.createNotification=K.nextNotification=K.errorNotification=K.COMPLETE_NOTIFICATION=void 0;K.COMPLETE_NOTIFICATION=function(){return tt("C",void 0,void 0)}();function Vf(r){return tt("E",void 0,r)}K.errorNotification=Vf;function zf(r){return tt("N",r,void 0)}K.nextNotification=zf;function tt(r,t,e){return{kind:r,value:t,error:e}}K.createNotification=tt});var nt=l(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.captureError=ze.errorContext=void 0;var Vo=Ve(),Me=null;function Df(r){if(Vo.config.useDeprecatedSynchronousErrorHandling){var t=!Me;if(t&&(Me={errorThrown:!1,error:null}),r(),t){var e=Me,n=e.errorThrown,i=e.error;if(Me=null,n)throw i}}else r()}ze.errorContext=Df;function Yf(r){Vo.config.useDeprecatedSynchronousErrorHandling&&Me&&(Me.errorThrown=!0,Me.error=r)}ze.captureError=Yf});var De=l(V=>{"use strict";var Yo=V&&V.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(V,"__esModule",{value:!0});V.EMPTY_OBSERVER=V.SafeSubscriber=V.Subscriber=void 0;var Bf=P(),zo=L(),bu=Ve(),Gf=fu(),Do=A(),vu=Uo(),Kf=lu(),$f=nt(),Bo=function(r){Yo(t,r);function t(e){var n=r.call(this)||this;return n.isStopped=!1,e?(n.destination=e,zo.isSubscription(e)&&e.add(n)):n.destination=V.EMPTY_OBSERVER,n}return t.create=function(e,n,i){return new Go(e,n,i)},t.prototype.next=function(e){this.isStopped?pu(vu.nextNotification(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?pu(vu.errorNotification(e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?pu(vu.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(zo.Subscription);V.Subscriber=Bo;var Qf=Function.prototype.bind;function du(r,t){return Qf.call(r,t)}var Jf=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(n){it(n)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(n){it(n)}else it(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){it(e)}},r}(),Go=function(r){Yo(t,r);function t(e,n,i){var u=r.call(this)||this,o;if(Bf.isFunction(e)||!e)o={next:e??void 0,error:n??void 0,complete:i??void 0};else{var c;u&&bu.config.useDeprecatedNextContext?(c=Object.create(e),c.unsubscribe=function(){return u.unsubscribe()},o={next:e.next&&du(e.next,c),error:e.error&&du(e.error,c),complete:e.complete&&du(e.complete,c)}):o=e}return u.destination=new Jf(o),u}return t}(Bo);V.SafeSubscriber=Go;function it(r){bu.config.useDeprecatedSynchronousErrorHandling?$f.captureError(r):Gf.reportUnhandledError(r)}function Hf(r){throw r}function pu(r,t){var e=bu.config.onStoppedNotification;e&&Kf.timeoutProvider.setTimeout(function(){return e(r,t)})}V.EMPTY_OBSERVER={closed:!0,next:Do.noop,error:Hf,complete:Do.noop}});var Er=l(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.observable=void 0;ut.observable=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}()});var E=l(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.identity=void 0;function Zf(r){return r}ot.identity=Zf});var Mr=l(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.pipeFromArray=Ye.pipe=void 0;var Xf=E();function ev(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return Ko(r)}Ye.pipe=ev;function Ko(r){return r.length===0?Xf.identity:r.length===1?r[0]:function(e){return r.reduce(function(n,i){return i(n)},e)}}Ye.pipeFromArray=Ko});var w=l(at=>{"use strict";Object.defineProperty(at,"__esModule",{value:!0});at.Observable=void 0;var hu=De(),rv=L(),tv=Er(),nv=Mr(),iv=Ve(),mu=P(),uv=nt(),ov=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,n){var i=this,u=cv(t)?t:new hu.SafeSubscriber(t,e,n);return uv.errorContext(function(){var o=i,c=o.operator,f=o.source;u.add(c?c.call(u,f):f?i._subscribe(u):i._trySubscribe(u))}),u},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var n=this;return e=$o(e),new e(function(i,u){var o=new hu.SafeSubscriber({next:function(c){try{t(c)}catch(f){u(f),o.unsubscribe()}},error:u,complete:i});n.subscribe(o)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[tv.observable]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return nv.pipeFromArray(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=$o(t),new t(function(n,i){var u;e.subscribe(function(o){return u=o},function(o){return i(o)},function(){return n(u)})})},r.create=function(t){return new r(t)},r}();at.Observable=ov;function $o(r){var t;return(t=r??iv.config.Promise)!==null&&t!==void 0?t:Promise}function av(r){return r&&mu.isFunction(r.next)&&mu.isFunction(r.error)&&mu.isFunction(r.complete)}function cv(r){return r&&r instanceof hu.Subscriber||av(r)&&rv.isSubscription(r)}});var h=l(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.operate=Be.hasLift=void 0;var sv=P();function Qo(r){return sv.isFunction(r?.lift)}Be.hasLift=Qo;function lv(r){return function(t){if(Qo(t))return t.lift(function(e){try{return r(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}Be.operate=lv});var g=l(oe=>{"use strict";var fv=oe&&oe.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(oe,"__esModule",{value:!0});oe.OperatorSubscriber=oe.createOperatorSubscriber=void 0;var vv=De();function dv(r,t,e,n,i){return new Jo(r,t,e,n,i)}oe.createOperatorSubscriber=dv;var Jo=function(r){fv(t,r);function t(e,n,i,u,o,c){var f=r.call(this,e)||this;return f.onFinalize=o,f.shouldUnsubscribe=c,f._next=n?function(s){try{n(s)}catch(v){e.error(v)}}:r.prototype._next,f._error=u?function(s){try{u(s)}catch(v){e.error(v)}finally{this.unsubscribe()}}:r.prototype._error,f._complete=i?function(){try{i()}catch(s){e.error(s)}finally{this.unsubscribe()}}:r.prototype._complete,f}return t.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;r.prototype.unsubscribe.call(this),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},t}(vv.Subscriber);oe.OperatorSubscriber=Jo});var _u=l(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.refCount=void 0;var pv=h(),bv=g();function mv(){return pv.operate(function(r,t){var e=null;r._refCount++;var n=bv.createOperatorSubscriber(t,void 0,void 0,void 0,function(){if(!r||r._refCount<=0||0<--r._refCount){e=null;return}var i=r._connection,u=e;e=null,i&&(!u||i===u)&&i.unsubscribe(),t.unsubscribe()});r.subscribe(n),n.closed||(e=r.connect())})}ct.refCount=mv});var Ir=l(Ge=>{"use strict";var hv=Ge&&Ge.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Ge,"__esModule",{value:!0});Ge.ConnectableObservable=void 0;var _v=w(),Ho=L(),yv=_u(),gv=g(),Ov=h(),qv=function(r){hv(t,r);function t(e,n){var i=r.call(this)||this;return i.source=e,i.subjectFactory=n,i._subject=null,i._refCount=0,i._connection=null,Ov.hasLift(e)&&(i.lift=e.lift),i}return t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,e?.unsubscribe()},t.prototype.connect=function(){var e=this,n=this._connection;if(!n){n=this._connection=new Ho.Subscription;var i=this.getSubject();n.add(this.source.subscribe(gv.createOperatorSubscriber(i,void 0,function(){e._teardown(),i.complete()},function(u){e._teardown(),i.error(u)},function(){return e._teardown()}))),n.closed&&(this._connection=null,n=Ho.Subscription.EMPTY)}return n},t.prototype.refCount=function(){return yv.refCount()(this)},t}(_v.Observable);Ge.ConnectableObservable=qv});var Zo=l(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});xr.performanceTimestampProvider=void 0;xr.performanceTimestampProvider={now:function(){return(xr.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}});var yu=l(z=>{"use strict";var Xo=z&&z.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},ea=z&&z.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(z,"__esModule",{value:!0});z.animationFrameProvider=void 0;var Sv=L();z.animationFrameProvider={schedule:function(r){var t=requestAnimationFrame,e=cancelAnimationFrame,n=z.animationFrameProvider.delegate;n&&(t=n.requestAnimationFrame,e=n.cancelAnimationFrame);var i=t(function(u){e=void 0,r(u)});return new Sv.Subscription(function(){return e?.(i)})},requestAnimationFrame:function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e=z.animationFrameProvider.delegate;return(e?.requestAnimationFrame||requestAnimationFrame).apply(void 0,ea([],Xo(r)))},cancelAnimationFrame:function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e=z.animationFrameProvider.delegate;return(e?.cancelAnimationFrame||cancelAnimationFrame).apply(void 0,ea([],Xo(r)))},delegate:void 0}});var na=l(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});st.animationFrames=void 0;var Pv=w(),wv=Zo(),ra=yu();function jv(r){return r?ta(r):Av}st.animationFrames=jv;function ta(r){return new Pv.Observable(function(t){var e=r||wv.performanceTimestampProvider,n=e.now(),i=0,u=function(){t.closed||(i=ra.animationFrameProvider.requestAnimationFrame(function(o){i=0;var c=e.now();t.next({timestamp:r?c:o,elapsed:c-n}),u()}))};return u(),function(){i&&ra.animationFrameProvider.cancelAnimationFrame(i)}})}var Av=ta()});var gu=l(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt.ObjectUnsubscribedError=void 0;var Ev=ue();lt.ObjectUnsubscribedError=Ev.createErrorClass(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})});var M=l($=>{"use strict";var ua=$&&$.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Mv=$&&$.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty($,"__esModule",{value:!0});$.AnonymousSubject=$.Subject=void 0;var ia=w(),qu=L(),Iv=gu(),xv=Z(),Ou=nt(),oa=function(r){ua(t,r);function t(){var e=r.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var n=new Su(this,this);return n.operator=e,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Iv.ObjectUnsubscribedError},t.prototype.next=function(e){var n=this;Ou.errorContext(function(){var i,u;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Mv(n.currentObservers),c=o.next();!c.done;c=o.next()){var f=c.value;f.next(e)}}catch(s){i={error:s}}finally{try{c&&!c.done&&(u=o.return)&&u.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(e){var n=this;Ou.errorContext(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var i=n.observers;i.length;)i.shift().error(e)}})},t.prototype.complete=function(){var e=this;Ou.errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var n=this,i=this,u=i.hasError,o=i.isStopped,c=i.observers;return u||o?qu.EMPTY_SUBSCRIPTION:(this.currentObservers=null,c.push(e),new qu.Subscription(function(){n.currentObservers=null,xv.arrRemove(c,e)}))},t.prototype._checkFinalizedStatuses=function(e){var n=this,i=n.hasError,u=n.thrownError,o=n.isStopped;i?e.error(u):o&&e.complete()},t.prototype.asObservable=function(){var e=new ia.Observable;return e.source=this,e},t.create=function(e,n){return new Su(e,n)},t}(ia.Observable);$.Subject=oa;var Su=function(r){ua(t,r);function t(e,n){var i=r.call(this)||this;return i.destination=e,i.source=n,i}return t.prototype.next=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,e)},t.prototype.error=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,e)},t.prototype.complete=function(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)},t.prototype._subscribe=function(e){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&i!==void 0?i:qu.EMPTY_SUBSCRIPTION},t}(oa);$.AnonymousSubject=Su});var Pu=l(Ke=>{"use strict";var Fv=Ke&&Ke.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Ke,"__esModule",{value:!0});Ke.BehaviorSubject=void 0;var Tv=M(),Lv=function(r){Fv(t,r);function t(e){var n=r.call(this)||this;return n._value=e,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(e){var n=r.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},t.prototype.getValue=function(){var e=this,n=e.hasError,i=e.thrownError,u=e._value;if(n)throw i;return this._throwIfClosed(),u},t.prototype.next=function(e){r.prototype.next.call(this,this._value=e)},t}(Tv.Subject);Ke.BehaviorSubject=Lv});var ft=l(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.dateTimestampProvider=void 0;Fr.dateTimestampProvider={now:function(){return(Fr.dateTimestampProvider.delegate||Date).now()},delegate:void 0}});var vt=l($e=>{"use strict";var Cv=$e&&$e.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty($e,"__esModule",{value:!0});$e.ReplaySubject=void 0;var kv=M(),Nv=ft(),Rv=function(r){Cv(t,r);function t(e,n,i){e===void 0&&(e=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Nv.dateTimestampProvider);var u=r.call(this)||this;return u._bufferSize=e,u._windowTime=n,u._timestampProvider=i,u._buffer=[],u._infiniteTimeWindow=!0,u._infiniteTimeWindow=n===1/0,u._bufferSize=Math.max(1,e),u._windowTime=Math.max(1,n),u}return t.prototype.next=function(e){var n=this,i=n.isStopped,u=n._buffer,o=n._infiniteTimeWindow,c=n._timestampProvider,f=n._windowTime;i||(u.push(e),!o&&u.push(c.now()+f)),this._trimBuffer(),r.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(e),i=this,u=i._infiniteTimeWindow,o=i._buffer,c=o.slice(),f=0;f<c.length&&!e.closed;f+=u?1:2)e.next(c[f]);return this._checkFinalizedStatuses(e),n},t.prototype._trimBuffer=function(){var e=this,n=e._bufferSize,i=e._timestampProvider,u=e._buffer,o=e._infiniteTimeWindow,c=(o?1:2)*n;if(n<1/0&&c<u.length&&u.splice(0,u.length-c),!o){for(var f=i.now(),s=0,v=1;v<u.length&&u[v]<=f;v+=2)s=v;s&&u.splice(0,s+1)}},t}(kv.Subject);$e.ReplaySubject=Rv});var dt=l(Qe=>{"use strict";var Wv=Qe&&Qe.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Qe,"__esModule",{value:!0});Qe.AsyncSubject=void 0;var Uv=M(),Vv=function(r){Wv(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return t.prototype._checkFinalizedStatuses=function(e){var n=this,i=n.hasError,u=n._hasValue,o=n._value,c=n.thrownError,f=n.isStopped,s=n._isComplete;i?e.error(c):(f||s)&&(u&&e.next(o),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var e=this,n=e._hasValue,i=e._value,u=e._isComplete;u||(this._isComplete=!0,n&&r.prototype.next.call(this,i),r.prototype.complete.call(this))},t}(Uv.Subject);Qe.AsyncSubject=Vv});var aa=l(Je=>{"use strict";var zv=Je&&Je.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Je,"__esModule",{value:!0});Je.Action=void 0;var Dv=L(),Yv=function(r){zv(t,r);function t(e,n){return r.call(this)||this}return t.prototype.schedule=function(e,n){return n===void 0&&(n=0),this},t}(Dv.Subscription);Je.Action=Yv});var la=l(Q=>{"use strict";var ca=Q&&Q.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},sa=Q&&Q.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(Q,"__esModule",{value:!0});Q.intervalProvider=void 0;Q.intervalProvider={setInterval:function(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];var i=Q.intervalProvider.delegate;return i?.setInterval?i.setInterval.apply(i,sa([r,t],ca(e))):setInterval.apply(void 0,sa([r,t],ca(e)))},clearInterval:function(r){var t=Q.intervalProvider.delegate;return(t?.clearInterval||clearInterval)(r)},delegate:void 0}});var Ze=l(He=>{"use strict";var Bv=He&&He.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(He,"__esModule",{value:!0});He.AsyncAction=void 0;var Gv=aa(),fa=la(),Kv=Z(),$v=function(r){Bv(t,r);function t(e,n){var i=r.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return t.prototype.schedule=function(e,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=e;var u=this.id,o=this.scheduler;return u!=null&&(this.id=this.recycleAsyncId(o,u,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,n),this},t.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),fa.intervalProvider.setInterval(e.flush.bind(e,this),i)},t.prototype.recycleAsyncId=function(e,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&fa.intervalProvider.clearInterval(n)},t.prototype.execute=function(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,n){var i=!1,u;try{this.work(e)}catch(o){i=!0,u=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),u},t.prototype.unsubscribe=function(){if(!this.closed){var e=this,n=e.id,i=e.scheduler,u=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Kv.arrRemove(u,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,r.prototype.unsubscribe.call(this)}},t}(Gv.Action);He.AsyncAction=$v});var da=l(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.TestTools=Xe.Immediate=void 0;var Qv=1,wu,pt={};function va(r){return r in pt?(delete pt[r],!0):!1}Xe.Immediate={setImmediate:function(r){var t=Qv++;return pt[t]=!0,wu||(wu=Promise.resolve()),wu.then(function(){return va(t)&&r()}),t},clearImmediate:function(r){va(r)}};Xe.TestTools={pending:function(){return Object.keys(pt).length}}});var ba=l(J=>{"use strict";var Jv=J&&J.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},Hv=J&&J.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(J,"__esModule",{value:!0});J.immediateProvider=void 0;var pa=da(),Zv=pa.Immediate.setImmediate,Xv=pa.Immediate.clearImmediate;J.immediateProvider={setImmediate:function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e=J.immediateProvider.delegate;return(e?.setImmediate||Zv).apply(void 0,Hv([],Jv(r)))},clearImmediate:function(r){var t=J.immediateProvider.delegate;return(t?.clearImmediate||Xv)(r)},delegate:void 0}});var ha=l(er=>{"use strict";var ed=er&&er.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(er,"__esModule",{value:!0});er.AsapAction=void 0;var rd=Ze(),ma=ba(),td=function(r){ed(t,r);function t(e,n){var i=r.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return t.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),i!==null&&i>0?r.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e._scheduled||(e._scheduled=ma.immediateProvider.setImmediate(e.flush.bind(e,void 0))))},t.prototype.recycleAsyncId=function(e,n,i){var u;if(i===void 0&&(i=0),i!=null?i>0:this.delay>0)return r.prototype.recycleAsyncId.call(this,e,n,i);var o=e.actions;n!=null&&((u=o[o.length-1])===null||u===void 0?void 0:u.id)!==n&&(ma.immediateProvider.clearImmediate(n),e._scheduled===n&&(e._scheduled=void 0))},t}(rd.AsyncAction);er.AsapAction=td});var ju=l(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.Scheduler=void 0;var nd=ft(),id=function(){function r(t,e){e===void 0&&(e=r.now),this.schedulerActionCtor=t,this.now=e}return r.prototype.schedule=function(t,e,n){return e===void 0&&(e=0),new this.schedulerActionCtor(this,t).schedule(n,e)},r.now=nd.dateTimestampProvider.now,r}();bt.Scheduler=id});var tr=l(rr=>{"use strict";var ud=rr&&rr.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(rr,"__esModule",{value:!0});rr.AsyncScheduler=void 0;var _a=ju(),od=function(r){ud(t,r);function t(e,n){n===void 0&&(n=_a.Scheduler.now);var i=r.call(this,e,n)||this;return i.actions=[],i._active=!1,i}return t.prototype.flush=function(e){var n=this.actions;if(this._active){n.push(e);return}var i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,i){for(;e=n.shift();)e.unsubscribe();throw i}},t}(_a.Scheduler);rr.AsyncScheduler=od});var ya=l(nr=>{"use strict";var ad=nr&&nr.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(nr,"__esModule",{value:!0});nr.AsapScheduler=void 0;var cd=tr(),sd=function(r){ad(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.flush=function(e){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var i=this.actions,u;e=e||i.shift();do if(u=e.execute(e.state,e.delay))break;while((e=i[0])&&e.id===n&&i.shift());if(this._active=!1,u){for(;(e=i[0])&&e.id===n&&i.shift();)e.unsubscribe();throw u}},t}(cd.AsyncScheduler);nr.AsapScheduler=sd});var ga=l(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.asap=Ie.asapScheduler=void 0;var ld=ha(),fd=ya();Ie.asapScheduler=new fd.AsapScheduler(ld.AsapAction);Ie.asap=Ie.asapScheduler});var F=l(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.async=xe.asyncScheduler=void 0;var vd=Ze(),dd=tr();xe.asyncScheduler=new dd.AsyncScheduler(vd.AsyncAction);xe.async=xe.asyncScheduler});var Oa=l(ir=>{"use strict";var pd=ir&&ir.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ir,"__esModule",{value:!0});ir.QueueAction=void 0;var bd=Ze(),md=function(r){pd(t,r);function t(e,n){var i=r.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return t.prototype.schedule=function(e,n){return n===void 0&&(n=0),n>0?r.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},t.prototype.execute=function(e,n){return n>0||this.closed?r.prototype.execute.call(this,e,n):this._execute(e,n)},t.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),i!=null&&i>0||i==null&&this.delay>0?r.prototype.requestAsyncId.call(this,e,n,i):(e.flush(this),0)},t}(bd.AsyncAction);ir.QueueAction=md});var qa=l(ur=>{"use strict";var hd=ur&&ur.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ur,"__esModule",{value:!0});ur.QueueScheduler=void 0;var _d=tr(),yd=function(r){hd(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t}(_d.AsyncScheduler);ur.QueueScheduler=yd});var Sa=l(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.queue=Fe.queueScheduler=void 0;var gd=Oa(),Od=qa();Fe.queueScheduler=new Od.QueueScheduler(gd.QueueAction);Fe.queue=Fe.queueScheduler});var wa=l(or=>{"use strict";var qd=or&&or.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(or,"__esModule",{value:!0});or.AnimationFrameAction=void 0;var Sd=Ze(),Pa=yu(),Pd=function(r){qd(t,r);function t(e,n){var i=r.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return t.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),i!==null&&i>0?r.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e._scheduled||(e._scheduled=Pa.animationFrameProvider.requestAnimationFrame(function(){return e.flush(void 0)})))},t.prototype.recycleAsyncId=function(e,n,i){var u;if(i===void 0&&(i=0),i!=null?i>0:this.delay>0)return r.prototype.recycleAsyncId.call(this,e,n,i);var o=e.actions;n!=null&&n===e._scheduled&&((u=o[o.length-1])===null||u===void 0?void 0:u.id)!==n&&(Pa.animationFrameProvider.cancelAnimationFrame(n),e._scheduled=void 0)},t}(Sd.AsyncAction);or.AnimationFrameAction=Pd});var ja=l(ar=>{"use strict";var wd=ar&&ar.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ar,"__esModule",{value:!0});ar.AnimationFrameScheduler=void 0;var jd=tr(),Ad=function(r){wd(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.flush=function(e){this._active=!0;var n;e?n=e.id:(n=this._scheduled,this._scheduled=void 0);var i=this.actions,u;e=e||i.shift();do if(u=e.execute(e.state,e.delay))break;while((e=i[0])&&e.id===n&&i.shift());if(this._active=!1,u){for(;(e=i[0])&&e.id===n&&i.shift();)e.unsubscribe();throw u}},t}(jd.AsyncScheduler);ar.AnimationFrameScheduler=Ad});var Aa=l(Te=>{"use strict";Object.defineProperty(Te,"__esModule",{value:!0});Te.animationFrame=Te.animationFrameScheduler=void 0;var Ed=wa(),Md=ja();Te.animationFrameScheduler=new Md.AnimationFrameScheduler(Ed.AnimationFrameAction);Te.animationFrame=Te.animationFrameScheduler});var Ia=l(ae=>{"use strict";var Ea=ae&&ae.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ae,"__esModule",{value:!0});ae.VirtualAction=ae.VirtualTimeScheduler=void 0;var Id=Ze(),xd=L(),Fd=tr(),Td=function(r){Ea(t,r);function t(e,n){e===void 0&&(e=Ma),n===void 0&&(n=1/0);var i=r.call(this,e,function(){return i.frame})||this;return i.maxFrames=n,i.frame=0,i.index=-1,i}return t.prototype.flush=function(){for(var e=this,n=e.actions,i=e.maxFrames,u,o;(o=n[0])&&o.delay<=i&&(n.shift(),this.frame=o.delay,!(u=o.execute(o.state,o.delay))););if(u){for(;o=n.shift();)o.unsubscribe();throw u}},t.frameTimeFactor=10,t}(Fd.AsyncScheduler);ae.VirtualTimeScheduler=Td;var Ma=function(r){Ea(t,r);function t(e,n,i){i===void 0&&(i=e.index+=1);var u=r.call(this,e,n)||this;return u.scheduler=e,u.work=n,u.index=i,u.active=!0,u.index=e.index=i,u}return t.prototype.schedule=function(e,n){if(n===void 0&&(n=0),Number.isFinite(n)){if(!this.id)return r.prototype.schedule.call(this,e,n);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(e,n)}else return xd.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,n,i){i===void 0&&(i=0),this.delay=e.frame+i;var u=e.actions;return u.push(this),u.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(e,n,i){i===void 0&&(i=0)},t.prototype._execute=function(e,n){if(this.active===!0)return r.prototype._execute.call(this,e,n)},t.sortActions=function(e,n){return e.delay===n.delay?e.index===n.index?0:e.index>n.index?1:-1:e.delay>n.delay?1:-1},t}(Id.AsyncAction);ae.VirtualAction=Ma});var D=l(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.empty=Le.EMPTY=void 0;var xa=w();Le.EMPTY=new xa.Observable(function(r){return r.complete()});function Ld(r){return r?Cd(r):Le.EMPTY}Le.empty=Ld;function Cd(r){return new xa.Observable(function(t){return r.schedule(function(){return t.complete()})})}});var Tr=l(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.isScheduler=void 0;var kd=P();function Nd(r){return r&&kd.isFunction(r.schedule)}mt.isScheduler=Nd});var T=l(ce=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0});ce.popNumber=ce.popScheduler=ce.popResultSelector=void 0;var Rd=P(),Wd=Tr();function Au(r){return r[r.length-1]}function Ud(r){return Rd.isFunction(Au(r))?r.pop():void 0}ce.popResultSelector=Ud;function Vd(r){return Wd.isScheduler(Au(r))?r.pop():void 0}ce.popScheduler=Vd;function zd(r,t){return typeof Au(r)=="number"?r.pop():t}ce.popNumber=zd});var _t=l(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.isArrayLike=void 0;ht.isArrayLike=function(r){return r&&typeof r.length=="number"&&typeof r!="function"}});var Eu=l(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.isPromise=void 0;var Dd=P();function Yd(r){return Dd.isFunction(r?.then)}yt.isPromise=Yd});var Mu=l(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.isInteropObservable=void 0;var Bd=Er(),Gd=P();function Kd(r){return Gd.isFunction(r[Bd.observable])}gt.isInteropObservable=Kd});var Iu=l(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.isAsyncIterable=void 0;var $d=P();function Qd(r){return Symbol.asyncIterator&&$d.isFunction(r?.[Symbol.asyncIterator])}Ot.isAsyncIterable=Qd});var xu=l(qt=>{"use strict";Object.defineProperty(qt,"__esModule",{value:!0});qt.createInvalidObservableTypeError=void 0;function Jd(r){return new TypeError("You provided "+(r!==null&&typeof r=="object"?"an invalid object":"'"+r+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}qt.createInvalidObservableTypeError=Jd});var Fu=l(cr=>{"use strict";Object.defineProperty(cr,"__esModule",{value:!0});cr.iterator=cr.getSymbolIterator=void 0;function Fa(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}cr.getSymbolIterator=Fa;cr.iterator=Fa()});var Tu=l(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.isIterable=void 0;var Hd=Fu(),Zd=P();function Xd(r){return Zd.isFunction(r?.[Hd.iterator])}St.isIterable=Xd});var Pt=l(R=>{"use strict";var ep=R&&R.__generator||function(r,t){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},n,i,u,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(s){return function(v){return f([s,v])}}function f(s){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,i=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(u=e.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){e.label=s[1];break}if(s[0]===6&&e.label<u[1]){e.label=u[1],u=s;break}if(u&&e.label<u[2]){e.label=u[2],e.ops.push(s);break}u[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(r,e)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},sr=R&&R.__await||function(r){return this instanceof sr?(this.v=r,this):new sr(r)},rp=R&&R.__asyncGenerator||function(r,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(r,t||[]),i,u=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(p){n[p]&&(i[p]=function(_){return new Promise(function(b,m){u.push([p,_,b,m])>1||c(p,_)})})}function c(p,_){try{f(n[p](_))}catch(b){d(u[0][3],b)}}function f(p){p.value instanceof sr?Promise.resolve(p.value.v).then(s,v):d(u[0][2],p)}function s(p){c("next",p)}function v(p){c("throw",p)}function d(p,_){p(_),u.shift(),u.length&&c(u[0][0],u[0][1])}};Object.defineProperty(R,"__esModule",{value:!0});R.isReadableStreamLike=R.readableStreamLikeToAsyncGenerator=void 0;var tp=P();function np(r){return rp(this,arguments,function(){var e,n,i,u;return ep(this,function(o){switch(o.label){case 0:e=r.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,sr(e.read())];case 3:return n=o.sent(),i=n.value,u=n.done,u?[4,sr(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,sr(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}R.readableStreamLikeToAsyncGenerator=np;function ip(r){return tp.isFunction(r?.getReader)}R.isReadableStreamLike=ip});var q=l(j=>{"use strict";var up=j&&j.__awaiter||function(r,t,e,n){function i(u){return u instanceof e?u:new e(function(o){o(u)})}return new(e||(e=Promise))(function(u,o){function c(v){try{s(n.next(v))}catch(d){o(d)}}function f(v){try{s(n.throw(v))}catch(d){o(d)}}function s(v){v.done?u(v.value):i(v.value).then(c,f)}s((n=n.apply(r,t||[])).next())})},op=j&&j.__generator||function(r,t){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},n,i,u,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(s){return function(v){return f([s,v])}}function f(s){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,i=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(u=e.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){e.label=s[1];break}if(s[0]===6&&e.label<u[1]){e.label=u[1],u=s;break}if(u&&e.label<u[2]){e.label=u[2],e.ops.push(s);break}u[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(r,e)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},ap=j&&j.__asyncValues||function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r[Symbol.asyncIterator],e;return t?t.call(r):(r=typeof Lu=="function"?Lu(r):r[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(u){e[u]=r[u]&&function(o){return new Promise(function(c,f){o=r[u](o),i(c,f,o.done,o.value)})}}function i(u,o,c,f){Promise.resolve(f).then(function(s){u({value:s,done:c})},o)}},Lu=j&&j.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(j,"__esModule",{value:!0});j.fromReadableStreamLike=j.fromAsyncIterable=j.fromIterable=j.fromPromise=j.fromArrayLike=j.fromInteropObservable=j.innerFrom=void 0;var cp=_t(),sp=Eu(),lr=w(),lp=Mu(),fp=Iu(),vp=xu(),dp=Tu(),Ta=Pt(),pp=P(),bp=fu(),mp=Er();function hp(r){if(r instanceof lr.Observable)