Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nevware21/ts-async

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nevware21/ts-async - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

4

bundle/es5/iife/ts-async.min.js
/*!
* NevWare21 Solutions LLC - ts-async, 0.5.3
* NevWare21 Solutions LLC - ts-async, 0.5.4
* https://github.com/nevware21/ts-async

@@ -7,3 +7,3 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

*/
function n(n,t){return n||t}function t(n,t){return n[t]}function A(n,t){try{return{v:n.apply(this,t)}}catch(n){return{e:n}}}function C(t){return function(n){return typeof n===t}}function b(n){return typeof n===c||n===c}function z(n){return n||n!==f}function j(n){return n&&n.then&&N(n.then)}function F(n,t){return!!n&&Ln.hasOwnProperty[s](n,t)||!!Kn(n,t)}function q(n,t,e){if(n&&(n||n!==a&&!b(n))&&n&&typeof n===$n)for(var r in n)if(Mn(n,r)&&-1===t[s](e||n,r,n[r]))break}function J(n,t,e){return k(n,t,(r=e,(u={})[Qn.c]=!0,u[Qn.e]=!0,r.l&&(u.get=function(){return r.l.v},n=Kn(r.l,"v"))&&n.set&&(u.set=function(n){r.l.v=n}),q(r,function(n,t){u[Qn[n]]=z(t)?t:u[Qn[n]]}),u));var r,u}function W(n,t,e,r){k(n,t,{value:e,enumerable:!0,writable:!!r})}function R(n,t){var e=xn,r=Ln[Hn][s](n);r===Xn&&(n={stack:d(n.stack),message:d(n.message),name:d(n.name)});try{e=((e=JSON.stringify(n,a,t?"number"==typeof t?t:4:f))?e.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):a)||d(n)}catch(n){e=" - "+R(n,t)}return r+": "+e}function I(n){throw new TypeError(n)}function H(n){return n}function L(n){return n[Cn]||a}function U(n){return t=Yn,e={},q(n,function(n,t){W(e,n,n,void 0),W(e,t,n,void 0)}),t?t(e):e;var t,e}function B(){var n;return(n=(n=(n=typeof globalThis!==c?globalThis:n)||typeof self===c?n:self)||typeof window===c?n:window)||typeof global===c?n:global}function G(t){return function(n){return n[t]}}function K(){var n;nt||(n=A(B).v||{},nt=n[rt]=n[rt]||{}),g=nt}function E(n){return k({toJSON:function(){return n}},"v",{value:n})}function M(n,t){var e;return function(){return g||K(),(e=e&&!g.lzy?e:E(A(n,t).v)).v}}function Q(n){return g||K(),(ut=ut&&!1!==n&&!g.lzy?ut:E(A(B).v||a)).v}function T(n,t){t=ut&&!1!==t?ut.v:Q(t);if(t&&t[n])return t[n];if(n===it)try{return window}catch(n){}return a}function V(){return ot=E(A(T,[Fn]).v)}function X(){return g||K(),((g.lzy?0:ot)||V()).v}function D(n,t){var e,r=et[n],u=(g||K(),(g.lzy?0:ot)||V());return u.v?u.v[r||n]:t?f:(tt=tt||{},(u=et[n])?tt[u]=tt[u]||((r={description:d(e=Fn+"."+u),toString:function(){return Fn+"("+e+")"}})[qn]=!0,r):void 0)}function Y(n){return n&&N(n.next)}function Z(n){return n!==a&&z(n)&&N(n[D(3)])}function nn(t,n,e){if(t&&(Y(t)||(t=t[(ct=ct||E(D(3))).v]?t[ct.v]():a),Y(t))){var r=f,u=f;try{for(var i=0;!(u=t.next()).done&&-1!==n[s](e||t,u.value,i,t);)i++}catch(n){r={e:n},t.throw&&(u=a,t.throw(r))}finally{try{u&&!u.done&&t.return&&t.return(u)}finally{if(r)throw r.e}}}}function tn(n,t,e){return n.apply(t,e)}function en(n,t,e){if(n)for(var r=n[Jn]>>>0,u=0;u<r&&!(u in n&&-1===t[s](e||n,n[u],u,n));u++);}function _(n){return((n?n.slice:a)||y).apply(n,y[s](arguments,1))}function rn(n){var t;return n?((t=typeof n)!==$n&&"function"!=t&&I("Prototype must be an Object or function: "+R(n)),e[l]=n,new e):{};function e(){}}function un(n,t){return(v.setPrototypeOf||function(e,n){var t;(vt=vt||E(((t={})[Cn]=[],t instanceof Array))).v?e[Cn]=n:q(n,function(n,t){return e[n]=t})})(n,t)}function on(n,t){t&&(n[Wn]=t)}function cn(u,i,n){var t,e,o=n||Error,c=o[l][Wn],f=Error.captureStackTrace,n=o;return A(J,[e=function(){var n=this,t=arguments;try{A(on,[o,u]);var e,r=tn(o,n,y[s](t))||n;return r!==n&&(e=Zn(n))!==Zn(r)&&un(r,e),f&&f(r,n[zn]),i&&i(r,t),r}finally{A(on,[o,c])}},Wn,{v:t=u,c:!0,e:!1}]),(e=un(e,n))[l]=n===a?yt(n):(r[l]=n[l],new r),e;function r(){this[zn]=e,A(J,[this,Wn,{v:t,c:!0,e:!1}])}}function h(){return(Date.now||fn)()}function fn(){return(new Date).getTime()}function an(n,t,e){var r,u=!0,i=n?t(a):a;function o(){return u=!1,i&&i[ht]&&i[ht](),r}function c(){i&&e(i),i=a}function f(){return i=t(i),u||o(),r}return(r={cancel:c,refresh:f})[mt]=function(){return i&&i[mt]?i[mt]():u},r[dt]=function(){return u=!0,i&&i[dt]&&i[dt](),r},r[ht]=o,{h:r=k(r,pt,{get:function(){return!!i},set:function(n){!n&&i&&c(),n&&!i&&f()}}),dn:function(){i=a}}}function O(){return n=f,t=y[s](arguments),r=(e=Bn(n))?n.length:0,u=(0<r?n[0]:e?f:n)||setTimeout,i=(1<r?n[1]:f)||clearTimeout,o=t[0],t[0]=function(){c.dn(),tn(o,f,y[s](arguments))},(c=an(!0,function(n){if(n){if(n.refresh)return n.refresh(),n;tn(i,f,[n])}return tn(u,f,t)},function(n){tn(i,f,[n])})).h;var n,t,e,r,u,i,o,c}function ln(n,t){return m(n,function(n){return t?t({status:"fulfilled",rejected:!1,value:n}):n},function(n){return t?t({status:It,rejected:!0,reason:n}):n})}function m(n,t,e,r){var u=n;try{if(j(n))(t||e)&&(u=n.then(t,e));else try{t&&(u=t(n))}catch(n){if(!e)throw n;u=e(n)}}finally{r&&sn(u,r)}return u}function sn(n,t){var e=n;return t&&(j(n)?e=n.finally?n.finally(t):n.then(function(n){return t(),n},function(n){throw t(),n}):t()),e}function vn(n){var t;return!!(t=n&&n.createEvent?n.createEvent("Event"):t)&&t.initEvent}function yn(n){return N(n)?n.toString():R(n)}function dn(n){return new(Ot=Ot||E(A(T,["AggregationError"]).v||cn("AggregationError",function(n,t){n.errors=t[0]}))).v(n)}function hn(n,t,e){var o,i,r,u,c,f=_(arguments,3),a=0,l=!1,s=[],v=Ft++,y=0<$.length?$[$.length-1]:void 0,d=!1,h=null;function m(u,i){try{return $.push(v),d=!0,h&&h.cancel(),h=null,n(function(e,r){s.push(function(){try{var n=2===a?u:i,t=b(n)?o:N(n)?n(o):n;j(t)?t.then(e,r):(n||3!==a?e:r)(t)}catch(n){r(n)}}),l&&g()},f)}finally{$.pop()}}function p(){return Dt[a]}function g(){var n;0<s.length&&(n=s.slice(),s=[],d=!0,h&&h.cancel(),h=null,t(n))}function P(t,e){return function(n){a===e&&(2===t&&j(n)?(a=1,n.then(P(2,1),P(3,1))):(a=t,l=!0,o=n,g(),d||3!==t||(h=h||O(w,qt))))}}function w(){var n,t,e,r,u;d||(d=!0,lt()?process.emit(Ct,o,i):(n=at()||Q(),Nt=Nt||E(A(T,[x+"RejectionEvent"]).v),n=n,t=zt,u=function(n){return J(n,"promise",{g:function(){return i}}),n.reason=o,n},e=!!Nt.v,r=ft(),u(u=(Tt=Tt||E(!!A(vn,[r]).v)).v?r.createEvent("Event"):e?new Event(t):{}),Tt.v&&u.initEvent(t,!1,!0),u&&n[_t]?n[_t](u):(r=n["on"+t])?r(u):(e=T("console"))&&(e.error||e.log)(t,R(u))))}k(i={then:m,catch:function(n){return m(void 0,n)},finally:function(t){var n=t,e=t;return N(t)&&(n=function(n){return t&&t(),n},e=function(n){throw t&&t(),n}),m(n,e)}},"state",{get:p}),Et&&(r=i,S=function(){return n=o,Ln[Hn].call(n);var n},u=function(){return d},bt=bt||{toString:function(){return"[[PromiseResult]]"}},jt=jt||{toString:function(){return"[[PromiseIsHandled]]"}},(c={})[At=At||{toString:function(){return"[[PromiseState]]"}}]={get:p},c[bt]={get:S},c[jt]={get:u},Vn(r,c)),X()&&(i[D(11)]="IPromise"),i.toString=function(){return"IPromise"+(Et?"["+v+(b(y)?"":":"+y)+"]":"")+" "+p()+(l?" - "+yn(o):"")},N(e)||I(x+": executor is not a function - "+yn(e));var S=P(3,0);try{e.call(i,P(2,0),S)}catch(n){S(n)}return i}function mn(e){return function(n){var t=_(arguments,1);return e(function(e,r){try{var u=[],i=1;nn(n,function(n,t){n&&(i++,m(n,function(n){u[t]=n,0==--i&&e(u)},r))}),0==--i&&e(u)}catch(n){r(n)}},t)}}function pn(e){return function(t){var n=_(arguments,1);return j(t)?t:e(function(n){n(t)},n)}}function gn(t){return function(e){var n=_(arguments,1);return t(function(n,t){t(e)},n)}}function Pn(t){return E(function(i){var n=_(arguments,1);return t(function(e,t){var r=[],u=1;function n(n,t){u++,ln(n,function(n){n.rejected?r[t]={status:It,reason:n.reason}:r[t]={status:"fulfilled",value:n.value},0==--u&&e(r)})}try{Bn(i)?en(i,n):Z(i)?nn(i,n):I("Input is not an iterable"),0==--u&&e(r)}catch(n){t(n)}},n)})}function wn(t){return E(function(u){var n=_(arguments,1);return t(function(t,e){var r=!1;function n(n){ln(n,function(n){r||(r=!0,n.rejected?e(n.reason):t(n.value))})}try{Bn(u)?en(u,n):Z(u)?nn(u,n):I("Input is not an iterable")}catch(n){e(n)}},n)})}function Sn(e){return E(function(t){var n=_(arguments,1);return e(function(e,r){var u=[],i=1,o=!1;function n(n,t){i++,ln(n,function(n){n.rejected?(u[t]=n.reason,0!=--i||o||r(dn(u))):(o=!0,e(n.value))})}try{Bn(t)?en(t,n):Z(t)?nn(t,n):I("Input is not an iterable"),0!=--i||o||r(dn(u))}catch(n){r(n)}},n)})}function An(n){en(n,function(n){try{n()}catch(n){}})}function u(n,t){return hn(u,(r=Gn(e=t)?e:0,function(n){O(function(){An(n)},r)}),n,t);var e,r}function bn(n,t){return(kt=kt||Pn(u)).v(n,t)}function jn(n,t){return(xt=xt||wn(u)).v(n,t)}function Rn(n,t){return($t=$t||Sn(u)).v(n,t)}function In(r,n){return(w=w||E(A(T,[x]).v||null)).v&&w.v[r]?E(function(e,n){return i(function(n,t){w.v[r](e).then(n,t)})}):n()}function i(n,t){var e=(w=w||E(A(T,[x]).v||null)).v;if(!e)return u(n);N(n)||I(x+": executor is not a function - "+R(n));var r=0,e=new e(function(t,e){n(function(n){r=2,t(n)},function(n){r=3,e(n)})});return k(e,"state",{get:function(){return Dt[r]}}),e}function e(n){return hn(e,An,n)}function En(n){Yt=n}function r(n,t){var o,t=b(t)?Yt:t;return hn(r,(0<=t&&(o={timeout:+t}),function(t){function e(n){An(t)}var r,n,u=o;function i(n){var t=h();return{didTimeout:n,timeRemaining:function(){return Pt-(n=t,h()-n);var n}}}wt()?(r=an(!0,function(n){return n&&St()(n),wt()(function(n){r.dn(),e(n||i(!1))},u)},function(n){St()(n)})).h:O(function(){e(i(!0))},b(n=(u||{}).timeout)?gt:n)}),n,t)}function p(n,t){return(oe=oe||E(i)).v.call(this,n,t)}function Tn(n,t,e,r){if(t.res=e,!n){if(t.isDone&&N(t.isDone))return m(t.isDone.call(r,t),function(n){return t.iter++,!!n});n=!!t.isDone}return t.iter++,n}function Dn(e,n,r){var u,i,o,c,t,f=function(n){throw a=!0,n},a=!1,l={st:h(),iter:0,isDone:n||!1};if(e)return o=function(){return p(function(n,t){i=n,f=t})},c=function(n){(a=!!n)?i(l.res):t()},(t=function(){for(;!a;)try{var n=e.call(r,l);if(j(n))return u=u||o(),m(n,function(n){try{m(Tn(a,l,n,r),c,f)}catch(n){f(n)}},f),u;var t=Tn(a,l,n,r);if(j(t))return u=u||o(),m(t,c,f),u;a=!!t}catch(n){return f(n),u}return a&&i&&i(l.res),u||l.res})()}function _n(){}function On(n,t,e){Ae[n]||(Ae[n]=cn(n));var r=h();return new Ae[n]("Task [".concat(t.id,"] ").concat(e||"","- ").concat(t.st?"Running":"Waiting",": ").concat((r-(t.st||t.cr)||"0")+" ms"))}function Nn(n,t){var e=h()-t;en(n,function(n){(n&&!n.rj&&n.st&&n.st<e||!n.st&&n.cr&&n.cr<e)&&n&&n[S](n.rj||On("Aborted",n,"Stale "))})}function kn(n,t){t=st(n,t);-1!==t&&n.splice(t,1)}var o,f,a,xn,$n,l,Cn,c,zn,Fn,qn,Jn,Wn,s,Hn,v,Ln,Un,y,N,Bn,Gn,Kn,Mn,Qn,k,Vn,d,Xn,Yn,Zn,nt,tt,g,et,rt,ut,it,ot,ct,ft,at,lt,st,vt,yt,P,dt,ht,mt,pt,gt,Pt,wt,St,At,bt,jt,x,Rt,It,Et,Tt,Dt,_t,Ot,Nt,kt,xt,$t,Ct,zt,$,Ft,qt,w,Jt,Wt,Ht,Lt,Ut,Bt,Gt,Kt,Mt,Qt,Vt,Xt,Yt,Zt,ne,te,ee,re,ue,ie,oe,ce,fe,ae,le,se,ve,ye,de,he,me,pe,ge,Pe,S,we,Se,Ae,be;this.nevware21=this.nevware21||{},this.nevware21["ts-async"]=(o={},f=void 0,a=null,xn="",$n="object",Cn="__proto__",c="undefined",zn="constructor",Fn="Symbol",qn="_polyfill",Jn="length",Wn="name",s="call",Hn="toString",Ln=t(v=n(Object),l="prototype"),y=t(Un=t(Vt=n(Array),l),"slice"),N=C("function"),Bn=t(Vt,"isArray"),Gn=C("number"),Kn=t(v,"getOwnPropertyDescriptor"),Mn=n(t(v,"hasOwn"),F),Qn={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},k=t(v,"defineProperty"),Vn=t(v,"defineProperties"),d=n(n(String)),Xn="[object Error]",Yn=n(t(v,"freeze"),H),Zn=n(t(v,"getPrototypeOf"),L),et=U({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),rt="__tsUtils$gblCfg",ft=M(T,["document"]),at=M(T,[it="window"]),lt=M(function(){return!!A(function(){return process&&(process.versions||{}).node}).v}),st=(r=>{var u=Un?Un[r]:a;return function(n){var t,e=(n?n[r]:a)||u;if(e)return t=arguments,(e||void 0).apply(n,e?y[s](t,1):t);I('"'+d(r)+'" not defined for '+R(n))}})("indexOf"),yt=n(t(v,"create"),rn),P=G(Jn),dt="ref",ht="unref",mt="hasRef",pt="enabled",gt=100,Pt=50,wt=M(T,["requestIdleCallback"]),St=M(T,["cancelIdleCallback"]),x="Promise",Rt="done",Et=!(It="rejected"),Dt=["pending","resolving","resolved",It],_t="dispatchEvent",zt=(Ct="unhandledRejection").toLowerCase(),$=[],qt=10,Ut=mn(u),Bt=pn(u),Gt=gn(u),Vt=pn(i),Xt=gn(i),ee=mn(e),re=pn(e),ue=gn(e),ie=En,le=mn(r),se=pn(r),ve=gn(r),he=mn(p),me=pn(p),pe=gn(p),S="reject",we="Rejected",Se=Ft=0,Ae={},be=D(11),o.PolyPromise=(()=>{function n(n){this._$=u(n),be&&(this[be]="Promise"),k(this,"state",{get:function(){return this._$.state}})}n.all=Ut,n.race=jn,n.any=Rn,n.reject=Gt,n.resolve=Bt,n.allSettled=bn;var t=n.prototype;return t.then=function(n,t){return this._$.then(n,t)},t.catch=function(n){return this._$.catch(n)},t.finally=function(n){return this._$.finally(n)},n})(),o.arrForEachAsync=function(t,e,r){if(t){var u=P(t);if(u)return Dn(function(n){n=n.iter;if(n in t)return e.call(r||t,t[n],n,t)},function(n){if(n.iter>=u||-1===n.res)return!0})}},o.createAllPromise=he,o.createAllSettledPromise=function(n,t){return(ce=ce||Pn(p)).v(n,t)},o.createAnyPromise=function(n,t){return(ae=ae||Sn(p)).v(n,t)},o.createAsyncAllPromise=Ut,o.createAsyncAllSettledPromise=bn,o.createAsyncAnyPromise=Rn,o.createAsyncPromise=u,o.createAsyncRacePromise=jn,o.createAsyncRejectedPromise=Gt,o.createAsyncResolvedPromise=Bt,o.createIdleAllPromise=le,o.createIdleAllSettledPromise=function(n,t){return(Zt=Zt||Pn(r)).v(n,t)},o.createIdleAnyPromise=function(n,t){return(te=te||Sn(r)).v(n,t)},o.createIdlePromise=r,o.createIdleRacePromise=function(n,t){return(ne=ne||wn(r)).v(n,t)},o.createIdleRejectedPromise=ve,o.createIdleResolvedPromise=se,o.createNativeAllPromise=function(n,t){return(Jt=Jt||In("all",function(){return E(mn(i))})).v(n,t)},o.createNativeAllSettledPromise=function(n,t){return(Wt=Wt||In("allSettled",function(){return Pn(i)})).v(n,t)},o.createNativeAnyPromise=function(n,t){return(Lt=Lt||In("any",function(){return Sn(i)})).v(n,t)},o.createNativePromise=i,o.createNativeRacePromise=function(n,t){return(Ht=Ht||In("race",function(){return wn(i)})).v(n,t)},o.createNativeRejectedPromise=Xt,o.createNativeResolvedPromise=Vt,o.createPromise=p,o.createRacePromise=function(n,t){return(fe=fe||wn(p)).v(n,t)},o.createRejectedPromise=pe,o.createResolvedPromise=me,o.createSyncAllPromise=ee,o.createSyncAllSettledPromise=function(n,t){return(Kt=Kt||Pn(e)).v(n,t)},o.createSyncAnyPromise=function(n,t){return(Qt=Qt||Sn(e)).v(n,t)},o.createSyncPromise=e,o.createSyncRacePromise=function(n,t){return(Mt=Mt||wn(e)).v(n,t)},o.createSyncRejectedPromise=ue,o.createSyncResolvedPromise=re,o.createTaskScheduler=function(f,n){function a(){var n=0<P(u)+P(v);0<i&&(e||(e=O(function(){Nn(u,i),Nn(v,i),e&&(e.enabled=0<P(u)+P(v))},o)).unref(),e)&&(e.enabled=n)}function l(i,o){return i.st=h(),u.push(i),a(),function(t,e){function r(n){i.rj=i.rj||n||On(we,i),i[S]=_n,c(i),t=null,e&&e(n),e=null}var n=i.id;if(i.rj)r(i.rj);else{i[S]=r;try{var u=o(n);i.to&&j(u)&&(i.t=O(function(){r(On("Timeout",i))},i.to)),m(u,function(n){c(i);try{t&&t(n)}catch(n){e&&e(n)}t=e=null},r)}catch(n){r(n)}}}}function c(n){kn(u,n),n.t&&n.t.cancel(),n.t=null,s&&s===n&&(s=null,P(u)+P(v)===0)&&(e&&e.cancel(),e=null)}var s,e,t,r,u=[],v=[],i=6e5,o=i/10,y=0,d=(n?n+".":"")+Se++,n=(f=f||p,{idle:!0,queue:function(n,t,e){var r,u,i,o=d+"."+y++,c=(t&&(o+="-("+t+")"),(t={id:o,cr:h(),to:e})[S]=function(n){c.rj=n||On(we,c),c[S]=_n},t);return c.p=s?(u=s,i=n,v.push(r=c),a(),f(function(n,t){ln(u.p,function(){kn(v,r),l(r,i)(n,t)})})):f(l(c,n)),(s=c).p},setStaleTimeout:function(n,t){e&&e.cancel(),e=null,i=n,o=t||n/10,a()}});return J(n,"idle",{g:function(){return P(u)+P(v)===0}}),r=function(){return{l:s,r:u,w:v}},Pe=Pe||{toString:function(){return"[[SchedulerState]]"}},k(t=n,ge=ge||{toString:function(){return"[[SchedulerName]]"}},{get:function(){return d}}),k(t,Pe,{get:r}),n},o.createTimeoutPromise=function(e,r,u){return p(function(n,t){O(function(){(r?n:t)(b(u)?"Timeout of "+e+"ms exceeded":u)},e)})},o.doAwait=m,o.doAwaitResponse=ln,o.doFinally=sn,o.doWhileAsync=Dn,o.iterForOfAsync=function(n,e,r){var t,u,i=n;function o(n){throw t={e:n},i.throw&&(u=null,i.throw(t)),n}function c(){try{u&&!u[Rt]&&i.return&&i.return(u)}finally{if(t)throw t.e}}if(n&&(Y(n)||(de=de||E(D(0)),i=n[de.v]?n[de.v]():null)||(ye=ye||E(D(3)),i=n[ye.v]?n[ye.v]():null),i)&&Y(i)){n=void 0;try{return n=j(n=Dn(function(t){return m(i.next(),function(n){if(!(u=n)[Rt])return function(n,t){return n.apply(t,y[s](arguments,2))}(e,r||i,u.value,t.iter,i)},function(n){t.isDone=!0,o(n)})},function(n){if(!u||u[Rt]||-1===n.res)return c(),!0},r||i))?sn(n.catch(o),c):n}catch(n){o(n)}finally{n&&!j(n)&&c()}}},o.setCreatePromiseImpl=function(n){oe=n?E(n):null},o.setDefaultIdlePromiseTimeout=En,o.setDefaultIdleTimeout=ie,o.setPromiseDebugState=function(n,t){Et=n},o);
function n(n,t){return n||t}function t(n,t){return n[t]}function A(n,t){try{return{v:n.apply(this,t)}}catch(n){return{e:n}}}function C(t){return function(n){return typeof n===t}}function b(n){return typeof n===c||n===c}function z(n){return n||n!==f}function j(n){return n&&n.then&&N(n.then)}function F(n,t){return!!n&&Un.hasOwnProperty[s](n,t)||!!Mn(n,t)}function q(n,t){if(n&&(n||n!==a&&!b(n))&&n&&typeof n===Cn)for(var e in n)if(Qn(n,e)&&-1===t[s](n,e,n[e]))break}function J(n,t,e){return k(n,t,(r=e,(u={})[Vn.c]=!0,u[Vn.e]=!0,r.l&&(u.get=function(){return r.l.v},n=Mn(r.l,"v"))&&n.set&&(u.set=function(n){r.l.v=n}),q(r,function(n,t){u[Vn[n]]=z(t)?t:u[Vn[n]]}),u));var r,u}function W(n,t,e,r){k(n,t,{value:e,enumerable:!0,writable:!!r})}function R(n,t){var e=$n,r=Un[Ln][s](n);r===Yn&&(n={stack:d(n.stack),message:d(n.message),name:d(n.name)});try{e=((e=JSON.stringify(n,a,t?"number"==typeof t?t:4:f))?e.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):a)||d(n)}catch(n){e=" - "+R(n,t)}return r+": "+e}function I(n){throw new TypeError(n)}function H(n){return n}function L(n){return n[zn]||a}function U(n){return t=Zn,e={},q(n,function(n,t){W(e,n,n,void 0),W(e,t,n,void 0)}),t?t(e):e;var t,e}function B(){var n;return(n=(n=(n=typeof globalThis!==c?globalThis:n)||typeof self===c?n:self)||typeof window===c?n:window)||typeof global===c?n:global}function G(t){return function(n){return n[t]}}function K(){var n;tt||(n=A(B).v||{},tt=n[ut]=n[ut]||{}),g=tt}function E(n){return k({toJSON:function(){return n}},"v",{value:n})}function M(n,t){var e;return function(){return g||K(),(e=e&&!g.lzy?e:E(A(n,t).v)).v}}function Q(n){return g||K(),(it=it&&!1!==n&&!g.lzy?it:E(A(B).v||a)).v}function T(n,t){t=it&&!1!==t?it.v:Q(t);if(t&&t[n])return t[n];if(n===ot)try{return window}catch(n){}return a}function V(){return ct=E(A(T,[qn]).v)}function X(){return g||K(),((g.lzy?0:ct)||V()).v}function D(n){var t,e=rt[n],r=(g||K(),(g.lzy?0:ct)||V());return r.v?r.v[e||n]:(et=et||{},(r=rt[n])?et[r]=et[r]||((e={description:d(t=qn+"."+r),toString:function(){return qn+"("+t+")"}})[Jn]=!0,e):void 0)}function Y(n){return n&&N(n.next)}function Z(n){return n!==a&&z(n)&&N(n[D(3)])}function nn(t,n,e){if(t&&(Y(t)||(t=t[(ft=ft||E(D(3))).v]?t[ft.v]():a),Y(t))){var r=f,u=f;try{for(var i=0;!(u=t.next()).done&&-1!==n[s](e||t,u.value,i,t);)i++}catch(n){r={e:n},t.throw&&(u=a,t.throw(r))}finally{try{u&&!u.done&&t.return&&t.return(u)}finally{if(r)throw r.e}}}}function tn(n,t,e){return n.apply(t,e)}function en(n,t){if(n)for(var e=n[Wn]>>>0,r=0;r<e&&!(r in n&&-1===t[s](n,n[r],r,n));r++);}function _(n){return((n?n.slice:a)||y).apply(n,y[s](arguments,1))}function rn(n){var t;return n?((t=typeof n)!==Cn&&"function"!=t&&I("Prototype must be an Object or function: "+R(n)),e[l]=n,new e):{};function e(){}}function un(n,t){return(v.setPrototypeOf||function(e,n){var t;(yt=yt||E(((t={})[zn]=[],t instanceof Array))).v?e[zn]=n:q(n,function(n,t){return e[n]=t})})(n,t)}function on(n,t){t&&(n[Hn]=t)}function cn(u,i){var n,t,o=Error,c=o[l][Hn],f=Error.captureStackTrace,e=o;return A(J,[t=function(){var n=this,t=arguments;try{A(on,[o,u]);var e,r=tn(o,n,y[s](t))||n;return r!==n&&(e=nt(n))!==nt(r)&&un(r,e),f&&f(r,n[Fn]),i&&i(r,t),r}finally{A(on,[o,c])}},Hn,{v:n=u,c:!0,e:!1}]),(t=un(t,e))[l]=e===a?dt(e):(r[l]=e[l],new r),t;function r(){this[Fn]=t,A(J,[this,Hn,{v:n,c:!0,e:!1}])}}function h(){return(Date.now||fn)()}function fn(){return(new Date).getTime()}function an(n,t,e){var r,u=!0,i=t(a);function o(){return u=!1,i&&i[mt]&&i[mt](),r}function c(){i&&e(i),i=a}function f(){return i=t(i),u||o(),r}return(r={cancel:c,refresh:f})[pt]=function(){return i&&i[pt]?i[pt]():u},r[ht]=function(){return u=!0,i&&i[ht]&&i[ht](),r},r[mt]=o,{h:r=k(r,gt,{get:function(){return!!i},set:function(n){!n&&i&&c(),n&&!i&&f()}}),dn:function(){i=a}}}function O(){return n=f,t=y[s](arguments),r=(e=Gn(n))?n.length:0,u=(0<r?n[0]:e?f:n)||setTimeout,i=(1<r?n[1]:f)||clearTimeout,o=t[0],t[0]=function(){c.dn(),tn(o,f,y[s](arguments))},(c=an(0,function(n){if(n){if(n.refresh)return n.refresh(),n;tn(i,f,[n])}return tn(u,f,t)},function(n){tn(i,f,[n])})).h;var n,t,e,r,u,i,o,c}function ln(n,t){return m(n,function(n){return t?t({status:"fulfilled",rejected:!1,value:n}):n},function(n){return t?t({status:Et,rejected:!0,reason:n}):n})}function m(n,t,e,r){var u=n;try{if(j(n))(t||e)&&(u=n.then(t,e));else try{t&&(u=t(n))}catch(n){if(!e)throw n;u=e(n)}}finally{r&&sn(u,r)}return u}function sn(n,t){var e=n;return t&&(j(n)?e=n.finally?n.finally(t):n.then(function(n){return t(),n},function(n){throw t(),n}):t()),e}function vn(n,t){return n||t}function yn(n){var t;return!!(t=n&&n.createEvent?n.createEvent("Event"):t)&&t.initEvent}function dn(n){return N(n)?n.toString():R(n)}function hn(n){return new(Nt=Nt||E(A(T,["AggregationError"]).v||cn("AggregationError",function(n,t){n.errors=t[0]}))).v(n)}function mn(n,t,e){var o,i,r,u,c,f=_(arguments,3),a=0,l=!1,s=[],v=qt++,y=0<$.length?$[$.length-1]:void 0,d=!1,h=null;function m(u,i){try{return $.push(v),d=!0,h&&h.cancel(),h=null,n(function(e,r){s.push(function(){try{var n=2===a?u:i,t=b(n)?o:N(n)?n(o):n;j(t)?t.then(e,r):(n||3!==a?e:r)(t)}catch(n){r(n)}}),l&&g()},f)}finally{$.pop()}}function p(){return _t[a]}function g(){var n;0<s.length&&(n=s.slice(),s=[],d=!0,h&&h.cancel(),h=null,t(n))}function P(t,e){return function(n){a===e&&(2===t&&j(n)?(a=1,n.then(P(2,1),P(3,1))):(a=t,l=!0,o=n,g(),d||3!==t||(h=h||O(w,Jt))))}}function w(){var n,t,e,r,u;d||(d=!0,st()?process.emit(zt,o,i):(n=lt()||Q(),kt=kt||E(A(T,[x+"RejectionEvent"]).v),n=n,t=Ft,u=function(n){return J(n,"promise",{g:function(){return i}}),n.reason=o,n},e=!!kt.v,r=at(),u(u=(Dt=Dt||E(!!A(yn,[r]).v)).v?r.createEvent("Event"):e?new Event(t):{}),Dt.v&&u.initEvent(t,!1,!0),u&&n[Ot]?n[Ot](u):(r=n["on"+t])?r(u):(e=T("console"))&&(e.error||e.log)(t,R(u))))}k(i={then:m,catch:function(n){return m(void 0,n)},finally:function(t){var n=t,e=t;return N(t)&&(n=function(n){return t&&t(),n},e=function(n){throw t&&t(),n}),m(n,e)}},"state",{get:p}),Tt&&(r=i,S=function(){return n=o,Un[Ln].call(n);var n},u=function(){return d},jt=jt||{toString:function(){return"[[PromiseResult]]"}},Rt=Rt||{toString:function(){return"[[PromiseIsHandled]]"}},(c={})[bt=bt||{toString:function(){return"[[PromiseState]]"}}]={get:p},c[jt]={get:S},c[Rt]={get:u},Xn(r,c)),X()&&(i[D(11)]="IPromise"),i.toString=function(){return"IPromise"+(Tt?"["+v+(b(y)?"":":"+y)+"]":"")+" "+p()+(l?" - "+dn(o):"")},N(e)||I(x+": executor is not a function - "+dn(e));var S=P(3,0);try{e.call(i,P(2,0),S)}catch(n){S(n)}return i}function pn(e){return function(n){var t=_(arguments,1);return e(function(e,r){try{var u=[],i=1;nn(n,function(n,t){n&&(i++,m(n,function(n){u[t]=n,0==--i&&e(u)},r))}),0==--i&&e(u)}catch(n){r(n)}},t)}}function gn(e){return function(t){var n=_(arguments,1);return j(t)?t:e(function(n){n(t)},n)}}function Pn(t){return function(e){var n=_(arguments,1);return t(function(n,t){t(e)},n)}}function wn(t){return E(function(i){var n=_(arguments,1);return t(function(e,t){var r=[],u=1;function n(n,t){u++,ln(n,function(n){n.rejected?r[t]={status:Et,reason:n.reason}:r[t]={status:"fulfilled",value:n.value},0==--u&&e(r)})}try{Gn(i)?en(i,n):Z(i)?nn(i,n):I("Input is not an iterable"),0==--u&&e(r)}catch(n){t(n)}},n)})}function Sn(t){return E(function(u){var n=_(arguments,1);return t(function(t,e){var r=!1;function n(n){ln(n,function(n){r||(r=!0,n.rejected?e(n.reason):t(n.value))})}try{Gn(u)?en(u,n):Z(u)?nn(u,n):I("Input is not an iterable")}catch(n){e(n)}},n)})}function An(e){return E(function(t){var n=_(arguments,1);return e(function(e,r){var u=[],i=1,o=!1;function n(n,t){i++,ln(n,function(n){n.rejected?(u[t]=n.reason,0!=--i||o||r(hn(u))):(o=!0,e(n.value))})}try{Gn(t)?en(t,n):Z(t)?nn(t,n):I("Input is not an iterable"),0!=--i||o||r(hn(u))}catch(n){r(n)}},n)})}function bn(n){en(n,function(n){try{n()}catch(n){}})}function u(n,t){return mn(u,(r=Kn(e=t)?e:0,function(n){O(function(){bn(n)},r)}),n,t);var e,r}function jn(n,t){return(xt=xt||wn(u)).v(n,t)}function Rn(n,t){return($t=$t||Sn(u)).v(n,t)}function In(n,t){return(Ct=Ct||An(u)).v(n,t)}function En(r,n){return(w=w||E(A(T,[x]).v||null)).v&&w.v[r]?E(function(e,n){return i(function(n,t){w.v[r](e).then(n,t)})}):n()}function i(n,t){var e=(w=w||E(A(T,[x]).v||null)).v;if(!e)return u(n);N(n)||I(x+": executor is not a function - "+R(n));var r=0,e=new e(function(t,e){n(function(n){r=2,t(n)},function(n){r=3,e(n)})});return k(e,"state",{get:function(){return _t[r]}}),e}function e(n){return mn(e,bn,n)}function Tn(n){Zt=n}function r(n,t){var o,t=b(t)?Zt:t;return mn(r,(0<=t&&(o={timeout:+t}),function(t){function e(n){bn(t)}var r,n,u=o;function i(n){var t=h();return{didTimeout:n,timeRemaining:function(){return wt-(n=t,h()-n);var n}}}St()?(r=an(0,function(n){return n&&At()(n),St()(function(n){r.dn(),e(n||i(!1))},u)},function(n){At()(n)})).h:O(function(){e(i(!0))},b(n=(u||{}).timeout)?Pt:n)}),n,t)}function p(n,t){return(ce=ce||E(i)).v.call(this,n,t)}function Dn(n,t,e,r){if(t.res=e,!n){if(t.isDone&&N(t.isDone))return m(t.isDone.call(r,t),function(n){return t.iter++,!!n});n=!!t.isDone}return t.iter++,n}function _n(e,n,r){var u,i,o,c,t,f=function(n){throw a=!0,n},a=!1,l={st:h(),iter:0,isDone:n||!1};if(e)return o=function(){return p(function(n,t){i=n,f=t})},c=function(n){(a=!!n)?i(l.res):t()},(t=function(){for(;!a;)try{var n=e.call(r,l);if(j(n))return u=u||o(),m(n,function(n){try{m(Dn(a,l,n,r),c,f)}catch(n){f(n)}},f),u;var t=Dn(a,l,n,r);if(j(t))return u=u||o(),m(t,c,f),u;a=!!t}catch(n){return f(n),u}return a&&i&&i(l.res),u||l.res})()}function On(){}function Nn(n,t,e){be[n]||(be[n]=cn(n));var r=h();return new be[n]("Task [".concat(t.id,"] ").concat(e||"","- ").concat(t.st?"Running":"Waiting",": ").concat((r-(t.st||t.cr)||"0")+" ms"))}function kn(n,t){var e=h()-t;en(n,function(n){(n&&!n.rj&&n.st&&n.st<e||!n.st&&n.cr&&n.cr<e)&&n&&n[S](n.rj||Nn("Aborted",n,"Stale "))})}function xn(n,t){t=vt(n,t);-1!==t&&n.splice(t,1)}var o,f,a,$n,Cn,l,zn,c,Fn,qn,Jn,Wn,Hn,s,Ln,v,Un,Bn,y,N,Gn,Kn,Mn,Qn,Vn,k,Xn,d,Yn,Zn,nt,tt,et,g,rt,ut,it,ot,ct,ft,at,lt,st,vt,yt,dt,P,ht,mt,pt,gt,Pt,wt,St,At,bt,jt,Rt,x,It,Et,Tt,Dt,_t,Ot,Nt,kt,xt,$t,Ct,zt,Ft,$,qt,Jt,w,Wt,Ht,Lt,Ut,Bt,Gt,Kt,Mt,Qt,Vt,Xt,Yt,Zt,ne,te,ee,re,ue,ie,oe,ce,fe,ae,le,se,ve,ye,de,he,me,pe,ge,Pe,we,S,Se,Ae,be,je;this.nevware21=this.nevware21||{},this.nevware21["ts-async"]=(o={},f=void 0,a=null,$n="",Cn="object",zn="__proto__",c="undefined",Fn="constructor",qn="Symbol",Jn="_polyfill",Wn="length",Hn="name",s="call",Ln="toString",Un=t(v=n(Object),l="prototype"),y=t(Bn=t(Xt=n(Array),l),"slice"),N=C("function"),Gn=t(Xt,"isArray"),Kn=C("number"),Mn=t(v,"getOwnPropertyDescriptor"),Qn=n(t(v,"hasOwn"),F),Vn={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},k=t(v,"defineProperty"),Xn=t(v,"defineProperties"),d=n(n(String)),Yn="[object Error]",Zn=n(t(v,"freeze"),H),nt=n(t(v,"getPrototypeOf"),L),rt=U({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),ut="__tsUtils$gblCfg",at=M(T,["document"]),lt=M(T,[ot="window"]),st=M(function(){return!!A(function(){return process&&(process.versions||{}).node}).v}),vt=(r=>{var u=Bn?Bn[r]:a;return function(n){var t,e=(n?n[r]:a)||u;if(e)return t=arguments,(e||void 0).apply(n,e?y[s](t,1):t);I('"'+d(r)+'" not defined for '+R(n))}})("indexOf"),dt=n(t(v,"create"),rn),P=G(Wn),ht="ref",mt="unref",pt="hasRef",gt="enabled",Pt=100,wt=50,St=M(T,["requestIdleCallback"]),At=M(T,["cancelIdleCallback"]),x="Promise",It="done",Tt=!(Et="rejected"),_t=["pending","resolving","resolved",Et],Ot="dispatchEvent",Ft=(zt="unhandledRejection").toLowerCase(),$=[],Jt=10,Bt=pn(u),Gt=gn(u),Kt=Pn(u),Xt=gn(i),Yt=Pn(i),re=pn(e),ue=gn(e),ie=Pn(e),oe=vn(Tn),se=pn(r),ve=gn(r),ye=Pn(r),me=pn(p),pe=gn(p),ge=Pn(p),S="reject",Se="Rejected",Ae=qt=0,be={},je=D(11),o.PolyPromise=(()=>{function n(n){this._$=u(n),je&&(this[je]="Promise"),k(this,"state",{get:function(){return this._$.state}})}n.all=Bt,n.race=Rn,n.any=In,n.reject=Kt,n.resolve=Gt,n.allSettled=jn;var t=n.prototype;return t.then=function(n,t){return this._$.then(n,t)},t.catch=function(n){return this._$.catch(n)},t.finally=function(n){return this._$.finally(n)},n})(),o.arrForEachAsync=function(t,e,r){if(t){var u=P(t);if(u)return _n(function(n){n=n.iter;if(n in t)return e.call(r||t,t[n],n,t)},function(n){if(n.iter>=u||-1===n.res)return!0})}},o.createAllPromise=me,o.createAllSettledPromise=function(n,t){return(fe=fe||wn(p)).v(n,t)},o.createAnyPromise=function(n,t){return(le=le||An(p)).v(n,t)},o.createAsyncAllPromise=Bt,o.createAsyncAllSettledPromise=jn,o.createAsyncAnyPromise=In,o.createAsyncPromise=u,o.createAsyncRacePromise=Rn,o.createAsyncRejectedPromise=Kt,o.createAsyncResolvedPromise=Gt,o.createIdleAllPromise=se,o.createIdleAllSettledPromise=function(n,t){return(ne=ne||wn(r)).v(n,t)},o.createIdleAnyPromise=function(n,t){return(ee=ee||An(r)).v(n,t)},o.createIdlePromise=r,o.createIdleRacePromise=function(n,t){return(te=te||Sn(r)).v(n,t)},o.createIdleRejectedPromise=ye,o.createIdleResolvedPromise=ve,o.createNativeAllPromise=function(n,t){return(Wt=Wt||En("all",function(){return E(pn(i))})).v(n,t)},o.createNativeAllSettledPromise=function(n,t){return(Ht=Ht||En("allSettled",function(){return wn(i)})).v(n,t)},o.createNativeAnyPromise=function(n,t){return(Ut=Ut||En("any",function(){return An(i)})).v(n,t)},o.createNativePromise=i,o.createNativeRacePromise=function(n,t){return(Lt=Lt||En("race",function(){return Sn(i)})).v(n,t)},o.createNativeRejectedPromise=Yt,o.createNativeResolvedPromise=Xt,o.createPromise=p,o.createRacePromise=function(n,t){return(ae=ae||Sn(p)).v(n,t)},o.createRejectedPromise=ge,o.createResolvedPromise=pe,o.createSyncAllPromise=re,o.createSyncAllSettledPromise=function(n,t){return(Mt=Mt||wn(e)).v(n,t)},o.createSyncAnyPromise=function(n,t){return(Vt=Vt||An(e)).v(n,t)},o.createSyncPromise=e,o.createSyncRacePromise=function(n,t){return(Qt=Qt||Sn(e)).v(n,t)},o.createSyncRejectedPromise=ie,o.createSyncResolvedPromise=ue,o.createTaskScheduler=function(f,n){function a(){var n=0<P(u)+P(v);0<i&&(e||(e=O(function(){kn(u,i),kn(v,i),e&&(e.enabled=0<P(u)+P(v))},o)).unref(),e)&&(e.enabled=n)}function l(i,o){return i.st=h(),u.push(i),a(),function(t,e){function r(n){i.rj=i.rj||n||Nn(Se,i),i[S]=On,c(i),t=null,e&&e(n),e=null}var n=i.id;if(i.rj)r(i.rj);else{i[S]=r;try{var u=o(n);i.to&&j(u)&&(i.t=O(function(){r(Nn("Timeout",i))},i.to)),m(u,function(n){c(i);try{t&&t(n)}catch(n){e&&e(n)}t=e=null},r)}catch(n){r(n)}}}}function c(n){xn(u,n),n.t&&n.t.cancel(),n.t=null,s&&s===n&&(s=null,P(u)+P(v)===0)&&(e&&e.cancel(),e=null)}var s,e,t,r,u=[],v=[],i=6e5,o=i/10,y=0,d=(n?n+".":"")+Ae++,n=(f=f||p,{idle:!0,queue:function(n,t,e){var r,u,i,o=d+"."+y++,c=(t&&(o+="-("+t+")"),(t={id:o,cr:h(),to:e})[S]=function(n){c.rj=n||Nn(Se,c),c[S]=On},t);return c.p=s?(u=s,i=n,v.push(r=c),a(),f(function(n,t){ln(u.p,function(){xn(v,r),l(r,i)(n,t)})})):f(l(c,n)),(s=c).p},setStaleTimeout:function(n,t){e&&e.cancel(),e=null,i=n,o=t||n/10,a()}});return J(n,"idle",{g:function(){return P(u)+P(v)===0}}),r=function(){return{l:s,r:u,w:v}},we=we||{toString:function(){return"[[SchedulerState]]"}},k(t=n,Pe=Pe||{toString:function(){return"[[SchedulerName]]"}},{get:function(){return d}}),k(t,we,{get:r}),n},o.createTimeoutPromise=function(e,r,u){return p(function(n,t){O(function(){(r?n:t)(b(u)?"Timeout of "+e+"ms exceeded":u)},e)})},o.doAwait=m,o.doAwaitResponse=ln,o.doFinally=sn,o.doWhileAsync=_n,o.iterForOfAsync=function(n,e,r){var t,u,i=n;function o(n){throw t={e:n},i.throw&&(u=null,i.throw(t)),n}function c(){try{u&&!u[It]&&i.return&&i.return(u)}finally{if(t)throw t.e}}if(n&&(Y(n)||(he=he||E(D(0)),i=n[he.v]?n[he.v]():null)||(de=de||E(D(3)),i=n[de.v]?n[de.v]():null),i)&&Y(i)){n=void 0;try{return n=j(n=_n(function(t){return m(i.next(),function(n){if(!(u=n)[It])return function(n,t){return n.apply(t,y[s](arguments,2))}(e,r||i,u.value,t.iter,i)},function(n){t.isDone=!0,o(n)})},function(n){if(!u||u[It]||-1===n.res)return c(),!0},r||i))?sn(n.catch(o),c):n}catch(n){o(n)}finally{n&&!j(n)&&c()}}},o.setCreatePromiseImpl=function(n){ce=n?E(n):null},o.setDefaultIdlePromiseTimeout=Tn,o.setDefaultIdleTimeout=oe,o.setPromiseDebugState=function(n,t){Tt=n},o);
//# sourceMappingURL=ts-async.min.js.map
/*!
* NevWare21 Solutions LLC - ts-async Polyfills, 0.5.3
* NevWare21 Solutions LLC - ts-async Polyfills, 0.5.4
* https://github.com/nevware21/ts-async

@@ -103,3 +103,3 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

if (objHasOwn(theObject, prop)) {
if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
if (callbackfn[CALL](theObject, prop, theObject[prop]) === -1) {
break;

@@ -146,4 +146,4 @@ }

objForEachKey(values, function (key, value) {
_assignMapValue(theMap, key, keyType ? value : key, writable);
_assignMapValue(theMap, value, valueType ? value : key, writable);
_assignMapValue(theMap, key, key, writable);
_assignMapValue(theMap, value, key, writable);
});

@@ -309,3 +309,3 @@ return completeFn ? completeFn(theMap) : theMap;

var isNode = ( /*#__PURE__*/_getGlobalInstFn(function () {
return !!( safe(function () { return (process && (process.versions || {}).node); }).v);
return !!( /*#__PURE__*/safe(function () { return (process && (process.versions || {}).node); }).v);
}));

@@ -332,3 +332,3 @@ var _symbol;

var sym = ((!_globalLazyTestHooks.lzy ? _symbol : 0) || _initSymbol());
return sym.v ? sym.v[knownName || name] : (!noPoly ? polyGetKnownSymbol(name) : UNDEF_VALUE);
return sym.v ? sym.v[knownName || name] : (polyGetKnownSymbol(name) );
}

@@ -392,3 +392,3 @@ /*#__NO_SIDE_EFFECTS__*/

if (idx in theArray) {
if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
if (callbackfn[CALL](theArray, theArray[idx], idx, theArray) === -1) {
break;

@@ -443,3 +443,3 @@ }

function createCustomError(name, constructCb, errorBase) {
var theBaseClass = errorBase || Error;
var theBaseClass = Error;
var orgName = theBaseClass[PROTOTYPE][NAME];

@@ -475,3 +475,3 @@ var captureFn = Error.captureStackTrace;

var ref = true;
var timerId = startTimer ? refreshFn(NULL_VALUE) : NULL_VALUE;
var timerId = refreshFn(NULL_VALUE) ;
var theTimerHandler;

@@ -596,31 +596,5 @@ function _unref() {

finally {
if (finallyFn) {
doFinally(result, finallyFn);
}
}
return result;
}
function doFinally(value, finallyFn) {
var result = value;
if (finallyFn) {
if (isPromiseLike(value)) {
if (value.finally) {
result = value.finally(finallyFn);
}
else {
result = value.then(function (value) {
finallyFn();
return value;
}, function (reason) {
finallyFn();
throw reason;
});
}
}
else {
finallyFn();
}
}
return result;
}

@@ -627,0 +601,0 @@ var STRING_STATES = [

/*!
* NevWare21 Solutions LLC - ts-async, 0.5.3
* NevWare21 Solutions LLC - ts-async, 0.5.4
* https://github.com/nevware21/ts-async

@@ -7,3 +7,3 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

*/
function n(n,t){return n||t}function t(n,t){return n[t]}function w(n,t){try{return{v:n.apply(this,t)}}catch(n){return{e:n}}}function J(t){return function(n){return typeof n===t}}function N(n){return typeof n===p||n===p}function D(n){return n||n!==d}function m(n){return n&&n.then&&z(n.then)}function U(n,t){return!!n&&xn.hasOwnProperty[T](n,t)||!!Cn(n,t)}function o(n,t,r){if(n&&(n||n!==A&&!N(n))&&n&&typeof n===On)for(var e in n)if(Jn(n,e)&&-1===t[T](r||n,e,n[e]))break}function b(n,t,r){return R(n,t,(e=r,(u={})[x.c]=!0,u[x.e]=!0,e.l&&(u.get=function(){return e.l.v},n=Cn(e.l,"v"))&&n.set&&(u.set=function(n){e.l.v=n}),o(e,function(n,t){u[x[n]]=D(t)?t:u[x[n]]}),u));var e,u}function q(n,t,r,e){R(n,t,{value:r,enumerable:!0,writable:!!e})}function E(n,t){var r=Sn,e=xn[kn][T](n);e===Nn&&(n={stack:C(n.stack),message:C(n.message),name:C(n.name)});try{r=((r=JSON.stringify(n,A,t?"number"==typeof t?t:4:d))?r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):A)||C(n)}catch(n){r=" - "+E(n,t)}return e+": "+r}function j(n){throw new TypeError(n)}function B(n){return n}function F(n){return n[An]||A}function G(n){return t=Dn,r={},o(n,function(n,t){q(r,n,n,void 0),q(r,t,n,void 0)}),t?t(r):r;var t,r}function H(){var n;return(n=(n=(n=typeof globalThis!==p?globalThis:n)||typeof self===p?n:self)||typeof window===p?n:window)||typeof global===p?n:global}function i(){var n;ln||(n=w(H).v||{},ln=n[Bn]=n[Bn]||{}),h=ln}function P(n){return R({toJSON:function(){return n}},"v",{value:n})}function r(n,t){var r;return function(){return h||i(),(r=r&&!h.lzy?r:P(w(n,t).v)).v}}function K(n){return h||i(),(y=y&&!1!==n&&!h.lzy?y:P(w(H).v||A)).v}function S(n,t){t=y&&!1!==t?y.v:K(t);if(t&&t[n])return t[n];if(n===sn)try{return window}catch(n){}return A}function L(){return vn=P(w(S,[Tn]).v)}function M(){return h||i(),((h.lzy?0:vn)||L()).v}function _(n,t){var r,e=qn[n],u=(h||i(),(h.lzy?0:vn)||L());return u.v?u.v[e||n]:t?d:(v=v||{},(u=qn[n])?v[u]=v[u]||((e={description:C(r=Tn+"."+u),toString:function(){return Tn+"("+r+")"}})[$n]=!0,e):void 0)}function Q(n){return n&&z(n.next)}function c(n){return n!==A&&D(n)&&z(n[_(3)])}function f(t,n,r){if(t&&(Q(t)||(t=t[(hn=hn||P(_(3))).v]?t[hn.v]():A),Q(t))){var e=d,u=d;try{for(var o=0;!(u=t.next()).done&&-1!==n[T](r||t,u.value,o,t);)o++}catch(n){e={e:n},t.throw&&(u=A,t.throw(e))}finally{try{u&&!u.done&&t.return&&t.return(u)}finally{if(e)throw e.e}}}}function g(n,t,r){return n.apply(t,r)}function a(n,t,r){if(n)for(var e=n[zn]>>>0,u=0;u<e&&!(u in n&&-1===t[T](r||n,n[u],u,n));u++);}function O(n){return((n?n.slice:A)||$).apply(n,$[T](arguments,1))}function V(n){var t;return n?((t=typeof n)!==On&&t!=_n&&j("Prototype must be an Object or function: "+E(n)),r[s]=n,new r):{};function r(){}}function W(n,t){return(e.setPrototypeOf||function(r,n){var t;(yn=yn||P(((t={})[An]=[],t instanceof Array))).v?r[An]=n:o(n,function(n,t){return r[n]=t})})(n,t)}function X(n,t){t&&(n[I]=t)}function Y(){return f=d,a=$[T](arguments),s=(l=k(f))?f.length:0,v=(0<s?f[0]:l?d:f)||setTimeout,h=(1<s?f[1]:d)||clearTimeout,y=a[0],a[0]=function(){p.dn(),g(y,d,$[T](arguments))},u=function(n){g(h,d,[n])},i=!0,c=(e=function(n){if(n){if(n.refresh)return n.refresh(),n;g(h,d,[n])}return g(v,d,a)})(A),(o={cancel:t,refresh:r})[Qn]=function(){return c&&c[Qn]?c[Qn]():i},o[Ln]=function(){return i=!0,c&&c[Ln]&&c[Ln](),o},o[Mn]=n,(p={h:o=R(o,Vn,{get:function(){return!!c},set:function(n){!n&&c&&t(),n&&!c&&r()}}),dn:function(){c=A}}).h;function n(){return i=!1,c&&c[Mn]&&c[Mn](),o}function t(){c&&u(c),c=A}function r(){return c=e(c),i||n(),o}var e,u,o,i,c,f,a,l,s,v,h,y,p}function l(n,t){Z(n,function(n){return t?t({status:"fulfilled",rejected:!1,value:n}):n},function(n){return t?t({status:pn,rejected:!0,reason:n}):n})}function Z(n,t,r,e){var u,o=n;try{if(m(n))(t||r)&&(o=n.then(t,r));else try{t&&(o=t(n))}catch(n){if(!r)throw n;o=r(n)}}finally{e&&(t=o,u=e)&&(m(t)?t.finally?t.finally(u):t.then(function(n){return u(),n},function(n){throw u(),n}):u())}}function nn(n){var t;return!!(t=n&&n.createEvent?n.createEvent("Event"):t)&&t.initEvent}function tn(n){return z(n)?n.toString():E(n)}function rn(n){return new(dn=dn||P(w(S,["AggregationError"]).v||(c=(i=Error)[s][I],f=Error.captureStackTrace,e=i,w(b,[r=function(){var n=this,t=arguments;try{w(X,[i,u]);var r,e=g(i,n,$[T](t))||n;return e!==n&&(r=Un(n))!==Un(e)&&W(e,r),f&&f(e,n[In]),o(e,t),e}finally{w(X,[i,c])}},I,{v:u="AggregationError",c:!0,e:!(o=function(n,t){n.errors=t[0]})}]),(r=W(r,e))[s]=e===A?Kn(e):(t[s]=e[s],new t),r))).v(n);function t(){this[In]=r,w(b,[this,I,{v:"AggregationError",c:!0,e:!1}])}var u,o,r,i,c,f,e}function en(r){return function(n){var t=O(arguments,1);return r(function(r,e){try{var u=[],o=1;f(n,function(n,t){n&&(o++,Z(n,function(n){u[t]=n,0==--o&&r(u)},e))}),0==--o&&r(u)}catch(n){e(n)}},t)}}function un(r){return function(t){var n=O(arguments,1);return m(t)?t:r(function(n){n(t)},n)}}function on(t){return function(r){var n=O(arguments,1);return t(function(n,t){t(r)},n)}}function u(n,t){return function(n,t,r){var i,o,e=O(arguments,3),c=0,f=!1,a=[],l=nt++,s=!1,v=null;function u(u,o){try{return Zn.push(l),s=!0,v&&v.cancel(),v=null,n(function(r,e){a.push(function(){try{var n=2===c?u:o,t=N(n)?i:z(n)?n(i):n;m(t)?t.then(r,e):(n||3!==c?r:e)(t)}catch(n){e(n)}}),f&&y()},e)}finally{Zn.pop()}}function h(){return Xn[c]}function y(){var n;0<a.length&&(n=a.slice(),a=[],s=!0,v&&v.cancel(),v=null,t(n))}function p(t,r){return function(n){c===r&&(2===t&&m(n)?(c=1,n.then(p(2,1),p(3,1))):(c=t,f=!0,i=n,y(),s||3!==t||(v=v||Y(g,10))))}}function g(){var n,t,r,e,u;s||(s=!0,Hn()?process.emit(jn,i,o):(n=Gn()||K(),t="unhandledrejection",u=function(n){return b(n,"promise",{g:function(){return o}}),n.reason=i,n},r=!!(wn=wn||P(w(S,[Wn+"RejectionEvent"]).v)).v,e=Fn(),u(u=(gn=gn||P(!!w(nn,[e]).v)).v?e.createEvent("Event"):r?new Event(t):{}),gn.v&&u.initEvent(t,!1,!0),u&&n[Yn]?n[Yn](u):(e=n["on"+t])?e(u):(r=S("console"))&&(r.error||r.log)(t,E(u))))}R(o={then:u,catch:function(n){return u(void 0,n)},finally:function(t){var n=t,r=t;return z(t)&&(n=function(n){return t&&t(),n},r=function(n){throw t&&t(),n}),u(n,r)}},"state",{get:h}),M()&&(o[_(11)]="IPromise"),o.toString=function(){return"IPromise "+h()+(f?" - "+tn(i):"")},z(r)||j(Wn+": executor is not a function - "+tn(r));var d=p(3,0);try{r.call(o,p(2,0),d)}catch(n){d(n)}return o}(u,(e=Rn(r=t)?r:0,function(n){Y(function(){a(n,function(n){try{n()}catch(n){}})},e)}),n,t);var r,e}function cn(n,t){var r;return mn||(r=u,mn=P(function(o){var n=O(arguments,1);return r(function(r,t){var e=[],u=1;function n(n,t){u++,l(n,function(n){n.rejected?e[t]={status:pn,reason:n.reason}:e[t]={status:"fulfilled",value:n.value},0==--u&&r(e)})}try{k(o)?a(o,n):c(o)?f(o,n):j("Input is not an iterable"),0==--u&&r(e)}catch(n){t(n)}},n)})),mn.v(n,t)}function fn(n,t){var r;return bn||(r=u,bn=P(function(u){var n=O(arguments,1);return r(function(t,r){var e=!1;function n(n){l(n,function(n){e||(e=!0,n.rejected?r(n.reason):t(n.value))})}try{k(u)?a(u,n):c(u)?f(u,n):j("Input is not an iterable")}catch(n){r(n)}},n)})),bn.v(n,t)}function an(n,t){var r;return En||(r=u,En=P(function(t){var n=O(arguments,1);return r(function(r,e){var u=[],o=1,i=!1;function n(n,t){o++,l(n,function(n){n.rejected?(u[t]=n.reason,0!=--o||i||e(rn(u))):(i=!0,r(n.value))})}try{k(t)?a(t,n):c(t)?f(t,n):j("Input is not an iterable"),0!=--o||i||e(rn(u))}catch(n){e(n)}},n)})),En.v(n,t)}var s,e,ln,v,h,y,sn,vn,hn,yn,pn,gn,dn,wn,mn,bn,En,jn,Pn,d=void 0,A=null,Sn="",_n="function",On="object",An="__proto__",p="undefined",In="constructor",Tn="Symbol",$n="_polyfill",zn="length",I="name",T="call",kn="toString",xn=t(e=n(Object),s="prototype"),$=t(t(ot=n(Array),s),"slice"),z=J(_n),k=t(ot,"isArray"),Rn=J("number"),Cn=t(e,"getOwnPropertyDescriptor"),Jn=n(t(e,"hasOwn"),U),x={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},R=t(e,"defineProperty"),C=n(n(String)),Nn="[object Error]",Dn=n(t(e,"freeze"),B),Un=n(t(e,"getPrototypeOf"),F),qn=G({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Bn="__tsUtils$gblCfg",Fn=r(S,["document"]),Gn=r(S,[sn="window"]),Hn=r(function(){return!!w(function(){return process&&(process.versions||{}).node}).v}),Kn=n(t(e,"create"),V),Ln="ref",Mn="unref",Qn="hasRef",Vn="enabled",Wn="Promise",Xn=["pending","resolving","resolved",pn="rejected"],Yn="dispatchEvent",Zn=(jn="unhandledRejection",[]),nt=0,tt=en(u),rt=un(u),et=on(u),ut=_(11),ot=(()=>{function n(n){this._$=u(n),ut&&(this[ut]="Promise"),R(this,"state",{get:function(){return this._$.state}})}n.all=tt,n.race=fn,n.any=an,n.reject=et,n.resolve=rt,n.allSettled=cn;var t=n.prototype;return t.then=function(n,t){return this._$.then(n,t)},t.catch=function(n){return this._$.catch(n)},t.finally=function(n){return this._$.finally(n)},n})();Promise?(Pn=Promise)&&o({all:tt,resolved:rt,rejected:et,allSettled:cn},function(n,t){Pn[n]||(Pn[n]=t)}):Promise=ot;
function n(n,t){return n||t}function t(n,t){return n[t]}function m(n,t){try{return{v:n.apply(this,t)}}catch(n){return{e:n}}}function J(t){return function(n){return typeof n===t}}function N(n){return typeof n===p||n===p}function D(n){return n||n!==d}function w(n){return n&&n.then&&z(n.then)}function U(n,t){return!!n&&xn.hasOwnProperty[T](n,t)||!!Cn(n,t)}function o(n,t){if(n&&(n||n!==A&&!N(n))&&n&&typeof n===On)for(var r in n)if(Jn(n,r)&&-1===t[T](n,r,n[r]))break}function b(n,t,r){return R(n,t,(e=r,(u={})[x.c]=!0,u[x.e]=!0,e.l&&(u.get=function(){return e.l.v},n=Cn(e.l,"v"))&&n.set&&(u.set=function(n){e.l.v=n}),o(e,function(n,t){u[x[n]]=D(t)?t:u[x[n]]}),u));var e,u}function q(n,t,r,e){R(n,t,{value:r,enumerable:!0,writable:!!e})}function E(n,t){var r=Sn,e=xn[kn][T](n);e===Nn&&(n={stack:C(n.stack),message:C(n.message),name:C(n.name)});try{r=((r=JSON.stringify(n,A,t?"number"==typeof t?t:4:d))?r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):A)||C(n)}catch(n){r=" - "+E(n,t)}return e+": "+r}function j(n){throw new TypeError(n)}function B(n){return n}function F(n){return n[An]||A}function G(n){return t=Dn,r={},o(n,function(n,t){q(r,n,n,void 0),q(r,t,n,void 0)}),t?t(r):r;var t,r}function H(){var n;return(n=(n=(n=typeof globalThis!==p?globalThis:n)||typeof self===p?n:self)||typeof window===p?n:window)||typeof global===p?n:global}function u(){var n;ln||(n=m(H).v||{},ln=n[Bn]=n[Bn]||{}),h=ln}function P(n){return R({toJSON:function(){return n}},"v",{value:n})}function r(n,t){var r;return function(){return h||u(),(r=r&&!h.lzy?r:P(m(n,t).v)).v}}function K(n){return h||u(),(y=y&&!1!==n&&!h.lzy?y:P(m(H).v||A)).v}function S(n,t){t=y&&!1!==t?y.v:K(t);if(t&&t[n])return t[n];if(n===sn)try{return window}catch(n){}return A}function L(){return vn=P(m(S,[Tn]).v)}function M(){return h||u(),((h.lzy?0:vn)||L()).v}function _(n){var t,r=qn[n],e=(h||u(),(h.lzy?0:vn)||L());return e.v?e.v[r||n]:(v=v||{},(e=qn[n])?v[e]=v[e]||((r={description:C(t=Tn+"."+e),toString:function(){return Tn+"("+t+")"}})[$n]=!0,r):void 0)}function Q(n){return n&&z(n.next)}function c(n){return n!==A&&D(n)&&z(n[_(3)])}function f(t,n,r){if(t&&(Q(t)||(t=t[(hn=hn||P(_(3))).v]?t[hn.v]():A),Q(t))){var e=d,u=d;try{for(var o=0;!(u=t.next()).done&&-1!==n[T](r||t,u.value,o,t);)o++}catch(n){e={e:n},t.throw&&(u=A,t.throw(e))}finally{try{u&&!u.done&&t.return&&t.return(u)}finally{if(e)throw e.e}}}}function g(n,t,r){return n.apply(t,r)}function a(n,t){if(n)for(var r=n[zn]>>>0,e=0;e<r&&!(e in n&&-1===t[T](n,n[e],e,n));e++);}function O(n){return((n?n.slice:A)||$).apply(n,$[T](arguments,1))}function V(n){var t;return n?((t=typeof n)!==On&&t!=_n&&j("Prototype must be an Object or function: "+E(n)),r[s]=n,new r):{};function r(){}}function W(n,t){return(e.setPrototypeOf||function(r,n){var t;(yn=yn||P(((t={})[An]=[],t instanceof Array))).v?r[An]=n:o(n,function(n,t){return r[n]=t})})(n,t)}function X(n,t){t&&(n[I]=t)}function Y(){return f=d,a=$[T](arguments),s=(l=k(f))?f.length:0,v=(0<s?f[0]:l?d:f)||setTimeout,h=(1<s?f[1]:d)||clearTimeout,y=a[0],a[0]=function(){p.dn(),g(y,d,$[T](arguments))},u=function(n){g(h,d,[n])},i=!0,c=(e=function(n){if(n){if(n.refresh)return n.refresh(),n;g(h,d,[n])}return g(v,d,a)})(A),(o={cancel:t,refresh:r})[Qn]=function(){return c&&c[Qn]?c[Qn]():i},o[Ln]=function(){return i=!0,c&&c[Ln]&&c[Ln](),o},o[Mn]=n,(p={h:o=R(o,Vn,{get:function(){return!!c},set:function(n){!n&&c&&t(),n&&!c&&r()}}),dn:function(){c=A}}).h;function n(){return i=!1,c&&c[Mn]&&c[Mn](),o}function t(){c&&u(c),c=A}function r(){return c=e(c),i||n(),o}var e,u,o,i,c,f,a,l,s,v,h,y,p}function l(n,t){Z(n,function(n){return t?t({status:"fulfilled",rejected:!1,value:n}):n},function(n){return t?t({status:pn,rejected:!0,reason:n}):n})}function Z(n,t,r){if(w(n))(t||r)&&n.then(t,r);else try{t&&t(n)}catch(n){if(!r)throw n;r(n)}}function nn(n){var t;return!!(t=n&&n.createEvent?n.createEvent("Event"):t)&&t.initEvent}function tn(n){return z(n)?n.toString():E(n)}function rn(n){return new(dn=dn||P(m(S,["AggregationError"]).v||(c=(i=Error)[s][I],f=Error.captureStackTrace,e=i,m(b,[r=function(){var n=this,t=arguments;try{m(X,[i,u]);var r,e=g(i,n,$[T](t))||n;return e!==n&&(r=Un(n))!==Un(e)&&W(e,r),f&&f(e,n[In]),o(e,t),e}finally{m(X,[i,c])}},I,{v:u="AggregationError",c:!0,e:!(o=function(n,t){n.errors=t[0]})}]),(r=W(r,e))[s]=e===A?Kn(e):(t[s]=e[s],new t),r))).v(n);function t(){this[In]=r,m(b,[this,I,{v:"AggregationError",c:!0,e:!1}])}var u,o,r,i,c,f,e}function en(r){return function(n){var t=O(arguments,1);return r(function(r,e){try{var u=[],o=1;f(n,function(n,t){n&&(o++,Z(n,function(n){u[t]=n,0==--o&&r(u)},e))}),0==--o&&r(u)}catch(n){e(n)}},t)}}function un(r){return function(t){var n=O(arguments,1);return w(t)?t:r(function(n){n(t)},n)}}function on(t){return function(r){var n=O(arguments,1);return t(function(n,t){t(r)},n)}}function i(n,t){return function(n,t,r){var i,o,e=O(arguments,3),c=0,f=!1,a=[],l=nt++,s=!1,v=null;function u(u,o){try{return Zn.push(l),s=!0,v&&v.cancel(),v=null,n(function(r,e){a.push(function(){try{var n=2===c?u:o,t=N(n)?i:z(n)?n(i):n;w(t)?t.then(r,e):(n||3!==c?r:e)(t)}catch(n){e(n)}}),f&&y()},e)}finally{Zn.pop()}}function h(){return Xn[c]}function y(){var n;0<a.length&&(n=a.slice(),a=[],s=!0,v&&v.cancel(),v=null,t(n))}function p(t,r){return function(n){c===r&&(2===t&&w(n)?(c=1,n.then(p(2,1),p(3,1))):(c=t,f=!0,i=n,y(),s||3!==t||(v=v||Y(g,10))))}}function g(){var n,t,r,e,u;s||(s=!0,Hn()?process.emit(jn,i,o):(n=Gn()||K(),t="unhandledrejection",u=function(n){return b(n,"promise",{g:function(){return o}}),n.reason=i,n},r=!!(mn=mn||P(m(S,[Wn+"RejectionEvent"]).v)).v,e=Fn(),u(u=(gn=gn||P(!!m(nn,[e]).v)).v?e.createEvent("Event"):r?new Event(t):{}),gn.v&&u.initEvent(t,!1,!0),u&&n[Yn]?n[Yn](u):(e=n["on"+t])?e(u):(r=S("console"))&&(r.error||r.log)(t,E(u))))}R(o={then:u,catch:function(n){return u(void 0,n)},finally:function(t){var n=t,r=t;return z(t)&&(n=function(n){return t&&t(),n},r=function(n){throw t&&t(),n}),u(n,r)}},"state",{get:h}),M()&&(o[_(11)]="IPromise"),o.toString=function(){return"IPromise "+h()+(f?" - "+tn(i):"")},z(r)||j(Wn+": executor is not a function - "+tn(r));var d=p(3,0);try{r.call(o,p(2,0),d)}catch(n){d(n)}return o}(i,(e=Rn(r=t)?r:0,function(n){Y(function(){a(n,function(n){try{n()}catch(n){}})},e)}),n,t);var r,e}function cn(n,t){var r;return wn||(r=i,wn=P(function(o){var n=O(arguments,1);return r(function(r,t){var e=[],u=1;function n(n,t){u++,l(n,function(n){n.rejected?e[t]={status:pn,reason:n.reason}:e[t]={status:"fulfilled",value:n.value},0==--u&&r(e)})}try{k(o)?a(o,n):c(o)?f(o,n):j("Input is not an iterable"),0==--u&&r(e)}catch(n){t(n)}},n)})),wn.v(n,t)}function fn(n,t){var r;return bn||(r=i,bn=P(function(u){var n=O(arguments,1);return r(function(t,r){var e=!1;function n(n){l(n,function(n){e||(e=!0,n.rejected?r(n.reason):t(n.value))})}try{k(u)?a(u,n):c(u)?f(u,n):j("Input is not an iterable")}catch(n){r(n)}},n)})),bn.v(n,t)}function an(n,t){var r;return En||(r=i,En=P(function(t){var n=O(arguments,1);return r(function(r,e){var u=[],o=1,i=!1;function n(n,t){o++,l(n,function(n){n.rejected?(u[t]=n.reason,0!=--o||i||e(rn(u))):(i=!0,r(n.value))})}try{k(t)?a(t,n):c(t)?f(t,n):j("Input is not an iterable"),0!=--o||i||e(rn(u))}catch(n){e(n)}},n)})),En.v(n,t)}var s,e,ln,v,h,y,sn,vn,hn,yn,pn,gn,dn,mn,wn,bn,En,jn,Pn,d=void 0,A=null,Sn="",_n="function",On="object",An="__proto__",p="undefined",In="constructor",Tn="Symbol",$n="_polyfill",zn="length",I="name",T="call",kn="toString",xn=t(e=n(Object),s="prototype"),$=t(t(ot=n(Array),s),"slice"),z=J(_n),k=t(ot,"isArray"),Rn=J("number"),Cn=t(e,"getOwnPropertyDescriptor"),Jn=n(t(e,"hasOwn"),U),x={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},R=t(e,"defineProperty"),C=n(n(String)),Nn="[object Error]",Dn=n(t(e,"freeze"),B),Un=n(t(e,"getPrototypeOf"),F),qn=G({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Bn="__tsUtils$gblCfg",Fn=r(S,["document"]),Gn=r(S,[sn="window"]),Hn=r(function(){return!!m(function(){return process&&(process.versions||{}).node}).v}),Kn=n(t(e,"create"),V),Ln="ref",Mn="unref",Qn="hasRef",Vn="enabled",Wn="Promise",Xn=["pending","resolving","resolved",pn="rejected"],Yn="dispatchEvent",Zn=(jn="unhandledRejection",[]),nt=0,tt=en(i),rt=un(i),et=on(i),ut=_(11),ot=(()=>{function n(n){this._$=i(n),ut&&(this[ut]="Promise"),R(this,"state",{get:function(){return this._$.state}})}n.all=tt,n.race=fn,n.any=an,n.reject=et,n.resolve=rt,n.allSettled=cn;var t=n.prototype;return t.then=function(n,t){return this._$.then(n,t)},t.catch=function(n){return this._$.catch(n)},t.finally=function(n){return this._$.finally(n)},n})();Promise?(Pn=Promise)&&o({all:tt,resolved:rt,rejected:et,allSettled:cn},function(n,t){Pn[n]||(Pn[n]=t)}):Promise=ot;
//# sourceMappingURL=ts-polyfills-async.min.js.map
/*!
* NevWare21 Solutions LLC - ts-async, 0.5.3
* NevWare21 Solutions LLC - ts-async, 0.5.4
* https://github.com/nevware21/ts-async

@@ -7,3 +7,3 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

*/
function n(n){function t(n,t){return n||t}function e(n,t){return n[t]}var f=void 0,a=null,C="",z="function",F="object",l="prototype",q="__proto__",r="undefined",J="constructor",W="Symbol",H="_polyfill",L="length",U="name",s="call",B="toString",u=t(Object),G=e(u,l),K=e(Wt=t(Array),l),v=e(K,"slice");function b(n,t){try{return{v:n.apply(this,t)}}catch(n){return{e:n}}}function M(t){return function(n){return typeof n===t}}function A(n){return typeof n===r||n===r}function Q(n){return n||n!==f}var j=M(z),V=e(Wt,"isArray"),X=M("number");function R(n){return n&&n.then&&j(n.then)}var Y=e(u,"getOwnPropertyDescriptor"),Z=t(e(u,"hasOwn"),nn);function nn(n,t){return!!n&&G.hasOwnProperty[s](n,t)||!!Y(n,t)}function tn(n,t,e){if(n&&(n||n!==a&&!A(n))&&n&&typeof n===F)for(var r in n)if(Z(n,r)&&-1===t[s](e||n,r,n[r]))break}var en={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},I=e(u,"defineProperty"),rn=e(u,"defineProperties");function un(n,t,e){return I(n,t,(r=e,(u={})[en.c]=!0,u[en.e]=!0,r.l&&(u.get=function(){return r.l.v},n=Y(r.l,"v"))&&n.set&&(u.set=function(n){r.l.v=n}),tn(r,function(n,t){u[en[n]]=Q(t)?t:u[en[n]]}),u));var r,u}function on(n,t,e,r){I(n,t,{value:e,enumerable:!0,writable:!!r})}var i=t(t(String)),cn="[object Error]";function T(n,t){var e=C,r=G[B][s](n);r===cn&&(n={stack:i(n.stack),message:i(n.message),name:i(n.name)});try{e=((e=JSON.stringify(n,a,t?"number"==typeof t?t:4:f))?e.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):a)||i(n)}catch(n){e=" - "+T(n,t)}return r+": "+e}function E(n){throw new TypeError(n)}function fn(n){return n}function an(n){return n[q]||a}var ln=t(e(u,"freeze"),fn),sn=t(e(u,"getPrototypeOf"),an);function vn(n){return t=ln,e={},tn(n,function(n,t){on(e,n,n,void 0),on(e,t,n,void 0)}),t?t(e):e;var t,e}var dn,yn,o,hn=vn({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),mn="__tsUtils$gblCfg";function pn(){var n;return(n=(n=(n=typeof globalThis!==r?globalThis:n)||typeof self===r?n:self)||typeof window===r?n:window)||typeof global===r?n:global}function gn(t){return function(n){return n[t]}}function Pn(){var n;dn||(n=b(pn).v||{},dn=n[mn]=n[mn]||{}),o=dn}function D(n){return I({toJSON:function(){return n}},"v",{value:n})}var c,wn="window";function d(n,t){var e;return function(){return o||Pn(),(e=e&&!o.lzy?e:D(b(n,t).v)).v}}function Sn(n){return o||Pn(),(c=c&&!1!==n&&!o.lzy?c:D(b(pn).v||a)).v}function _(n,t){t=c&&!1!==t?c.v:Sn(t);if(t&&t[n])return t[n];if(n===wn)try{return window}catch(n){}return a}var bn,An,jn=d(_,["document"]),Rn=d(_,[wn]),In=d(function(){return!!b(function(){return process&&(process.versions||{}).node}).v});function Tn(){return bn=D(b(_,[W]).v)}function En(){return o||Pn(),((o.lzy?0:bn)||Tn()).v}function O(n,t){var e,r=hn[n],u=(o||Pn(),(o.lzy?0:bn)||Tn());return u.v?u.v[r||n]:t?f:(yn=yn||{},(u=hn[n])?yn[u]=yn[u]||((r={description:i(e=W+"."+u),toString:function(){return W+"("+e+")"}})[H]=!0,r):void 0)}function Dn(n){return n&&j(n.next)}function _n(n){return n!==a&&Q(n)&&j(n[O(3)])}function On(t,n,e){if(t&&(Dn(t)||(t=t[(An=An||D(O(3))).v]?t[An.v]():a),Dn(t))){var r=f,u=f;try{for(var i=0;!(u=t.next()).done&&-1!==n[s](e||t,u.value,i,t);)i++}catch(n){r={e:n},t.throw&&(u=a,t.throw(r))}finally{try{u&&!u.done&&t.return&&t.return(u)}finally{if(r)throw r.e}}}}function y(n,t,e){return n.apply(t,e)}function xn(n,t,e){if(n)for(var r=n[L]>>>0,u=0;u<r&&!(u in n&&-1===t[s](e||n,n[u],u,n));u++);}var Nn=(r=>{var u=K?K[r]:a;return function(n){var t,e=(n?n[r]:a)||u;if(e)return t=arguments,(e||void 0).apply(n,e?v[s](t,1):t);E('"'+i(r)+'" not defined for '+T(n))}})("indexOf");function x(n){return((n?n.slice:a)||v).apply(n,v[s](arguments,1))}var kn,$n=t(e(u,"create"),Cn);function Cn(n){var t;return n?((t=typeof n)!==F&&t!=z&&E("Prototype must be an Object or function: "+T(n)),e[l]=n,new e):{};function e(){}}function zn(n,t){return(u.setPrototypeOf||function(e,n){var t;(kn=kn||D(((t={})[q]=[],t instanceof Array))).v?e[q]=n:tn(n,function(n,t){return e[n]=t})})(n,t)}function Fn(n,t){t&&(n[U]=t)}function qn(u,i,n){var t,e,o=n||Error,c=o[l][U],f=Error.captureStackTrace,n=o;return b(un,[e=function(){var n=this,t=arguments;try{b(Fn,[o,u]);var e,r=y(o,n,v[s](t))||n;return r!==n&&(e=sn(n))!==sn(r)&&zn(r,e),f&&f(r,n[J]),i&&i(r,t),r}finally{b(Fn,[o,c])}},U,{v:t=u,c:!0,e:!1}]),(e=zn(e,n))[l]=n===a?$n(n):(r[l]=n[l],new r),e;function r(){this[J]=e,b(un,[this,U,{v:t,c:!0,e:!1}])}}function h(){return(Date.now||Jn)()}function Jn(){return(new Date).getTime()}var m=gn(L),Wn="ref",Hn="unref",Ln="hasRef",Un="enabled";function Bn(n,t,e){var r,u=!0,i=n?t(a):a;function o(){return u=!1,i&&i[Hn]&&i[Hn](),r}function c(){i&&e(i),i=a}function f(){return i=t(i),u||o(),r}return(r={cancel:c,refresh:f})[Ln]=function(){return i&&i[Ln]?i[Ln]():u},r[Wn]=function(){return u=!0,i&&i[Wn]&&i[Wn](),r},r[Hn]=o,{h:r=I(r,Un,{get:function(){return!!i},set:function(n){!n&&i&&c(),n&&!i&&f()}}),dn:function(){i=a}}}function N(){return n=f,t=v[s](arguments),r=(e=V(n))?n.length:0,u=(0<r?n[0]:e?f:n)||setTimeout,i=(1<r?n[1]:f)||clearTimeout,o=t[0],t[0]=function(){c.dn(),y(o,f,v[s](arguments))},(c=Bn(!0,function(n){if(n){if(n.refresh)return n.refresh(),n;y(i,f,[n])}return y(u,f,t)},function(n){y(i,f,[n])})).h;var n,t,e,r,u,i,o,c}var Gn,Kn,Mn,Qn=d(_,["requestIdleCallback"]),Vn=d(_,["cancelIdleCallback"]),Xn="Promise",Yn="done",Zn="rejected";function nt(n,t){return p(n,function(n){return t?t({status:"fulfilled",rejected:!1,value:n}):n},function(n){return t?t({status:Zn,rejected:!0,reason:n}):n})}function p(n,t,e,r){var u=n;try{if(R(n))(t||e)&&(u=n.then(t,e));else try{t&&(u=t(n))}catch(n){if(!e)throw n;u=e(n)}}finally{r&&tt(u,r)}return u}function tt(n,t){var e=n;return t&&(R(n)?e=n.finally?n.finally(t):n.then(function(n){return t(),n},function(n){throw t(),n}):t()),e}var et,rt=!1,ut=["pending","resolving","resolved",Zn],it="dispatchEvent";function ot(n){var t;return!!(t=n&&n.createEvent?n.createEvent("Event"):t)&&t.initEvent}var ct,ft,at,lt,st,vt="unhandledRejection",dt=vt.toLowerCase(),yt=[],ht=0,mt=10;function pt(n){return j(n)?n.toString():T(n)}function gt(n){return new(ct=ct||D(b(_,["AggregationError"]).v||qn("AggregationError",function(n,t){n.errors=t[0]}))).v(n)}function Pt(n,t,e){var o,i,r,u,c,f=x(arguments,3),a=0,l=!1,s=[],v=ht++,d=0<yt.length?yt[yt.length-1]:void 0,y=!1,h=null;function m(u,i){try{return yt.push(v),y=!0,h&&h.cancel(),h=null,n(function(e,r){s.push(function(){try{var n=2===a?u:i,t=A(n)?o:j(n)?n(o):n;R(t)?t.then(e,r):(n||3!==a?e:r)(t)}catch(n){r(n)}}),l&&g()},f)}finally{yt.pop()}}function p(){return ut[a]}function g(){var n;0<s.length&&(n=s.slice(),s=[],y=!0,h&&h.cancel(),h=null,t(n))}function P(t,e){return function(n){a===e&&(2===t&&R(n)?(a=1,n.then(P(2,1),P(3,1))):(a=t,l=!0,o=n,g(),y||3!==t||(h=h||N(w,mt))))}}function w(){var n,t,e,r,u;y||(y=!0,In()?process.emit(vt,o,i):(n=Rn()||Sn(),ft=ft||D(b(_,[Xn+"RejectionEvent"]).v),n=n,t=dt,u=function(n){return un(n,"promise",{g:function(){return i}}),n.reason=o,n},e=!!ft.v,r=jn(),u(u=(et=et||D(!!b(ot,[r]).v)).v?r.createEvent("Event"):e?new Event(t):{}),et.v&&u.initEvent(t,!1,!0),u&&n[it]?n[it](u):(r=n["on"+t])?r(u):(e=_("console"))&&(e.error||e.log)(t,T(u))))}I(i={then:m,catch:function(n){return m(void 0,n)},finally:function(t){var n=t,e=t;return j(t)&&(n=function(n){return t&&t(),n},e=function(n){throw t&&t(),n}),m(n,e)}},"state",{get:p}),rt&&(r=i,S=function(){return n=o,G[B].call(n);var n},u=function(){return y},Kn=Kn||{toString:function(){return"[[PromiseResult]]"}},Mn=Mn||{toString:function(){return"[[PromiseIsHandled]]"}},(c={})[Gn=Gn||{toString:function(){return"[[PromiseState]]"}}]={get:p},c[Kn]={get:S},c[Mn]={get:u},rn(r,c)),En()&&(i[O(11)]="IPromise"),i.toString=function(){return"IPromise"+(rt?"["+v+(A(d)?"":":"+d)+"]":"")+" "+p()+(l?" - "+pt(o):"")},j(e)||E(Xn+": executor is not a function - "+pt(e));var S=P(3,0);try{e.call(i,P(2,0),S)}catch(n){S(n)}return i}function wt(e){return function(n){var t=x(arguments,1);return e(function(e,r){try{var u=[],i=1;On(n,function(n,t){n&&(i++,p(n,function(n){u[t]=n,0==--i&&e(u)},r))}),0==--i&&e(u)}catch(n){r(n)}},t)}}function St(e){return function(t){var n=x(arguments,1);return R(t)?t:e(function(n){n(t)},n)}}function bt(t){return function(e){var n=x(arguments,1);return t(function(n,t){t(e)},n)}}function At(t){return D(function(i){var n=x(arguments,1);return t(function(e,t){var r=[],u=1;function n(n,t){u++,nt(n,function(n){n.rejected?r[t]={status:Zn,reason:n.reason}:r[t]={status:"fulfilled",value:n.value},0==--u&&e(r)})}try{V(i)?xn(i,n):_n(i)?On(i,n):E("Input is not an iterable"),0==--u&&e(r)}catch(n){t(n)}},n)})}function jt(t){return D(function(u){var n=x(arguments,1);return t(function(t,e){var r=!1;function n(n){nt(n,function(n){r||(r=!0,n.rejected?e(n.reason):t(n.value))})}try{V(u)?xn(u,n):_n(u)?On(u,n):E("Input is not an iterable")}catch(n){e(n)}},n)})}function Rt(e){return D(function(t){var n=x(arguments,1);return e(function(e,r){var u=[],i=1,o=!1;function n(n,t){i++,nt(n,function(n){n.rejected?(u[t]=n.reason,0!=--i||o||r(gt(u))):(o=!0,e(n.value))})}try{V(t)?xn(t,n):_n(t)?On(t,n):E("Input is not an iterable"),0!=--i||o||r(gt(u))}catch(n){r(n)}},n)})}function It(n){xn(n,function(n){try{n()}catch(n){}})}function g(n,t){return Pt(g,(r=X(e=t)?e:0,function(n){N(function(){It(n)},r)}),n,t);var e,r}var P,Tt,Et,Dt,_t,Ot=wt(g),xt=St(g),Nt=bt(g);function kt(n,t){return(at=at||At(g)).v(n,t)}function $t(n,t){return(lt=lt||jt(g)).v(n,t)}function Ct(n,t){return(st=st||Rt(g)).v(n,t)}function zt(r,n){return(P=P||D(b(_,[Xn]).v||null)).v&&P.v[r]?D(function(e,n){return w(function(n,t){P.v[r](e).then(n,t)})}):n()}function w(n,t){var e=(P=P||D(b(_,[Xn]).v||null)).v;if(!e)return g(n);j(n)||E(Xn+": executor is not a function - "+T(n));var r=0,e=new e(function(t,e){n(function(n){r=2,t(n)},function(n){r=3,e(n)})});return I(e,"state",{get:function(){return ut[r]}}),e}var Ft,qt,Jt,Wt=St(w),Ht=bt(w);function S(n){return Pt(S,It,n)}var Lt,Ut,Bt,Gt,Kt=wt(S),Mt=St(S),Qt=bt(S);function Vt(n){Lt=n}var Xt=Vt;function k(n,t){var o,t=A(t)?Lt:t;return Pt(k,(0<=t&&(o={timeout:+t}),function(t){function e(n){It(t)}var r,n,u=o;function i(n){var t=h();return{didTimeout:n,timeRemaining:function(){return 50-(n=t,h()-n);var n}}}Qn()?(r=Bn(!0,function(n){return n&&Vn()(n),Qn()(function(n){r.dn(),e(n||i(!1))},u)},function(n){Vn()(n)})).h:N(function(){e(i(!0))},A(n=(u||{}).timeout)?100:n)}),n,t)}var Yt,Zt,ne,te,ee=wt(k),re=St(k),ue=bt(k);function $(n,t){return(Yt=Yt||D(w)).v.call(this,n,t)}var ie,oe,ce=wt($),fe=St($),ae=bt($);function le(n,t,e,r){if(t.res=e,!n){if(t.isDone&&j(t.isDone))return p(t.isDone.call(r,t),function(n){return t.iter++,!!n});n=!!t.isDone}return t.iter++,n}function se(e,n,r){var u,i,o,c,t,f=function(n){throw a=!0,n},a=!1,l={st:h(),iter:0,isDone:n||!1};if(e)return o=function(){return $(function(n,t){i=n,f=t})},c=function(n){(a=!!n)?i(l.res):t()},(t=function(){for(;!a;)try{var n=e.call(r,l);if(R(n))return u=u||o(),p(n,function(n){try{p(le(a,l,n,r),c,f)}catch(n){f(n)}},f),u;var t=le(a,l,n,r);if(R(t))return u=u||o(),p(t,c,f),u;a=!!t}catch(n){return f(n),u}return a&&i&&i(l.res),u||l.res})()}var ve,de,ye="reject",he="Rejected",me=0,pe={};function ge(){}function Pe(n,t,e){pe[n]||(pe[n]=qn(n));var r=h();return new pe[n]("Task [".concat(t.id,"] ").concat(e||"","- ").concat(t.st?"Running":"Waiting",": ").concat((r-(t.st||t.cr)||"0")+" ms"))}function we(n,t){var e=h()-t;xn(n,function(n){(n&&!n.rj&&n.st&&n.st<e||!n.st&&n.cr&&n.cr<e)&&n&&n[ye](n.rj||Pe("Aborted",n,"Stale "))})}function Se(n,t){t=Nn(n,t);-1!==t&&n.splice(t,1)}var be=O(11);n.PolyPromise=(()=>{function n(n){this._$=g(n),be&&(this[be]="Promise"),I(this,"state",{get:function(){return this._$.state}})}n.all=Ot,n.race=$t,n.any=Ct,n.reject=Nt,n.resolve=xt,n.allSettled=kt;var t=n.prototype;return t.then=function(n,t){return this._$.then(n,t)},t.catch=function(n){return this._$.catch(n)},t.finally=function(n){return this._$.finally(n)},n})(),n.arrForEachAsync=function(t,e,r){if(t){var u=m(t);if(u)return se(function(n){n=n.iter;if(n in t)return e.call(r||t,t[n],n,t)},function(n){if(n.iter>=u||-1===n.res)return!0})}},n.createAllPromise=ce,n.createAllSettledPromise=function(n,t){return(Zt=Zt||At($)).v(n,t)},n.createAnyPromise=function(n,t){return(te=te||Rt($)).v(n,t)},n.createAsyncAllPromise=Ot,n.createAsyncAllSettledPromise=kt,n.createAsyncAnyPromise=Ct,n.createAsyncPromise=g,n.createAsyncRacePromise=$t,n.createAsyncRejectedPromise=Nt,n.createAsyncResolvedPromise=xt,n.createIdleAllPromise=ee,n.createIdleAllSettledPromise=function(n,t){return(Ut=Ut||At(k)).v(n,t)},n.createIdleAnyPromise=function(n,t){return(Gt=Gt||Rt(k)).v(n,t)},n.createIdlePromise=k,n.createIdleRacePromise=function(n,t){return(Bt=Bt||jt(k)).v(n,t)},n.createIdleRejectedPromise=ue,n.createIdleResolvedPromise=re,n.createNativeAllPromise=function(n,t){return(Tt=Tt||zt("all",function(){return D(wt(w))})).v(n,t)},n.createNativeAllSettledPromise=function(n,t){return(Et=Et||zt("allSettled",function(){return At(w)})).v(n,t)},n.createNativeAnyPromise=function(n,t){return(_t=_t||zt("any",function(){return Rt(w)})).v(n,t)},n.createNativePromise=w,n.createNativeRacePromise=function(n,t){return(Dt=Dt||zt("race",function(){return jt(w)})).v(n,t)},n.createNativeRejectedPromise=Ht,n.createNativeResolvedPromise=Wt,n.createPromise=$,n.createRacePromise=function(n,t){return(ne=ne||jt($)).v(n,t)},n.createRejectedPromise=ae,n.createResolvedPromise=fe,n.createSyncAllPromise=Kt,n.createSyncAllSettledPromise=function(n,t){return(Ft=Ft||At(S)).v(n,t)},n.createSyncAnyPromise=function(n,t){return(Jt=Jt||Rt(S)).v(n,t)},n.createSyncPromise=S,n.createSyncRacePromise=function(n,t){return(qt=qt||jt(S)).v(n,t)},n.createSyncRejectedPromise=Qt,n.createSyncResolvedPromise=Mt,n.createTaskScheduler=function(f,n){function a(i,o){return i.st=h(),u.push(i),y(),function(t,e){function r(n){i.rj=i.rj||n||Pe(he,i),i[ye]=ge,c(i),t=null,e&&e(n),e=null}var n=i.id;if(i.rj)r(i.rj);else{i[ye]=r;try{var u=o(n);i.to&&R(u)&&(i.t=N(function(){r(Pe("Timeout",i))},i.to)),p(u,function(n){c(i);try{t&&t(n)}catch(n){e&&e(n)}t=e=null},r)}catch(n){r(n)}}}}var l,e,t,r,u=[],s=[],i=6e5,o=i/10,v=0,d=(n?n+".":"")+me++,y=(f=f||$,function(){var n=0<m(u)+m(s);0<i&&(e||(e=N(function(){we(u,i),we(s,i),e&&(e.enabled=0<m(u)+m(s))},o)).unref(),e)&&(e.enabled=n)}),c=function(n){Se(u,n),n.t&&n.t.cancel(),n.t=null,l&&l===n&&(l=null,m(u)+m(s)===0)&&(e&&e.cancel(),e=null)},n={idle:!0,queue:function(n,t,e){var r,u,i,o=d+"."+v++,c=(t&&(o+="-("+t+")"),(t={id:o,cr:h(),to:e})[ye]=function(n){c.rj=n||Pe(he,c),c[ye]=ge},t);return c.p=l?(u=l,i=n,s.push(r=c),y(),f(function(n,t){nt(u.p,function(){Se(s,r),a(r,i)(n,t)})})):f(a(c,n)),(l=c).p},setStaleTimeout:function(n,t){e&&e.cancel(),e=null,i=n,o=t||n/10,y()}};return un(n,"idle",{g:function(){return m(u)+m(s)===0}}),r=function(){return{l:l,r:u,w:s}},de=de||{toString:function(){return"[[SchedulerState]]"}},I(t=n,ve=ve||{toString:function(){return"[[SchedulerName]]"}},{get:function(){return d}}),I(t,de,{get:r}),n},n.createTimeoutPromise=function(e,r,u){return $(function(n,t){N(function(){(r?n:t)(A(u)?"Timeout of "+e+"ms exceeded":u)},e)})},n.doAwait=p,n.doAwaitResponse=nt,n.doFinally=tt,n.doWhileAsync=se,n.iterForOfAsync=function(n,e,r){var t,u,i=n;function o(n){throw t={e:n},i.throw&&(u=null,i.throw(t)),n}function c(){try{u&&!u[Yn]&&i.return&&i.return(u)}finally{if(t)throw t.e}}if(n&&(Dn(n)||(oe=oe||D(O(0)),i=n[oe.v]?n[oe.v]():null)||(ie=ie||D(O(3)),i=n[ie.v]?n[ie.v]():null),i)&&Dn(i)){n=void 0;try{return n=R(n=se(function(t){return p(i.next(),function(n){if(!(u=n)[Yn])return function(n,t){return n.apply(t,v[s](arguments,2))}(e,r||i,u.value,t.iter,i)},function(n){t.isDone=!0,o(n)})},function(n){if(!u||u[Yn]||-1===n.res)return c(),!0},r||i))?tt(n.catch(o),c):n}catch(n){o(n)}finally{n&&!R(n)&&c()}}},n.setCreatePromiseImpl=function(n){Yt=n?D(n):null},n.setDefaultIdlePromiseTimeout=Vt,n.setDefaultIdleTimeout=Xt,n.setPromiseDebugState=function(n,t){rt=n}}var t=this;"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((t="undefined"!=typeof globalThis?globalThis:t||self).nevware21=t.nevware21||{},t.nevware21["ts-async"]={}));
function n(n){function t(n,t){return n||t}function e(n,t){return n[t]}var f=void 0,a=null,C="",z="function",F="object",l="prototype",q="__proto__",r="undefined",J="constructor",W="Symbol",H="_polyfill",L="length",U="name",s="call",B="toString",u=t(Object),G=e(u,l),K=e(Ht=t(Array),l),v=e(K,"slice");function b(n,t){try{return{v:n.apply(this,t)}}catch(n){return{e:n}}}function M(t){return function(n){return typeof n===t}}function A(n){return typeof n===r||n===r}function Q(n){return n||n!==f}var j=M(z),V=e(Ht,"isArray"),X=M("number");function R(n){return n&&n.then&&j(n.then)}var Y=e(u,"getOwnPropertyDescriptor"),Z=t(e(u,"hasOwn"),nn);function nn(n,t){return!!n&&G.hasOwnProperty[s](n,t)||!!Y(n,t)}function tn(n,t){if(n&&(n||n!==a&&!A(n))&&n&&typeof n===F)for(var e in n)if(Z(n,e)&&-1===t[s](n,e,n[e]))break}var en={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},I=e(u,"defineProperty"),rn=e(u,"defineProperties");function un(n,t,e){return I(n,t,(r=e,(u={})[en.c]=!0,u[en.e]=!0,r.l&&(u.get=function(){return r.l.v},n=Y(r.l,"v"))&&n.set&&(u.set=function(n){r.l.v=n}),tn(r,function(n,t){u[en[n]]=Q(t)?t:u[en[n]]}),u));var r,u}function on(n,t,e,r){I(n,t,{value:e,enumerable:!0,writable:!!r})}var i=t(t(String)),cn="[object Error]";function T(n,t){var e=C,r=G[B][s](n);r===cn&&(n={stack:i(n.stack),message:i(n.message),name:i(n.name)});try{e=((e=JSON.stringify(n,a,t?"number"==typeof t?t:4:f))?e.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):a)||i(n)}catch(n){e=" - "+T(n,t)}return r+": "+e}function E(n){throw new TypeError(n)}function fn(n){return n}function an(n){return n[q]||a}var ln=t(e(u,"freeze"),fn),sn=t(e(u,"getPrototypeOf"),an);function vn(n){return t=ln,e={},tn(n,function(n,t){on(e,n,n,void 0),on(e,t,n,void 0)}),t?t(e):e;var t,e}var dn,yn,o,hn=vn({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),mn="__tsUtils$gblCfg";function pn(){var n;return(n=(n=(n=typeof globalThis!==r?globalThis:n)||typeof self===r?n:self)||typeof window===r?n:window)||typeof global===r?n:global}function gn(t){return function(n){return n[t]}}function Pn(){var n;dn||(n=b(pn).v||{},dn=n[mn]=n[mn]||{}),o=dn}function D(n){return I({toJSON:function(){return n}},"v",{value:n})}var c,wn="window";function d(n,t){var e;return function(){return o||Pn(),(e=e&&!o.lzy?e:D(b(n,t).v)).v}}function Sn(n){return o||Pn(),(c=c&&!1!==n&&!o.lzy?c:D(b(pn).v||a)).v}function _(n,t){t=c&&!1!==t?c.v:Sn(t);if(t&&t[n])return t[n];if(n===wn)try{return window}catch(n){}return a}var bn,An,jn=d(_,["document"]),Rn=d(_,[wn]),In=d(function(){return!!b(function(){return process&&(process.versions||{}).node}).v});function Tn(){return bn=D(b(_,[W]).v)}function En(){return o||Pn(),((o.lzy?0:bn)||Tn()).v}function O(n){var t,e=hn[n],r=(o||Pn(),(o.lzy?0:bn)||Tn());return r.v?r.v[e||n]:(yn=yn||{},(r=hn[n])?yn[r]=yn[r]||((e={description:i(t=W+"."+r),toString:function(){return W+"("+t+")"}})[H]=!0,e):void 0)}function Dn(n){return n&&j(n.next)}function _n(n){return n!==a&&Q(n)&&j(n[O(3)])}function On(t,n,e){if(t&&(Dn(t)||(t=t[(An=An||D(O(3))).v]?t[An.v]():a),Dn(t))){var r=f,u=f;try{for(var i=0;!(u=t.next()).done&&-1!==n[s](e||t,u.value,i,t);)i++}catch(n){r={e:n},t.throw&&(u=a,t.throw(r))}finally{try{u&&!u.done&&t.return&&t.return(u)}finally{if(r)throw r.e}}}}function y(n,t,e){return n.apply(t,e)}function xn(n,t){if(n)for(var e=n[L]>>>0,r=0;r<e&&!(r in n&&-1===t[s](n,n[r],r,n));r++);}var Nn=(r=>{var u=K?K[r]:a;return function(n){var t,e=(n?n[r]:a)||u;if(e)return t=arguments,(e||void 0).apply(n,e?v[s](t,1):t);E('"'+i(r)+'" not defined for '+T(n))}})("indexOf");function x(n){return((n?n.slice:a)||v).apply(n,v[s](arguments,1))}var kn,$n=t(e(u,"create"),Cn);function Cn(n){var t;return n?((t=typeof n)!==F&&t!=z&&E("Prototype must be an Object or function: "+T(n)),e[l]=n,new e):{};function e(){}}function zn(n,t){return(u.setPrototypeOf||function(e,n){var t;(kn=kn||D(((t={})[q]=[],t instanceof Array))).v?e[q]=n:tn(n,function(n,t){return e[n]=t})})(n,t)}function Fn(n,t){t&&(n[U]=t)}function qn(u,i){var n,t,o=Error,c=o[l][U],f=Error.captureStackTrace,e=o;return b(un,[t=function(){var n=this,t=arguments;try{b(Fn,[o,u]);var e,r=y(o,n,v[s](t))||n;return r!==n&&(e=sn(n))!==sn(r)&&zn(r,e),f&&f(r,n[J]),i&&i(r,t),r}finally{b(Fn,[o,c])}},U,{v:n=u,c:!0,e:!1}]),(t=zn(t,e))[l]=e===a?$n(e):(r[l]=e[l],new r),t;function r(){this[J]=t,b(un,[this,U,{v:n,c:!0,e:!1}])}}function h(){return(Date.now||Jn)()}function Jn(){return(new Date).getTime()}var m=gn(L),Wn="ref",Hn="unref",Ln="hasRef",Un="enabled";function Bn(n,t,e){var r,u=!0,i=t(a);function o(){return u=!1,i&&i[Hn]&&i[Hn](),r}function c(){i&&e(i),i=a}function f(){return i=t(i),u||o(),r}return(r={cancel:c,refresh:f})[Ln]=function(){return i&&i[Ln]?i[Ln]():u},r[Wn]=function(){return u=!0,i&&i[Wn]&&i[Wn](),r},r[Hn]=o,{h:r=I(r,Un,{get:function(){return!!i},set:function(n){!n&&i&&c(),n&&!i&&f()}}),dn:function(){i=a}}}function N(){return n=f,t=v[s](arguments),r=(e=V(n))?n.length:0,u=(0<r?n[0]:e?f:n)||setTimeout,i=(1<r?n[1]:f)||clearTimeout,o=t[0],t[0]=function(){c.dn(),y(o,f,v[s](arguments))},(c=Bn(0,function(n){if(n){if(n.refresh)return n.refresh(),n;y(i,f,[n])}return y(u,f,t)},function(n){y(i,f,[n])})).h;var n,t,e,r,u,i,o,c}var Gn,Kn,Mn,Qn=d(_,["requestIdleCallback"]),Vn=d(_,["cancelIdleCallback"]),Xn="Promise",Yn="done",Zn="rejected";function nt(n,t){return p(n,function(n){return t?t({status:"fulfilled",rejected:!1,value:n}):n},function(n){return t?t({status:Zn,rejected:!0,reason:n}):n})}function p(n,t,e,r){var u=n;try{if(R(n))(t||e)&&(u=n.then(t,e));else try{t&&(u=t(n))}catch(n){if(!e)throw n;u=e(n)}}finally{r&&tt(u,r)}return u}function tt(n,t){var e=n;return t&&(R(n)?e=n.finally?n.finally(t):n.then(function(n){return t(),n},function(n){throw t(),n}):t()),e}function et(n,t){return n||t}var rt,ut=!1,it=["pending","resolving","resolved",Zn],ot="dispatchEvent";function ct(n){var t;return!!(t=n&&n.createEvent?n.createEvent("Event"):t)&&t.initEvent}var ft,at,lt,st,vt,dt="unhandledRejection",yt=dt.toLowerCase(),ht=[],mt=0,pt=10;function gt(n){return j(n)?n.toString():T(n)}function Pt(n){return new(ft=ft||D(b(_,["AggregationError"]).v||qn("AggregationError",function(n,t){n.errors=t[0]}))).v(n)}function wt(n,t,e){var o,i,r,u,c,f=x(arguments,3),a=0,l=!1,s=[],v=mt++,d=0<ht.length?ht[ht.length-1]:void 0,y=!1,h=null;function m(u,i){try{return ht.push(v),y=!0,h&&h.cancel(),h=null,n(function(e,r){s.push(function(){try{var n=2===a?u:i,t=A(n)?o:j(n)?n(o):n;R(t)?t.then(e,r):(n||3!==a?e:r)(t)}catch(n){r(n)}}),l&&g()},f)}finally{ht.pop()}}function p(){return it[a]}function g(){var n;0<s.length&&(n=s.slice(),s=[],y=!0,h&&h.cancel(),h=null,t(n))}function P(t,e){return function(n){a===e&&(2===t&&R(n)?(a=1,n.then(P(2,1),P(3,1))):(a=t,l=!0,o=n,g(),y||3!==t||(h=h||N(w,pt))))}}function w(){var n,t,e,r,u;y||(y=!0,In()?process.emit(dt,o,i):(n=Rn()||Sn(),at=at||D(b(_,[Xn+"RejectionEvent"]).v),n=n,t=yt,u=function(n){return un(n,"promise",{g:function(){return i}}),n.reason=o,n},e=!!at.v,r=jn(),u(u=(rt=rt||D(!!b(ct,[r]).v)).v?r.createEvent("Event"):e?new Event(t):{}),rt.v&&u.initEvent(t,!1,!0),u&&n[ot]?n[ot](u):(r=n["on"+t])?r(u):(e=_("console"))&&(e.error||e.log)(t,T(u))))}I(i={then:m,catch:function(n){return m(void 0,n)},finally:function(t){var n=t,e=t;return j(t)&&(n=function(n){return t&&t(),n},e=function(n){throw t&&t(),n}),m(n,e)}},"state",{get:p}),ut&&(r=i,S=function(){return n=o,G[B].call(n);var n},u=function(){return y},Kn=Kn||{toString:function(){return"[[PromiseResult]]"}},Mn=Mn||{toString:function(){return"[[PromiseIsHandled]]"}},(c={})[Gn=Gn||{toString:function(){return"[[PromiseState]]"}}]={get:p},c[Kn]={get:S},c[Mn]={get:u},rn(r,c)),En()&&(i[O(11)]="IPromise"),i.toString=function(){return"IPromise"+(ut?"["+v+(A(d)?"":":"+d)+"]":"")+" "+p()+(l?" - "+gt(o):"")},j(e)||E(Xn+": executor is not a function - "+gt(e));var S=P(3,0);try{e.call(i,P(2,0),S)}catch(n){S(n)}return i}function St(e){return function(n){var t=x(arguments,1);return e(function(e,r){try{var u=[],i=1;On(n,function(n,t){n&&(i++,p(n,function(n){u[t]=n,0==--i&&e(u)},r))}),0==--i&&e(u)}catch(n){r(n)}},t)}}function bt(e){return function(t){var n=x(arguments,1);return R(t)?t:e(function(n){n(t)},n)}}function At(t){return function(e){var n=x(arguments,1);return t(function(n,t){t(e)},n)}}function jt(t){return D(function(i){var n=x(arguments,1);return t(function(e,t){var r=[],u=1;function n(n,t){u++,nt(n,function(n){n.rejected?r[t]={status:Zn,reason:n.reason}:r[t]={status:"fulfilled",value:n.value},0==--u&&e(r)})}try{V(i)?xn(i,n):_n(i)?On(i,n):E("Input is not an iterable"),0==--u&&e(r)}catch(n){t(n)}},n)})}function Rt(t){return D(function(u){var n=x(arguments,1);return t(function(t,e){var r=!1;function n(n){nt(n,function(n){r||(r=!0,n.rejected?e(n.reason):t(n.value))})}try{V(u)?xn(u,n):_n(u)?On(u,n):E("Input is not an iterable")}catch(n){e(n)}},n)})}function It(e){return D(function(t){var n=x(arguments,1);return e(function(e,r){var u=[],i=1,o=!1;function n(n,t){i++,nt(n,function(n){n.rejected?(u[t]=n.reason,0!=--i||o||r(Pt(u))):(o=!0,e(n.value))})}try{V(t)?xn(t,n):_n(t)?On(t,n):E("Input is not an iterable"),0!=--i||o||r(Pt(u))}catch(n){r(n)}},n)})}function Tt(n){xn(n,function(n){try{n()}catch(n){}})}function g(n,t){return wt(g,(r=X(e=t)?e:0,function(n){N(function(){Tt(n)},r)}),n,t);var e,r}var P,Et,Dt,_t,Ot,xt=St(g),Nt=bt(g),kt=At(g);function $t(n,t){return(lt=lt||jt(g)).v(n,t)}function Ct(n,t){return(st=st||Rt(g)).v(n,t)}function zt(n,t){return(vt=vt||It(g)).v(n,t)}function Ft(r,n){return(P=P||D(b(_,[Xn]).v||null)).v&&P.v[r]?D(function(e,n){return w(function(n,t){P.v[r](e).then(n,t)})}):n()}function w(n,t){var e=(P=P||D(b(_,[Xn]).v||null)).v;if(!e)return g(n);j(n)||E(Xn+": executor is not a function - "+T(n));var r=0,e=new e(function(t,e){n(function(n){r=2,t(n)},function(n){r=3,e(n)})});return I(e,"state",{get:function(){return it[r]}}),e}var qt,Jt,Wt,Ht=bt(w),Lt=At(w);function S(n){return wt(S,Tt,n)}var Ut,Bt,Gt,Kt,Mt=St(S),Qt=bt(S),Vt=At(S);function Xt(n){Ut=n}var Yt=et(Xt);function k(n,t){var o,t=A(t)?Ut:t;return wt(k,(0<=t&&(o={timeout:+t}),function(t){function e(n){Tt(t)}var r,n,u=o;function i(n){var t=h();return{didTimeout:n,timeRemaining:function(){return 50-(n=t,h()-n);var n}}}Qn()?(r=Bn(0,function(n){return n&&Vn()(n),Qn()(function(n){r.dn(),e(n||i(!1))},u)},function(n){Vn()(n)})).h:N(function(){e(i(!0))},A(n=(u||{}).timeout)?100:n)}),n,t)}var Zt,ne,te,ee,re=St(k),ue=bt(k),ie=At(k);function $(n,t){return(Zt=Zt||D(w)).v.call(this,n,t)}var oe,ce,fe=St($),ae=bt($),le=At($);function se(n,t,e,r){if(t.res=e,!n){if(t.isDone&&j(t.isDone))return p(t.isDone.call(r,t),function(n){return t.iter++,!!n});n=!!t.isDone}return t.iter++,n}function ve(e,n,r){var u,i,o,c,t,f=function(n){throw a=!0,n},a=!1,l={st:h(),iter:0,isDone:n||!1};if(e)return o=function(){return $(function(n,t){i=n,f=t})},c=function(n){(a=!!n)?i(l.res):t()},(t=function(){for(;!a;)try{var n=e.call(r,l);if(R(n))return u=u||o(),p(n,function(n){try{p(se(a,l,n,r),c,f)}catch(n){f(n)}},f),u;var t=se(a,l,n,r);if(R(t))return u=u||o(),p(t,c,f),u;a=!!t}catch(n){return f(n),u}return a&&i&&i(l.res),u||l.res})()}var de,ye,he="reject",me="Rejected",pe=0,ge={};function Pe(){}function we(n,t,e){ge[n]||(ge[n]=qn(n));var r=h();return new ge[n]("Task [".concat(t.id,"] ").concat(e||"","- ").concat(t.st?"Running":"Waiting",": ").concat((r-(t.st||t.cr)||"0")+" ms"))}function Se(n,t){var e=h()-t;xn(n,function(n){(n&&!n.rj&&n.st&&n.st<e||!n.st&&n.cr&&n.cr<e)&&n&&n[he](n.rj||we("Aborted",n,"Stale "))})}function be(n,t){t=Nn(n,t);-1!==t&&n.splice(t,1)}var Ae=O(11);n.PolyPromise=(()=>{function n(n){this._$=g(n),Ae&&(this[Ae]="Promise"),I(this,"state",{get:function(){return this._$.state}})}n.all=xt,n.race=Ct,n.any=zt,n.reject=kt,n.resolve=Nt,n.allSettled=$t;var t=n.prototype;return t.then=function(n,t){return this._$.then(n,t)},t.catch=function(n){return this._$.catch(n)},t.finally=function(n){return this._$.finally(n)},n})(),n.arrForEachAsync=function(t,e,r){if(t){var u=m(t);if(u)return ve(function(n){n=n.iter;if(n in t)return e.call(r||t,t[n],n,t)},function(n){if(n.iter>=u||-1===n.res)return!0})}},n.createAllPromise=fe,n.createAllSettledPromise=function(n,t){return(ne=ne||jt($)).v(n,t)},n.createAnyPromise=function(n,t){return(ee=ee||It($)).v(n,t)},n.createAsyncAllPromise=xt,n.createAsyncAllSettledPromise=$t,n.createAsyncAnyPromise=zt,n.createAsyncPromise=g,n.createAsyncRacePromise=Ct,n.createAsyncRejectedPromise=kt,n.createAsyncResolvedPromise=Nt,n.createIdleAllPromise=re,n.createIdleAllSettledPromise=function(n,t){return(Bt=Bt||jt(k)).v(n,t)},n.createIdleAnyPromise=function(n,t){return(Kt=Kt||It(k)).v(n,t)},n.createIdlePromise=k,n.createIdleRacePromise=function(n,t){return(Gt=Gt||Rt(k)).v(n,t)},n.createIdleRejectedPromise=ie,n.createIdleResolvedPromise=ue,n.createNativeAllPromise=function(n,t){return(Et=Et||Ft("all",function(){return D(St(w))})).v(n,t)},n.createNativeAllSettledPromise=function(n,t){return(Dt=Dt||Ft("allSettled",function(){return jt(w)})).v(n,t)},n.createNativeAnyPromise=function(n,t){return(Ot=Ot||Ft("any",function(){return It(w)})).v(n,t)},n.createNativePromise=w,n.createNativeRacePromise=function(n,t){return(_t=_t||Ft("race",function(){return Rt(w)})).v(n,t)},n.createNativeRejectedPromise=Lt,n.createNativeResolvedPromise=Ht,n.createPromise=$,n.createRacePromise=function(n,t){return(te=te||Rt($)).v(n,t)},n.createRejectedPromise=le,n.createResolvedPromise=ae,n.createSyncAllPromise=Mt,n.createSyncAllSettledPromise=function(n,t){return(qt=qt||jt(S)).v(n,t)},n.createSyncAnyPromise=function(n,t){return(Wt=Wt||It(S)).v(n,t)},n.createSyncPromise=S,n.createSyncRacePromise=function(n,t){return(Jt=Jt||Rt(S)).v(n,t)},n.createSyncRejectedPromise=Vt,n.createSyncResolvedPromise=Qt,n.createTaskScheduler=function(f,n){function a(i,o){return i.st=h(),u.push(i),y(),function(t,e){function r(n){i.rj=i.rj||n||we(me,i),i[he]=Pe,c(i),t=null,e&&e(n),e=null}var n=i.id;if(i.rj)r(i.rj);else{i[he]=r;try{var u=o(n);i.to&&R(u)&&(i.t=N(function(){r(we("Timeout",i))},i.to)),p(u,function(n){c(i);try{t&&t(n)}catch(n){e&&e(n)}t=e=null},r)}catch(n){r(n)}}}}var l,e,t,r,u=[],s=[],i=6e5,o=i/10,v=0,d=(n?n+".":"")+pe++,y=(f=f||$,function(){var n=0<m(u)+m(s);0<i&&(e||(e=N(function(){Se(u,i),Se(s,i),e&&(e.enabled=0<m(u)+m(s))},o)).unref(),e)&&(e.enabled=n)}),c=function(n){be(u,n),n.t&&n.t.cancel(),n.t=null,l&&l===n&&(l=null,m(u)+m(s)===0)&&(e&&e.cancel(),e=null)},n={idle:!0,queue:function(n,t,e){var r,u,i,o=d+"."+v++,c=(t&&(o+="-("+t+")"),(t={id:o,cr:h(),to:e})[he]=function(n){c.rj=n||we(me,c),c[he]=Pe},t);return c.p=l?(u=l,i=n,s.push(r=c),y(),f(function(n,t){nt(u.p,function(){be(s,r),a(r,i)(n,t)})})):f(a(c,n)),(l=c).p},setStaleTimeout:function(n,t){e&&e.cancel(),e=null,i=n,o=t||n/10,y()}};return un(n,"idle",{g:function(){return m(u)+m(s)===0}}),r=function(){return{l:l,r:u,w:s}},ye=ye||{toString:function(){return"[[SchedulerState]]"}},I(t=n,de=de||{toString:function(){return"[[SchedulerName]]"}},{get:function(){return d}}),I(t,ye,{get:r}),n},n.createTimeoutPromise=function(e,r,u){return $(function(n,t){N(function(){(r?n:t)(A(u)?"Timeout of "+e+"ms exceeded":u)},e)})},n.doAwait=p,n.doAwaitResponse=nt,n.doFinally=tt,n.doWhileAsync=ve,n.iterForOfAsync=function(n,e,r){var t,u,i=n;function o(n){throw t={e:n},i.throw&&(u=null,i.throw(t)),n}function c(){try{u&&!u[Yn]&&i.return&&i.return(u)}finally{if(t)throw t.e}}if(n&&(Dn(n)||(ce=ce||D(O(0)),i=n[ce.v]?n[ce.v]():null)||(oe=oe||D(O(3)),i=n[oe.v]?n[oe.v]():null),i)&&Dn(i)){n=void 0;try{return n=R(n=ve(function(t){return p(i.next(),function(n){if(!(u=n)[Yn])return function(n,t){return n.apply(t,v[s](arguments,2))}(e,r||i,u.value,t.iter,i)},function(n){t.isDone=!0,o(n)})},function(n){if(!u||u[Yn]||-1===n.res)return c(),!0},r||i))?tt(n.catch(o),c):n}catch(n){o(n)}finally{n&&!R(n)&&c()}}},n.setCreatePromiseImpl=function(n){Zt=n?D(n):null},n.setDefaultIdlePromiseTimeout=Xt,n.setDefaultIdleTimeout=Yt,n.setPromiseDebugState=function(n,t){ut=n}}var t=this;"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((t="undefined"!=typeof globalThis?globalThis:t||self).nevware21=t.nevware21||{},t.nevware21["ts-async"]={}));
//# sourceMappingURL=ts-async.min.js.map
/*!
* NevWare21 Solutions LLC - ts-async, 0.5.3
* NevWare21 Solutions LLC - ts-async, 0.5.4
* https://github.com/nevware21/ts-async

@@ -7,3 +7,3 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

*/
this.nevware21=this.nevware21||{},this.nevware21["ts-async"]=(e=>{function t(e,t){return e||t}function n(e,t){return e[t]}var a=void 0,l=null,C="",z="function",F="object",f="prototype",q="__proto__",r="undefined",J="constructor",W="Symbol",H="_polyfill",L="length",U="name",s="call",B="toString",i=t(Object),G=n(i,f),K=t(Array),M=n(K,f),v=n(M,"slice");function b(e,t){try{return{v:e.apply(this,t)}}catch(e){return{e:e}}}function Q(t){return function(e){return typeof e===t}}function j(e){return typeof e===r||e===r}function V(e){return e||e!==a}var R=Q(z),X=n(K,"isArray"),Y=Q("number");function I(e){return e&&e.then&&R(e.then)}var Z=n(i,"getOwnPropertyDescriptor"),ee=t(n(i,"hasOwn"),te);function te(e,t){return!!e&&G.hasOwnProperty[s](e,t)||!!Z(e,t)}function ne(e,t,n){if(e&&(e||e!==l&&!j(e))&&e&&typeof e===F)for(var r in e)if(ee(e,r)&&-1===t[s](n||e,r,e[r]))break}var re={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},E=n(i,"defineProperty"),ie=n(i,"defineProperties");function ue(e,t,n){return E(e,t,(r=n,(i={})[re.c]=!0,i[re.e]=!0,r.l&&(i.get=function(){return r.l.v},e=Z(r.l,"v"))&&e.set&&(i.set=function(e){r.l.v=e}),ne(r,function(e,t){i[re[e]]=V(t)?t:i[re[e]]}),i));var r,i}function oe(e,t,n,r){E(e,t,{value:n,enumerable:!0,writable:!!r})}var u=t(t(String)),ce="[object Error]";function T(e,t){var n=C,r=G[B][s](e);r===ce&&(e={stack:u(e.stack),message:u(e.message),name:u(e.name)});try{n=((n=JSON.stringify(e,l,t?"number"==typeof t?t:4:a))?n.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):l)||u(e)}catch(e){n=" - "+T(e,t)}return r+": "+n}function D(e){throw new TypeError(e)}function ae(e){return e}function le(e){return e[q]||l}var fe=t(n(i,"freeze"),ae),se=t(n(i,"getPrototypeOf"),le);function ve(e){return t=fe,n={},ne(e,function(e,t){oe(n,e,e,void 0),oe(n,t,e,void 0)}),t?t(n):n;var t,n}var ye,de,o,he=ve({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),me="__tsUtils$gblCfg";function pe(){var e;return(e=(e=(e=typeof globalThis!==r?globalThis:e)||typeof self===r?e:self)||typeof window===r?e:window)||typeof global===r?e:global}function ge(t){return function(e){return e[t]}}function Pe(){var e;ye||(e=b(pe).v||{},ye=e[me]=e[me]||{}),o=ye}function _(e){return E({toJSON:function(){return e}},"v",{value:e})}var c,we="window";function y(e,t){var n;return function(){return o||Pe(),(n=n&&!o.lzy?n:_(b(e,t).v)).v}}function Se(e){return o||Pe(),(c=c&&!1!==e&&!o.lzy?c:_(b(pe).v||l)).v}function O(e,t){t=c&&!1!==t?c.v:Se(t);if(t&&t[e])return t[e];if(e===we)try{return window}catch(e){}return l}var Ae,be,je=y(O,["document"]),Re=y(O,[we]),Ie=y(function(){return!!b(function(){return process&&(process.versions||{}).node}).v});function Ee(){return Ae=_(b(O,[W]).v)}function Te(){return o||Pe(),((o.lzy?0:Ae)||Ee()).v}function N(e,t){var n,r=he[e],i=(o||Pe(),(o.lzy?0:Ae)||Ee());return i.v?i.v[r||e]:t?a:(de=de||{},(i=he[e])?de[i]=de[i]||((r={description:u(n=W+"."+i),toString:function(){return W+"("+n+")"}})[H]=!0,r):void 0)}function De(e){return e&&R(e.next)}function _e(e){return e!==l&&V(e)&&R(e[N(3)])}function Oe(t,e,n){if(t&&(De(t)||(t=t[(be=be||_(N(3))).v]?t[be.v]():l),De(t))){var r=a,i=a;try{for(var u=0;!(i=t.next()).done&&-1!==e[s](n||t,i.value,u,t);)u++}catch(e){r={e:e},t.throw&&(i=l,t.throw(r))}finally{try{i&&!i.done&&t.return&&t.return(i)}finally{if(r)throw r.e}}}}function Ne(e,t,n){return e.apply(t,n)}function $e(e,t,n){if(e)for(var r=e[L]>>>0,i=0;i<r&&!(i in e&&-1===t[s](n||e,e[i],i,e));i++);}var ke=(r=>{var i=M?M[r]:l;return function(e){var t,n=(e?e[r]:l)||i;if(n)return t=arguments,(n||void 0).apply(e,n?v[s](t,1):t);D('"'+u(r)+'" not defined for '+T(e))}})("indexOf");function $(e){return((e?e.slice:l)||v).apply(e,v[s](arguments,1))}var xe,Ce=t(n(i,"create"),ze);function ze(e){var t;return e?((t=typeof e)!==F&&t!=z&&D("Prototype must be an Object or function: "+T(e)),n[f]=e,new n):{};function n(){}}function Fe(e,t){return(i.setPrototypeOf||function(n,e){var t;(xe=xe||_(((t={})[q]=[],t instanceof Array))).v?n[q]=e:ne(e,function(e,t){return n[e]=t})})(e,t)}function qe(e,t){t&&(e[U]=t)}function Je(i,u,e){var t,n,o=e||Error,c=o[f][U],a=Error.captureStackTrace,e=o;return b(ue,[n=function(){var e=this,t=arguments;try{b(qe,[o,i]);var n,r=Ne(o,e,v[s](t))||e;return r!==e&&(n=se(e))!==se(r)&&Fe(r,n),a&&a(r,e[J]),u&&u(r,t),r}finally{b(qe,[o,c])}},U,{v:t=i,c:!0,e:!1}]),(n=Fe(n,e))[f]=e===l?Ce(e):(r[f]=e[f],new r),n;function r(){this[J]=n,b(ue,[this,U,{v:t,c:!0,e:!1}])}}function p(){return(Date.now||We)()}function We(){return(new Date).getTime()}var g=ge(L),He="ref",Le="unref",Ue="hasRef",Be="enabled";function Ge(e,t,n){var r,i=!0,u=e?t(l):l;function o(){return i=!1,u&&u[Le]&&u[Le](),r}function c(){u&&n(u),u=l}function a(){return u=t(u),i||o(),r}return(r={cancel:c,refresh:a})[Ue]=function(){return u&&u[Ue]?u[Ue]():i},r[He]=function(){return i=!0,u&&u[He]&&u[He](),r},r[Le]=o,{h:r=E(r,Be,{get:function(){return!!u},set:function(e){!e&&u&&c(),e&&!u&&a()}}),dn:function(){u=l}}}function k(){return e=a,t=v[s](arguments),r=(n=X(e))?e.length:0,i=(0<r?e[0]:n?a:e)||setTimeout,u=(1<r?e[1]:a)||clearTimeout,o=t[0],t[0]=function(){c.dn(),Ne(o,a,v[s](arguments))},(c=Ge(!0,function(e){if(e){if(e.refresh)return e.refresh(),e;Ne(u,a,[e])}return Ne(i,a,t)},function(e){Ne(u,a,[e])})).h;var e,t,n,r,i,u,o,c}var Ke=y(O,["requestIdleCallback"]),Me=y(O,["cancelIdleCallback"]);let Qe="Promise",Ve="done",Xe="rejected";function Ye(e,t){return P(e,e=>t?t({status:"fulfilled",rejected:!1,value:e}):e,e=>t?t({status:Xe,rejected:!0,reason:e}):e)}function P(e,t,n,r){let i=e;try{if(I(e))(t||n)&&(i=e.then(t,n));else try{t&&(i=t(e))}catch(e){if(!n)throw e;i=n(e)}}finally{r&&Ze(i,r)}return i}function Ze(e,t){let n=e;return t&&(I(e)?n=e.finally?e.finally(t):e.then(function(e){return t(),e},function(e){throw t(),e}):t()),n}let et,tt,nt,rt=!1,it=["pending","resolving","resolved",Xe],ut="dispatchEvent",ot;function ct(e){return!!(e=e&&e.createEvent?e.createEvent("Event"):void 0)&&e.initEvent}let at="unhandledRejection",lt=at.toLowerCase(),ft=[],st=0,vt=10,yt,dt;function ht(e){return R(e)?e.toString():T(e)}function mt(e){return new(yt=yt||_(b(O,["AggregationError"]).v||Je("AggregationError",(e,t)=>{e.errors=t[0]}))).v(e)}function pt(e,t,n){let r=$(arguments,3),o=0,c=!1,a,l=[],f=st++,i=0<ft.length?ft[ft.length-1]:void 0,s=!1,v=null,u;function y(i,u){try{return ft.push(f),s=!0,v&&v.cancel(),v=null,e(function(n,r){l.push(function(){try{var e=2===o?i:u,t=j(e)?a:R(e)?e(a):e;I(t)?t.then(n,r):(e||3!==o?n:r)(t)}catch(e){r(e)}}),c&&h()},r)}finally{ft.pop()}}function d(){return it[o]}function h(){var e;0<l.length&&(e=l.slice(),l=[],s=!0,v&&v.cancel(),v=null,t(e))}function m(t,n){return e=>{o===n&&(2===t&&I(e)?(o=1,e.then(m(2,1),m(3,1))):(o=t,c=!0,a=e,h(),s||3!==t||(v=v||k(p,vt))))}}function p(){var e,t,n,r,i;s||(s=!0,Ie()?process.emit(at,a,u):(e=Re()||Se(),dt=dt||_(b(O,[Qe+"RejectionEvent"]).v),e=e,t=lt,i=e=>(ue(e,"promise",{g:()=>u}),e.reason=a,e),n=!!dt.v,r=je(),i(i=(ot=ot||_(!!b(ct,[r]).v)).v?r.createEvent("Event"):n?new Event(t):{}),ot.v&&i.initEvent(t,!1,!0),i&&e[ut]?e[ut](i):(r=e["on"+t])?r(i):(n=O("console"))&&(n.error||n.log)(t,T(i))))}u={then:y,catch:function(e){return y(void 0,e)},finally:function(t){let e=t,n=t;return R(t)&&(e=function(e){return t&&t(),e},n=function(e){throw t&&t(),e}),y(e,n)}},E(u,"state",{get:d}),rt&&(g=u,A=d,P=()=>{return e=a,G[B].call(e);var e},w=()=>s,et=et||{toString:()=>"[[PromiseState]]"},tt=tt||{toString:()=>"[[PromiseResult]]"},nt=nt||{toString:()=>"[[PromiseIsHandled]]"},(S={})[et]={get:A},S[tt]={get:P},S[nt]={get:w},ie(g,S)),Te()&&(u[N(11)]="IPromise"),u.toString=function(){return"IPromise"+(rt?"["+f+(j(i)?"":":"+i)+"]":"")+" "+d()+(c?" - "+ht(a):"")},R(n)||D(Qe+": executor is not a function - "+ht(n));var g,P,w,S,A=m(3,0);try{n.call(u,m(2,0),A)}catch(e){A(e)}return u}function gt(n){return function(e){var t=$(arguments,1);return n((i,u)=>{try{let n=[],r=1;Oe(e,(e,t)=>{e&&(r++,P(e,e=>{n[t]=e,0==--r&&i(n)},u))}),0==--r&&i(n)}catch(e){u(e)}},t)}}function Pt(n){return function(t){var e=$(arguments,1);return I(t)?t:n(e=>{e(t)},e)}}function wt(t){return function(n){var e=$(arguments,1);return t((e,t)=>{t(n)},e)}}function St(t){return _(function(u){var e=$(arguments,1);return t((n,t)=>{let r=[],i=1;function e(e,t){i++,Ye(e,e=>{e.rejected?r[t]={status:Xe,reason:e.reason}:r[t]={status:"fulfilled",value:e.value},0==--i&&n(r)})}try{X(u)?$e(u,e):_e(u)?Oe(u,e):D("Input is not an iterable"),0==--i&&n(r)}catch(e){t(e)}},e)})}function At(t){return _(function(i){var e=$(arguments,1);return t((t,n)=>{let r=!1;function e(e){Ye(e,e=>{r||(r=!0,e.rejected?n(e.reason):t(e.value))})}try{X(i)?$e(i,e):_e(i)?Oe(i,e):D("Input is not an iterable")}catch(e){n(e)}},e)})}function bt(n){return _(function(t){var e=$(arguments,1);return n((n,r)=>{let i=[],u=1,o=!1;function e(e,t){u++,Ye(e,e=>{e.rejected?(i[t]=e.reason,0!=--u||o||r(mt(i))):(o=!0,n(e.value))})}try{X(t)?$e(t,e):_e(t)?Oe(t,e):D("Input is not an iterable"),0!=--u||o||r(mt(i))}catch(e){r(e)}},e)})}function jt(e){$e(e,e=>{try{e()}catch(e){}})}let Rt,It,Et;function d(e,t){return pt(d,(e=>{let t=Y(e)?e:0;return e=>{k(()=>{jt(e)},t)}})(t),e,t)}var K=gt(d),Tt=Pt(d),Dt=wt(d);function _t(e,t){return(Rt=Rt||St(d)).v(e,t)}function Ot(e,t){return(It=It||At(d)).v(e,t)}function Nt(e,t){return(Et=Et||bt(d)).v(e,t)}let h,$t,kt,xt,Ct;function zt(r,e){return(h=h||_(b(O,[Qe]).v||null)).v&&h.v[r]?_(function(n,e){return m((e,t)=>{h.v[r](n).then(e,t)})}):e()}function m(e,t){var n=(h=h||_(b(O,[Qe]).v||null)).v;if(!n)return d(e);R(e)||D(Qe+": executor is not a function - "+T(e));let r=0,i=new n((t,n)=>{e(function(e){r=2,t(e)},function(e){r=3,n(e)})});return E(i,"state",{get:function(){return it[r]}}),i}let Ft=Pt(m),qt=wt(m),Jt,Wt,Ht;function w(e){return pt(w,jt,e)}let Lt=gt(w),Ut=Pt(w),Bt=wt(w),Gt,Kt,Mt,Qt;function Vt(e){Gt=e}var Xt=Vt;function S(e,t){var n=j(t)?Gt:t;return pt(S,(()=>{let o;return 0<=n&&(o={timeout:+n}),t=>{var n,e,r=e=>{jt(t)},i=o;function u(e){var t=p();return{didTimeout:e,timeRemaining:function(){return 50-(e=t,p()-e);var e}}}Ke()?(n=Ge(!0,function(e){return e&&Me()(e),Ke()(function(e){n.dn(),r(e||u(!1))},i)},function(e){Me()(e)})).h:k(function(){r(u(!0))},j(e=(i||{}).timeout)?100:e)}})(),e,n)}let Yt=gt(S),Zt=Pt(S),en=wt(S),tn,nn,rn,un;function A(e,t){return(tn=tn||_(m)).v.call(this,e,t)}var on,cn=gt(A),an=Pt(A),ln=wt(A);function fn(e,t,n,r){let i=e;if(t.res=n,!i){if(t.isDone&&R(t.isDone))return P(t.isDone.call(r,t),e=>(t.iter++,!!e));i=!!t.isDone}return t.iter++,i}function sn(i,e,u){let o,c,a=e=>{throw l=!0,e},l=!1,f={st:p(),iter:0,isDone:e||!1};if(i){let n=()=>A((e,t)=>{c=e,a=t}),r=e=>{(l=!!e)?c(f.res):t()},t=()=>{for(;!l;)try{var e=i.call(u,f);if(I(e))return o=o||n(),P(e,e=>{try{P(fn(l,f,e,u),r,a)}catch(e){a(e)}},a),o;var t=fn(l,f,e,u);if(I(t))return o=o||n(),P(t,r,a),o;l=!!t}catch(e){return a(e),o}return l&&c&&c(f.res),o||f.res};return t()}}let vn,yn,dn="reject",hn="Rejected",mn=0,pn,gn,Pn={};function wn(){}function Sn(e,t,n){Pn[e]||(Pn[e]=Je(e));var r=p();return new Pn[e](`Task [${t.id}] ${n||""}- ${t.st?"Running":"Waiting"}: `+(r-(t.st||t.cr)||"0")+" ms")}function An(e,t){let n=p()-t;$e(e,e=>{(e&&!e.rj&&e.st&&e.st<n||!e.st&&e.cr&&e.cr<n)&&e&&e[dn](e.rj||Sn("Aborted",e,"Stale "))})}function bn(e,t){t=ke(e,t);-1!==t&&e.splice(t,1)}let jn=N(11);function x(e){this._$=d(e),jn&&(this[jn]="Promise"),E(this,"state",{get:function(){return this._$.state}})}return x.all=K,x.race=Ot,x.any=Nt,x.reject=Dt,x.resolve=Tt,x.allSettled=_t,(on=x.prototype).then=function(e,t){return this._$.then(e,t)},on.catch=function(e){return this._$.catch(e)},on.finally=function(e){return this._$.finally(e)},e.PolyPromise=x,e.arrForEachAsync=function(n,r,i){if(n){let t=g(n);if(t)return sn(e=>{e=e.iter;if(e in n)return r.call(i||n,n[e],e,n)},e=>{if(e.iter>=t||-1===e.res)return!0})}},e.createAllPromise=cn,e.createAllSettledPromise=function(e,t){return(nn=nn||St(A)).v(e,t)},e.createAnyPromise=function(e,t){return(un=un||bt(A)).v(e,t)},e.createAsyncAllPromise=K,e.createAsyncAllSettledPromise=_t,e.createAsyncAnyPromise=Nt,e.createAsyncPromise=d,e.createAsyncRacePromise=Ot,e.createAsyncRejectedPromise=Dt,e.createAsyncResolvedPromise=Tt,e.createIdleAllPromise=Yt,e.createIdleAllSettledPromise=function(e,t){return(Kt=Kt||St(S)).v(e,t)},e.createIdleAnyPromise=function(e,t){return(Qt=Qt||bt(S)).v(e,t)},e.createIdlePromise=S,e.createIdleRacePromise=function(e,t){return(Mt=Mt||At(S)).v(e,t)},e.createIdleRejectedPromise=en,e.createIdleResolvedPromise=Zt,e.createNativeAllPromise=function(e,t){return($t=$t||zt("all",()=>_(gt(m)))).v(e,t)},e.createNativeAllSettledPromise=function(e,t){return(kt=kt||zt("allSettled",()=>St(m))).v(e,t)},e.createNativeAnyPromise=function(e,t){return(Ct=Ct||zt("any",()=>bt(m))).v(e,t)},e.createNativePromise=m,e.createNativeRacePromise=function(e,t){return(xt=xt||zt("race",()=>At(m))).v(e,t)},e.createNativeRejectedPromise=qt,e.createNativeResolvedPromise=Ft,e.createPromise=A,e.createRacePromise=function(e,t){return(rn=rn||At(A)).v(e,t)},e.createRejectedPromise=ln,e.createResolvedPromise=an,e.createSyncAllPromise=Lt,e.createSyncAllSettledPromise=function(e,t){return(Jt=Jt||St(w)).v(e,t)},e.createSyncAnyPromise=function(e,t){return(Ht=Ht||bt(w)).v(e,t)},e.createSyncPromise=w,e.createSyncRacePromise=function(e,t){return(Wt=Wt||At(w)).v(e,t)},e.createSyncRejectedPromise=Bt,e.createSyncResolvedPromise=Ut,e.createTaskScheduler=function(a,e){let l,t=[],f=[],n=6e5,r=n/10,s=0,v=(e?e+".":"")+mn++,i,y=(a=a||A,()=>{var e=0<g(t)+g(f);0<n&&(i||(i=k(()=>{An(t,n),An(f,n),i&&(i.enabled=0<g(t)+g(f))},r)).unref(),i)&&(i.enabled=e)}),d=(u,o)=>(u.st=p(),t.push(u),y(),(t,n)=>{let r=e=>{u.rj=u.rj||e||Sn(hn,u),u[dn]=wn,c(u),t=null,n&&n(e),n=null},e=u.id;if(u.rj)r(u.rj);else{u[dn]=r;try{var i=o(e);u.to&&I(i)&&(u.t=k(()=>{r(Sn("Timeout",u))},u.to)),P(i,e=>{c(u);try{t&&t(e)}catch(e){n&&n(e)}t=n=null},r)}catch(e){r(e)}}}),c=e=>{bn(t,e),e.t&&e.t.cancel(),e.t=null,l&&l===e&&(l=null,g(t)+g(f)===0)&&(i&&i.cancel(),i=null)},u,o,h,m={idle:!0,queue:(e,t,n)=>{let r=v+"."+s++,i=(t&&(r+="-("+t+")"),{id:r,cr:p(),to:n,reject:e=>{i.rj=e||Sn(hn,i),i[dn]=wn}});var u,o,c;return l?i.p=(u=i,o=l,c=e,f.push(u),y(),a((e,t)=>{Ye(o.p,()=>{bn(f,u),d(u,c)(e,t)})})):i.p=a(d(i,e)),(l=i).p},setStaleTimeout:(e,t)=>{i&&i.cancel(),i=null,n=e,r=t||e/10,y()}};return ue(m,"idle",{g:()=>g(t)+g(f)===0}),u=m,o=()=>v,h=()=>({l:l,r:t,w:f}),pn=pn||{toString:()=>"[[SchedulerName]]"},gn=gn||{toString:()=>"[[SchedulerState]]"},E(u,pn,{get:o}),E(u,gn,{get:h}),m},e.createTimeoutPromise=function(n,r,i){return A((e,t)=>{k(()=>{(r?e:t)(j(i)?"Timeout of "+n+"ms exceeded":i)},n)})},e.doAwait=P,e.doAwaitResponse=Ye,e.doFinally=Ze,e.doWhileAsync=sn,e.iterForOfAsync=function(e,n,r){let t,i,u=e;function o(e){throw t={e:e},u.throw&&(i=null,u.throw(t)),e}function c(){try{i&&!i[Ve]&&u.return&&u.return(i)}finally{if(t)throw t.e}}if(e&&(De(e)||(yn=yn||_(N(0)),u=e[yn.v]?e[yn.v]():null)||(vn=vn||_(N(3)),u=e[vn.v]?e[vn.v]():null),u)&&De(u)){let e;try{return e=I(e=sn(t=>P(u.next(),e=>{if(!(i=e)[Ve])return function(e,t){return e.apply(t,v[s](arguments,2))}(n,r||u,i.value,t.iter,u)},e=>{t.isDone=!0,o(e)}),e=>{if(!i||i[Ve]||-1===e.res)return c(),!0},r||u))?Ze(e.catch(o),c):e}catch(e){o(e)}finally{e&&!I(e)&&c()}}},e.setCreatePromiseImpl=function(e){tn=e?_(e):null},e.setDefaultIdlePromiseTimeout=Vt,e.setDefaultIdleTimeout=Xt,e.setPromiseDebugState=function(e,t){rt=e},e})({});
this.nevware21=this.nevware21||{},this.nevware21["ts-async"]=(e=>{function t(e,t){return e||t}function n(e,t){return e[t]}var a=void 0,l=null,C="",z="function",F="object",f="prototype",q="__proto__",r="undefined",J="constructor",W="Symbol",H="_polyfill",L="length",U="name",s="call",B="toString",i=t(Object),G=n(i,f),K=t(Array),M=n(K,f),v=n(M,"slice");function b(e,t){try{return{v:e.apply(this,t)}}catch(e){return{e:e}}}function Q(t){return function(e){return typeof e===t}}function j(e){return typeof e===r||e===r}function V(e){return e||e!==a}var R=Q(z),X=n(K,"isArray"),Y=Q("number");function I(e){return e&&e.then&&R(e.then)}var Z=n(i,"getOwnPropertyDescriptor"),ee=t(n(i,"hasOwn"),te);function te(e,t){return!!e&&G.hasOwnProperty[s](e,t)||!!Z(e,t)}function ne(e,t){if(e&&(e||e!==l&&!j(e))&&e&&typeof e===F)for(var n in e)if(ee(e,n)&&-1===t[s](e,n,e[n]))break}var re={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},E=n(i,"defineProperty"),ie=n(i,"defineProperties");function ue(e,t,n){return E(e,t,(r=n,(i={})[re.c]=!0,i[re.e]=!0,r.l&&(i.get=function(){return r.l.v},e=Z(r.l,"v"))&&e.set&&(i.set=function(e){r.l.v=e}),ne(r,function(e,t){i[re[e]]=V(t)?t:i[re[e]]}),i));var r,i}function oe(e,t,n,r){E(e,t,{value:n,enumerable:!0,writable:!!r})}var u=t(t(String)),ce="[object Error]";function T(e,t){var n=C,r=G[B][s](e);r===ce&&(e={stack:u(e.stack),message:u(e.message),name:u(e.name)});try{n=((n=JSON.stringify(e,l,t?"number"==typeof t?t:4:a))?n.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):l)||u(e)}catch(e){n=" - "+T(e,t)}return r+": "+n}function D(e){throw new TypeError(e)}function ae(e){return e}function le(e){return e[q]||l}var fe=t(n(i,"freeze"),ae),se=t(n(i,"getPrototypeOf"),le);function ve(e){return t=fe,n={},ne(e,function(e,t){oe(n,e,e,void 0),oe(n,t,e,void 0)}),t?t(n):n;var t,n}var ye,de,o,he=ve({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),me="__tsUtils$gblCfg";function pe(){var e;return(e=(e=(e=typeof globalThis!==r?globalThis:e)||typeof self===r?e:self)||typeof window===r?e:window)||typeof global===r?e:global}function ge(t){return function(e){return e[t]}}function Pe(){var e;ye||(e=b(pe).v||{},ye=e[me]=e[me]||{}),o=ye}function _(e){return E({toJSON:function(){return e}},"v",{value:e})}var c,we="window";function y(e,t){var n;return function(){return o||Pe(),(n=n&&!o.lzy?n:_(b(e,t).v)).v}}function Se(e){return o||Pe(),(c=c&&!1!==e&&!o.lzy?c:_(b(pe).v||l)).v}function O(e,t){t=c&&!1!==t?c.v:Se(t);if(t&&t[e])return t[e];if(e===we)try{return window}catch(e){}return l}var Ae,be,je=y(O,["document"]),Re=y(O,[we]),Ie=y(function(){return!!b(function(){return process&&(process.versions||{}).node}).v});function Ee(){return Ae=_(b(O,[W]).v)}function Te(){return o||Pe(),((o.lzy?0:Ae)||Ee()).v}function N(e){var t,n=he[e],r=(o||Pe(),(o.lzy?0:Ae)||Ee());return r.v?r.v[n||e]:(de=de||{},(r=he[e])?de[r]=de[r]||((n={description:u(t=W+"."+r),toString:function(){return W+"("+t+")"}})[H]=!0,n):void 0)}function De(e){return e&&R(e.next)}function _e(e){return e!==l&&V(e)&&R(e[N(3)])}function Oe(t,e,n){if(t&&(De(t)||(t=t[(be=be||_(N(3))).v]?t[be.v]():l),De(t))){var r=a,i=a;try{for(var u=0;!(i=t.next()).done&&-1!==e[s](n||t,i.value,u,t);)u++}catch(e){r={e:e},t.throw&&(i=l,t.throw(r))}finally{try{i&&!i.done&&t.return&&t.return(i)}finally{if(r)throw r.e}}}}function Ne(e,t,n){return e.apply(t,n)}function $e(e,t){if(e)for(var n=e[L]>>>0,r=0;r<n&&!(r in e&&-1===t[s](e,e[r],r,e));r++);}var ke=(r=>{var i=M?M[r]:l;return function(e){var t,n=(e?e[r]:l)||i;if(n)return t=arguments,(n||void 0).apply(e,n?v[s](t,1):t);D('"'+u(r)+'" not defined for '+T(e))}})("indexOf");function $(e){return((e?e.slice:l)||v).apply(e,v[s](arguments,1))}var xe,Ce=t(n(i,"create"),ze);function ze(e){var t;return e?((t=typeof e)!==F&&t!=z&&D("Prototype must be an Object or function: "+T(e)),n[f]=e,new n):{};function n(){}}function Fe(e,t){return(i.setPrototypeOf||function(n,e){var t;(xe=xe||_(((t={})[q]=[],t instanceof Array))).v?n[q]=e:ne(e,function(e,t){return n[e]=t})})(e,t)}function qe(e,t){t&&(e[U]=t)}function Je(i,u){var e,t,o=Error,c=o[f][U],a=Error.captureStackTrace,n=o;return b(ue,[t=function(){var e=this,t=arguments;try{b(qe,[o,i]);var n,r=Ne(o,e,v[s](t))||e;return r!==e&&(n=se(e))!==se(r)&&Fe(r,n),a&&a(r,e[J]),u&&u(r,t),r}finally{b(qe,[o,c])}},U,{v:e=i,c:!0,e:!1}]),(t=Fe(t,n))[f]=n===l?Ce(n):(r[f]=n[f],new r),t;function r(){this[J]=t,b(ue,[this,U,{v:e,c:!0,e:!1}])}}function p(){return(Date.now||We)()}function We(){return(new Date).getTime()}var g=ge(L),He="ref",Le="unref",Ue="hasRef",Be="enabled";function Ge(e,t,n){var r,i=!0,u=t(l);function o(){return i=!1,u&&u[Le]&&u[Le](),r}function c(){u&&n(u),u=l}function a(){return u=t(u),i||o(),r}return(r={cancel:c,refresh:a})[Ue]=function(){return u&&u[Ue]?u[Ue]():i},r[He]=function(){return i=!0,u&&u[He]&&u[He](),r},r[Le]=o,{h:r=E(r,Be,{get:function(){return!!u},set:function(e){!e&&u&&c(),e&&!u&&a()}}),dn:function(){u=l}}}function k(){return e=a,t=v[s](arguments),r=(n=X(e))?e.length:0,i=(0<r?e[0]:n?a:e)||setTimeout,u=(1<r?e[1]:a)||clearTimeout,o=t[0],t[0]=function(){c.dn(),Ne(o,a,v[s](arguments))},(c=Ge(0,function(e){if(e){if(e.refresh)return e.refresh(),e;Ne(u,a,[e])}return Ne(i,a,t)},function(e){Ne(u,a,[e])})).h;var e,t,n,r,i,u,o,c}var Ke=y(O,["requestIdleCallback"]),Me=y(O,["cancelIdleCallback"]);let Qe="Promise",Ve="done",Xe="rejected";function Ye(e,t){return P(e,e=>t?t({status:"fulfilled",rejected:!1,value:e}):e,e=>t?t({status:Xe,rejected:!0,reason:e}):e)}function P(e,t,n,r){let i=e;try{if(I(e))(t||n)&&(i=e.then(t,n));else try{t&&(i=t(e))}catch(e){if(!n)throw e;i=n(e)}}finally{r&&Ze(i,r)}return i}function Ze(e,t){let n=e;return t&&(I(e)?n=e.finally?e.finally(t):e.then(function(e){return t(),e},function(e){throw t(),e}):t()),n}let et,tt,nt,rt=!1,it=["pending","resolving","resolved",Xe],ut="dispatchEvent",ot;function ct(e){return!!(e=e&&e.createEvent?e.createEvent("Event"):void 0)&&e.initEvent}let at="unhandledRejection",lt=at.toLowerCase(),ft=[],st=0,vt=10,yt,dt;function ht(e){return R(e)?e.toString():T(e)}function mt(e){return new(yt=yt||_(b(O,["AggregationError"]).v||Je("AggregationError",(e,t)=>{e.errors=t[0]}))).v(e)}function pt(e,t,n){let r=$(arguments,3),o=0,c=!1,a,l=[],f=st++,i=0<ft.length?ft[ft.length-1]:void 0,s=!1,v=null,u;function y(i,u){try{return ft.push(f),s=!0,v&&v.cancel(),v=null,e(function(n,r){l.push(function(){try{var e=2===o?i:u,t=j(e)?a:R(e)?e(a):e;I(t)?t.then(n,r):(e||3!==o?n:r)(t)}catch(e){r(e)}}),c&&h()},r)}finally{ft.pop()}}function d(){return it[o]}function h(){var e;0<l.length&&(e=l.slice(),l=[],s=!0,v&&v.cancel(),v=null,t(e))}function m(t,n){return e=>{o===n&&(2===t&&I(e)?(o=1,e.then(m(2,1),m(3,1))):(o=t,c=!0,a=e,h(),s||3!==t||(v=v||k(p,vt))))}}function p(){var e,t,n,r,i;s||(s=!0,Ie()?process.emit(at,a,u):(e=Re()||Se(),dt=dt||_(b(O,[Qe+"RejectionEvent"]).v),e=e,t=lt,i=e=>(ue(e,"promise",{g:()=>u}),e.reason=a,e),n=!!dt.v,r=je(),i(i=(ot=ot||_(!!b(ct,[r]).v)).v?r.createEvent("Event"):n?new Event(t):{}),ot.v&&i.initEvent(t,!1,!0),i&&e[ut]?e[ut](i):(r=e["on"+t])?r(i):(n=O("console"))&&(n.error||n.log)(t,T(i))))}u={then:y,catch:function(e){return y(void 0,e)},finally:function(t){let e=t,n=t;return R(t)&&(e=function(e){return t&&t(),e},n=function(e){throw t&&t(),e}),y(e,n)}},E(u,"state",{get:d}),rt&&(g=u,A=d,P=()=>{return e=a,G[B].call(e);var e},w=()=>s,et=et||{toString:()=>"[[PromiseState]]"},tt=tt||{toString:()=>"[[PromiseResult]]"},nt=nt||{toString:()=>"[[PromiseIsHandled]]"},(S={})[et]={get:A},S[tt]={get:P},S[nt]={get:w},ie(g,S)),Te()&&(u[N(11)]="IPromise"),u.toString=function(){return"IPromise"+(rt?"["+f+(j(i)?"":":"+i)+"]":"")+" "+d()+(c?" - "+ht(a):"")},R(n)||D(Qe+": executor is not a function - "+ht(n));var g,P,w,S,A=m(3,0);try{n.call(u,m(2,0),A)}catch(e){A(e)}return u}function gt(n){return function(e){var t=$(arguments,1);return n((i,u)=>{try{let n=[],r=1;Oe(e,(e,t)=>{e&&(r++,P(e,e=>{n[t]=e,0==--r&&i(n)},u))}),0==--r&&i(n)}catch(e){u(e)}},t)}}function Pt(n){return function(t){var e=$(arguments,1);return I(t)?t:n(e=>{e(t)},e)}}function wt(t){return function(n){var e=$(arguments,1);return t((e,t)=>{t(n)},e)}}function St(t){return _(function(u){var e=$(arguments,1);return t((n,t)=>{let r=[],i=1;function e(e,t){i++,Ye(e,e=>{e.rejected?r[t]={status:Xe,reason:e.reason}:r[t]={status:"fulfilled",value:e.value},0==--i&&n(r)})}try{X(u)?$e(u,e):_e(u)?Oe(u,e):D("Input is not an iterable"),0==--i&&n(r)}catch(e){t(e)}},e)})}function At(t){return _(function(i){var e=$(arguments,1);return t((t,n)=>{let r=!1;function e(e){Ye(e,e=>{r||(r=!0,e.rejected?n(e.reason):t(e.value))})}try{X(i)?$e(i,e):_e(i)?Oe(i,e):D("Input is not an iterable")}catch(e){n(e)}},e)})}function bt(n){return _(function(t){var e=$(arguments,1);return n((n,r)=>{let i=[],u=1,o=!1;function e(e,t){u++,Ye(e,e=>{e.rejected?(i[t]=e.reason,0!=--u||o||r(mt(i))):(o=!0,n(e.value))})}try{X(t)?$e(t,e):_e(t)?Oe(t,e):D("Input is not an iterable"),0!=--u||o||r(mt(i))}catch(e){r(e)}},e)})}function jt(e){$e(e,e=>{try{e()}catch(e){}})}let Rt,It,Et;function d(e,t){return pt(d,(e=>{let t=Y(e)?e:0;return e=>{k(()=>{jt(e)},t)}})(t),e,t)}var K=gt(d),Tt=Pt(d),Dt=wt(d);function _t(e,t){return(Rt=Rt||St(d)).v(e,t)}function Ot(e,t){return(It=It||At(d)).v(e,t)}function Nt(e,t){return(Et=Et||bt(d)).v(e,t)}let h,$t,kt,xt,Ct;function zt(r,e){return(h=h||_(b(O,[Qe]).v||null)).v&&h.v[r]?_(function(n,e){return m((e,t)=>{h.v[r](n).then(e,t)})}):e()}function m(e,t){var n=(h=h||_(b(O,[Qe]).v||null)).v;if(!n)return d(e);R(e)||D(Qe+": executor is not a function - "+T(e));let r=0,i=new n((t,n)=>{e(function(e){r=2,t(e)},function(e){r=3,n(e)})});return E(i,"state",{get:function(){return it[r]}}),i}let Ft=Pt(m),qt=wt(m),Jt,Wt,Ht;function w(e){return pt(w,jt,e)}let Lt=gt(w),Ut=Pt(w),Bt=wt(w),Gt,Kt,Mt,Qt;function Vt(e){Gt=e}var Xt=Vt;function S(e,t){var n=j(t)?Gt:t;return pt(S,(()=>{let o;return 0<=n&&(o={timeout:+n}),t=>{var n,e,r=e=>{jt(t)},i=o;function u(e){var t=p();return{didTimeout:e,timeRemaining:function(){return 50-(e=t,p()-e);var e}}}Ke()?(n=Ge(0,function(e){return e&&Me()(e),Ke()(function(e){n.dn(),r(e||u(!1))},i)},function(e){Me()(e)})).h:k(function(){r(u(!0))},j(e=(i||{}).timeout)?100:e)}})(),e,n)}let Yt=gt(S),Zt=Pt(S),en=wt(S),tn,nn,rn,un;function A(e,t){return(tn=tn||_(m)).v.call(this,e,t)}var on,cn=gt(A),an=Pt(A),ln=wt(A);function fn(e,t,n,r){let i=e;if(t.res=n,!i){if(t.isDone&&R(t.isDone))return P(t.isDone.call(r,t),e=>(t.iter++,!!e));i=!!t.isDone}return t.iter++,i}function sn(i,e,u){let o,c,a=e=>{throw l=!0,e},l=!1,f={st:p(),iter:0,isDone:e||!1};if(i){let n=()=>A((e,t)=>{c=e,a=t}),r=e=>{(l=!!e)?c(f.res):t()},t=()=>{for(;!l;)try{var e=i.call(u,f);if(I(e))return o=o||n(),P(e,e=>{try{P(fn(l,f,e,u),r,a)}catch(e){a(e)}},a),o;var t=fn(l,f,e,u);if(I(t))return o=o||n(),P(t,r,a),o;l=!!t}catch(e){return a(e),o}return l&&c&&c(f.res),o||f.res};return t()}}let vn,yn,dn="reject",hn="Rejected",mn=0,pn,gn,Pn={};function wn(){}function Sn(e,t,n){Pn[e]||(Pn[e]=Je(e));var r=p();return new Pn[e](`Task [${t.id}] ${n||""}- ${t.st?"Running":"Waiting"}: `+(r-(t.st||t.cr)||"0")+" ms")}function An(e,t){let n=p()-t;$e(e,e=>{(e&&!e.rj&&e.st&&e.st<n||!e.st&&e.cr&&e.cr<n)&&e&&e[dn](e.rj||Sn("Aborted",e,"Stale "))})}function bn(e,t){t=ke(e,t);-1!==t&&e.splice(t,1)}let jn=N(11);function x(e){this._$=d(e),jn&&(this[jn]="Promise"),E(this,"state",{get:function(){return this._$.state}})}return x.all=K,x.race=Ot,x.any=Nt,x.reject=Dt,x.resolve=Tt,x.allSettled=_t,(on=x.prototype).then=function(e,t){return this._$.then(e,t)},on.catch=function(e){return this._$.catch(e)},on.finally=function(e){return this._$.finally(e)},e.PolyPromise=x,e.arrForEachAsync=function(n,r,i){if(n){let t=g(n);if(t)return sn(e=>{e=e.iter;if(e in n)return r.call(i||n,n[e],e,n)},e=>{if(e.iter>=t||-1===e.res)return!0})}},e.createAllPromise=cn,e.createAllSettledPromise=function(e,t){return(nn=nn||St(A)).v(e,t)},e.createAnyPromise=function(e,t){return(un=un||bt(A)).v(e,t)},e.createAsyncAllPromise=K,e.createAsyncAllSettledPromise=_t,e.createAsyncAnyPromise=Nt,e.createAsyncPromise=d,e.createAsyncRacePromise=Ot,e.createAsyncRejectedPromise=Dt,e.createAsyncResolvedPromise=Tt,e.createIdleAllPromise=Yt,e.createIdleAllSettledPromise=function(e,t){return(Kt=Kt||St(S)).v(e,t)},e.createIdleAnyPromise=function(e,t){return(Qt=Qt||bt(S)).v(e,t)},e.createIdlePromise=S,e.createIdleRacePromise=function(e,t){return(Mt=Mt||At(S)).v(e,t)},e.createIdleRejectedPromise=en,e.createIdleResolvedPromise=Zt,e.createNativeAllPromise=function(e,t){return($t=$t||zt("all",()=>_(gt(m)))).v(e,t)},e.createNativeAllSettledPromise=function(e,t){return(kt=kt||zt("allSettled",()=>St(m))).v(e,t)},e.createNativeAnyPromise=function(e,t){return(Ct=Ct||zt("any",()=>bt(m))).v(e,t)},e.createNativePromise=m,e.createNativeRacePromise=function(e,t){return(xt=xt||zt("race",()=>At(m))).v(e,t)},e.createNativeRejectedPromise=qt,e.createNativeResolvedPromise=Ft,e.createPromise=A,e.createRacePromise=function(e,t){return(rn=rn||At(A)).v(e,t)},e.createRejectedPromise=ln,e.createResolvedPromise=an,e.createSyncAllPromise=Lt,e.createSyncAllSettledPromise=function(e,t){return(Jt=Jt||St(w)).v(e,t)},e.createSyncAnyPromise=function(e,t){return(Ht=Ht||bt(w)).v(e,t)},e.createSyncPromise=w,e.createSyncRacePromise=function(e,t){return(Wt=Wt||At(w)).v(e,t)},e.createSyncRejectedPromise=Bt,e.createSyncResolvedPromise=Ut,e.createTaskScheduler=function(a,e){let l,t=[],f=[],n=6e5,r=n/10,s=0,v=(e?e+".":"")+mn++,i,y=(a=a||A,()=>{var e=0<g(t)+g(f);0<n&&(i||(i=k(()=>{An(t,n),An(f,n),i&&(i.enabled=0<g(t)+g(f))},r)).unref(),i)&&(i.enabled=e)}),d=(u,o)=>(u.st=p(),t.push(u),y(),(t,n)=>{let r=e=>{u.rj=u.rj||e||Sn(hn,u),u[dn]=wn,c(u),t=null,n&&n(e),n=null},e=u.id;if(u.rj)r(u.rj);else{u[dn]=r;try{var i=o(e);u.to&&I(i)&&(u.t=k(()=>{r(Sn("Timeout",u))},u.to)),P(i,e=>{c(u);try{t&&t(e)}catch(e){n&&n(e)}t=n=null},r)}catch(e){r(e)}}}),c=e=>{bn(t,e),e.t&&e.t.cancel(),e.t=null,l&&l===e&&(l=null,g(t)+g(f)===0)&&(i&&i.cancel(),i=null)},u,o,h,m={idle:!0,queue:(e,t,n)=>{let r=v+"."+s++,i=(t&&(r+="-("+t+")"),{id:r,cr:p(),to:n,reject:e=>{i.rj=e||Sn(hn,i),i[dn]=wn}});var u,o,c;return l?i.p=(u=i,o=l,c=e,f.push(u),y(),a((e,t)=>{Ye(o.p,()=>{bn(f,u),d(u,c)(e,t)})})):i.p=a(d(i,e)),(l=i).p},setStaleTimeout:(e,t)=>{i&&i.cancel(),i=null,n=e,r=t||e/10,y()}};return ue(m,"idle",{g:()=>g(t)+g(f)===0}),u=m,o=()=>v,h=()=>({l:l,r:t,w:f}),pn=pn||{toString:()=>"[[SchedulerName]]"},gn=gn||{toString:()=>"[[SchedulerState]]"},E(u,pn,{get:o}),E(u,gn,{get:h}),m},e.createTimeoutPromise=function(n,r,i){return A((e,t)=>{k(()=>{(r?e:t)(j(i)?"Timeout of "+n+"ms exceeded":i)},n)})},e.doAwait=P,e.doAwaitResponse=Ye,e.doFinally=Ze,e.doWhileAsync=sn,e.iterForOfAsync=function(e,n,r){let t,i,u=e;function o(e){throw t={e:e},u.throw&&(i=null,u.throw(t)),e}function c(){try{i&&!i[Ve]&&u.return&&u.return(i)}finally{if(t)throw t.e}}if(e&&(De(e)||(yn=yn||_(N(0)),u=e[yn.v]?e[yn.v]():null)||(vn=vn||_(N(3)),u=e[vn.v]?e[vn.v]():null),u)&&De(u)){let e;try{return e=I(e=sn(t=>P(u.next(),e=>{if(!(i=e)[Ve])return function(e,t){return e.apply(t,v[s](arguments,2))}(n,r||u,i.value,t.iter,u)},e=>{t.isDone=!0,o(e)}),e=>{if(!i||i[Ve]||-1===e.res)return c(),!0},r||u))?Ze(e.catch(o),c):e}catch(e){o(e)}finally{e&&!I(e)&&c()}}},e.setCreatePromiseImpl=function(e){tn=e?_(e):null},e.setDefaultIdlePromiseTimeout=Vt,e.setDefaultIdleTimeout=Xt,e.setPromiseDebugState=function(e,t){rt=e},e})({});
//# sourceMappingURL=ts-async.min.js.map
/*!
* NevWare21 Solutions LLC - ts-async, 0.5.3
* NevWare21 Solutions LLC - ts-async, 0.5.4
* https://github.com/nevware21/ts-async

@@ -7,3 +7,3 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

*/
function e(e){function t(e,t){return e||t}function n(e,t){return e[t]}var a=void 0,l=null,C="",z="function",F="object",f="prototype",q="__proto__",r="undefined",J="constructor",W="Symbol",H="_polyfill",L="length",U="name",s="call",B="toString",i=t(Object),G=n(i,f),K=n(Tt=t(Array),f),v=n(K,"slice");function A(e,t){try{return{v:e.apply(this,t)}}catch(e){return{e:e}}}function M(t){return function(e){return typeof e===t}}function j(e){return typeof e===r||e===r}function Q(e){return e||e!==a}var R=M(z),V=n(Tt,"isArray"),X=M("number");function I(e){return e&&e.then&&R(e.then)}var Y=n(i,"getOwnPropertyDescriptor"),Z=t(n(i,"hasOwn"),ee);function ee(e,t){return!!e&&G.hasOwnProperty[s](e,t)||!!Y(e,t)}function te(e,t,n){if(e&&(e||e!==l&&!j(e))&&e&&typeof e===F)for(var r in e)if(Z(e,r)&&-1===t[s](n||e,r,e[r]))break}var ne={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},T=n(i,"defineProperty"),re=n(i,"defineProperties");function ie(e,t,n){return T(e,t,(r=n,(i={})[ne.c]=!0,i[ne.e]=!0,r.l&&(i.get=function(){return r.l.v},e=Y(r.l,"v"))&&e.set&&(i.set=function(e){r.l.v=e}),te(r,function(e,t){i[ne[e]]=Q(t)?t:i[ne[e]]}),i));var r,i}function oe(e,t,n,r){T(e,t,{value:n,enumerable:!0,writable:!!r})}var o=t(t(String)),ue="[object Error]";function E(e,t){var n=C,r=G[B][s](e);r===ue&&(e={stack:o(e.stack),message:o(e.message),name:o(e.name)});try{n=((n=JSON.stringify(e,l,t?"number"==typeof t?t:4:a))?n.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):l)||o(e)}catch(e){n=" - "+E(e,t)}return r+": "+n}function D(e){throw new TypeError(e)}function ce(e){return e}function ae(e){return e[q]||l}var le=t(n(i,"freeze"),ce),fe=t(n(i,"getPrototypeOf"),ae);function se(e){return t=le,n={},te(e,function(e,t){oe(n,e,e,void 0),oe(n,t,e,void 0)}),t?t(n):n;var t,n}var ve,de,u,ye=se({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),he="__tsUtils$gblCfg";function me(){var e;return(e=(e=(e=typeof globalThis!==r?globalThis:e)||typeof self===r?e:self)||typeof window===r?e:window)||typeof global===r?e:global}function pe(t){return function(e){return e[t]}}function ge(){var e;ve||(e=A(me).v||{},ve=e[he]=e[he]||{}),u=ve}function _(e){return T({toJSON:function(){return e}},"v",{value:e})}var c,Pe="window";function d(e,t){var n;return function(){return u||ge(),(n=n&&!u.lzy?n:_(A(e,t).v)).v}}function we(e){return u||ge(),(c=c&&!1!==e&&!u.lzy?c:_(A(me).v||l)).v}function O(e,t){t=c&&!1!==t?c.v:we(t);if(t&&t[e])return t[e];if(e===Pe)try{return window}catch(e){}return l}var Se,be,Ae=d(O,["document"]),je=d(O,[Pe]),Re=d(function(){return!!A(function(){return process&&(process.versions||{}).node}).v});function Ie(){return Se=_(A(O,[W]).v)}function Te(){return u||ge(),((u.lzy?0:Se)||Ie()).v}function x(e,t){var n,r=ye[e],i=(u||ge(),(u.lzy?0:Se)||Ie());return i.v?i.v[r||e]:t?a:(de=de||{},(i=ye[e])?de[i]=de[i]||((r={description:o(n=W+"."+i),toString:function(){return W+"("+n+")"}})[H]=!0,r):void 0)}function Ee(e){return e&&R(e.next)}function De(e){return e!==l&&Q(e)&&R(e[x(3)])}function _e(t,e,n){if(t&&(Ee(t)||(t=t[(be=be||_(x(3))).v]?t[be.v]():l),Ee(t))){var r=a,i=a;try{for(var o=0;!(i=t.next()).done&&-1!==e[s](n||t,i.value,o,t);)o++}catch(e){r={e:e},t.throw&&(i=l,t.throw(r))}finally{try{i&&!i.done&&t.return&&t.return(i)}finally{if(r)throw r.e}}}}function Oe(e,t,n){return e.apply(t,n)}function xe(e,t,n){if(e)for(var r=e[L]>>>0,i=0;i<r&&!(i in e&&-1===t[s](n||e,e[i],i,e));i++);}var Ne=(r=>{var i=K?K[r]:l;return function(e){var t,n=(e?e[r]:l)||i;if(n)return t=arguments,(n||void 0).apply(e,n?v[s](t,1):t);D('"'+o(r)+'" not defined for '+E(e))}})("indexOf");function N(e){return((e?e.slice:l)||v).apply(e,v[s](arguments,1))}var $e,ke=t(n(i,"create"),Ce);function Ce(e){var t;return e?((t=typeof e)!==F&&t!=z&&D("Prototype must be an Object or function: "+E(e)),n[f]=e,new n):{};function n(){}}function ze(e,t){return(i.setPrototypeOf||function(n,e){var t;($e=$e||_(((t={})[q]=[],t instanceof Array))).v?n[q]=e:te(e,function(e,t){return n[e]=t})})(e,t)}function Fe(e,t){t&&(e[U]=t)}function qe(i,o,e){var t,n,u=e||Error,c=u[f][U],a=Error.captureStackTrace,e=u;return A(ie,[n=function(){var e=this,t=arguments;try{A(Fe,[u,i]);var n,r=Oe(u,e,v[s](t))||e;return r!==e&&(n=fe(e))!==fe(r)&&ze(r,n),a&&a(r,e[J]),o&&o(r,t),r}finally{A(Fe,[u,c])}},U,{v:t=i,c:!0,e:!1}]),(n=ze(n,e))[f]=e===l?ke(e):(r[f]=e[f],new r),n;function r(){this[J]=n,A(ie,[this,U,{v:t,c:!0,e:!1}])}}function p(){return(Date.now||Je)()}function Je(){return(new Date).getTime()}var g=pe(L),We="ref",He="unref",Le="hasRef",Ue="enabled";function Be(e,t,n){var r,i=!0,o=e?t(l):l;function u(){return i=!1,o&&o[He]&&o[He](),r}function c(){o&&n(o),o=l}function a(){return o=t(o),i||u(),r}return(r={cancel:c,refresh:a})[Le]=function(){return o&&o[Le]?o[Le]():i},r[We]=function(){return i=!0,o&&o[We]&&o[We](),r},r[He]=u,{h:r=T(r,Ue,{get:function(){return!!o},set:function(e){!e&&o&&c(),e&&!o&&a()}}),dn:function(){o=l}}}function $(){return e=a,t=v[s](arguments),r=(n=V(e))?e.length:0,i=(0<r?e[0]:n?a:e)||setTimeout,o=(1<r?e[1]:a)||clearTimeout,u=t[0],t[0]=function(){c.dn(),Oe(u,a,v[s](arguments))},(c=Be(!0,function(e){if(e){if(e.refresh)return e.refresh(),e;Oe(o,a,[e])}return Oe(i,a,t)},function(e){Oe(o,a,[e])})).h;var e,t,n,r,i,o,u,c}var Ge=d(O,["requestIdleCallback"]),Ke=d(O,["cancelIdleCallback"]);let Me="Promise",Qe="done",Ve="rejected";function Xe(e,t){return P(e,e=>t?t({status:"fulfilled",rejected:!1,value:e}):e,e=>t?t({status:Ve,rejected:!0,reason:e}):e)}function P(e,t,n,r){let i=e;try{if(I(e))(t||n)&&(i=e.then(t,n));else try{t&&(i=t(e))}catch(e){if(!n)throw e;i=n(e)}}finally{r&&Ye(i,r)}return i}function Ye(e,t){let n=e;return t&&(I(e)?n=e.finally?e.finally(t):e.then(function(e){return t(),e},function(e){throw t(),e}):t()),n}let Ze,et,tt,nt=!1,rt=["pending","resolving","resolved",Ve],it="dispatchEvent",ot;function ut(e){return!!(e=e&&e.createEvent?e.createEvent("Event"):void 0)&&e.initEvent}let ct="unhandledRejection",at=ct.toLowerCase(),lt=[],ft=0,st=10,vt,dt;function yt(e){return R(e)?e.toString():E(e)}function ht(e){return new(vt=vt||_(A(O,["AggregationError"]).v||qe("AggregationError",(e,t)=>{e.errors=t[0]}))).v(e)}function mt(e,t,n){let r=N(arguments,3),u=0,c=!1,a,l=[],f=ft++,i=0<lt.length?lt[lt.length-1]:void 0,s=!1,v=null,o;function d(i,o){try{return lt.push(f),s=!0,v&&v.cancel(),v=null,e(function(n,r){l.push(function(){try{var e=2===u?i:o,t=j(e)?a:R(e)?e(a):e;I(t)?t.then(n,r):(e||3!==u?n:r)(t)}catch(e){r(e)}}),c&&h()},r)}finally{lt.pop()}}function y(){return rt[u]}function h(){var e;0<l.length&&(e=l.slice(),l=[],s=!0,v&&v.cancel(),v=null,t(e))}function m(t,n){return e=>{u===n&&(2===t&&I(e)?(u=1,e.then(m(2,1),m(3,1))):(u=t,c=!0,a=e,h(),s||3!==t||(v=v||$(p,st))))}}function p(){var e,t,n,r,i;s||(s=!0,Re()?process.emit(ct,a,o):(e=je()||we(),dt=dt||_(A(O,[Me+"RejectionEvent"]).v),e=e,t=at,i=e=>(ie(e,"promise",{g:()=>o}),e.reason=a,e),n=!!dt.v,r=Ae(),i(i=(ot=ot||_(!!A(ut,[r]).v)).v?r.createEvent("Event"):n?new Event(t):{}),ot.v&&i.initEvent(t,!1,!0),i&&e[it]?e[it](i):(r=e["on"+t])?r(i):(n=O("console"))&&(n.error||n.log)(t,E(i))))}o={then:d,catch:function(e){return d(void 0,e)},finally:function(t){let e=t,n=t;return R(t)&&(e=function(e){return t&&t(),e},n=function(e){throw t&&t(),e}),d(e,n)}},T(o,"state",{get:y}),nt&&(g=o,b=y,P=()=>{return e=a,G[B].call(e);var e},w=()=>s,Ze=Ze||{toString:()=>"[[PromiseState]]"},et=et||{toString:()=>"[[PromiseResult]]"},tt=tt||{toString:()=>"[[PromiseIsHandled]]"},(S={})[Ze]={get:b},S[et]={get:P},S[tt]={get:w},re(g,S)),Te()&&(o[x(11)]="IPromise"),o.toString=function(){return"IPromise"+(nt?"["+f+(j(i)?"":":"+i)+"]":"")+" "+y()+(c?" - "+yt(a):"")},R(n)||D(Me+": executor is not a function - "+yt(n));var g,P,w,S,b=m(3,0);try{n.call(o,m(2,0),b)}catch(e){b(e)}return o}function pt(n){return function(e){var t=N(arguments,1);return n((i,o)=>{try{let n=[],r=1;_e(e,(e,t)=>{e&&(r++,P(e,e=>{n[t]=e,0==--r&&i(n)},o))}),0==--r&&i(n)}catch(e){o(e)}},t)}}function gt(n){return function(t){var e=N(arguments,1);return I(t)?t:n(e=>{e(t)},e)}}function Pt(t){return function(n){var e=N(arguments,1);return t((e,t)=>{t(n)},e)}}function wt(t){return _(function(o){var e=N(arguments,1);return t((n,t)=>{let r=[],i=1;function e(e,t){i++,Xe(e,e=>{e.rejected?r[t]={status:Ve,reason:e.reason}:r[t]={status:"fulfilled",value:e.value},0==--i&&n(r)})}try{V(o)?xe(o,e):De(o)?_e(o,e):D("Input is not an iterable"),0==--i&&n(r)}catch(e){t(e)}},e)})}function St(t){return _(function(i){var e=N(arguments,1);return t((t,n)=>{let r=!1;function e(e){Xe(e,e=>{r||(r=!0,e.rejected?n(e.reason):t(e.value))})}try{V(i)?xe(i,e):De(i)?_e(i,e):D("Input is not an iterable")}catch(e){n(e)}},e)})}function bt(n){return _(function(t){var e=N(arguments,1);return n((n,r)=>{let i=[],o=1,u=!1;function e(e,t){o++,Xe(e,e=>{e.rejected?(i[t]=e.reason,0!=--o||u||r(ht(i))):(u=!0,n(e.value))})}try{V(t)?xe(t,e):De(t)?_e(t,e):D("Input is not an iterable"),0!=--o||u||r(ht(i))}catch(e){r(e)}},e)})}function At(e){xe(e,e=>{try{e()}catch(e){}})}let jt,Rt,It;function y(e,t){return mt(y,(e=>{let t=X(e)?e:0;return e=>{$(()=>{At(e)},t)}})(t),e,t)}var Tt=pt(y),Et=gt(y),Dt=Pt(y);function _t(e,t){return(jt=jt||wt(y)).v(e,t)}function Ot(e,t){return(Rt=Rt||St(y)).v(e,t)}function xt(e,t){return(It=It||bt(y)).v(e,t)}let h,Nt,$t,kt,Ct;function zt(r,e){return(h=h||_(A(O,[Me]).v||null)).v&&h.v[r]?_(function(n,e){return m((e,t)=>{h.v[r](n).then(e,t)})}):e()}function m(e,t){var n=(h=h||_(A(O,[Me]).v||null)).v;if(!n)return y(e);R(e)||D(Me+": executor is not a function - "+E(e));let r=0,i=new n((t,n)=>{e(function(e){r=2,t(e)},function(e){r=3,n(e)})});return T(i,"state",{get:function(){return rt[r]}}),i}let Ft=gt(m),qt=Pt(m),Jt,Wt,Ht;function w(e){return mt(w,At,e)}let Lt=pt(w),Ut=gt(w),Bt=Pt(w),Gt,Kt,Mt,Qt;function Vt(e){Gt=e}var Xt=Vt;function S(e,t){var n=j(t)?Gt:t;return mt(S,(()=>{let u;return 0<=n&&(u={timeout:+n}),t=>{var n,e,r=e=>{At(t)},i=u;function o(e){var t=p();return{didTimeout:e,timeRemaining:function(){return 50-(e=t,p()-e);var e}}}Ge()?(n=Be(!0,function(e){return e&&Ke()(e),Ge()(function(e){n.dn(),r(e||o(!1))},i)},function(e){Ke()(e)})).h:$(function(){r(o(!0))},j(e=(i||{}).timeout)?100:e)}})(),e,n)}let Yt=pt(S),Zt=gt(S),en=Pt(S),tn,nn,rn,on;function b(e,t){return(tn=tn||_(m)).v.call(this,e,t)}var un,cn=pt(b),an=gt(b),ln=Pt(b);function fn(e,t,n,r){let i=e;if(t.res=n,!i){if(t.isDone&&R(t.isDone))return P(t.isDone.call(r,t),e=>(t.iter++,!!e));i=!!t.isDone}return t.iter++,i}function sn(i,e,o){let u,c,a=e=>{throw l=!0,e},l=!1,f={st:p(),iter:0,isDone:e||!1};if(i){let n=()=>b((e,t)=>{c=e,a=t}),r=e=>{(l=!!e)?c(f.res):t()},t=()=>{for(;!l;)try{var e=i.call(o,f);if(I(e))return u=u||n(),P(e,e=>{try{P(fn(l,f,e,o),r,a)}catch(e){a(e)}},a),u;var t=fn(l,f,e,o);if(I(t))return u=u||n(),P(t,r,a),u;l=!!t}catch(e){return a(e),u}return l&&c&&c(f.res),u||f.res};return t()}}let vn,dn,yn="reject",hn="Rejected",mn=0,pn,gn,Pn={};function wn(){}function Sn(e,t,n){Pn[e]||(Pn[e]=qe(e));var r=p();return new Pn[e](`Task [${t.id}] ${n||""}- ${t.st?"Running":"Waiting"}: `+(r-(t.st||t.cr)||"0")+" ms")}function bn(e,t){let n=p()-t;xe(e,e=>{(e&&!e.rj&&e.st&&e.st<n||!e.st&&e.cr&&e.cr<n)&&e&&e[yn](e.rj||Sn("Aborted",e,"Stale "))})}function An(e,t){t=Ne(e,t);-1!==t&&e.splice(t,1)}let jn=x(11);function k(e){this._$=y(e),jn&&(this[jn]="Promise"),T(this,"state",{get:function(){return this._$.state}})}k.all=Tt,k.race=Ot,k.any=xt,k.reject=Dt,k.resolve=Et,k.allSettled=_t,(un=k.prototype).then=function(e,t){return this._$.then(e,t)},un.catch=function(e){return this._$.catch(e)},un.finally=function(e){return this._$.finally(e)},e.PolyPromise=k,e.arrForEachAsync=function(n,r,i){if(n){let t=g(n);if(t)return sn(e=>{e=e.iter;if(e in n)return r.call(i||n,n[e],e,n)},e=>{if(e.iter>=t||-1===e.res)return!0})}},e.createAllPromise=cn,e.createAllSettledPromise=function(e,t){return(nn=nn||wt(b)).v(e,t)},e.createAnyPromise=function(e,t){return(on=on||bt(b)).v(e,t)},e.createAsyncAllPromise=Tt,e.createAsyncAllSettledPromise=_t,e.createAsyncAnyPromise=xt,e.createAsyncPromise=y,e.createAsyncRacePromise=Ot,e.createAsyncRejectedPromise=Dt,e.createAsyncResolvedPromise=Et,e.createIdleAllPromise=Yt,e.createIdleAllSettledPromise=function(e,t){return(Kt=Kt||wt(S)).v(e,t)},e.createIdleAnyPromise=function(e,t){return(Qt=Qt||bt(S)).v(e,t)},e.createIdlePromise=S,e.createIdleRacePromise=function(e,t){return(Mt=Mt||St(S)).v(e,t)},e.createIdleRejectedPromise=en,e.createIdleResolvedPromise=Zt,e.createNativeAllPromise=function(e,t){return(Nt=Nt||zt("all",()=>_(pt(m)))).v(e,t)},e.createNativeAllSettledPromise=function(e,t){return($t=$t||zt("allSettled",()=>wt(m))).v(e,t)},e.createNativeAnyPromise=function(e,t){return(Ct=Ct||zt("any",()=>bt(m))).v(e,t)},e.createNativePromise=m,e.createNativeRacePromise=function(e,t){return(kt=kt||zt("race",()=>St(m))).v(e,t)},e.createNativeRejectedPromise=qt,e.createNativeResolvedPromise=Ft,e.createPromise=b,e.createRacePromise=function(e,t){return(rn=rn||St(b)).v(e,t)},e.createRejectedPromise=ln,e.createResolvedPromise=an,e.createSyncAllPromise=Lt,e.createSyncAllSettledPromise=function(e,t){return(Jt=Jt||wt(w)).v(e,t)},e.createSyncAnyPromise=function(e,t){return(Ht=Ht||bt(w)).v(e,t)},e.createSyncPromise=w,e.createSyncRacePromise=function(e,t){return(Wt=Wt||St(w)).v(e,t)},e.createSyncRejectedPromise=Bt,e.createSyncResolvedPromise=Ut,e.createTaskScheduler=function(a,e){let l,t=[],f=[],n=6e5,r=n/10,s=0,v=(e?e+".":"")+mn++,i,d=(a=a||b,()=>{var e=0<g(t)+g(f);0<n&&(i||(i=$(()=>{bn(t,n),bn(f,n),i&&(i.enabled=0<g(t)+g(f))},r)).unref(),i)&&(i.enabled=e)}),y=(o,u)=>(o.st=p(),t.push(o),d(),(t,n)=>{let r=e=>{o.rj=o.rj||e||Sn(hn,o),o[yn]=wn,c(o),t=null,n&&n(e),n=null},e=o.id;if(o.rj)r(o.rj);else{o[yn]=r;try{var i=u(e);o.to&&I(i)&&(o.t=$(()=>{r(Sn("Timeout",o))},o.to)),P(i,e=>{c(o);try{t&&t(e)}catch(e){n&&n(e)}t=n=null},r)}catch(e){r(e)}}}),c=e=>{An(t,e),e.t&&e.t.cancel(),e.t=null,l&&l===e&&(l=null,g(t)+g(f)===0)&&(i&&i.cancel(),i=null)},o,u,h,m={idle:!0,queue:(e,t,n)=>{let r=v+"."+s++,i=(t&&(r+="-("+t+")"),{id:r,cr:p(),to:n,reject:e=>{i.rj=e||Sn(hn,i),i[yn]=wn}});var o,u,c;return l?i.p=(o=i,u=l,c=e,f.push(o),d(),a((e,t)=>{Xe(u.p,()=>{An(f,o),y(o,c)(e,t)})})):i.p=a(y(i,e)),(l=i).p},setStaleTimeout:(e,t)=>{i&&i.cancel(),i=null,n=e,r=t||e/10,d()}};return ie(m,"idle",{g:()=>g(t)+g(f)===0}),o=m,u=()=>v,h=()=>({l:l,r:t,w:f}),pn=pn||{toString:()=>"[[SchedulerName]]"},gn=gn||{toString:()=>"[[SchedulerState]]"},T(o,pn,{get:u}),T(o,gn,{get:h}),m},e.createTimeoutPromise=function(n,r,i){return b((e,t)=>{$(()=>{(r?e:t)(j(i)?"Timeout of "+n+"ms exceeded":i)},n)})},e.doAwait=P,e.doAwaitResponse=Xe,e.doFinally=Ye,e.doWhileAsync=sn,e.iterForOfAsync=function(e,n,r){let t,i,o=e;function u(e){throw t={e:e},o.throw&&(i=null,o.throw(t)),e}function c(){try{i&&!i[Qe]&&o.return&&o.return(i)}finally{if(t)throw t.e}}if(e&&(Ee(e)||(dn=dn||_(x(0)),o=e[dn.v]?e[dn.v]():null)||(vn=vn||_(x(3)),o=e[vn.v]?e[vn.v]():null),o)&&Ee(o)){let e;try{return e=I(e=sn(t=>P(o.next(),e=>{if(!(i=e)[Qe])return function(e,t){return e.apply(t,v[s](arguments,2))}(n,r||o,i.value,t.iter,o)},e=>{t.isDone=!0,u(e)}),e=>{if(!i||i[Qe]||-1===e.res)return c(),!0},r||o))?Ye(e.catch(u),c):e}catch(e){u(e)}finally{e&&!I(e)&&c()}}},e.setCreatePromiseImpl=function(e){tn=e?_(e):null},e.setDefaultIdlePromiseTimeout=Vt,e.setDefaultIdleTimeout=Xt,e.setPromiseDebugState=function(e,t){nt=e}}var t=this;"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).nevware21=t.nevware21||{},t.nevware21["ts-async"]={}));
function e(e){function t(e,t){return e||t}function n(e,t){return e[t]}var a=void 0,l=null,C="",z="function",F="object",f="prototype",q="__proto__",r="undefined",J="constructor",W="Symbol",H="_polyfill",L="length",U="name",s="call",B="toString",i=t(Object),G=n(i,f),K=n(Tt=t(Array),f),v=n(K,"slice");function A(e,t){try{return{v:e.apply(this,t)}}catch(e){return{e:e}}}function M(t){return function(e){return typeof e===t}}function j(e){return typeof e===r||e===r}function Q(e){return e||e!==a}var R=M(z),V=n(Tt,"isArray"),X=M("number");function I(e){return e&&e.then&&R(e.then)}var Y=n(i,"getOwnPropertyDescriptor"),Z=t(n(i,"hasOwn"),ee);function ee(e,t){return!!e&&G.hasOwnProperty[s](e,t)||!!Y(e,t)}function te(e,t){if(e&&(e||e!==l&&!j(e))&&e&&typeof e===F)for(var n in e)if(Z(e,n)&&-1===t[s](e,n,e[n]))break}var ne={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},T=n(i,"defineProperty"),re=n(i,"defineProperties");function ie(e,t,n){return T(e,t,(r=n,(i={})[ne.c]=!0,i[ne.e]=!0,r.l&&(i.get=function(){return r.l.v},e=Y(r.l,"v"))&&e.set&&(i.set=function(e){r.l.v=e}),te(r,function(e,t){i[ne[e]]=Q(t)?t:i[ne[e]]}),i));var r,i}function oe(e,t,n,r){T(e,t,{value:n,enumerable:!0,writable:!!r})}var o=t(t(String)),ue="[object Error]";function E(e,t){var n=C,r=G[B][s](e);r===ue&&(e={stack:o(e.stack),message:o(e.message),name:o(e.name)});try{n=((n=JSON.stringify(e,l,t?"number"==typeof t?t:4:a))?n.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):l)||o(e)}catch(e){n=" - "+E(e,t)}return r+": "+n}function D(e){throw new TypeError(e)}function ce(e){return e}function ae(e){return e[q]||l}var le=t(n(i,"freeze"),ce),fe=t(n(i,"getPrototypeOf"),ae);function se(e){return t=le,n={},te(e,function(e,t){oe(n,e,e,void 0),oe(n,t,e,void 0)}),t?t(n):n;var t,n}var ve,de,u,ye=se({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),he="__tsUtils$gblCfg";function me(){var e;return(e=(e=(e=typeof globalThis!==r?globalThis:e)||typeof self===r?e:self)||typeof window===r?e:window)||typeof global===r?e:global}function pe(t){return function(e){return e[t]}}function ge(){var e;ve||(e=A(me).v||{},ve=e[he]=e[he]||{}),u=ve}function _(e){return T({toJSON:function(){return e}},"v",{value:e})}var c,Pe="window";function d(e,t){var n;return function(){return u||ge(),(n=n&&!u.lzy?n:_(A(e,t).v)).v}}function we(e){return u||ge(),(c=c&&!1!==e&&!u.lzy?c:_(A(me).v||l)).v}function O(e,t){t=c&&!1!==t?c.v:we(t);if(t&&t[e])return t[e];if(e===Pe)try{return window}catch(e){}return l}var Se,be,Ae=d(O,["document"]),je=d(O,[Pe]),Re=d(function(){return!!A(function(){return process&&(process.versions||{}).node}).v});function Ie(){return Se=_(A(O,[W]).v)}function Te(){return u||ge(),((u.lzy?0:Se)||Ie()).v}function x(e){var t,n=ye[e],r=(u||ge(),(u.lzy?0:Se)||Ie());return r.v?r.v[n||e]:(de=de||{},(r=ye[e])?de[r]=de[r]||((n={description:o(t=W+"."+r),toString:function(){return W+"("+t+")"}})[H]=!0,n):void 0)}function Ee(e){return e&&R(e.next)}function De(e){return e!==l&&Q(e)&&R(e[x(3)])}function _e(t,e,n){if(t&&(Ee(t)||(t=t[(be=be||_(x(3))).v]?t[be.v]():l),Ee(t))){var r=a,i=a;try{for(var o=0;!(i=t.next()).done&&-1!==e[s](n||t,i.value,o,t);)o++}catch(e){r={e:e},t.throw&&(i=l,t.throw(r))}finally{try{i&&!i.done&&t.return&&t.return(i)}finally{if(r)throw r.e}}}}function Oe(e,t,n){return e.apply(t,n)}function xe(e,t){if(e)for(var n=e[L]>>>0,r=0;r<n&&!(r in e&&-1===t[s](e,e[r],r,e));r++);}var Ne=(r=>{var i=K?K[r]:l;return function(e){var t,n=(e?e[r]:l)||i;if(n)return t=arguments,(n||void 0).apply(e,n?v[s](t,1):t);D('"'+o(r)+'" not defined for '+E(e))}})("indexOf");function N(e){return((e?e.slice:l)||v).apply(e,v[s](arguments,1))}var $e,ke=t(n(i,"create"),Ce);function Ce(e){var t;return e?((t=typeof e)!==F&&t!=z&&D("Prototype must be an Object or function: "+E(e)),n[f]=e,new n):{};function n(){}}function ze(e,t){return(i.setPrototypeOf||function(n,e){var t;($e=$e||_(((t={})[q]=[],t instanceof Array))).v?n[q]=e:te(e,function(e,t){return n[e]=t})})(e,t)}function Fe(e,t){t&&(e[U]=t)}function qe(i,o){var e,t,u=Error,c=u[f][U],a=Error.captureStackTrace,n=u;return A(ie,[t=function(){var e=this,t=arguments;try{A(Fe,[u,i]);var n,r=Oe(u,e,v[s](t))||e;return r!==e&&(n=fe(e))!==fe(r)&&ze(r,n),a&&a(r,e[J]),o&&o(r,t),r}finally{A(Fe,[u,c])}},U,{v:e=i,c:!0,e:!1}]),(t=ze(t,n))[f]=n===l?ke(n):(r[f]=n[f],new r),t;function r(){this[J]=t,A(ie,[this,U,{v:e,c:!0,e:!1}])}}function p(){return(Date.now||Je)()}function Je(){return(new Date).getTime()}var g=pe(L),We="ref",He="unref",Le="hasRef",Ue="enabled";function Be(e,t,n){var r,i=!0,o=t(l);function u(){return i=!1,o&&o[He]&&o[He](),r}function c(){o&&n(o),o=l}function a(){return o=t(o),i||u(),r}return(r={cancel:c,refresh:a})[Le]=function(){return o&&o[Le]?o[Le]():i},r[We]=function(){return i=!0,o&&o[We]&&o[We](),r},r[He]=u,{h:r=T(r,Ue,{get:function(){return!!o},set:function(e){!e&&o&&c(),e&&!o&&a()}}),dn:function(){o=l}}}function $(){return e=a,t=v[s](arguments),r=(n=V(e))?e.length:0,i=(0<r?e[0]:n?a:e)||setTimeout,o=(1<r?e[1]:a)||clearTimeout,u=t[0],t[0]=function(){c.dn(),Oe(u,a,v[s](arguments))},(c=Be(0,function(e){if(e){if(e.refresh)return e.refresh(),e;Oe(o,a,[e])}return Oe(i,a,t)},function(e){Oe(o,a,[e])})).h;var e,t,n,r,i,o,u,c}var Ge=d(O,["requestIdleCallback"]),Ke=d(O,["cancelIdleCallback"]);let Me="Promise",Qe="done",Ve="rejected";function Xe(e,t){return P(e,e=>t?t({status:"fulfilled",rejected:!1,value:e}):e,e=>t?t({status:Ve,rejected:!0,reason:e}):e)}function P(e,t,n,r){let i=e;try{if(I(e))(t||n)&&(i=e.then(t,n));else try{t&&(i=t(e))}catch(e){if(!n)throw e;i=n(e)}}finally{r&&Ye(i,r)}return i}function Ye(e,t){let n=e;return t&&(I(e)?n=e.finally?e.finally(t):e.then(function(e){return t(),e},function(e){throw t(),e}):t()),n}let Ze,et,tt,nt=!1,rt=["pending","resolving","resolved",Ve],it="dispatchEvent",ot;function ut(e){return!!(e=e&&e.createEvent?e.createEvent("Event"):void 0)&&e.initEvent}let ct="unhandledRejection",at=ct.toLowerCase(),lt=[],ft=0,st=10,vt,dt;function yt(e){return R(e)?e.toString():E(e)}function ht(e){return new(vt=vt||_(A(O,["AggregationError"]).v||qe("AggregationError",(e,t)=>{e.errors=t[0]}))).v(e)}function mt(e,t,n){let r=N(arguments,3),u=0,c=!1,a,l=[],f=ft++,i=0<lt.length?lt[lt.length-1]:void 0,s=!1,v=null,o;function d(i,o){try{return lt.push(f),s=!0,v&&v.cancel(),v=null,e(function(n,r){l.push(function(){try{var e=2===u?i:o,t=j(e)?a:R(e)?e(a):e;I(t)?t.then(n,r):(e||3!==u?n:r)(t)}catch(e){r(e)}}),c&&h()},r)}finally{lt.pop()}}function y(){return rt[u]}function h(){var e;0<l.length&&(e=l.slice(),l=[],s=!0,v&&v.cancel(),v=null,t(e))}function m(t,n){return e=>{u===n&&(2===t&&I(e)?(u=1,e.then(m(2,1),m(3,1))):(u=t,c=!0,a=e,h(),s||3!==t||(v=v||$(p,st))))}}function p(){var e,t,n,r,i;s||(s=!0,Re()?process.emit(ct,a,o):(e=je()||we(),dt=dt||_(A(O,[Me+"RejectionEvent"]).v),e=e,t=at,i=e=>(ie(e,"promise",{g:()=>o}),e.reason=a,e),n=!!dt.v,r=Ae(),i(i=(ot=ot||_(!!A(ut,[r]).v)).v?r.createEvent("Event"):n?new Event(t):{}),ot.v&&i.initEvent(t,!1,!0),i&&e[it]?e[it](i):(r=e["on"+t])?r(i):(n=O("console"))&&(n.error||n.log)(t,E(i))))}o={then:d,catch:function(e){return d(void 0,e)},finally:function(t){let e=t,n=t;return R(t)&&(e=function(e){return t&&t(),e},n=function(e){throw t&&t(),e}),d(e,n)}},T(o,"state",{get:y}),nt&&(g=o,b=y,P=()=>{return e=a,G[B].call(e);var e},w=()=>s,Ze=Ze||{toString:()=>"[[PromiseState]]"},et=et||{toString:()=>"[[PromiseResult]]"},tt=tt||{toString:()=>"[[PromiseIsHandled]]"},(S={})[Ze]={get:b},S[et]={get:P},S[tt]={get:w},re(g,S)),Te()&&(o[x(11)]="IPromise"),o.toString=function(){return"IPromise"+(nt?"["+f+(j(i)?"":":"+i)+"]":"")+" "+y()+(c?" - "+yt(a):"")},R(n)||D(Me+": executor is not a function - "+yt(n));var g,P,w,S,b=m(3,0);try{n.call(o,m(2,0),b)}catch(e){b(e)}return o}function pt(n){return function(e){var t=N(arguments,1);return n((i,o)=>{try{let n=[],r=1;_e(e,(e,t)=>{e&&(r++,P(e,e=>{n[t]=e,0==--r&&i(n)},o))}),0==--r&&i(n)}catch(e){o(e)}},t)}}function gt(n){return function(t){var e=N(arguments,1);return I(t)?t:n(e=>{e(t)},e)}}function Pt(t){return function(n){var e=N(arguments,1);return t((e,t)=>{t(n)},e)}}function wt(t){return _(function(o){var e=N(arguments,1);return t((n,t)=>{let r=[],i=1;function e(e,t){i++,Xe(e,e=>{e.rejected?r[t]={status:Ve,reason:e.reason}:r[t]={status:"fulfilled",value:e.value},0==--i&&n(r)})}try{V(o)?xe(o,e):De(o)?_e(o,e):D("Input is not an iterable"),0==--i&&n(r)}catch(e){t(e)}},e)})}function St(t){return _(function(i){var e=N(arguments,1);return t((t,n)=>{let r=!1;function e(e){Xe(e,e=>{r||(r=!0,e.rejected?n(e.reason):t(e.value))})}try{V(i)?xe(i,e):De(i)?_e(i,e):D("Input is not an iterable")}catch(e){n(e)}},e)})}function bt(n){return _(function(t){var e=N(arguments,1);return n((n,r)=>{let i=[],o=1,u=!1;function e(e,t){o++,Xe(e,e=>{e.rejected?(i[t]=e.reason,0!=--o||u||r(ht(i))):(u=!0,n(e.value))})}try{V(t)?xe(t,e):De(t)?_e(t,e):D("Input is not an iterable"),0!=--o||u||r(ht(i))}catch(e){r(e)}},e)})}function At(e){xe(e,e=>{try{e()}catch(e){}})}let jt,Rt,It;function y(e,t){return mt(y,(e=>{let t=X(e)?e:0;return e=>{$(()=>{At(e)},t)}})(t),e,t)}var Tt=pt(y),Et=gt(y),Dt=Pt(y);function _t(e,t){return(jt=jt||wt(y)).v(e,t)}function Ot(e,t){return(Rt=Rt||St(y)).v(e,t)}function xt(e,t){return(It=It||bt(y)).v(e,t)}let h,Nt,$t,kt,Ct;function zt(r,e){return(h=h||_(A(O,[Me]).v||null)).v&&h.v[r]?_(function(n,e){return m((e,t)=>{h.v[r](n).then(e,t)})}):e()}function m(e,t){var n=(h=h||_(A(O,[Me]).v||null)).v;if(!n)return y(e);R(e)||D(Me+": executor is not a function - "+E(e));let r=0,i=new n((t,n)=>{e(function(e){r=2,t(e)},function(e){r=3,n(e)})});return T(i,"state",{get:function(){return rt[r]}}),i}let Ft=gt(m),qt=Pt(m),Jt,Wt,Ht;function w(e){return mt(w,At,e)}let Lt=pt(w),Ut=gt(w),Bt=Pt(w),Gt,Kt,Mt,Qt;function Vt(e){Gt=e}var Xt=Vt;function S(e,t){var n=j(t)?Gt:t;return mt(S,(()=>{let u;return 0<=n&&(u={timeout:+n}),t=>{var n,e,r=e=>{At(t)},i=u;function o(e){var t=p();return{didTimeout:e,timeRemaining:function(){return 50-(e=t,p()-e);var e}}}Ge()?(n=Be(0,function(e){return e&&Ke()(e),Ge()(function(e){n.dn(),r(e||o(!1))},i)},function(e){Ke()(e)})).h:$(function(){r(o(!0))},j(e=(i||{}).timeout)?100:e)}})(),e,n)}let Yt=pt(S),Zt=gt(S),en=Pt(S),tn,nn,rn,on;function b(e,t){return(tn=tn||_(m)).v.call(this,e,t)}var un,cn=pt(b),an=gt(b),ln=Pt(b);function fn(e,t,n,r){let i=e;if(t.res=n,!i){if(t.isDone&&R(t.isDone))return P(t.isDone.call(r,t),e=>(t.iter++,!!e));i=!!t.isDone}return t.iter++,i}function sn(i,e,o){let u,c,a=e=>{throw l=!0,e},l=!1,f={st:p(),iter:0,isDone:e||!1};if(i){let n=()=>b((e,t)=>{c=e,a=t}),r=e=>{(l=!!e)?c(f.res):t()},t=()=>{for(;!l;)try{var e=i.call(o,f);if(I(e))return u=u||n(),P(e,e=>{try{P(fn(l,f,e,o),r,a)}catch(e){a(e)}},a),u;var t=fn(l,f,e,o);if(I(t))return u=u||n(),P(t,r,a),u;l=!!t}catch(e){return a(e),u}return l&&c&&c(f.res),u||f.res};return t()}}let vn,dn,yn="reject",hn="Rejected",mn=0,pn,gn,Pn={};function wn(){}function Sn(e,t,n){Pn[e]||(Pn[e]=qe(e));var r=p();return new Pn[e](`Task [${t.id}] ${n||""}- ${t.st?"Running":"Waiting"}: `+(r-(t.st||t.cr)||"0")+" ms")}function bn(e,t){let n=p()-t;xe(e,e=>{(e&&!e.rj&&e.st&&e.st<n||!e.st&&e.cr&&e.cr<n)&&e&&e[yn](e.rj||Sn("Aborted",e,"Stale "))})}function An(e,t){t=Ne(e,t);-1!==t&&e.splice(t,1)}let jn=x(11);function k(e){this._$=y(e),jn&&(this[jn]="Promise"),T(this,"state",{get:function(){return this._$.state}})}k.all=Tt,k.race=Ot,k.any=xt,k.reject=Dt,k.resolve=Et,k.allSettled=_t,(un=k.prototype).then=function(e,t){return this._$.then(e,t)},un.catch=function(e){return this._$.catch(e)},un.finally=function(e){return this._$.finally(e)},e.PolyPromise=k,e.arrForEachAsync=function(n,r,i){if(n){let t=g(n);if(t)return sn(e=>{e=e.iter;if(e in n)return r.call(i||n,n[e],e,n)},e=>{if(e.iter>=t||-1===e.res)return!0})}},e.createAllPromise=cn,e.createAllSettledPromise=function(e,t){return(nn=nn||wt(b)).v(e,t)},e.createAnyPromise=function(e,t){return(on=on||bt(b)).v(e,t)},e.createAsyncAllPromise=Tt,e.createAsyncAllSettledPromise=_t,e.createAsyncAnyPromise=xt,e.createAsyncPromise=y,e.createAsyncRacePromise=Ot,e.createAsyncRejectedPromise=Dt,e.createAsyncResolvedPromise=Et,e.createIdleAllPromise=Yt,e.createIdleAllSettledPromise=function(e,t){return(Kt=Kt||wt(S)).v(e,t)},e.createIdleAnyPromise=function(e,t){return(Qt=Qt||bt(S)).v(e,t)},e.createIdlePromise=S,e.createIdleRacePromise=function(e,t){return(Mt=Mt||St(S)).v(e,t)},e.createIdleRejectedPromise=en,e.createIdleResolvedPromise=Zt,e.createNativeAllPromise=function(e,t){return(Nt=Nt||zt("all",()=>_(pt(m)))).v(e,t)},e.createNativeAllSettledPromise=function(e,t){return($t=$t||zt("allSettled",()=>wt(m))).v(e,t)},e.createNativeAnyPromise=function(e,t){return(Ct=Ct||zt("any",()=>bt(m))).v(e,t)},e.createNativePromise=m,e.createNativeRacePromise=function(e,t){return(kt=kt||zt("race",()=>St(m))).v(e,t)},e.createNativeRejectedPromise=qt,e.createNativeResolvedPromise=Ft,e.createPromise=b,e.createRacePromise=function(e,t){return(rn=rn||St(b)).v(e,t)},e.createRejectedPromise=ln,e.createResolvedPromise=an,e.createSyncAllPromise=Lt,e.createSyncAllSettledPromise=function(e,t){return(Jt=Jt||wt(w)).v(e,t)},e.createSyncAnyPromise=function(e,t){return(Ht=Ht||bt(w)).v(e,t)},e.createSyncPromise=w,e.createSyncRacePromise=function(e,t){return(Wt=Wt||St(w)).v(e,t)},e.createSyncRejectedPromise=Bt,e.createSyncResolvedPromise=Ut,e.createTaskScheduler=function(a,e){let l,t=[],f=[],n=6e5,r=n/10,s=0,v=(e?e+".":"")+mn++,i,d=(a=a||b,()=>{var e=0<g(t)+g(f);0<n&&(i||(i=$(()=>{bn(t,n),bn(f,n),i&&(i.enabled=0<g(t)+g(f))},r)).unref(),i)&&(i.enabled=e)}),y=(o,u)=>(o.st=p(),t.push(o),d(),(t,n)=>{let r=e=>{o.rj=o.rj||e||Sn(hn,o),o[yn]=wn,c(o),t=null,n&&n(e),n=null},e=o.id;if(o.rj)r(o.rj);else{o[yn]=r;try{var i=u(e);o.to&&I(i)&&(o.t=$(()=>{r(Sn("Timeout",o))},o.to)),P(i,e=>{c(o);try{t&&t(e)}catch(e){n&&n(e)}t=n=null},r)}catch(e){r(e)}}}),c=e=>{An(t,e),e.t&&e.t.cancel(),e.t=null,l&&l===e&&(l=null,g(t)+g(f)===0)&&(i&&i.cancel(),i=null)},o,u,h,m={idle:!0,queue:(e,t,n)=>{let r=v+"."+s++,i=(t&&(r+="-("+t+")"),{id:r,cr:p(),to:n,reject:e=>{i.rj=e||Sn(hn,i),i[yn]=wn}});var o,u,c;return l?i.p=(o=i,u=l,c=e,f.push(o),d(),a((e,t)=>{Xe(u.p,()=>{An(f,o),y(o,c)(e,t)})})):i.p=a(y(i,e)),(l=i).p},setStaleTimeout:(e,t)=>{i&&i.cancel(),i=null,n=e,r=t||e/10,d()}};return ie(m,"idle",{g:()=>g(t)+g(f)===0}),o=m,u=()=>v,h=()=>({l:l,r:t,w:f}),pn=pn||{toString:()=>"[[SchedulerName]]"},gn=gn||{toString:()=>"[[SchedulerState]]"},T(o,pn,{get:u}),T(o,gn,{get:h}),m},e.createTimeoutPromise=function(n,r,i){return b((e,t)=>{$(()=>{(r?e:t)(j(i)?"Timeout of "+n+"ms exceeded":i)},n)})},e.doAwait=P,e.doAwaitResponse=Xe,e.doFinally=Ye,e.doWhileAsync=sn,e.iterForOfAsync=function(e,n,r){let t,i,o=e;function u(e){throw t={e:e},o.throw&&(i=null,o.throw(t)),e}function c(){try{i&&!i[Qe]&&o.return&&o.return(i)}finally{if(t)throw t.e}}if(e&&(Ee(e)||(dn=dn||_(x(0)),o=e[dn.v]?e[dn.v]():null)||(vn=vn||_(x(3)),o=e[vn.v]?e[vn.v]():null),o)&&Ee(o)){let e;try{return e=I(e=sn(t=>P(o.next(),e=>{if(!(i=e)[Qe])return function(e,t){return e.apply(t,v[s](arguments,2))}(n,r||o,i.value,t.iter,o)},e=>{t.isDone=!0,u(e)}),e=>{if(!i||i[Qe]||-1===e.res)return c(),!0},r||o))?Ye(e.catch(u),c):e}catch(e){u(e)}finally{e&&!I(e)&&c()}}},e.setCreatePromiseImpl=function(e){tn=e?_(e):null},e.setDefaultIdlePromiseTimeout=Vt,e.setDefaultIdleTimeout=Xt,e.setPromiseDebugState=function(e,t){nt=e}}var t=this;"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).nevware21=t.nevware21||{},t.nevware21["ts-async"]={}));
//# sourceMappingURL=ts-async.min.js.map
/*!
* NevWare21 Solutions LLC - ts-async, 0.5.3
* NevWare21 Solutions LLC - ts-async, 0.5.4
* https://github.com/nevware21/ts-async

@@ -89,2 +89,7 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

/*#__NO_SIDE_EFFECTS__*/
function _pureAssign(func1, func2) {
return func1 || func2;
}
var _debugState;

@@ -639,3 +644,3 @@ var _debugResult;

}
var setDefaultIdleTimeout = ( setDefaultIdlePromiseTimeout);
var setDefaultIdleTimeout = ( /*#__PURE__*/_pureAssign(setDefaultIdlePromiseTimeout));
function createIdlePromise(executor, timeout) {

@@ -642,0 +647,0 @@ var theTimeout = tsUtils.isUndefined(timeout) ? _defaultIdleTimeout : timeout;

/*!
* NevWare21 Solutions LLC - ts-async, 0.5.3
* NevWare21 Solutions LLC - ts-async, 0.5.4
* https://github.com/nevware21/ts-async

@@ -85,2 +85,7 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

/*#__NO_SIDE_EFFECTS__*/
function _pureAssign(func1, func2) {
return func1 || func2;
}
var _debugState;

@@ -635,3 +640,3 @@ var _debugResult;

}
var setDefaultIdleTimeout = ( setDefaultIdlePromiseTimeout);
var setDefaultIdleTimeout = ( /*#__PURE__*/_pureAssign(setDefaultIdlePromiseTimeout));
function createIdlePromise(executor, timeout) {

@@ -638,0 +643,0 @@ var theTimeout = isUndefined(timeout) ? _defaultIdleTimeout : timeout;

/*!
* NevWare21 Solutions LLC - ts-async, 0.5.3
* NevWare21 Solutions LLC - ts-async, 0.5.4
* https://github.com/nevware21/ts-async

@@ -89,2 +89,6 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

function _pureAssign(func1, func2) {
return func1 || func2;
}
let _debugState;

@@ -631,3 +635,3 @@ let _debugResult;

}
const setDefaultIdleTimeout = (setDefaultIdlePromiseTimeout);
const setDefaultIdleTimeout = (_pureAssign(setDefaultIdlePromiseTimeout));
function createIdlePromise(executor, timeout) {

@@ -634,0 +638,0 @@ let theTimeout = tsUtils.isUndefined(timeout) ? _defaultIdleTimeout : timeout;

/*!
* NevWare21 Solutions LLC - ts-async, 0.5.3
* NevWare21 Solutions LLC - ts-async, 0.5.4
* https://github.com/nevware21/ts-async

@@ -85,2 +85,6 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

function _pureAssign(func1, func2) {
return func1 || func2;
}
let _debugState;

@@ -627,3 +631,3 @@ let _debugResult;

}
const setDefaultIdleTimeout = (setDefaultIdlePromiseTimeout);
const setDefaultIdleTimeout = (_pureAssign(setDefaultIdlePromiseTimeout));
function createIdlePromise(executor, timeout) {

@@ -630,0 +634,0 @@ let theTimeout = isUndefined(timeout) ? _defaultIdleTimeout : timeout;

{
"name": "@nevware21/ts-async",
"description": "support for asynchronous development with a Promise based task Scheduler, several different Promise implementations (synchronous, idle, asynchronous and native runtime wrappers), await helpers, and aliases all built and tested using TypeScript.",
"version": "0.5.3",
"version": "0.5.4",
"homepage": "https://github.com/nevware21/ts-async",

@@ -54,6 +54,6 @@ "sideEffects": false,

"scripts": {
"build": "npm run pre-proc && grunt ts_async --verbose && npm run pre-proc -- -restore && npm run package && npm run dtsgen",
"build": "npm run preproc && grunt ts_async --verbose && npm run preproc -- -restore && npm run package && npm run dtsgen",
"rebuild": "npm run build && npm run test",
"package": "rollup -c rollup.config.js --bundleConfigAsCjs",
"test": "npm run pre-proc test && grunt ts_async-test && npm run test:node && npm run test:browser && npm run test:worker && npm run coverage:report&& npm run pre-proc -- -restore",
"test": "npm run preproc test && grunt ts_async-test && npm run test:node && npm run test:browser && npm run test:worker && npm run coverage:report&& npm run preproc -- -restore",
"test:node": "nyc ts-mocha --type-check -p ./test/tsconfig.test.json ./test/**/*.test.ts --trace-uncaught",

@@ -67,3 +67,3 @@ "test:browser": "karma start karma.browser.conf.js --single-run",

"coverage:nyc": "nyc report --reporter=json",
"coverage:merge": "node ../tools/coverage/merge-coverage.js",
"coverage:merge": "merge-coverage",
"codecov": "npm run coverage:report",

@@ -75,20 +75,20 @@ "clean": "git clean -xdf && npm install",

"dtsgen": "api-extractor run --local --verbose",
"pre-proc": "node ../tools/build-tools/pre-proc/build/pre-proc.js -C ../tools/build-tools/pre-proc.json -R .."
"preproc": "ts-preproc -C ../preproc.json -R .."
},
"dependencies": {
"@nevware21/ts-utils": ">= 0.11.5 < 2.x"
"@nevware21/ts-utils": ">= 0.11.6 < 2.x"
},
"devDependencies": {
"@nevware21/tools-pre-proc": "0.1.0",
"@microsoft/api-extractor": "^7.34.4",
"@nevware21/ts-preproc": "^0.1.3",
"@microsoft/api-extractor": "^7.48.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-strip": "^3.0.2",
"@rollup/plugin-typescript": "^11.0.0",
"@rollup/plugin-typescript": "^12.1.1",
"@types/chai": "^4.3.1",
"@types/mocha": "^10.0.1",
"@types/sinon": "^10.0.11",
"@types/sinon": "^17.0.3",
"chai": "4.3.10",

@@ -109,7 +109,7 @@ "chromium": "^3.0.3",

"mocha": "^10.0.0",
"nyc": "^15.1.0",
"nyc": "^17.1.0",
"puppeteer": "^23.4.0",
"rollup": "^3.8.1",
"rollup": "^4.26.0",
"rollup-plugin-minify-es": "^1.1.1",
"rollup-plugin-istanbul": "^4.0.0",
"rollup-plugin-istanbul": "^5.0.0",
"rollup-plugin-cleanup": "^3.2.1",

@@ -116,0 +116,0 @@ "rollup-plugin-sourcemaps": "^0.6.3",

@@ -101,3 +101,3 @@ <h1 align="center">@nevware21/ts-async</h1>

> ```json
> "@nevware21/ts-async": ">= 0.5.3 < 2.x"
> "@nevware21/ts-async": ">= 0.5.4 < 2.x"
> ```

@@ -104,0 +104,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc