UNPKG

@es-js/vite-plugin-esjs

Version:

Vite Plugin para EsJS

1 lines 3.04 MB
var A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(A){if(A.__esModule)return A;var e=A.default;if("function"==typeof e){var t=function A(){return this instanceof A?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype;}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(A).forEach((function(e){var i=Object.getOwnPropertyDescriptor(A,e);Object.defineProperty(t,e,i.get?i:{enumerable:!0,get:function(){return A[e]}});})),t}var t={exports:{}},i="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}var s=r,a=n;function o(A){if(s===setTimeout)return setTimeout(A,0);if((s===r||!s)&&setTimeout)return s=setTimeout,setTimeout(A,0);try{return s(A,0)}catch(e){try{return s.call(null,A,0)}catch(e){return s.call(this,A,0)}}}"function"==typeof i.setTimeout&&(s=setTimeout),"function"==typeof i.clearTimeout&&(a=clearTimeout);var g,I=[],C=!1,c=-1;function B(){C&&g&&(C=!1,g.length?I=g.concat(I):c=-1,I.length&&E());}function E(){if(!C){var A=o(B);C=!0;for(var e=I.length;e;){for(g=I,I=[];++c<e;)g&&g[c].run();c=-1,e=I.length;}g=null,C=!1,function(A){if(a===clearTimeout)return clearTimeout(A);if((a===n||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(A);try{return a(A)}catch(e){try{return a.call(null,A)}catch(e){return a.call(this,A)}}}(A);}}function Q(A){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];I.push(new u(A,e)),1!==I.length||C||o(E);}function u(A,e){this.fun=A,this.array=e;}u.prototype.run=function(){this.fun.apply(null,this.array);};var l="browser",h="browser",p=!0,d={},y=[],f={},m={},D={};function w(){}var S=w,N=w,k=w,x=w,F=w,b=w,G=w;function M(A){throw new Error("process.binding is not supported")}function Y(){return "/"}function T(A){throw new Error("process.chdir is not supported")}function R(){return 0}var L=i.performance||{},P=L.now||L.mozNow||L.msNow||L.oNow||L.webkitNow||function(){return (new Date).getTime()};function v(A){var e=.001*P.call(L),t=Math.floor(e),i=Math.floor(e%1*1e9);return A&&(t-=A[0],(i-=A[1])<0&&(t--,i+=1e9)),[t,i]}var U=new Date;function J(){return (new Date-U)/1e3}var K={nextTick:Q,title:l,browser:p,env:d,argv:y,version:"",versions:f,on:S,addListener:N,once:k,off:x,removeListener:F,removeAllListeners:b,emit:G,binding:M,cwd:Y,chdir:T,umask:R,hrtime:v,platform:h,release:m,config:D,uptime:J},H=Object.freeze({__proto__:null,addListener:N,argv:y,binding:M,browser:p,chdir:T,config:D,cwd:Y,default:K,emit:G,env:d,hrtime:v,nextTick:Q,off:x,on:S,once:k,platform:h,release:m,removeAllListeners:b,removeListener:F,title:l,umask:R,uptime:J,version:"",versions:f}),j=[],O=[],z="undefined"!=typeof Uint8Array?Uint8Array:Array,q=!1;function _(){q=!0;for(var A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)j[e]=A[e],O[A.charCodeAt(e)]=e;O["-".charCodeAt(0)]=62,O["_".charCodeAt(0)]=63;}function V(A,e,t){for(var i,r,n=[],s=e;s<t;s+=3)i=(A[s]<<16)+(A[s+1]<<8)+A[s+2],n.push(j[(r=i)>>18&63]+j[r>>12&63]+j[r>>6&63]+j[63&r]);return n.join("")}function W(A){var e;q||_();for(var t=A.length,i=t%3,r="",n=[],s=16383,a=0,o=t-i;a<o;a+=s)n.push(V(A,a,a+s>o?o:a+s));return 1===i?(e=A[t-1],r+=j[e>>2],r+=j[e<<4&63],r+="=="):2===i&&(e=(A[t-2]<<8)+A[t-1],r+=j[e>>10],r+=j[e>>4&63],r+=j[e<<2&63],r+="="),n.push(r),n.join("")}function Z(A,e,t,i,r){var n,s,a=8*r-i-1,o=(1<<a)-1,g=o>>1,I=-7,C=t?r-1:0,c=t?-1:1,B=A[e+C];for(C+=c,n=B&(1<<-I)-1,B>>=-I,I+=a;I>0;n=256*n+A[e+C],C+=c,I-=8);for(s=n&(1<<-I)-1,n>>=-I,I+=i;I>0;s=256*s+A[e+C],C+=c,I-=8);if(0===n)n=1-g;else {if(n===o)return s?NaN:1/0*(B?-1:1);s+=Math.pow(2,i),n-=g;}return (B?-1:1)*s*Math.pow(2,n-i)}function X(A,e,t,i,r,n){var s,a,o,g=8*n-r-1,I=(1<<g)-1,C=I>>1,c=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,B=i?0:n-1,E=i?1:-1,Q=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=I):(s=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-s))<1&&(s--,o*=2),(e+=s+C>=1?c/o:c*Math.pow(2,1-C))*o>=2&&(s++,o/=2),s+C>=I?(a=0,s=I):s+C>=1?(a=(e*o-1)*Math.pow(2,r),s+=C):(a=e*Math.pow(2,C-1)*Math.pow(2,r),s=0));r>=8;A[t+B]=255&a,B+=E,a/=256,r-=8);for(s=s<<r|a,g+=r;g>0;A[t+B]=255&s,B+=E,s/=256,g-=8);A[t+B-E]|=128*Q;}var $={}.toString,AA=Array.isArray||function(A){return "[object Array]"==$.call(A)};function eA(){return iA.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function tA(A,e){if(eA()<e)throw new RangeError("Invalid typed array length");return iA.TYPED_ARRAY_SUPPORT?(A=new Uint8Array(e)).__proto__=iA.prototype:(null===A&&(A=new iA(e)),A.length=e),A}function iA(A,e,t){if(!(iA.TYPED_ARRAY_SUPPORT||this instanceof iA))return new iA(A,e,t);if("number"==typeof A){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return sA(this,A)}return rA(this,A,e,t)}function rA(A,e,t,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return "undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(A,e,t,i){if(e.byteLength,t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(i||0))throw new RangeError("'length' is out of bounds");e=void 0===t&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,t):new Uint8Array(e,t,i);iA.TYPED_ARRAY_SUPPORT?(A=e).__proto__=iA.prototype:A=aA(A,e);return A}(A,e,t,i):"string"==typeof e?function(A,e,t){"string"==typeof t&&""!==t||(t="utf8");if(!iA.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var i=0|IA(e,t);A=tA(A,i);var r=A.write(e,t);r!==i&&(A=A.slice(0,r));return A}(A,e,t):function(A,e){if(gA(e)){var t=0|oA(e.length);return 0===(A=tA(A,t)).length||e.copy(A,0,0,t),A}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return "number"!=typeof e.length||(i=e.length)!=i?tA(A,0):aA(A,e);if("Buffer"===e.type&&AA(e.data))return aA(A,e.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(A,e)}function nA(A){if("number"!=typeof A)throw new TypeError('"size" argument must be a number');if(A<0)throw new RangeError('"size" argument must not be negative')}function sA(A,e){if(nA(e),A=tA(A,e<0?0:0|oA(e)),!iA.TYPED_ARRAY_SUPPORT)for(var t=0;t<e;++t)A[t]=0;return A}function aA(A,e){var t=e.length<0?0:0|oA(e.length);A=tA(A,t);for(var i=0;i<t;i+=1)A[i]=255&e[i];return A}function oA(A){if(A>=eA())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+eA().toString(16)+" bytes");return 0|A}function gA(A){return !(null==A||!A._isBuffer)}function IA(A,e){if(gA(A))return A.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;"string"!=typeof A&&(A=""+A);var t=A.length;if(0===t)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return LA(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return PA(A).length;default:if(i)return LA(A).length;e=(""+e).toLowerCase(),i=!0;}}function CA(A,e,t){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return "";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return "";if((t>>>=0)<=(e>>>=0))return "";for(A||(A="utf8");;)switch(A){case"hex":return SA(this,e,t);case"utf8":case"utf-8":return fA(this,e,t);case"ascii":return DA(this,e,t);case"latin1":case"binary":return wA(this,e,t);case"base64":return yA(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return NA(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),i=!0;}}function cA(A,e,t){var i=A[e];A[e]=A[t],A[t]=i;}function BA(A,e,t,i,r){if(0===A.length)return -1;if("string"==typeof t?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=r?0:A.length-1),t<0&&(t=A.length+t),t>=A.length){if(r)return -1;t=A.length-1;}else if(t<0){if(!r)return -1;t=0;}if("string"==typeof e&&(e=iA.from(e,i)),gA(e))return 0===e.length?-1:EA(A,e,t,i,r);if("number"==typeof e)return e&=255,iA.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(A,e,t):Uint8Array.prototype.lastIndexOf.call(A,e,t):EA(A,[e],t,i,r);throw new TypeError("val must be string, number or Buffer")}function EA(A,e,t,i,r){var n,s=1,a=A.length,o=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(A.length<2||e.length<2)return -1;s=2,a/=2,o/=2,t/=2;}function g(A,e){return 1===s?A[e]:A.readUInt16BE(e*s)}if(r){var I=-1;for(n=t;n<a;n++)if(g(A,n)===g(e,-1===I?0:n-I)){if(-1===I&&(I=n),n-I+1===o)return I*s}else -1!==I&&(n-=n-I),I=-1;}else for(t+o>a&&(t=a-o),n=t;n>=0;n--){for(var C=!0,c=0;c<o;c++)if(g(A,n+c)!==g(e,c)){C=!1;break}if(C)return n}return -1}function QA(A,e,t,i){t=Number(t)||0;var r=A.length-t;i?(i=Number(i))>r&&(i=r):i=r;var n=e.length;if(n%2!=0)throw new TypeError("Invalid hex string");i>n/2&&(i=n/2);for(var s=0;s<i;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;A[t+s]=a;}return s}function uA(A,e,t,i){return vA(LA(e,A.length-t),A,t,i)}function lA(A,e,t,i){return vA(function(A){for(var e=[],t=0;t<A.length;++t)e.push(255&A.charCodeAt(t));return e}(e),A,t,i)}function hA(A,e,t,i){return lA(A,e,t,i)}function pA(A,e,t,i){return vA(PA(e),A,t,i)}function dA(A,e,t,i){return vA(function(A,e){for(var t,i,r,n=[],s=0;s<A.length&&!((e-=2)<0);++s)i=(t=A.charCodeAt(s))>>8,r=t%256,n.push(r),n.push(i);return n}(e,A.length-t),A,t,i)}function yA(A,e,t){return 0===e&&t===A.length?W(A):W(A.slice(e,t))}function fA(A,e,t){t=Math.min(A.length,t);for(var i=[],r=e;r<t;){var n,s,a,o,g=A[r],I=null,C=g>239?4:g>223?3:g>191?2:1;if(r+C<=t)switch(C){case 1:g<128&&(I=g);break;case 2:128==(192&(n=A[r+1]))&&(o=(31&g)<<6|63&n)>127&&(I=o);break;case 3:n=A[r+1],s=A[r+2],128==(192&n)&&128==(192&s)&&(o=(15&g)<<12|(63&n)<<6|63&s)>2047&&(o<55296||o>57343)&&(I=o);break;case 4:n=A[r+1],s=A[r+2],a=A[r+3],128==(192&n)&&128==(192&s)&&128==(192&a)&&(o=(15&g)<<18|(63&n)<<12|(63&s)<<6|63&a)>65535&&o<1114112&&(I=o);}null===I?(I=65533,C=1):I>65535&&(I-=65536,i.push(I>>>10&1023|55296),I=56320|1023&I),i.push(I),r+=C;}return function(A){var e=A.length;if(e<=mA)return String.fromCharCode.apply(String,A);var t="",i=0;for(;i<e;)t+=String.fromCharCode.apply(String,A.slice(i,i+=mA));return t}(i)}iA.TYPED_ARRAY_SUPPORT=void 0===i.TYPED_ARRAY_SUPPORT||i.TYPED_ARRAY_SUPPORT,eA(),iA.poolSize=8192,iA._augment=function(A){return A.__proto__=iA.prototype,A},iA.from=function(A,e,t){return rA(null,A,e,t)},iA.TYPED_ARRAY_SUPPORT&&(iA.prototype.__proto__=Uint8Array.prototype,iA.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&iA[Symbol.species]),iA.alloc=function(A,e,t){return function(A,e,t,i){return nA(e),e<=0?tA(A,e):void 0!==t?"string"==typeof i?tA(A,e).fill(t,i):tA(A,e).fill(t):tA(A,e)}(null,A,e,t)},iA.allocUnsafe=function(A){return sA(null,A)},iA.allocUnsafeSlow=function(A){return sA(null,A)},iA.isBuffer=function(A){return null!=A&&(!!A._isBuffer||UA(A)||function(A){return "function"==typeof A.readFloatLE&&"function"==typeof A.slice&&UA(A.slice(0,0))}(A))},iA.compare=function(A,e){if(!gA(A)||!gA(e))throw new TypeError("Arguments must be Buffers");if(A===e)return 0;for(var t=A.length,i=e.length,r=0,n=Math.min(t,i);r<n;++r)if(A[r]!==e[r]){t=A[r],i=e[r];break}return t<i?-1:i<t?1:0},iA.isEncoding=function(A){switch(String(A).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return !0;default:return !1}},iA.concat=function(A,e){if(!AA(A))throw new TypeError('"list" argument must be an Array of Buffers');if(0===A.length)return iA.alloc(0);var t;if(void 0===e)for(e=0,t=0;t<A.length;++t)e+=A[t].length;var i=iA.allocUnsafe(e),r=0;for(t=0;t<A.length;++t){var n=A[t];if(!gA(n))throw new TypeError('"list" argument must be an Array of Buffers');n.copy(i,r),r+=n.length;}return i},iA.byteLength=IA,iA.prototype._isBuffer=!0,iA.prototype.swap16=function(){var A=this.length;if(A%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<A;e+=2)cA(this,e,e+1);return this},iA.prototype.swap32=function(){var A=this.length;if(A%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<A;e+=4)cA(this,e,e+3),cA(this,e+1,e+2);return this},iA.prototype.swap64=function(){var A=this.length;if(A%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<A;e+=8)cA(this,e,e+7),cA(this,e+1,e+6),cA(this,e+2,e+5),cA(this,e+3,e+4);return this},iA.prototype.toString=function(){var A=0|this.length;return 0===A?"":0===arguments.length?fA(this,0,A):CA.apply(this,arguments)},iA.prototype.equals=function(A){if(!gA(A))throw new TypeError("Argument must be a Buffer");return this===A||0===iA.compare(this,A)},iA.prototype.inspect=function(){var A="";return this.length>0&&(A=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(A+=" ... ")),"<Buffer "+A+">"},iA.prototype.compare=function(A,e,t,i,r){if(!gA(A))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===t&&(t=A?A.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||t>A.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=t)return 0;if(i>=r)return -1;if(e>=t)return 1;if(this===A)return 0;for(var n=(r>>>=0)-(i>>>=0),s=(t>>>=0)-(e>>>=0),a=Math.min(n,s),o=this.slice(i,r),g=A.slice(e,t),I=0;I<a;++I)if(o[I]!==g[I]){n=o[I],s=g[I];break}return n<s?-1:s<n?1:0},iA.prototype.includes=function(A,e,t){return -1!==this.indexOf(A,e,t)},iA.prototype.indexOf=function(A,e,t){return BA(this,A,e,t,!0)},iA.prototype.lastIndexOf=function(A,e,t){return BA(this,A,e,t,!1)},iA.prototype.write=function(A,e,t,i){if(void 0===e)i="utf8",t=this.length,e=0;else if(void 0===t&&"string"==typeof e)i=e,t=this.length,e=0;else {if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(t)?(t|=0,void 0===i&&(i="utf8")):(i=t,t=void 0);}var r=this.length-e;if((void 0===t||t>r)&&(t=r),A.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var n=!1;;)switch(i){case"hex":return QA(this,A,e,t);case"utf8":case"utf-8":return uA(this,A,e,t);case"ascii":return lA(this,A,e,t);case"latin1":case"binary":return hA(this,A,e,t);case"base64":return pA(this,A,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dA(this,A,e,t);default:if(n)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),n=!0;}},iA.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var mA=4096;function DA(A,e,t){var i="";t=Math.min(A.length,t);for(var r=e;r<t;++r)i+=String.fromCharCode(127&A[r]);return i}function wA(A,e,t){var i="";t=Math.min(A.length,t);for(var r=e;r<t;++r)i+=String.fromCharCode(A[r]);return i}function SA(A,e,t){var i=A.length;(!e||e<0)&&(e=0),(!t||t<0||t>i)&&(t=i);for(var r="",n=e;n<t;++n)r+=RA(A[n]);return r}function NA(A,e,t){for(var i=A.slice(e,t),r="",n=0;n<i.length;n+=2)r+=String.fromCharCode(i[n]+256*i[n+1]);return r}function kA(A,e,t){if(A%1!=0||A<0)throw new RangeError("offset is not uint");if(A+e>t)throw new RangeError("Trying to access beyond buffer length")}function xA(A,e,t,i,r,n){if(!gA(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<n)throw new RangeError('"value" argument is out of bounds');if(t+i>A.length)throw new RangeError("Index out of range")}function FA(A,e,t,i){e<0&&(e=65535+e+1);for(var r=0,n=Math.min(A.length-t,2);r<n;++r)A[t+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r);}function bA(A,e,t,i){e<0&&(e=4294967295+e+1);for(var r=0,n=Math.min(A.length-t,4);r<n;++r)A[t+r]=e>>>8*(i?r:3-r)&255;}function GA(A,e,t,i,r,n){if(t+i>A.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function MA(A,e,t,i,r){return r||GA(A,0,t,4),X(A,e,t,i,23,4),t+4}function YA(A,e,t,i,r){return r||GA(A,0,t,8),X(A,e,t,i,52,8),t+8}iA.prototype.slice=function(A,e){var t,i=this.length;if((A=~~A)<0?(A+=i)<0&&(A=0):A>i&&(A=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<A&&(e=A),iA.TYPED_ARRAY_SUPPORT)(t=this.subarray(A,e)).__proto__=iA.prototype;else {var r=e-A;t=new iA(r,void 0);for(var n=0;n<r;++n)t[n]=this[n+A];}return t},iA.prototype.readUIntLE=function(A,e,t){A|=0,e|=0,t||kA(A,e,this.length);for(var i=this[A],r=1,n=0;++n<e&&(r*=256);)i+=this[A+n]*r;return i},iA.prototype.readUIntBE=function(A,e,t){A|=0,e|=0,t||kA(A,e,this.length);for(var i=this[A+--e],r=1;e>0&&(r*=256);)i+=this[A+--e]*r;return i},iA.prototype.readUInt8=function(A,e){return e||kA(A,1,this.length),this[A]},iA.prototype.readUInt16LE=function(A,e){return e||kA(A,2,this.length),this[A]|this[A+1]<<8},iA.prototype.readUInt16BE=function(A,e){return e||kA(A,2,this.length),this[A]<<8|this[A+1]},iA.prototype.readUInt32LE=function(A,e){return e||kA(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},iA.prototype.readUInt32BE=function(A,e){return e||kA(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},iA.prototype.readIntLE=function(A,e,t){A|=0,e|=0,t||kA(A,e,this.length);for(var i=this[A],r=1,n=0;++n<e&&(r*=256);)i+=this[A+n]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*e)),i},iA.prototype.readIntBE=function(A,e,t){A|=0,e|=0,t||kA(A,e,this.length);for(var i=e,r=1,n=this[A+--i];i>0&&(r*=256);)n+=this[A+--i]*r;return n>=(r*=128)&&(n-=Math.pow(2,8*e)),n},iA.prototype.readInt8=function(A,e){return e||kA(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},iA.prototype.readInt16LE=function(A,e){e||kA(A,2,this.length);var t=this[A]|this[A+1]<<8;return 32768&t?4294901760|t:t},iA.prototype.readInt16BE=function(A,e){e||kA(A,2,this.length);var t=this[A+1]|this[A]<<8;return 32768&t?4294901760|t:t},iA.prototype.readInt32LE=function(A,e){return e||kA(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},iA.prototype.readInt32BE=function(A,e){return e||kA(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},iA.prototype.readFloatLE=function(A,e){return e||kA(A,4,this.length),Z(this,A,!0,23,4)},iA.prototype.readFloatBE=function(A,e){return e||kA(A,4,this.length),Z(this,A,!1,23,4)},iA.prototype.readDoubleLE=function(A,e){return e||kA(A,8,this.length),Z(this,A,!0,52,8)},iA.prototype.readDoubleBE=function(A,e){return e||kA(A,8,this.length),Z(this,A,!1,52,8)},iA.prototype.writeUIntLE=function(A,e,t,i){(A=+A,e|=0,t|=0,i)||xA(this,A,e,t,Math.pow(2,8*t)-1,0);var r=1,n=0;for(this[e]=255&A;++n<t&&(r*=256);)this[e+n]=A/r&255;return e+t},iA.prototype.writeUIntBE=function(A,e,t,i){(A=+A,e|=0,t|=0,i)||xA(this,A,e,t,Math.pow(2,8*t)-1,0);var r=t-1,n=1;for(this[e+r]=255&A;--r>=0&&(n*=256);)this[e+r]=A/n&255;return e+t},iA.prototype.writeUInt8=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,1,255,0),iA.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[e]=255&A,e+1},iA.prototype.writeUInt16LE=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,2,65535,0),iA.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):FA(this,A,e,!0),e+2},iA.prototype.writeUInt16BE=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,2,65535,0),iA.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):FA(this,A,e,!1),e+2},iA.prototype.writeUInt32LE=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,4,4294967295,0),iA.TYPED_ARRAY_SUPPORT?(this[e+3]=A>>>24,this[e+2]=A>>>16,this[e+1]=A>>>8,this[e]=255&A):bA(this,A,e,!0),e+4},iA.prototype.writeUInt32BE=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,4,4294967295,0),iA.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):bA(this,A,e,!1),e+4},iA.prototype.writeIntLE=function(A,e,t,i){if(A=+A,e|=0,!i){var r=Math.pow(2,8*t-1);xA(this,A,e,t,r-1,-r);}var n=0,s=1,a=0;for(this[e]=255&A;++n<t&&(s*=256);)A<0&&0===a&&0!==this[e+n-1]&&(a=1),this[e+n]=(A/s|0)-a&255;return e+t},iA.prototype.writeIntBE=function(A,e,t,i){if(A=+A,e|=0,!i){var r=Math.pow(2,8*t-1);xA(this,A,e,t,r-1,-r);}var n=t-1,s=1,a=0;for(this[e+n]=255&A;--n>=0&&(s*=256);)A<0&&0===a&&0!==this[e+n+1]&&(a=1),this[e+n]=(A/s|0)-a&255;return e+t},iA.prototype.writeInt8=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,1,127,-128),iA.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[e]=255&A,e+1},iA.prototype.writeInt16LE=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,2,32767,-32768),iA.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):FA(this,A,e,!0),e+2},iA.prototype.writeInt16BE=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,2,32767,-32768),iA.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):FA(this,A,e,!1),e+2},iA.prototype.writeInt32LE=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,4,2147483647,-2147483648),iA.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8,this[e+2]=A>>>16,this[e+3]=A>>>24):bA(this,A,e,!0),e+4},iA.prototype.writeInt32BE=function(A,e,t){return A=+A,e|=0,t||xA(this,A,e,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),iA.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):bA(this,A,e,!1),e+4},iA.prototype.writeFloatLE=function(A,e,t){return MA(this,A,e,!0,t)},iA.prototype.writeFloatBE=function(A,e,t){return MA(this,A,e,!1,t)},iA.prototype.writeDoubleLE=function(A,e,t){return YA(this,A,e,!0,t)},iA.prototype.writeDoubleBE=function(A,e,t){return YA(this,A,e,!1,t)},iA.prototype.copy=function(A,e,t,i){if(t||(t=0),i||0===i||(i=this.length),e>=A.length&&(e=A.length),e||(e=0),i>0&&i<t&&(i=t),i===t)return 0;if(0===A.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),A.length-e<i-t&&(i=A.length-e+t);var r,n=i-t;if(this===A&&t<e&&e<i)for(r=n-1;r>=0;--r)A[r+e]=this[r+t];else if(n<1e3||!iA.TYPED_ARRAY_SUPPORT)for(r=0;r<n;++r)A[r+e]=this[r+t];else Uint8Array.prototype.set.call(A,this.subarray(t,t+n),e);return n},iA.prototype.fill=function(A,e,t,i){if("string"==typeof A){if("string"==typeof e?(i=e,e=0,t=this.length):"string"==typeof t&&(i=t,t=this.length),1===A.length){var r=A.charCodeAt(0);r<256&&(A=r);}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!iA.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else "number"==typeof A&&(A&=255);if(e<0||this.length<e||this.length<t)throw new RangeError("Out of range index");if(t<=e)return this;var n;if(e>>>=0,t=void 0===t?this.length:t>>>0,A||(A=0),"number"==typeof A)for(n=e;n<t;++n)this[n]=A;else {var s=gA(A)?A:LA(new iA(A,i).toString()),a=s.length;for(n=0;n<t-e;++n)this[n+e]=s[n%a];}return this};var TA=/[^+\/0-9A-Za-z-_]/g;function RA(A){return A<16?"0"+A.toString(16):A.toString(16)}function LA(A,e){var t;e=e||1/0;for(var i=A.length,r=null,n=[],s=0;s<i;++s){if((t=A.charCodeAt(s))>55295&&t<57344){if(!r){if(t>56319){(e-=3)>-1&&n.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&n.push(239,191,189);continue}r=t;continue}if(t<56320){(e-=3)>-1&&n.push(239,191,189),r=t;continue}t=65536+(r-55296<<10|t-56320);}else r&&(e-=3)>-1&&n.push(239,191,189);if(r=null,t<128){if((e-=1)<0)break;n.push(t);}else if(t<2048){if((e-=2)<0)break;n.push(t>>6|192,63&t|128);}else if(t<65536){if((e-=3)<0)break;n.push(t>>12|224,t>>6&63|128,63&t|128);}else {if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;n.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128);}}return n}function PA(A){return function(A){var e,t,i,r,n,s;q||_();var a=A.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");n="="===A[a-2]?2:"="===A[a-1]?1:0,s=new z(3*a/4-n),i=n>0?a-4:a;var o=0;for(e=0,t=0;e<i;e+=4,t+=3)r=O[A.charCodeAt(e)]<<18|O[A.charCodeAt(e+1)]<<12|O[A.charCodeAt(e+2)]<<6|O[A.charCodeAt(e+3)],s[o++]=r>>16&255,s[o++]=r>>8&255,s[o++]=255&r;return 2===n?(r=O[A.charCodeAt(e)]<<2|O[A.charCodeAt(e+1)]>>4,s[o++]=255&r):1===n&&(r=O[A.charCodeAt(e)]<<10|O[A.charCodeAt(e+1)]<<4|O[A.charCodeAt(e+2)]>>2,s[o++]=r>>8&255,s[o++]=255&r),s}(function(A){if((A=function(A){return A.trim?A.trim():A.replace(/^\s+|\s+$/g,"")}(A).replace(TA,"")).length<2)return "";for(;A.length%4!=0;)A+="=";return A}(A))}function vA(A,e,t,i){for(var r=0;r<i&&!(r+t>=e.length||r>=A.length);++r)e[r+t]=A[r];return r}function UA(A){return !!A.constructor&&"function"==typeof A.constructor.isBuffer&&A.constructor.isBuffer(A)}function JA(){return !1}function KA(){throw new Error("tty.ReadStream is not implemented")}function HA(){throw new Error("tty.ReadStream is not implemented")}var jA,OA={isatty:JA,ReadStream:KA,WriteStream:HA},zA=e(Object.freeze({__proto__:null,ReadStream:KA,WriteStream:HA,default:OA,isatty:JA}));jA="function"==typeof Object.create?function(A,e){A.super_=e,A.prototype=Object.create(e.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}});}:function(A,e){A.super_=e;var t=function(){};t.prototype=e.prototype,A.prototype=new t,A.prototype.constructor=A;};var qA=Object.getOwnPropertyDescriptors||function(A){for(var e=Object.keys(A),t={},i=0;i<e.length;i++)t[e[i]]=Object.getOwnPropertyDescriptor(A,e[i]);return t},_A=/%[sdj%]/g;function VA(A){if(!Ce(A)){for(var e=[],t=0;t<arguments.length;t++)e.push(Ae(arguments[t]));return e.join(" ")}t=1;for(var i=arguments,r=i.length,n=String(A).replace(_A,(function(A){if("%%"===A)return "%";if(t>=r)return A;switch(A){case"%s":return String(i[t++]);case"%d":return Number(i[t++]);case"%j":try{return JSON.stringify(i[t++])}catch(A){return "[Circular]"}default:return A}})),s=i[t];t<r;s=i[++t])oe(s)||!Qe(s)?n+=" "+s:n+=" "+Ae(s);return n}function WA(A,e){if(Be(i.process))return function(){return WA(A,e).apply(this,arguments)};if(!0===K.noDeprecation)return A;var t=!1;return function(){if(!t){if(K.throwDeprecation)throw new Error(e);K.traceDeprecation?console.trace(e):console.error(e),t=!0;}return A.apply(this,arguments)}}var ZA,XA={};function $A(A){if(Be(ZA)&&(ZA=K.env.NODE_DEBUG||""),A=A.toUpperCase(),!XA[A])if(new RegExp("\\b"+A+"\\b","i").test(ZA)){XA[A]=function(){var e=VA.apply(null,arguments);console.error("%s %d: %s",A,0,e);};}else XA[A]=function(){};return XA[A]}function Ae(A,e){var t={seen:[],stylize:te};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),ae(e)?t.showHidden=e:e&&we(t,e),Be(t.showHidden)&&(t.showHidden=!1),Be(t.depth)&&(t.depth=2),Be(t.colors)&&(t.colors=!1),Be(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=ee),ie(t,A,t.depth)}function ee(A,e){var t=Ae.styles[e];return t?"["+Ae.colors[t][0]+"m"+A+"["+Ae.colors[t][1]+"m":A}function te(A,e){return A}function ie(A,e,t){if(A.customInspect&&e&&he(e.inspect)&&e.inspect!==Ae&&(!e.constructor||e.constructor.prototype!==e)){var i=e.inspect(t,A);return Ce(i)||(i=ie(A,i,t)),i}var r=function(A,e){if(Be(e))return A.stylize("undefined","undefined");if(Ce(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return A.stylize(t,"string")}if(Ie(e))return A.stylize(""+e,"number");if(ae(e))return A.stylize(""+e,"boolean");if(oe(e))return A.stylize("null","null")}(A,e);if(r)return r;var n=Object.keys(e),s=function(A){var e={};return A.forEach((function(A,t){e[A]=!0;})),e}(n);if(A.showHidden&&(n=Object.getOwnPropertyNames(e)),le(e)&&(n.indexOf("message")>=0||n.indexOf("description")>=0))return re(e);if(0===n.length){if(he(e)){var a=e.name?": "+e.name:"";return A.stylize("[Function"+a+"]","special")}if(Ee(e))return A.stylize(RegExp.prototype.toString.call(e),"regexp");if(ue(e))return A.stylize(Date.prototype.toString.call(e),"date");if(le(e))return re(e)}var o,g="",I=!1,C=["{","}"];(se(e)&&(I=!0,C=["[","]"]),he(e))&&(g=" [Function"+(e.name?": "+e.name:"")+"]");return Ee(e)&&(g=" "+RegExp.prototype.toString.call(e)),ue(e)&&(g=" "+Date.prototype.toUTCString.call(e)),le(e)&&(g=" "+re(e)),0!==n.length||I&&0!=e.length?t<0?Ee(e)?A.stylize(RegExp.prototype.toString.call(e),"regexp"):A.stylize("[Object]","special"):(A.seen.push(e),o=I?function(A,e,t,i,r){for(var n=[],s=0,a=e.length;s<a;++s)Se(e,String(s))?n.push(ne(A,e,t,i,String(s),!0)):n.push("");return r.forEach((function(r){r.match(/^\d+$/)||n.push(ne(A,e,t,i,r,!0));})),n}(A,e,t,s,n):n.map((function(i){return ne(A,e,t,s,i,I)})),A.seen.pop(),function(A,e,t){var i=A.reduce((function(A,e){return e.indexOf("\n"),A+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(i>60)return t[0]+(""===e?"":e+"\n ")+" "+A.join(",\n ")+" "+t[1];return t[0]+e+" "+A.join(", ")+" "+t[1]}(o,g,C)):C[0]+g+C[1]}function re(A){return "["+Error.prototype.toString.call(A)+"]"}function ne(A,e,t,i,r,n){var s,a,o;if((o=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]}).get?a=o.set?A.stylize("[Getter/Setter]","special"):A.stylize("[Getter]","special"):o.set&&(a=A.stylize("[Setter]","special")),Se(i,r)||(s="["+r+"]"),a||(A.seen.indexOf(o.value)<0?(a=oe(t)?ie(A,o.value,null):ie(A,o.value,t-1)).indexOf("\n")>-1&&(a=n?a.split("\n").map((function(A){return " "+A})).join("\n").substr(2):"\n"+a.split("\n").map((function(A){return " "+A})).join("\n")):a=A.stylize("[Circular]","special")),Be(s)){if(n&&r.match(/^\d+$/))return a;(s=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=A.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=A.stylize(s,"string"));}return s+": "+a}function se(A){return Array.isArray(A)}function ae(A){return "boolean"==typeof A}function oe(A){return null===A}function ge(A){return null==A}function Ie(A){return "number"==typeof A}function Ce(A){return "string"==typeof A}function ce(A){return "symbol"==typeof A}function Be(A){return void 0===A}function Ee(A){return Qe(A)&&"[object RegExp]"===ye(A)}function Qe(A){return "object"==typeof A&&null!==A}function ue(A){return Qe(A)&&"[object Date]"===ye(A)}function le(A){return Qe(A)&&("[object Error]"===ye(A)||A instanceof Error)}function he(A){return "function"==typeof A}function pe(A){return null===A||"boolean"==typeof A||"number"==typeof A||"string"==typeof A||"symbol"==typeof A||void 0===A}function de(A){return iA.isBuffer(A)}function ye(A){return Object.prototype.toString.call(A)}function fe(A){return A<10?"0"+A.toString(10):A.toString(10)}Ae.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var me=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function De(){var A,e;console.log("%s - %s",(A=new Date,e=[fe(A.getHours()),fe(A.getMinutes()),fe(A.getSeconds())].join(":"),[A.getDate(),me[A.getMonth()],e].join(" ")),VA.apply(null,arguments));}function we(A,e){if(!e||!Qe(e))return A;for(var t=Object.keys(e),i=t.length;i--;)A[t[i]]=e[t[i]];return A}function Se(A,e){return Object.prototype.hasOwnProperty.call(A,e)}var Ne="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function ke(A){if("function"!=typeof A)throw new TypeError('The "original" argument must be of type Function');if(Ne&&A[Ne]){var e;if("function"!=typeof(e=A[Ne]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,Ne,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,t,i=new Promise((function(A,i){e=A,t=i;})),r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);r.push((function(A,i){A?t(A):e(i);}));try{A.apply(this,r);}catch(A){t(A);}return i}return Object.setPrototypeOf(e,Object.getPrototypeOf(A)),Ne&&Object.defineProperty(e,Ne,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,qA(A))}function xe(A,e){if(!A){var t=new Error("Promise was rejected with a falsy value");t.reason=A,A=t;}return e(A)}function Fe(A){if("function"!=typeof A)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);var i=e.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var r=this,n=function(){return i.apply(r,arguments)};A.apply(this,e).then((function(A){K.nextTick(n.bind(null,null,A));}),(function(A){K.nextTick(xe.bind(null,A,n));}));}return Object.setPrototypeOf(e,Object.getPrototypeOf(A)),Object.defineProperties(e,qA(A)),e}ke.custom=Ne;var be={inherits:jA,_extend:we,log:De,isBuffer:de,isPrimitive:pe,isFunction:he,isError:le,isDate:ue,isObject:Qe,isRegExp:Ee,isUndefined:Be,isSymbol:ce,isString:Ce,isNumber:Ie,isNullOrUndefined:ge,isNull:oe,isBoolean:ae,isArray:se,inspect:Ae,deprecate:WA,format:VA,debuglog:$A,promisify:ke,callbackify:Fe},Ge=e(Object.freeze({__proto__:null,_extend:we,callbackify:Fe,debuglog:$A,default:be,deprecate:WA,format:VA,inherits:jA,inspect:Ae,isArray:se,isBoolean:ae,isBuffer:de,isDate:ue,isError:le,isFunction:he,isNull:oe,isNullOrUndefined:ge,isNumber:Ie,isObject:Qe,isPrimitive:pe,isRegExp:Ee,isString:Ce,isSymbol:ce,isUndefined:Be,log:De,promisify:ke})),Me=Object.create,Ye=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,Re=Object.getOwnPropertyNames,Le=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,ve=(A,e)=>(e=Symbol[A])?e:Symbol.for("Symbol."+A),Ue=Math.pow,Je=(A,e)=>function(){return e||(0, A[Re(A)[0]])((e={exports:{}}).exports,e),e.exports},Ke=(A,e)=>{for(var t in e)Ye(A,t,{get:e[t],enumerable:!0});},He=(A,e,t,i)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let r of Re(e))Pe.call(A,r)||r===t||Ye(A,r,{get:()=>e[r],enumerable:!(i=Te(e,r))||i.enumerable});return A},je=(A,e,t)=>(t=null!=A?Me(Le(A)):{},He(Ye(t,"default",{value:A,enumerable:!0}),A)),Oe=(A,e,t)=>((A,e,t)=>e in A?Ye(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t)(A,"symbol"!=typeof e?e+"":e,t),ze=function(A,e){this[0]=A,this[1]=e;},qe=A=>{var e,t=A[ve("asyncIterator")],i=!1,r={};return null==t?(t=A[ve("iterator")](),e=A=>r[A]=e=>t[A](e)):(t=t.call(A),e=A=>r[A]=e=>{if(i){if(i=!1,"throw"===A)throw e;return e}return i=!0,{done:!1,value:new ze(new Promise((i=>{var r=t[A](e);r instanceof Object||(A=>{throw TypeError(A)})("Object expected"),i(r);})),1)}}),r[ve("iterator")]=()=>r,e("next"),"throw"in t?e("throw"):r.throw=A=>{throw A},"return"in t&&e("return"),r},_e=Je({"node_modules/picocolors/picocolors.js"(A,e){var t=K||{},i=t.argv||[],r=t.env||{},n=!(r.NO_COLOR||i.includes("--no-color"))&&(!!r.FORCE_COLOR||i.includes("--color")||"win32"===t.platform||(t.stdout||{}).isTTY&&"dumb"!==r.TERM||!!r.CI),s=(A,e,t=A)=>i=>{let r=""+i,n=r.indexOf(e,A.length);return ~n?A+a(r,e,t,n)+e:A+r+e},a=(A,e,t,i)=>{let r="",n=0;do{r+=A.substring(n,i)+t,n=i+e.length,i=A.indexOf(e,n);}while(~i);return r+A.substring(n)},o=(A=n)=>{let e=A?s:()=>String;return {isColorSupported:A,reset:e("",""),bold:e("","",""),dim:e("","",""),italic:e("",""),underline:e("",""),inverse:e("",""),hidden:e("",""),strikethrough:e("",""),black:e("",""),red:e("",""),green:e("",""),yellow:e("",""),blue:e("",""),magenta:e("",""),cyan:e("",""),white:e("",""),gray:e("",""),bgBlack:e("",""),bgRed:e("",""),bgGreen:e("",""),bgYellow:e("",""),bgBlue:e("",""),bgMagenta:e("",""),bgCyan:e("",""),bgWhite:e("",""),blackBright:e("",""),redBright:e("",""),greenBright:e("",""),yellowBright:e("",""),blueBright:e("",""),magentaBright:e("",""),cyanBright:e("",""),whiteBright:e("",""),bgBlackBright:e("",""),bgRedBright:e("",""),bgGreenBright:e("",""),bgYellowBright:e("",""),bgBlueBright:e("",""),bgMagentaBright:e("",""),bgCyanBright:e("",""),bgWhiteBright:e("","")}};e.exports=o(),e.exports.createColors=o;}}),Ve=Je({"node_modules/@babel/code-frame/node_modules/js-tokens/index.js"(A,e){var t,i,r,n,s,a,o,g,I,C,c,B,E,Q,u,l,h,p,d;E=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]|[^\/\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy,B=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,t=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy,u=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y,c=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,l=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y,d=/[\t\v\f\ufeff\p{Zs}]+/uy,g=/\r?\n|[\r\u2028\u2029]/y,I=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y,Q=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,i=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/uy,n=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y,s=/[^<>{}]+/y,p=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,h=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,a=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,o=/^(?:return|throw|yield)$/,C=RegExp(g.source),e.exports=function*(A,{jsx:e=!1}={}){var y,f,m,D,w,S,N,k,x,F,b,G,M,Y;for(({length:S}=A),D=0,w="",Y=[{tag:"JS"}],y=[],b=0,G=!1;D<S;){switch((k=Y[Y.length-1]).tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if("/"===A[D]&&(p.test(w)||a.test(w))&&(E.lastIndex=D,N=E.exec(A))){D=E.lastIndex,w=N[0],G=!0,yield {type:"RegularExpressionLiteral",value:N[0],closed:void 0!==N[1]&&"\\"!==N[1]};continue}if(B.lastIndex=D,N=B.exec(A)){switch(M=N[0],x=B.lastIndex,F=M,M){case"(":"?NonExpressionParenKeyword"===w&&Y.push({tag:"JSNonExpressionParen",nesting:b}),b++,G=!1;break;case")":b--,G=!0,"JSNonExpressionParen"===k.tag&&b===k.nesting&&(Y.pop(),F="?NonExpressionParenEnd",G=!1);break;case"{":B.lastIndex=0,m=!h.test(w)&&(p.test(w)||a.test(w)),y.push(m),G=!1;break;case"}":switch(k.tag){case"InterpolationInTemplate":if(y.length===k.nesting){l.lastIndex=D,N=l.exec(A),D=l.lastIndex,w=N[0],"${"===N[1]?(w="?InterpolationInTemplate",G=!1,yield {type:"TemplateMiddle",value:N[0]}):(Y.pop(),G=!0,yield {type:"TemplateTail",value:N[0],closed:"`"===N[1]});continue}break;case"InterpolationInJSX":if(y.length===k.nesting){Y.pop(),D+=1,w="}",yield {type:"JSXPunctuator",value:"}"};continue}}F=(G=y.pop())?"?ExpressionBraceEnd":"}";break;case"]":G=!0;break;case"++":case"--":F=G?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(e&&(p.test(w)||a.test(w))){Y.push({tag:"JSXTag"}),D+=1,w="<",yield {type:"JSXPunctuator",value:M};continue}G=!1;break;default:G=!1;}D=x,w=F,yield {type:"Punctuator",value:M};continue}if(t.lastIndex=D,N=t.exec(A)){switch(D=t.lastIndex,F=N[0],N[0]){case"for":case"if":case"while":case"with":"."!==w&&"?."!==w&&(F="?NonExpressionParenKeyword");}w=F,G=!a.test(N[0]),yield {type:"#"===N[1]?"PrivateIdentifier":"IdentifierName",value:N[0]};continue}if(u.lastIndex=D,N=u.exec(A)){D=u.lastIndex,w=N[0],G=!0,yield {type:"StringLiteral",value:N[0],closed:void 0!==N[2]};continue}if(c.lastIndex=D,N=c.exec(A)){D=c.lastIndex,w=N[0],G=!0,yield {type:"NumericLiteral",value:N[0]};continue}if(l.lastIndex=D,N=l.exec(A)){D=l.lastIndex,w=N[0],"${"===N[1]?(w="?InterpolationInTemplate",Y.push({tag:"InterpolationInTemplate",nesting:y.length}),G=!1,yield {type:"TemplateHead",value:N[0]}):(G=!0,yield {type:"NoSubstitutionTemplate",value:N[0],closed:"`"===N[1]});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=D,N=r.exec(A)){switch(D=r.lastIndex,F=N[0],N[0]){case"<":Y.push({tag:"JSXTag"});break;case">":Y.pop(),"/"===w||"JSXTagEnd"===k.tag?(F="?JSX",G=!0):Y.push({tag:"JSXChildren"});break;case"{":Y.push({tag:"InterpolationInJSX",nesting:y.length}),F="?InterpolationInJSX",G=!1;break;case"/":"<"===w&&(Y.pop(),"JSXChildren"===Y[Y.length-1].tag&&Y.pop(),Y.push({tag:"JSXTagEnd"}));}w=F,yield {type:"JSXPunctuator",value:N[0]};continue}if(i.lastIndex=D,N=i.exec(A)){D=i.lastIndex,w=N[0],yield {type:"JSXIdentifier",value:N[0]};continue}if(n.lastIndex=D,N=n.exec(A)){D=n.lastIndex,w=N[0],yield {type:"JSXString",value:N[0],closed:void 0!==N[2]};continue}break;case"JSXChildren":if(s.lastIndex=D,N=s.exec(A)){D=s.lastIndex,w=N[0],yield {type:"JSXText",value:N[0]};continue}switch(A[D]){case"<":Y.push({tag:"JSXTag"}),D++,w="<",yield {type:"JSXPunctuator",value:"<"};continue;case"{":Y.push({tag:"InterpolationInJSX",nesting:y.length}),D++,w="?InterpolationInJSX",G=!1,yield {type:"JSXPunctuator",value:"{"};continue}}d.lastIndex=D,(N=d.exec(A))?(D=d.lastIndex,yield {type:"WhiteSpace",value:N[0]}):(g.lastIndex=D,(N=g.exec(A))?(D=g.lastIndex,G=!1,o.test(w)&&(w="?NoLineTerminatorHere"),yield {type:"LineTerminatorSequence",value:N[0]}):(I.lastIndex=D,(N=I.exec(A))?(D=I.lastIndex,C.test(N[0])&&(G=!1,o.test(w)&&(w="?NoLineTerminatorHere")),yield {type:"MultiLineComment",value:N[0],closed:void 0!==N[1]}):(Q.lastIndex=D,(N=Q.exec(A))?(D=Q.lastIndex,G=!1,yield {type:"SingleLineComment",value:N[0]}):(D+=(f=String.fromCodePoint(A.codePointAt(D))).length,w=f,G=!1,yield {type:k.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:f}))));}};}}),We=Je({"node_modules/jsesc/jsesc.js"(A,e){var t={},i=t.hasOwnProperty,r=(A,e)=>{for(const t in A)i.call(A,t)&&e(t,A[t]);},n=A=>"\\u"+("0000"+A).slice(-4),s=(A,e)=>{let t=A.toString(16);return e?t:t.toUpperCase()},a=t.toString,o=Array.isArray,g=A=>"bigint"==typeof A,I={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},C=/[\\\b\f\n\r\t]/,c=/[0-9]/,B=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,E=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,Q=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,u=(A,e)=>{const t=()=>{D=m,++e.indentLevel,m=e.indent.repeat(e.indentLevel);},i={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},l=e&&e.json;var h,p;l&&(i.quotes="double",i.wrap=!0),h=i,e=(p=e)?(r(p,((A,e)=>{h[A]=e;})),h):h,"single"!=e.quotes&&"double"!=e.quotes&&"backtick"!=e.quotes&&(e.quotes="single");const d="double"==e.quotes?'"':"backtick"==e.quotes?"`":"'",y=e.compact,f=e.lowercaseHex;let m=e.indent.repeat(e.indentLevel),D="";const w=e.__inline1__,S=e.__inline2__,N=y?"":"\n";let k,x=!0;const F="binary"==e.numbers,b="octal"==e.numbers,G="decimal"==e.numbers,M="hexadecimal"==e.numbers;if(l&&A&&"function"==typeof A.toJSON&&(A=A.toJSON()),!(A=>"string"==typeof A||"[object String]"==a.call(A))(A)){if((A=>"[object Map]"==a.call(A))(A))return 0==A.size?"new Map()":(y||(e.__inline1__=!0,e.__inline2__=!1),"new Map("+u(Array.from(A),e)+")");if((A=>"[object Set]"==a.call(A))(A))return 0==A.size?"new Set()":"new Set("+u(Array.from(A),e)+")";if((A=>Array.isArray(A))(A))return 0==A.length?"Buffer.from([])":"Buffer.from("+u(Array.from(A),e)+")";if(o(A))return k=[],e.wrap=!0,w&&(e.__inline1__=!1,e.__inline2__=!0),S||t(),((A,e)=>{const t=A.length;let i=-1;for(;++i<t;)e(A[i]);})(A,(A=>{x=!1,S&&(e.__inline2__=!1),k.push((y||S?"":m)+u(A,e));})),x?"[]":S?"["+k.join(", ")+"]":"["+N+k.join(","+N)+N+(y?"":D)+"]";if((A=>"number"==typeof A||"[object Number]"==a.call(A))(A)||g(A)){if(l)return JSON.stringify(Number(A));let e;if(G)e=String(A);else if(M){let t=A.toString(16);f||(t=t.toUpperCase()),e="0x"+t;}else F?e="0b"+A.toString(2):b&&(e="0o"+A.toString(8));return g(A)?e+"n":e}return g(A)?l?JSON.stringify(Number(A)):A+"n":(A=>"[object Object]"==a.call(A))(A)?(k=[],e.wrap=!0,t(),r(A,((A,t)=>{x=!1,k.push((y?"":m)+u(A,e)+":"+(y?"":" ")+u(t,e));})),x?"{}":"{"+N+k.join(","+N)+N+(y?"":D)+"}"):l?JSON.stringify(A)||"null":String(A)}const Y=e.escapeEverything?E:Q;return k=A.replace(Y,((A,t,i,r,a,o)=>{if(t){if(e.minimal)return t;const A=t.charCodeAt(0),i=t.charCodeAt(1);if(e.es6){return "\\u{"+s(1024*(A-55296)+i-56320+65536,f)+"}"}return n(s(A,f))+n(s(i,f))}if(i)return n(s(i.charCodeAt(0),f));if("\0"==A&&!l&&!c.test(o.charAt(a+1)))return "\\0";if(r)return r==d||e.escapeEverything?"\\"+r:r;if(C.test(A))return I[A];if(e.minimal&&!B.test(A))return A;const g=s(A.charCodeAt(0),f);return l||g.length>2?n(g):"\\x"+("00"+g).slice(-2)})),"`"==d&&(k=k.replace(/\$\{/g,"\\${")),e.isScriptContext&&(k=k.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,l?"\\u003C!--":"\\x3C!--")),e.wrap&&(k=d+k+d),k};u.version="3.0.2",e.exports=u;}}),Ze=Je({"node_modules/ms/index.js"(A,e){var t=1e3,i=60*t,r=60*i,n=24*r,s=7*n,a=365.25*n;function o(A,e,t,i){var r=e>=1.5*t;return Math.round(A/t)+" "+i+(r?"s":"")}e.exports=function(A,e){e=e||{};var g=typeof A;if("string"===g&&A.length>0)return function(A){if((A=String(A)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(!e)return;var o=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return o*a;case"weeks":case"week":case"w":return o*s;case"days":case"day":case"d":return o*n;case"hours":case"hour":case"hrs":case"hr":case"h":return o*r;case"minutes":case"minute":case"mins":case"min":case"m":return o*i;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}(A);if("number"===g&&isFinite(A))return e.long?function(A){var e=Math.abs(A);if(e>=n)return o(A,e,n,"day");if(e>=r)return o(A,e,r,"hour");if(e>=i)return o(A,e,i,"minute");if(e>=t)return o(A,e,t,"second");return A+" ms"}(A):function(A){var e=Math.abs(A);if(e>=n)return Math.round(A/n)+"d";if(e>=r)return Math.round(A/r)+"h";if(e>=i)return Math.round(A/i)+"m";if(e>=t)return Math.round(A/t)+"s";return A+"ms"}(A);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(A))};}}),Xe=Je({"node_modules/debug/src/common.js"(A,e){e.exports=function(A){function e(A){let i,r,n,s=null;function a(...A){if(!a.enabled)return;const t=a,r=Number(new Date),n=r-(i||r);t.diff=n,t.prev=i,t.curr=r,i=r,A[0]=e.coerce(A[0]),"string"!=typeof A[0]&&A.unshift("%O");let s=0;A[0]=A[0].replace(/%([a-zA-Z%])/g,((i,r)=>{if("%%"===i)return "%";s++;const n=e.formatters[r];if("function"==typeof n){const e=A[s];i=n.call(t,e),A.splice(s,1),s--;}return i})),e.formatArgs.call(t,A);(t.log||e.log).apply(t,A);}return a.namespace=A,a.useColors=e.useColors(),a.color=e.selectColor(A),a.extend=t,a.destroy=e.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(r!==e.namespaces&&(r=e.namespaces,n=e.enabled(A)),n),set:A=>{s=A;}}),"function"==typeof e.init&&e.init(a),a}function t(A,t){const i=e(this.namespace+(void 0===t?":":t)+A);return i.log=this.log,i}function i(A,e){let t=0,i=0,r=-1,n=0;for(;t<A.length;)if(i<e.length&&(e[i]===A[t]||"*"===e[i]))"*"===e[i]?(r=i,n=t,i++):(t++,i++);else {if(-1===r)return !1;i=r+1,n++,t=n;}for(;i<e.length&&"*"===e[i];)i++;return i===e.length}return e.debug=e,e.default=e,e.coerce=function(A){if(A instanceof Error)return A.stack||A.message;return A},e.disable=function(){const A=[...e.names,...e.skips.map((A=>"-"+A))].join(",");return e.enable(""),A},e.enable=function(A){e.save(A),e.namespaces=A,e.names=[],e.skips=[];const t=("string"==typeof A?A:"").trim().replace(" ",",").split(",").filter(Boolean);for(const A of t)"-"===A[0]?e.skips.push(A.slice(1)):e.names.push(A);},e.enabled=function(A){for(const t of e.skips)if(i(A,t))return !1;for(const t of e.names)if(i(A,t))return !0;return !1},e.humanize=Ze(),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");},Object.keys(A).forEach((t=>{e[t]=A[t];})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(A){let t=0;for(let e=0;e<A.length;e++)t=(t<<5)-t+A.charCodeAt(e),t|=0;return e.colors[Math.abs(t)%e.colors.length]},e.enable(e.load()),e};}}),$e=Je({"node_modules/debug/src/browser.js"(A,e){A.formatArgs=function(A){if(A[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+A[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const t="color: "+this.color;A.splice(1,0,t,"color: inherit");let i=0,r=0;A[0].replace(/%[a-zA-Z%]/g,(A=>{"%%"!==A&&(i++,"%c"===A&&(r=i));})),A.splice(r,0,t);},A.save=function(e){try{e?A.storage.setItem("debug",e):A.storage.removeItem("debug");}catch(A){}},A.load=function(){let e;try{e=A.storage.getItem("debug");}catch(A){}!e&&void 0!==K&&"env"in K&&(e=K.env.DEBUG);return e},A.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return !0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return !1;let A;return "undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(A=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(A[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},A.storage=function(){try{return localStor