UNPKG

arsam

Version:

Arsam Sarabi's portfolio in an interactive terminal dist

5 lines 1.03 MB
#!/usr/bin/env node "use strict";var DI=Object.create;var lp=Object.defineProperty;var vI=Object.getOwnPropertyDescriptor;var bI=Object.getOwnPropertyNames;var gI=Object.getPrototypeOf,mI=Object.prototype.hasOwnProperty;var _I=(e,r,t)=>r in e?lp(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var x=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var EI=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of bI(r))!mI.call(e,i)&&i!==t&&lp(e,i,{get:()=>r[i],enumerable:!(n=vI(r,i))||n.enumerable});return e};var ne=(e,r,t)=>(t=e!=null?DI(gI(e)):{},EI(r||!e||!e.__esModule?lp(t,"default",{value:e,enumerable:!0}):t,e));var ug=(e,r,t)=>(_I(e,typeof r!="symbol"?r+"":r,t),t),og=(e,r,t)=>{if(!r.has(e))throw TypeError("Cannot "+t)};var K=(e,r,t)=>(og(e,r,"read from private field"),t?t.call(e):r.get(e)),ur=(e,r,t)=>{if(r.has(e))throw TypeError("Cannot add the same private member more than once");r instanceof WeakSet?r.add(e):r.set(e,t)},Ee=(e,r,t,n)=>(og(e,r,"write to private field"),n?n.call(e,t):r.set(e,t),t),Pa=(e,r,t,n)=>({set _(i){Ee(e,r,i,t)},get _(){return K(e,r,n)}});var lg=x((The,sg)=>{var ag=require("assert");sg.exports=function(r){typeof r=="boolean"&&(r={fullClear:r}),r=r||{},ag(typeof r=="object","opts must be an object"),r.fullClear=r.hasOwnProperty("fullClear")?r.fullClear:!0,ag(typeof r.fullClear=="boolean","opts.fullClear must be a boolean"),r.fullClear===!0&&process.stdout.write("\x1B[2J"),process.stdout.write("\x1B[0f")}});var wg=x((Yhe,Dp)=>{"use strict";var Cg=(e,r)=>{for(let t of Reflect.ownKeys(r))Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t));return e};Dp.exports=Cg;Dp.exports.default=Cg});var Sg=x((Zhe,el)=>{"use strict";var NI=wg(),Js=new WeakMap,Ag=(e,r={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let t,n=0,i=e.displayName||e.name||"<anonymous>",o=function(...s){if(Js.set(o,++n),n===1)t=e.apply(this,s),e=null;else if(r.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return t};return NI(o,e),Js.set(o,n),o};el.exports=Ag;el.exports.default=Ag;el.exports.callCount=e=>{if(!Js.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Js.get(e)}});var Og=x((Xhe,rl)=>{rl.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&rl.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&rl.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Pg=x((Qhe,Gu)=>{var Ve=global.process,Hi=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};Hi(Ve)?(Bg=require("assert"),Uu=Og(),qg=/^win/i.test(Ve.platform),ja=require("events"),typeof ja!="function"&&(ja=ja.EventEmitter),Ve.__signal_exit_emitter__?Dr=Ve.__signal_exit_emitter__:(Dr=Ve.__signal_exit_emitter__=new ja,Dr.count=0,Dr.emitted={}),Dr.infinite||(Dr.setMaxListeners(1/0),Dr.infinite=!0),Gu.exports=function(e,r){if(!Hi(global.process))return function(){};Bg.equal(typeof e,"function","a callback must be provided for exit handler"),Wu===!1&&vp();var t="exit";r&&r.alwaysLast&&(t="afterexit");var n=function(){Dr.removeListener(t,e),Dr.listeners("exit").length===0&&Dr.listeners("afterexit").length===0&&tl()};return Dr.on(t,e),n},tl=function(){!Wu||!Hi(global.process)||(Wu=!1,Uu.forEach(function(r){try{Ve.removeListener(r,nl[r])}catch{}}),Ve.emit=il,Ve.reallyExit=bp,Dr.count-=1)},Gu.exports.unload=tl,Vi=function(r,t,n){Dr.emitted[r]||(Dr.emitted[r]=!0,Dr.emit(r,t,n))},nl={},Uu.forEach(function(e){nl[e]=function(){if(Hi(global.process)){var t=Ve.listeners(e);t.length===Dr.count&&(tl(),Vi("exit",null,e),Vi("afterexit",null,e),qg&&e==="SIGHUP"&&(e="SIGINT"),Ve.kill(Ve.pid,e))}}}),Gu.exports.signals=function(){return Uu},Wu=!1,vp=function(){Wu||!Hi(global.process)||(Wu=!0,Dr.count+=1,Uu=Uu.filter(function(r){try{return Ve.on(r,nl[r]),!0}catch{return!1}}),Ve.emit=Tg,Ve.reallyExit=Rg)},Gu.exports.load=vp,bp=Ve.reallyExit,Rg=function(r){Hi(global.process)&&(Ve.exitCode=r||0,Vi("exit",Ve.exitCode,null),Vi("afterexit",Ve.exitCode,null),bp.call(Ve,Ve.exitCode))},il=Ve.emit,Tg=function(r,t){if(r==="exit"&&Hi(global.process)){t!==void 0&&(Ve.exitCode=t);var n=il.apply(this,arguments);return Vi("exit",Ve.exitCode,null),Vi("afterexit",Ve.exitCode,null),n}else return il.apply(this,arguments)}):Gu.exports=function(){return function(){}};var Bg,Uu,qg,ja,Dr,tl,Vi,nl,Wu,vp,bp,Rg,il,Tg});var La=x((tde,Ug)=>{"use strict";function kg(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}var Ng=Ug.exports=function(e,r){return r=r||function(){},function(){var t=arguments,n=new Promise(function(i,o){var s=!1;let c=function(M){s&&console.warn("Run-async promise already resolved."),s=!0,i(M)};var h=!1;let d=function(M){h&&console.warn("Run-async promise already rejected."),h=!0,o(M)};var _=!1,C=!1,B=!1,N=e.apply({async:function(){return B?(console.warn("Run-async async() called outside a valid run-async context, callback will be ignored."),function(){}):(C&&console.warn(`Run-async wrapped function (async) returned a promise. Calls to async() callback can have unexpected results.`),_=!0,function(M,L){M?d(M):c(L)})}},Array.prototype.slice.call(t));_?kg(N)&&console.warn("Run-async wrapped function (sync) returned a promise but async() callback must be executed to resolve."):kg(N)?(C=!0,N.then(c,d)):c(N),B=!0});return n.then(r.bind(null,null),r),n}};Ng.cb=function(e,r){return Ng(function(){var t=Array.prototype.slice.call(arguments);return t.length===e.length-1&&t.push(this.async()),e.apply(this,t)},r)}});var Be=x(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.isFunction=void 0;function WI(e){return typeof e=="function"}ol.isFunction=WI});var Vn=x(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.createErrorClass=void 0;function GI(e){var r=function(n){Error.call(n),n.stack=new Error().stack},t=e(r);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}al.createErrorClass=GI});var mp=x(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.UnsubscriptionError=void 0;var HI=Vn();sl.UnsubscriptionError=HI.createErrorClass(function(e){return function(t){e(this),this.message=t?t.length+` errors occurred during unsubscription: `+t.map(function(n,i){return i+1+") "+n.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=t}})});var bn=x(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.arrRemove=void 0;function VI(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}ll.arrRemove=VI});var et=x(Ur=>{"use strict";var Wg=Ur&&Ur.__values||function(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},Gg=Ur&&Ur.__read||function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),i,o=[],s;try{for(;(r===void 0||r-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return o},Hg=Ur&&Ur.__spreadArray||function(e,r){for(var t=0,n=r.length,i=e.length;t<n;t++,i++)e[i]=r[t];return e};Object.defineProperty(Ur,"__esModule",{value:!0});Ur.isSubscription=Ur.EMPTY_SUBSCRIPTION=Ur.Subscription=void 0;var ka=Be(),_p=mp(),Vg=bn(),Ep=function(){function e(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var r,t,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var c=Wg(s),h=c.next();!h.done;h=c.next()){var d=h.value;d.remove(this)}}catch(L){r={error:L}}finally{try{h&&!h.done&&(t=c.return)&&t.call(c)}finally{if(r)throw r.error}}else s.remove(this);var _=this.initialTeardown;if(ka.isFunction(_))try{_()}catch(L){o=L instanceof _p.UnsubscriptionError?L.errors:[L]}var C=this._finalizers;if(C){this._finalizers=null;try{for(var B=Wg(C),N=B.next();!N.done;N=B.next()){var M=N.value;try{$g(M)}catch(L){o=o??[],L instanceof _p.UnsubscriptionError?o=Hg(Hg([],Gg(o)),Gg(L.errors)):o.push(L)}}}catch(L){n={error:L}}finally{try{N&&!N.done&&(i=B.return)&&i.call(B)}finally{if(n)throw n.error}}}if(o)throw new _p.UnsubscriptionError(o)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)$g(r);else{if(r instanceof e){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(r)}},e.prototype._hasParent=function(r){var t=this._parentage;return t===r||Array.isArray(t)&&t.includes(r)},e.prototype._addParent=function(r){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(r),t):t?[t,r]:r},e.prototype._removeParent=function(r){var t=this._parentage;t===r?this._parentage=null:Array.isArray(t)&&Vg.arrRemove(t,r)},e.prototype.remove=function(r){var t=this._finalizers;t&&Vg.arrRemove(t,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();Ur.Subscription=Ep;Ur.EMPTY_SUBSCRIPTION=Ep.EMPTY;function $I(e){return e instanceof Ep||e&&"closed"in e&&ka.isFunction(e.remove)&&ka.isFunction(e.add)&&ka.isFunction(e.unsubscribe)}Ur.isSubscription=$I;function $g(e){ka.isFunction(e)?e():e.unsubscribe()}});var Vu=x(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.config=void 0;cl.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var yp=x(Ut=>{"use strict";var Kg=Ut&&Ut.__read||function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),i,o=[],s;try{for(;(r===void 0||r-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return o},zg=Ut&&Ut.__spreadArray||function(e,r){for(var t=0,n=r.length,i=e.length;t<n;t++,i++)e[i]=r[t];return e};Object.defineProperty(Ut,"__esModule",{value:!0});Ut.timeoutProvider=void 0;Ut.timeoutProvider={setTimeout:function(e,r){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];var i=Ut.timeoutProvider.delegate;return i!=null&&i.setTimeout?i.setTimeout.apply(i,zg([e,r],Kg(t))):setTimeout.apply(void 0,zg([e,r],Kg(t)))},clearTimeout:function(e){var r=Ut.timeoutProvider.delegate;return((r==null?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0}});var Fp=x(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});fl.reportUnhandledError=void 0;var KI=Vu(),zI=yp();function YI(e){zI.timeoutProvider.setTimeout(function(){var r=KI.config.onUnhandledError;if(r)r(e);else throw e})}fl.reportUnhandledError=YI});var _r=x(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.noop=void 0;function ZI(){}hl.noop=ZI});var Yg=x(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.createNotification=Wt.nextNotification=Wt.errorNotification=Wt.COMPLETE_NOTIFICATION=void 0;Wt.COMPLETE_NOTIFICATION=function(){return dl("C",void 0,void 0)}();function XI(e){return dl("E",void 0,e)}Wt.errorNotification=XI;function QI(e){return dl("N",e,void 0)}Wt.nextNotification=QI;function dl(e,r,t){return{kind:e,value:r,error:t}}Wt.createNotification=dl});var xl=x($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.captureError=$u.errorContext=void 0;var Zg=Vu(),$i=null;function JI(e){if(Zg.config.useDeprecatedSynchronousErrorHandling){var r=!$i;if(r&&($i={errorThrown:!1,error:null}),e(),r){var t=$i,n=t.errorThrown,i=t.error;if($i=null,n)throw i}}else e()}$u.errorContext=JI;function ej(e){Zg.config.useDeprecatedSynchronousErrorHandling&&$i&&($i.errorThrown=!0,$i.error=e)}$u.captureError=ej});var Ku=x(At=>{"use strict";var Jg=At&&At.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(At,"__esModule",{value:!0});At.EMPTY_OBSERVER=At.SafeSubscriber=At.Subscriber=void 0;var rj=Be(),Xg=et(),Sp=Vu(),tj=Fp(),Qg=_r(),Cp=Yg(),nj=yp(),ij=xl(),em=function(e){Jg(r,e);function r(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Xg.isSubscription(t)&&t.add(n)):n.destination=At.EMPTY_OBSERVER,n}return r.create=function(t,n,i){return new rm(t,n,i)},r.prototype.next=function(t){this.isStopped?Ap(Cp.nextNotification(t),this):this._next(t)},r.prototype.error=function(t){this.isStopped?Ap(Cp.errorNotification(t),this):(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped?Ap(Cp.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(t){this.destination.next(t)},r.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(Xg.Subscription);At.Subscriber=em;var uj=Function.prototype.bind;function wp(e,r){return uj.call(e,r)}var oj=function(){function e(r){this.partialObserver=r}return e.prototype.next=function(r){var t=this.partialObserver;if(t.next)try{t.next(r)}catch(n){pl(n)}},e.prototype.error=function(r){var t=this.partialObserver;if(t.error)try{t.error(r)}catch(n){pl(n)}else pl(r)},e.prototype.complete=function(){var r=this.partialObserver;if(r.complete)try{r.complete()}catch(t){pl(t)}},e}(),rm=function(e){Jg(r,e);function r(t,n,i){var o=e.call(this)||this,s;if(rj.isFunction(t)||!t)s={next:t??void 0,error:n??void 0,complete:i??void 0};else{var c;o&&Sp.config.useDeprecatedNextContext?(c=Object.create(t),c.unsubscribe=function(){return o.unsubscribe()},s={next:t.next&&wp(t.next,c),error:t.error&&wp(t.error,c),complete:t.complete&&wp(t.complete,c)}):s=t}return o.destination=new oj(s),o}return r}(em);At.SafeSubscriber=rm;function pl(e){Sp.config.useDeprecatedSynchronousErrorHandling?ij.captureError(e):tj.reportUnhandledError(e)}function aj(e){throw e}function Ap(e,r){var t=Sp.config.onStoppedNotification;t&&nj.timeoutProvider.setTimeout(function(){return t(e,r)})}At.EMPTY_OBSERVER={closed:!0,next:Qg.noop,error:aj,complete:Qg.noop}});var Na=x(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});Dl.observable=void 0;Dl.observable=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}()});var Er=x(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.identity=void 0;function sj(e){return e}vl.identity=sj});var Ua=x(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.pipeFromArray=zu.pipe=void 0;var lj=Er();function cj(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return tm(e)}zu.pipe=cj;function tm(e){return e.length===0?lj.identity:e.length===1?e[0]:function(t){return e.reduce(function(n,i){return i(n)},t)}}zu.pipeFromArray=tm});var Te=x(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.Observable=void 0;var Bp=Ku(),fj=et(),hj=Na(),dj=Ua(),xj=Vu(),Op=Be(),pj=xl(),Dj=function(){function e(r){r&&(this._subscribe=r)}return e.prototype.lift=function(r){var t=new e;return t.source=this,t.operator=r,t},e.prototype.subscribe=function(r,t,n){var i=this,o=bj(r)?r:new Bp.SafeSubscriber(r,t,n);return pj.errorContext(function(){var s=i,c=s.operator,h=s.source;o.add(c?c.call(o,h):h?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(t){r.error(t)}},e.prototype.forEach=function(r,t){var n=this;return t=nm(t),new t(function(i,o){var s=new Bp.SafeSubscriber({next:function(c){try{r(c)}catch(h){o(h),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(r){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(r)},e.prototype[hj.observable]=function(){return this},e.prototype.pipe=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return dj.pipeFromArray(r)(this)},e.prototype.toPromise=function(r){var t=this;return r=nm(r),new r(function(n,i){var o;t.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},e.create=function(r){return new e(r)},e}();bl.Observable=Dj;function nm(e){var r;return(r=e??xj.config.Promise)!==null&&r!==void 0?r:Promise}function vj(e){return e&&Op.isFunction(e.next)&&Op.isFunction(e.error)&&Op.isFunction(e.complete)}function bj(e){return e&&e instanceof Bp.Subscriber||vj(e)&&fj.isSubscription(e)}});var Y=x(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.operate=Yu.hasLift=void 0;var gj=Be();function im(e){return gj.isFunction(e==null?void 0:e.lift)}Yu.hasLift=im;function mj(e){return function(r){if(im(r))return r.lift(function(t){try{return e(t,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}Yu.operate=mj});var te=x($n=>{"use strict";var _j=$n&&$n.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty($n,"__esModule",{value:!0});$n.OperatorSubscriber=$n.createOperatorSubscriber=void 0;var Ej=Ku();function yj(e,r,t,n,i){return new um(e,r,t,n,i)}$n.createOperatorSubscriber=yj;var um=function(e){_j(r,e);function r(t,n,i,o,s,c){var h=e.call(this,t)||this;return h.onFinalize=s,h.shouldUnsubscribe=c,h._next=n?function(d){try{n(d)}catch(_){t.error(_)}}:e.prototype._next,h._error=o?function(d){try{o(d)}catch(_){t.error(_)}finally{this.unsubscribe()}}:e.prototype._error,h._complete=i?function(){try{i()}catch(d){t.error(d)}finally{this.unsubscribe()}}:e.prototype._complete,h}return r.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}},r}(Ej.Subscriber);$n.OperatorSubscriber=um});var qp=x(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.refCount=void 0;var Fj=Y(),Cj=te();function wj(){return Fj.operate(function(e,r){var t=null;e._refCount++;var n=Cj.createOperatorSubscriber(r,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount){t=null;return}var i=e._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),r.unsubscribe()});e.subscribe(n),n.closed||(t=e.connect())})}gl.refCount=wj});var Wa=x(Zu=>{"use strict";var Aj=Zu&&Zu.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(Zu,"__esModule",{value:!0});Zu.ConnectableObservable=void 0;var Sj=Te(),om=et(),Oj=qp(),Bj=te(),qj=Y(),Rj=function(e){Aj(r,e);function r(t,n){var i=e.call(this)||this;return i.source=t,i.subjectFactory=n,i._subject=null,i._refCount=0,i._connection=null,qj.hasLift(t)&&(i.lift=t.lift),i}return r.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},r.prototype.getSubject=function(){var t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject},r.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,t==null||t.unsubscribe()},r.prototype.connect=function(){var t=this,n=this._connection;if(!n){n=this._connection=new om.Subscription;var i=this.getSubject();n.add(this.source.subscribe(Bj.createOperatorSubscriber(i,void 0,function(){t._teardown(),i.complete()},function(o){t._teardown(),i.error(o)},function(){return t._teardown()}))),n.closed&&(this._connection=null,n=om.Subscription.EMPTY)}return n},r.prototype.refCount=function(){return Oj.refCount()(this)},r}(Sj.Observable);Zu.ConnectableObservable=Rj});var am=x(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Ga.performanceTimestampProvider=void 0;Ga.performanceTimestampProvider={now:function(){return(Ga.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}});var Rp=x(St=>{"use strict";var sm=St&&St.__read||function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),i,o=[],s;try{for(;(r===void 0||r-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return o},lm=St&&St.__spreadArray||function(e,r){for(var t=0,n=r.length,i=e.length;t<n;t++,i++)e[i]=r[t];return e};Object.defineProperty(St,"__esModule",{value:!0});St.animationFrameProvider=void 0;var Tj=et();St.animationFrameProvider={schedule:function(e){var r=requestAnimationFrame,t=cancelAnimationFrame,n=St.animationFrameProvider.delegate;n&&(r=n.requestAnimationFrame,t=n.cancelAnimationFrame);var i=r(function(o){t=void 0,e(o)});return new Tj.Subscription(function(){return t==null?void 0:t(i)})},requestAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=St.animationFrameProvider.delegate;return((t==null?void 0:t.requestAnimationFrame)||requestAnimationFrame).apply(void 0,lm([],sm(e)))},cancelAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=St.animationFrameProvider.delegate;return((t==null?void 0:t.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,lm([],sm(e)))},delegate:void 0}});var hm=x(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.animationFrames=void 0;var Pj=Te(),Mj=am(),cm=Rp();function Ij(e){return e?fm(e):jj}ml.animationFrames=Ij;function fm(e){return new Pj.Observable(function(r){var t=e||Mj.performanceTimestampProvider,n=t.now(),i=0,o=function(){r.closed||(i=cm.animationFrameProvider.requestAnimationFrame(function(s){i=0;var c=t.now();r.next({timestamp:e?c:s,elapsed:c-n}),o()}))};return o(),function(){i&&cm.animationFrameProvider.cancelAnimationFrame(i)}})}var jj=fm()});var Tp=x(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.ObjectUnsubscribedError=void 0;var Lj=Vn();_l.ObjectUnsubscribedError=Lj.createErrorClass(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})});var yr=x(Gt=>{"use strict";var xm=Gt&&Gt.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),kj=Gt&&Gt.__values||function(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Gt,"__esModule",{value:!0});Gt.AnonymousSubject=Gt.Subject=void 0;var dm=Te(),Mp=et(),Nj=Tp(),Uj=bn(),Pp=xl(),pm=function(e){xm(r,e);function r(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.prototype.lift=function(t){var n=new Ip(this,this);return n.operator=t,n},r.prototype._throwIfClosed=function(){if(this.closed)throw new Nj.ObjectUnsubscribedError},r.prototype.next=function(t){var n=this;Pp.errorContext(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=kj(n.currentObservers),c=s.next();!c.done;c=s.next()){var h=c.value;h.next(t)}}catch(d){i={error:d}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},r.prototype.error=function(t){var n=this;Pp.errorContext(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var i=n.observers;i.length;)i.shift().error(t)}})},r.prototype.complete=function(){var t=this;Pp.errorContext(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var n=t.observers;n.length;)n.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},r.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},r.prototype._innerSubscribe=function(t){var n=this,i=this,o=i.hasError,s=i.isStopped,c=i.observers;return o||s?Mp.EMPTY_SUBSCRIPTION:(this.currentObservers=null,c.push(t),new Mp.Subscription(function(){n.currentObservers=null,Uj.arrRemove(c,t)}))},r.prototype._checkFinalizedStatuses=function(t){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?t.error(o):s&&t.complete()},r.prototype.asObservable=function(){var t=new dm.Observable;return t.source=this,t},r.create=function(t,n){return new Ip(t,n)},r}(dm.Observable);Gt.Subject=pm;var Ip=function(e){xm(r,e);function r(t,n){var i=e.call(this)||this;return i.destination=t,i.source=n,i}return r.prototype.next=function(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,t)},r.prototype.error=function(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,t)},r.prototype.complete=function(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)},r.prototype._subscribe=function(t){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&i!==void 0?i:Mp.EMPTY_SUBSCRIPTION},r}(pm);Gt.AnonymousSubject=Ip});var jp=x(Xu=>{"use strict";var Wj=Xu&&Xu.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(Xu,"__esModule",{value:!0});Xu.BehaviorSubject=void 0;var Gj=yr(),Hj=function(e){Wj(r,e);function r(t){var n=e.call(this)||this;return n._value=t,n}return Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},r.prototype.getValue=function(){var t=this,n=t.hasError,i=t.thrownError,o=t._value;if(n)throw i;return this._throwIfClosed(),o},r.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},r}(Gj.Subject);Xu.BehaviorSubject=Hj});var El=x(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});Ha.dateTimestampProvider=void 0;Ha.dateTimestampProvider={now:function(){return(Ha.dateTimestampProvider.delegate||Date).now()},delegate:void 0}});var yl=x(Qu=>{"use strict";var Vj=Qu&&Qu.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(Qu,"__esModule",{value:!0});Qu.ReplaySubject=void 0;var $j=yr(),Kj=El(),zj=function(e){Vj(r,e);function r(t,n,i){t===void 0&&(t=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Kj.dateTimestampProvider);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,n),o}return r.prototype.next=function(t){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,c=n._timestampProvider,h=n._windowTime;i||(o.push(t),!s&&o.push(c.now()+h)),this._trimBuffer(),e.prototype.next.call(this,t)},r.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(t),i=this,o=i._infiniteTimeWindow,s=i._buffer,c=s.slice(),h=0;h<c.length&&!t.closed;h+=o?1:2)t.next(c[h]);return this._checkFinalizedStatuses(t),n},r.prototype._trimBuffer=function(){var t=this,n=t._bufferSize,i=t._timestampProvider,o=t._buffer,s=t._infiniteTimeWindow,c=(s?1:2)*n;if(n<1/0&&c<o.length&&o.splice(0,o.length-c),!s){for(var h=i.now(),d=0,_=1;_<o.length&&o[_]<=h;_+=2)d=_;d&&o.splice(0,d+1)}},r}($j.Subject);Qu.ReplaySubject=zj});var Fl=x(Ju=>{"use strict";var Yj=Ju&&Ju.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(Ju,"__esModule",{value:!0});Ju.AsyncSubject=void 0;var Zj=yr(),Xj=function(e){Yj(r,e);function r(){var t=e!==null&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return r.prototype._checkFinalizedStatuses=function(t){var n=this,i=n.hasError,o=n._hasValue,s=n._value,c=n.thrownError,h=n.isStopped,d=n._isComplete;i?t.error(c):(h||d)&&(o&&t.next(s),t.complete())},r.prototype.next=function(t){this.isStopped||(this._value=t,this._hasValue=!0)},r.prototype.complete=function(){var t=this,n=t._hasValue,i=t._value,o=t._isComplete;o||(this._isComplete=!0,n&&e.prototype.next.call(this,i),e.prototype.complete.call(this))},r}(Zj.Subject);Ju.AsyncSubject=Xj});var Dm=x(eo=>{"use strict";var Qj=eo&&eo.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(eo,"__esModule",{value:!0});eo.Action=void 0;var Jj=et(),eL=function(e){Qj(r,e);function r(t,n){return e.call(this)||this}return r.prototype.schedule=function(t,n){return n===void 0&&(n=0),this},r}(Jj.Subscription);eo.Action=eL});var gm=x(Ht=>{"use strict";var vm=Ht&&Ht.__read||function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),i,o=[],s;try{for(;(r===void 0||r-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return o},bm=Ht&&Ht.__spreadArray||function(e,r){for(var t=0,n=r.length,i=e.length;t<n;t++,i++)e[i]=r[t];return e};Object.defineProperty(Ht,"__esModule",{value:!0});Ht.intervalProvider=void 0;Ht.intervalProvider={setInterval:function(e,r){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];var i=Ht.intervalProvider.delegate;return i!=null&&i.setInterval?i.setInterval.apply(i,bm([e,r],vm(t))):setInterval.apply(void 0,bm([e,r],vm(t)))},clearInterval:function(e){var r=Ht.intervalProvider.delegate;return((r==null?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0}});var to=x(ro=>{"use strict";var rL=ro&&ro.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(ro,"__esModule",{value:!0});ro.AsyncAction=void 0;var tL=Dm(),mm=gm(),nL=bn(),iL=function(e){rL(r,e);function r(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.pending=!1,i}return r.prototype.schedule=function(t,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=t;var o=this.id,s=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(s,o,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(s,this.id,n),this},r.prototype.requestAsyncId=function(t,n,i){return i===void 0&&(i=0),mm.intervalProvider.setInterval(t.flush.bind(t,this),i)},r.prototype.recycleAsyncId=function(t,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&mm.intervalProvider.clearInterval(n)},r.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(t,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(t,n){var i=!1,o;try{this.work(t)}catch(s){i=!0,o=s||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o},r.prototype.unsubscribe=function(){if(!this.closed){var t=this,n=t.id,i=t.scheduler,o=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,nL.arrRemove(o,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},r}(tL.Action);ro.AsyncAction=iL});var Em=x(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.TestTools=no.Immediate=void 0;var uL=1,Lp,Cl={};function _m(e){return e in Cl?(delete Cl[e],!0):!1}no.Immediate={setImmediate:function(e){var r=uL++;return Cl[r]=!0,Lp||(Lp=Promise.resolve()),Lp.then(function(){return _m(r)&&e()}),r},clearImmediate:function(e){_m(e)}};no.TestTools={pending:function(){return Object.keys(Cl).length}}});var Fm=x(Vt=>{"use strict";var oL=Vt&&Vt.__read||function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),i,o=[],s;try{for(;(r===void 0||r-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return o},aL=Vt&&Vt.__spreadArray||function(e,r){for(var t=0,n=r.length,i=e.length;t<n;t++,i++)e[i]=r[t];return e};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.immediateProvider=void 0;var ym=Em(),sL=ym.Immediate.setImmediate,lL=ym.Immediate.clearImmediate;Vt.immediateProvider={setImmediate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=Vt.immediateProvider.delegate;return((t==null?void 0:t.setImmediate)||sL).apply(void 0,aL([],oL(e)))},clearImmediate:function(e){var r=Vt.immediateProvider.delegate;return((r==null?void 0:r.clearImmediate)||lL)(e)},delegate:void 0}});var wm=x(io=>{"use strict";var cL=io&&io.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(io,"__esModule",{value:!0});io.AsapAction=void 0;var fL=to(),Cm=Fm(),hL=function(e){cL(r,e);function r(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i}return r.prototype.requestAsyncId=function(t,n,i){return i===void 0&&(i=0),i!==null&&i>0?e.prototype.requestAsyncId.call(this,t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=Cm.immediateProvider.setImmediate(t.flush.bind(t,void 0))))},r.prototype.recycleAsyncId=function(t,n,i){var o;if(i===void 0&&(i=0),i!=null?i>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,i);var s=t.actions;n!=null&&((o=s[s.length-1])===null||o===void 0?void 0:o.id)!==n&&(Cm.immediateProvider.clearImmediate(n),t._scheduled=void 0)},r}(fL.AsyncAction);io.AsapAction=hL});var kp=x(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});wl.Scheduler=void 0;var dL=El(),xL=function(){function e(r,t){t===void 0&&(t=e.now),this.schedulerActionCtor=r,this.now=t}return e.prototype.schedule=function(r,t,n){return t===void 0&&(t=0),new this.schedulerActionCtor(this,r).schedule(n,t)},e.now=dL.dateTimestampProvider.now,e}();wl.Scheduler=xL});var oo=x(uo=>{"use strict";var pL=uo&&uo.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(uo,"__esModule",{value:!0});uo.AsyncScheduler=void 0;var Am=kp(),DL=function(e){pL(r,e);function r(t,n){n===void 0&&(n=Am.Scheduler.now);var i=e.call(this,t,n)||this;return i.actions=[],i._active=!1,i}return r.prototype.flush=function(t){var n=this.actions;if(this._active){n.push(t);return}var i;this._active=!0;do if(i=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,i){for(;t=n.shift();)t.unsubscribe();throw i}},r}(Am.Scheduler);uo.AsyncScheduler=DL});var Sm=x(ao=>{"use strict";var vL=ao&&ao.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(ao,"__esModule",{value:!0});ao.AsapScheduler=void 0;var bL=oo(),gL=function(e){vL(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(t){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var i=this.actions,o;t=t||i.shift();do if(o=t.execute(t.state,t.delay))break;while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,o){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw o}},r}(bL.AsyncScheduler);ao.AsapScheduler=gL});var Om=x(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.asap=Ki.asapScheduler=void 0;var mL=wm(),_L=Sm();Ki.asapScheduler=new _L.AsapScheduler(mL.AsapAction);Ki.asap=Ki.asapScheduler});var Wr=x(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.async=zi.asyncScheduler=void 0;var EL=to(),yL=oo();zi.asyncScheduler=new yL.AsyncScheduler(EL.AsyncAction);zi.async=zi.asyncScheduler});var Bm=x(so=>{"use strict";var FL=so&&so.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(so,"__esModule",{value:!0});so.QueueAction=void 0;var CL=to(),wL=function(e){FL(r,e);function r(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i}return r.prototype.schedule=function(t,n){return n===void 0&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},r.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},r.prototype.requestAsyncId=function(t,n,i){return i===void 0&&(i=0),i!=null&&i>0||i==null&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,i):(t.flush(this),0)},r}(CL.AsyncAction);so.QueueAction=wL});var qm=x(lo=>{"use strict";var AL=lo&&lo.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(lo,"__esModule",{value:!0});lo.QueueScheduler=void 0;var SL=oo(),OL=function(e){AL(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(SL.AsyncScheduler);lo.QueueScheduler=OL});var Rm=x(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.queue=Yi.queueScheduler=void 0;var BL=Bm(),qL=qm();Yi.queueScheduler=new qL.QueueScheduler(BL.QueueAction);Yi.queue=Yi.queueScheduler});var Pm=x(co=>{"use strict";var RL=co&&co.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(co,"__esModule",{value:!0});co.AnimationFrameAction=void 0;var TL=to(),Tm=Rp(),PL=function(e){RL(r,e);function r(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i}return r.prototype.requestAsyncId=function(t,n,i){return i===void 0&&(i=0),i!==null&&i>0?e.prototype.requestAsyncId.call(this,t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=Tm.animationFrameProvider.requestAnimationFrame(function(){return t.flush(void 0)})))},r.prototype.recycleAsyncId=function(t,n,i){var o;if(i===void 0&&(i=0),i!=null?i>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,i);var s=t.actions;n!=null&&((o=s[s.length-1])===null||o===void 0?void 0:o.id)!==n&&(Tm.animationFrameProvider.cancelAnimationFrame(n),t._scheduled=void 0)},r}(TL.AsyncAction);co.AnimationFrameAction=PL});var Mm=x(fo=>{"use strict";var ML=fo&&fo.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(fo,"__esModule",{value:!0});fo.AnimationFrameScheduler=void 0;var IL=oo(),jL=function(e){ML(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(t){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var i=this.actions,o;t=t||i.shift();do if(o=t.execute(t.state,t.delay))break;while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,o){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw o}},r}(IL.AsyncScheduler);fo.AnimationFrameScheduler=jL});var Im=x(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.animationFrame=Zi.animationFrameScheduler=void 0;var LL=Pm(),kL=Mm();Zi.animationFrameScheduler=new kL.AnimationFrameScheduler(LL.AnimationFrameAction);Zi.animationFrame=Zi.animationFrameScheduler});var km=x(Kn=>{"use strict";var jm=Kn&&Kn.__extends||function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(Kn,"__esModule",{value:!0});Kn.VirtualAction=Kn.VirtualTimeScheduler=void 0;var NL=to(),UL=et(),WL=oo(),GL=function(e){jm(r,e);function r(t,n){t===void 0&&(t=Lm),n===void 0&&(n=1/0);var i=e.call(this,t,function(){return i.frame})||this;return i.maxFrames=n,i.frame=0,i.index=-1,i}return r.prototype.flush=function(){for(var t=this,n=t.actions,i=t.maxFrames,o,s;(s=n[0])&&s.delay<=i&&(n.shift(),this.frame=s.delay,!(o=s.execute(s.state,s.delay))););if(o){for(;s=n.shift();)s.unsubscribe();throw o}},r.frameTimeFactor=10,r}(WL.AsyncScheduler);Kn.VirtualTimeScheduler=GL;var Lm=function(e){jm(r,e);function r(t,n,i){i===void 0&&(i=t.index+=1);var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o.index=i,o.active=!0,o.index=t.index=i,o}return r.prototype.schedule=function(t,n){if(n===void 0&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,t,n);this.active=!1;var i=new r(this.scheduler,this.work);return this.add(i),i.schedule(t,n)}else return UL.Subscription.EMPTY},r.prototype.requestAsyncId=function(t,n,i){i===void 0&&(i=0),this.delay=t.frame+i;var o=t.actions;return o.push(this),o.sort(r.sortActions),1},r.prototype.recycleAsyncId=function(t,n,i){i===void 0&&(i=0)},r.prototype._execute=function(t,n){if(this.active===!0)return e.prototype._execute.call(this,t,n)},r.sortActions=function(t,n){return t.delay===n.delay?t.index===n.index?0:t.index>n.index?1:-1:t.delay>n.delay?1:-1},r}(NL.AsyncAction);Kn.VirtualAction=Lm});var Ot=x(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.empty=Xi.EMPTY=void 0;var Nm=Te();Xi.EMPTY=new Nm.Observable(function(e){return e.complete()});function HL(e){return e?VL(e):Xi.EMPTY}Xi.empty=HL;function VL(e){return new Nm.Observable(function(r){return e.schedule(function(){return r.complete()})})}});var Va=x(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.isScheduler=void 0;var $L=Be();function KL(e){return e&&$L.isFunction(e.schedule)}Al.isScheduler=KL});var Gr=x(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.popNumber=zn.popScheduler=zn.popResultSelector=void 0;var zL=Be(),YL=Va();function Np(e){return e[e.length-1]}function ZL(e){return zL.isFunction(Np(e))?e.pop():void 0}zn.popResultSelector=ZL;function XL(e){return YL.isScheduler(Np(e))?e.pop():void 0}zn.popScheduler=XL;function QL(e,r){return typeof Np(e)=="number"?e.pop():r}zn.popNumber=QL});var Ol=x(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.isArrayLike=void 0;Sl.isArrayLike=function(e){return e&&typeof e.length=="number"&&typeof e!="function"}});var Up=x(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.isPromise=void 0;var JL=Be();function ek(e){return JL.isFunction(e==null?void 0:e.then)}Bl.isPromise=ek});var Wp=x(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});ql.isInteropObservable=void 0;var rk=Na(),tk=Be();function nk(e){return tk.isFunction(e[rk.observable])}ql.isInteropObservable=nk});var Gp=x(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.isAsyncIterable=void 0;var ik=Be();function uk(e){return Symbol.asyncIterator&&ik.isFunction(e==null?void 0:e[Symbol.asyncIterator])}Rl.isAsyncIterable=uk});var Hp=x(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.createInvalidObservableTypeError=void 0;function ok(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.")}Tl.createInvalidObservableTypeError=ok});var Vp=x(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.iterator=ho.getSymbolIterator=void 0;function Um(){return typeof Symbol!=