@putout/minify
Version:
🐊Putout-based minifier
1 lines • 1.25 MB
JavaScript
let e,t;import r from"node:events";function n(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if("default"!==r&&!(r in e)){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}})}),Object.freeze(e)}var i,s,a,o,l,u,c,p,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function h(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var f={},m={},y=e=>{let t={value:e};return(...e)=>{let[r]=e;return e.length?(t.value=r,r):t.value}},g=h(Object.freeze({__proto__:null,default:y})),b="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function x(){throw Error("setTimeout has not been defined")}function T(){throw Error("clearTimeout has not been defined")}var S=x,v=T;function _(e){if(S===setTimeout)return setTimeout(e,0);if((S===x||!S)&&setTimeout)return S=setTimeout,setTimeout(e,0);try{return S(e,0)}catch(t){try{return S.call(null,e,0)}catch(t){return S.call(this,e,0)}}}"function"==typeof b.setTimeout&&(S=setTimeout),"function"==typeof b.clearTimeout&&(v=clearTimeout);var E=[],P=!1,A=-1;function C(){P&&i&&(P=!1,i.length?E=i.concat(E):A=-1,E.length&&w())}function w(){if(!P){var e=_(C);P=!0;for(var t=E.length;t;){for(i=E,E=[];++A<t;)i&&i[A].run();A=-1,t=E.length}i=null,P=!1,function(e){if(v===clearTimeout)return clearTimeout(e);if((v===T||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{v(e)}catch(t){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}(e)}}function I(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];E.push(new k(e,t)),1!==E.length||P||_(w)}function k(e,t){this.fun=e,this.array=t}k.prototype.run=function(){this.fun.apply(null,this.array)};var N="browser",O="browser",D={},L=[],M={},F={},R={};function B(){}function j(e){throw Error("process.binding is not supported")}function U(){return"/"}function V(e){throw Error("process.chdir is not supported")}function $(){return 0}var W=b.performance||{},q=W.now||W.mozNow||W.msNow||W.oNow||W.webkitNow||function(){return new Date().getTime()};function J(e){var t=.001*q.call(W),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]}var K=new Date;function z(){return(new Date-K)/1e3}var H={nextTick:I,title:N,browser:!0,env:D,argv:L,version:"",versions:M,on:B,addListener:B,once:B,off:B,removeListener:B,removeAllListeners:B,emit:B,binding:j,cwd:U,chdir:V,umask:$,hrtime:J,platform:O,release:F,config:R,uptime:z},X=Object.freeze({__proto__:null,addListener:B,argv:L,binding:j,browser:!0,chdir:V,config:R,cwd:U,default:H,emit:B,env:D,hrtime:J,nextTick:I,off:B,on:B,once:B,platform:O,release:F,removeAllListeners:B,removeListener:B,title:N,umask:$,uptime:z,version:"",versions:M}),G=[],Y=[],Q="undefined"!=typeof Uint8Array?Uint8Array:Array,Z=!1;function ee(){Z=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)G[t]=e[t],Y[e.charCodeAt(t)]=t;Y[45]=62,Y[95]=63}function et(e){Z||ee();for(var t,r=e.length,n=r%3,i="",s=[],a=0,o=r-n;a<o;a+=16383)s.push(function(e,t,r){for(var n,i=[],s=t;s<r;s+=3)n=(e[s]<<16)+(e[s+1]<<8)+e[s+2],i.push(G[n>>18&63]+G[n>>12&63]+G[n>>6&63]+G[63&n]);return i.join("")}(e,a,a+16383>o?o:a+16383));return 1===n?(i+=G[(t=e[r-1])>>2],i+=G[t<<4&63],i+="=="):2===n&&(i+=G[(t=(e[r-2]<<8)+e[r-1])>>10],i+=G[t>>4&63],i+=G[t<<2&63],i+="="),s.push(i),s.join("")}function er(e,t,r,n,i){var s,a,o=8*i-n-1,l=(1<<o)-1,u=l>>1,c=-7,p=r?i-1:0,d=r?-1:1,h=e[t+p];for(p+=d,s=h&(1<<-c)-1,h>>=-c,c+=o;c>0;s=256*s+e[t+p],p+=d,c-=8);for(a=s&(1<<-c)-1,s>>=-c,c+=n;c>0;a=256*a+e[t+p],p+=d,c-=8);if(0===s)s=1-u;else{if(s===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),s-=u}return(h?-1:1)*a*Math.pow(2,s-n)}function en(e,t,r,n,i,s){var a,o,l,u=8*s-i-1,c=(1<<u)-1,p=c>>1,d=5960464477539062e-23*(23===i),h=n?0:s-1,f=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(o=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+p>=1?t+=d/l:t+=d*Math.pow(2,1-p),t*l>=2&&(a++,l/=2),a+p>=c?(o=0,a=c):a+p>=1?(o=(t*l-1)*Math.pow(2,i),a+=p):(o=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&o,h+=f,o/=256,i-=8);for(a=a<<i|o,u+=i;u>0;e[r+h]=255&a,h+=f,a/=256,u-=8);e[r+h-f]|=128*m}var ei={}.toString,es=Array.isArray||function(e){return"[object Array]"==ei.call(e)};function ea(){return el.TYPED_ARRAY_SUPPORT?0x7fffffff:0x3fffffff}function eo(e,t){if(ea()<t)throw RangeError("Invalid typed array length");return el.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=el.prototype:(null===e&&(e=new el(t)),e.length=t),e}function el(e,t,r){if(!el.TYPED_ARRAY_SUPPORT&&!(this instanceof el))return new el(e,t,r);if("number"==typeof e){if("string"==typeof t)throw Error("If encoding is specified then the first argument must be a string");return ep(this,e)}return eu(this,e,t,r)}function eu(e,t,r,n){if("number"==typeof t)throw TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),el.TYPED_ARRAY_SUPPORT?(e=t).__proto__=el.prototype:e=ed(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!el.isEncoding(r))throw TypeError('"encoding" must be a valid string encoding');var n=0|em(t,r),i=(e=eo(e,n)).write(t,r);return i!==n&&(e=e.slice(0,i)),e}(e,t,r):function(e,t){if(ef(t)){var r,n=0|eh(t.length);return 0===(e=eo(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t){return"number"!=typeof t.length||(r=t.length)!=r?eo(e,0):ed(e,t)}if("Buffer"===t.type&&es(t.data))return ed(e,t.data)}throw TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function ec(e){if("number"!=typeof e)throw TypeError('"size" argument must be a number');if(e<0)throw RangeError('"size" argument must not be negative')}function ep(e,t){if(ec(t),e=eo(e,t<0?0:0|eh(t)),!el.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function ed(e,t){var r=t.length<0?0:0|eh(t.length);e=eo(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function eh(e){if(e>=ea())throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ea().toString(16)+" bytes");return 0|e}function ef(e){return!!(null!=e&&e._isBuffer)}function em(e,t){if(ef(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return eI(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return eN(e).length;default:if(n)return eI(e).length;t=(""+t).toLowerCase(),n=!0}}function ey(e,t,r){var n,i,s,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n,i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var s="",a=t;a<r;++a){s+=(n=e[a])<16?"0"+n.toString(16):n.toString(16)}return s}(this,t,r);case"utf8":case"utf-8":return eT(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return n=this,i=t,s=r,0===i&&s===n.length?et(n):et(n.slice(i,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",s=0;s<n.length;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1]);return i}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function eg(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function eb(e,t,r,n,i){if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),isNaN(r*=1)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=el.from(t,n)),ef(t))return 0===t.length?-1:ex(e,t,r,n,i);if("number"==typeof t){if(t&=255,el.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return ex(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function ex(e,t,r,n,i){var s,a=1,o=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,o/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(s=r;s<o;s++)if(u(e,s)===u(t,-1===c?0:s-c)){if(-1===c&&(c=s),s-c+1===l)return c*a}else -1!==c&&(s-=s-c),c=-1}else for(r+l>o&&(r=o-l),s=r;s>=0;s--){for(var p=!0,d=0;d<l;d++)if(u(e,s+d)!==u(t,d)){p=!1;break}if(p)return s}return -1}el.TYPED_ARRAY_SUPPORT=void 0===b.TYPED_ARRAY_SUPPORT||b.TYPED_ARRAY_SUPPORT,ea(),el.poolSize=8192,el._augment=function(e){return e.__proto__=el.prototype,e},el.from=function(e,t,r){return eu(null,e,t,r)},el.TYPED_ARRAY_SUPPORT&&(el.prototype.__proto__=Uint8Array.prototype,el.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&el[Symbol.species]),el.alloc=function(e,t,r){return(ec(e),e<=0)?eo(null,e):void 0!==t?"string"==typeof r?eo(null,e).fill(t,r):eo(null,e).fill(t):eo(null,e)},el.allocUnsafe=function(e){return ep(null,e)},el.allocUnsafeSlow=function(e){return ep(null,e)},el.isBuffer=function(e){var t;return null!=e&&(!!e._isBuffer||eD(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&eD(t.slice(0,0)))},el.compare=function(e,t){if(!ef(e)||!ef(t))throw TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},el.isEncoding=function(e){switch(String(e).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}},el.concat=function(e,t){if(!es(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return el.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=el.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var s=e[r];if(!ef(s))throw TypeError('"list" argument must be an Array of Buffers');s.copy(n,i),i+=s.length}return n},el.byteLength=em,el.prototype._isBuffer=!0,el.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)eg(this,t,t+1);return this},el.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)eg(this,t,t+3),eg(this,t+1,t+2);return this},el.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)eg(this,t,t+7),eg(this,t+1,t+6),eg(this,t+2,t+5),eg(this,t+3,t+4);return this},el.prototype.toString=function(){var e=0|this.length;return 0===e?"":0==arguments.length?eT(this,0,e):ey.apply(this,arguments)},el.prototype.equals=function(e){if(!ef(e))throw TypeError("Argument must be a Buffer");return this===e||0===el.compare(this,e)},el.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},el.prototype.compare=function(e,t,r,n,i){if(!ef(e))throw TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var s=i-n,a=r-t,o=Math.min(s,a),l=this.slice(n,i),u=e.slice(t,r),c=0;c<o;++c)if(l[c]!==u[c]){s=l[c],a=u[c];break}return s<a?-1:+(a<s)},el.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},el.prototype.indexOf=function(e,t,r){return eb(this,e,t,r,!0)},el.prototype.lastIndexOf=function(e,t,r){return eb(this,e,t,r,!1)};function eT(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var s,a,o,l,u=e[i],c=null,p=u>239?4:u>223?3:u>191?2:1;if(i+p<=r)switch(p){case 1:u<128&&(c=u);break;case 2:(192&(s=e[i+1]))==128&&(l=(31&u)<<6|63&s)>127&&(c=l);break;case 3:s=e[i+1],a=e[i+2],(192&s)==128&&(192&a)==128&&(l=(15&u)<<12|(63&s)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:s=e[i+1],a=e[i+2],o=e[i+3],(192&s)==128&&(192&a)==128&&(192&o)==128&&(l=(15&u)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(c=l)}null===c?(c=65533,p=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=p}var d=n,h=d.length;if(h<=4096)return String.fromCharCode.apply(String,d);for(var f="",m=0;m<h;)f+=String.fromCharCode.apply(String,d.slice(m,m+=4096));return f}function eS(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function ev(e,t,r,n,i,s){if(!ef(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function e_(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-r,2);i<s;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>(n?i:1-i)*8}function eE(e,t,r,n){t<0&&(t=0xffffffff+t+1);for(var i=0,s=Math.min(e.length-r,4);i<s;++i)e[r+i]=t>>>(n?i:3-i)*8&255}function eP(e,t,r,n,i,s){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function eA(e,t,r,n,i){return i||eP(e,t,r,4),en(e,t,r,n,23,4),r+4}function eC(e,t,r,n,i){return i||eP(e,t,r,8),en(e,t,r,n,52,8),r+8}el.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,s,a,o,l,u,c,p,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var s=t.length;if(s%2!=0)throw TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var a=0;a<n;++a){var o=parseInt(t.substr(2*a,2),16);if(isNaN(o))break;e[r+a]=o}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,s=r,eO(eI(e,this.length-i),this,i,s);case"ascii":return a=t,o=r,eO(ek(e),this,a,o);case"latin1":case"binary":return function(e,t,r,n){return eO(ek(t),e,r,n)}(this,e,t,r);case"base64":return l=t,u=r,eO(eN(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,p=r,eO(function(e,t){for(var r,n,i=[],s=0;s<e.length&&!((t-=2)<0);++s)n=(r=e.charCodeAt(s))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,p);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},el.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},el.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),el.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=el.prototype;else{var i=t-e;r=new el(i,void 0);for(var s=0;s<i;++s)r[s]=this[s+e]}return r},el.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||eS(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return n},el.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||eS(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},el.prototype.readUInt8=function(e,t){return t||eS(e,1,this.length),this[e]},el.prototype.readUInt16LE=function(e,t){return t||eS(e,2,this.length),this[e]|this[e+1]<<8},el.prototype.readUInt16BE=function(e,t){return t||eS(e,2,this.length),this[e]<<8|this[e+1]},el.prototype.readUInt32LE=function(e,t){return t||eS(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},el.prototype.readUInt32BE=function(e,t){return t||eS(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},el.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||eS(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},el.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||eS(e,t,this.length);for(var n=t,i=1,s=this[e+--n];n>0&&(i*=256);)s+=this[e+--n]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},el.prototype.readInt8=function(e,t){return(t||eS(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},el.prototype.readInt16LE=function(e,t){t||eS(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},el.prototype.readInt16BE=function(e,t){t||eS(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},el.prototype.readInt32LE=function(e,t){return t||eS(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},el.prototype.readInt32BE=function(e,t){return t||eS(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},el.prototype.readFloatLE=function(e,t){return t||eS(e,4,this.length),er(this,e,!0,23,4)},el.prototype.readFloatBE=function(e,t){return t||eS(e,4,this.length),er(this,e,!1,23,4)},el.prototype.readDoubleLE=function(e,t){return t||eS(e,8,this.length),er(this,e,!0,52,8)},el.prototype.readDoubleBE=function(e,t){return t||eS(e,8,this.length),er(this,e,!1,52,8)},el.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;ev(this,e,t,r,i,0)}var s=1,a=0;for(this[t]=255&e;++a<r&&(s*=256);)this[t+a]=e/s&255;return t+r},el.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;ev(this,e,t,r,i,0)}var s=r-1,a=1;for(this[t+s]=255&e;--s>=0&&(a*=256);)this[t+s]=e/a&255;return t+r},el.prototype.writeUInt8=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,1,255,0),el.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},el.prototype.writeUInt16LE=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,2,65535,0),el.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):e_(this,e,t,!0),t+2},el.prototype.writeUInt16BE=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,2,65535,0),el.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):e_(this,e,t,!1),t+2},el.prototype.writeUInt32LE=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,4,0xffffffff,0),el.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):eE(this,e,t,!0),t+4},el.prototype.writeUInt32BE=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,4,0xffffffff,0),el.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):eE(this,e,t,!1),t+4},el.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t|=0,!n){var i=Math.pow(2,8*r-1);ev(this,e,t,r,i-1,-i)}var s=0,a=1,o=0;for(this[t]=255&e;++s<r&&(a*=256);)e<0&&0===o&&0!==this[t+s-1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+r},el.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t|=0,!n){var i=Math.pow(2,8*r-1);ev(this,e,t,r,i-1,-i)}var s=r-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+r},el.prototype.writeInt8=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,1,127,-128),el.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},el.prototype.writeInt16LE=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,2,32767,-32768),el.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):e_(this,e,t,!0),t+2},el.prototype.writeInt16BE=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,2,32767,-32768),el.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):e_(this,e,t,!1),t+2},el.prototype.writeInt32LE=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,4,0x7fffffff,-0x80000000),el.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):eE(this,e,t,!0),t+4},el.prototype.writeInt32BE=function(e,t,r){return e*=1,t|=0,r||ev(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),el.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):eE(this,e,t,!1),t+4},el.prototype.writeFloatLE=function(e,t,r){return eA(this,e,t,!0,r)},el.prototype.writeFloatBE=function(e,t,r){return eA(this,e,t,!1,r)},el.prototype.writeDoubleLE=function(e,t,r){return eC(this,e,t,!0,r)},el.prototype.writeDoubleBE=function(e,t,r){return eC(this,e,t,!1,r)},el.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("sourceStart out of bounds");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,s=n-r;if(this===e&&r<t&&t<n)for(i=s-1;i>=0;--i)e[i+t]=this[i+r];else if(s<1e3||!el.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+s),t);return s},el.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i,s=e.charCodeAt(0);s<256&&(e=s)}if(void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!el.isEncoding(n))throw TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=ef(e)?e:eI(new el(e,n).toString()),o=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%o]}return this};var ew=/[^+\/0-9A-Za-z-_]/g;function eI(e,t){t=t||1/0;for(var r,n=e.length,i=null,s=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return s}function ek(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function eN(e){return function(e){Z||ee();var t,r,n,i,s,a,o=e.length;if(o%4>0)throw Error("Invalid string. Length must be a multiple of 4");s="="===e[o-2]?2:+("="===e[o-1]),a=new Q(3*o/4-s),n=s>0?o-4:o;var l=0;for(t=0,r=0;t<n;t+=4,r+=3)i=Y[e.charCodeAt(t)]<<18|Y[e.charCodeAt(t+1)]<<12|Y[e.charCodeAt(t+2)]<<6|Y[e.charCodeAt(t+3)],a[l++]=i>>16&255,a[l++]=i>>8&255,a[l++]=255&i;return 2===s?(i=Y[e.charCodeAt(t)]<<2|Y[e.charCodeAt(t+1)]>>4,a[l++]=255&i):1===s&&(i=Y[e.charCodeAt(t)]<<10|Y[e.charCodeAt(t+1)]<<4|Y[e.charCodeAt(t+2)]>>2,a[l++]=i>>8&255,a[l++]=255&i),a}(function(e){var t;if((e=((t=e).trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(ew,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function eO(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function eD(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function eL(){return!1}function eM(){throw Error("tty.ReadStream is not implemented")}function eF(){throw Error("tty.ReadStream is not implemented")}var eR=h(Object.freeze({__proto__:null,ReadStream:eM,WriteStream:eF,default:{isatty:eL,ReadStream:eM,WriteStream:eF},isatty:eL}));s="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e};var eB=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},ej=/%[sdj%]/g;function eU(e){if(!e0(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(eq(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,s=String(e).replace(ej,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<i;a=n[++r])eQ(a)||!e5(a)?s+=" "+a:s+=" "+eq(a);return s}function eV(e,t){if(e3(b.process))return function(){return eV(e,t).apply(this,arguments)};if(!0===H.noDeprecation)return e;var r=!1;return function(){if(!r){if(H.throwDeprecation)throw Error(t);H.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var e$={};function eW(e){return e3(a)&&(a=H.env.NODE_DEBUG||""),e$[e=e.toUpperCase()]||(RegExp("\\b"+e+"\\b","i").test(a)?e$[e]=function(){var t=eU.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:e$[e]=function(){}),e$[e]}function eq(e,t){var r={seen:[],stylize:eK};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),eY(t)?r.showHidden=t:t&&ts(r,t),e3(r.showHidden)&&(r.showHidden=!1),e3(r.depth)&&(r.depth=2),e3(r.colors)&&(r.colors=!1),e3(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=eJ),ez(r,e,r.depth)}function eJ(e,t){var r=eq.styles[t];return r?"\x1b["+eq.colors[r][0]+"m"+e+"\x1b["+eq.colors[r][1]+"m":e}function eK(e,t){return e}function ez(e,t,r){if(e.customInspect&&t&&e9(t.inspect)&&t.inspect!==eq&&!(t.constructor&&t.constructor.prototype===t)){var n,i,s,a,o,l=t.inspect(r,e);return e0(l)||(l=ez(e,l,r)),l}var u=function(e,t){if(e3(t))return e.stylize("undefined","undefined");if(e0(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return e1(t)?e.stylize(""+t,"number"):eY(t)?e.stylize(""+t,"boolean"):eQ(t)?e.stylize("null","null"):void 0}(e,t);if(u)return u;var c=Object.keys(t),p=(a={},c.forEach(function(e,t){a[e]=!0}),a);if(e.showHidden&&(c=Object.getOwnPropertyNames(t)),e6(t)&&(c.indexOf("message")>=0||c.indexOf("description")>=0))return eH(t);if(0===c.length){if(e9(t)){var d=t.name?": "+t.name:"";return e.stylize("[Function"+d+"]","special")}if(e4(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(e8(t))return e.stylize(Date.prototype.toString.call(t),"date");if(e6(t))return eH(t)}var h="",f=!1,m=["{","}"];if(eG(t)&&(f=!0,m=["[","]"]),e9(t)&&(h=" [Function"+(t.name?": "+t.name:"")+"]"),e4(t)&&(h=" "+RegExp.prototype.toString.call(t)),e8(t)&&(h=" "+Date.prototype.toUTCString.call(t)),e6(t)&&(h=" "+eH(t)),0===c.length&&(!f||0==t.length))return m[0]+h+m[1];if(r<0)if(e4(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");else return e.stylize("[Object]","special");return e.seen.push(t),o=f?function(e,t,r,n,i){for(var s=[],a=0,o=t.length;a<o;++a)ta(t,String(a))?s.push(eX(e,t,r,n,String(a),!0)):s.push("");return i.forEach(function(i){i.match(/^\d+$/)||s.push(eX(e,t,r,n,i,!0))}),s}(e,t,r,p,c):c.map(function(n){return eX(e,t,r,p,n,f)}),e.seen.pop(),n=o,i=h,s=m,n.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?s[0]+(""===i?"":i+"\n ")+" "+n.join(",\n ")+" "+s[1]:s[0]+i+" "+n.join(", ")+" "+s[1]}function eH(e){return"["+Error.prototype.toString.call(e)+"]"}function eX(e,t,r,n,i,s){var a,o,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?o=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(o=e.stylize("[Setter]","special")),ta(n,i)||(a="["+i+"]"),!o&&(0>e.seen.indexOf(l.value)?(o=eQ(r)?ez(e,l.value,null):ez(e,l.value,r-1)).indexOf("\n")>-1&&(o=s?o.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+o.split("\n").map(function(e){return" "+e}).join("\n")):o=e.stylize("[Circular]","special")),e3(a)){if(s&&i.match(/^\d+$/))return o;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+o}function eG(e){return Array.isArray(e)}function eY(e){return"boolean"==typeof e}function eQ(e){return null===e}function eZ(e){return null==e}function e1(e){return"number"==typeof e}function e0(e){return"string"==typeof e}function e2(e){return"symbol"==typeof e}function e3(e){return void 0===e}function e4(e){return e5(e)&&"[object RegExp]"===tt(e)}function e5(e){return"object"==typeof e&&null!==e}function e8(e){return e5(e)&&"[object Date]"===tt(e)}function e6(e){return e5(e)&&("[object Error]"===tt(e)||e instanceof Error)}function e9(e){return"function"==typeof e}function e7(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function te(e){return Array.isArray(e)}function tt(e){return Object.prototype.toString.call(e)}function tr(e){return e<10?"0"+e.toString(10):e.toString(10)}eq.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]},eq.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var tn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ti(){var e,t;console.log("%s - %s",(t=[tr((e=new Date).getHours()),tr(e.getMinutes()),tr(e.getSeconds())].join(":"),[e.getDate(),tn[e.getMonth()],t].join(" ")),eU.apply(null,arguments))}function ts(e,t){if(!t||!e5(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function ta(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var to="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function tl(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(to&&e[to]){var t=e[to];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,to,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),to&&Object.defineProperty(t,to,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,eB(e))}function tu(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function tc(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw TypeError("The last argument must be of type Function");var i=this,s=function(){return n.apply(i,arguments)};e.apply(this,t).then(function(e){H.nextTick(s.bind(null,null,e))},function(e){H.nextTick(tu.bind(null,e,s))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,eB(e)),t}tl.custom=to;var tp=h(Object.freeze({__proto__:null,_extend:ts,callbackify:tc,debuglog:eW,default:{inherits:s,_extend:ts,log:ti,isBuffer:te,isPrimitive:e7,isFunction:e9,isError:e6,isDate:e8,isObject:e5,isRegExp:e4,isUndefined:e3,isSymbol:e2,isString:e0,isNumber:e1,isNullOrUndefined:eZ,isNull:eQ,isBoolean:eY,isArray:eG,inspect:eq,deprecate:eV,format:eU,debuglog:eW,promisify:tl,callbackify:tc},deprecate:eV,format:eU,inherits:s,inspect:eq,isArray:eG,isBoolean:eY,isBuffer:te,isDate:e8,isError:e6,isFunction:e9,isNull:eQ,isNullOrUndefined:eZ,isNumber:e1,isObject:e5,isPrimitive:e7,isRegExp:e4,isString:e0,isSymbol:e2,isUndefined:e3,log:ti,promisify:tl})),td=Object.create,th=Object.defineProperty,tf=Object.getOwnPropertyDescriptor,tm=Object.getOwnPropertyNames,ty=Object.getPrototypeOf,tg=Object.prototype.hasOwnProperty,tb=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),tx=e=>{throw TypeError(e)},tT=Math.pow,tS=(e,t,r)=>t in e?th(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tv=(e,t)=>function(){return t||(0,e[tm(e)[0]])((t={exports:{}}).exports,t),t.exports},t_=(e,t)=>{for(var r in t)th(e,r,{get:t[r],enumerable:!0})},tE=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of tm(t))tg.call(e,i)||i===r||th(e,i,{get:()=>t[i],enumerable:!(n=tf(t,i))||n.enumerable});return e},tP=(e,t,r)=>tE(th(r=null!=e?td(ty(e)):{},"default",{value:e,enumerable:!0}),e),tA=(e,t,r)=>tS(e,"symbol"!=typeof t?t+"":t,r),tC=function(e,t){this[0]=e,this[1]=t},tw=e=>{var t,r=e[tb("asyncIterator")],n=!1,i={};return null==r?(r=e[tb("iterator")](),t=e=>i[e]=t=>r[e](t)):(r=r.call(e),t=e=>i[e]=t=>{if(n){if(n=!1,"throw"===e)throw t;return t}return n=!0,{done:!1,value:new tC(new Promise(n=>{var i=r[e](t);i instanceof Object||tx("Object expected"),n(i)}),1)}}),i[tb("iterator")]=()=>i,t("next"),"throw"in r?t("throw"):i.throw=e=>{throw e},"return"in r&&t("return"),i},tI=tv({"node_modules/picocolors/picocolors.js"(e,t){var r=H||{},n=r.argv||[],i=r.env||{},s=!(i.NO_COLOR||n.includes("--no-color"))&&(!!i.FORCE_COLOR||n.includes("--color")||"win32"===r.platform||(r.stdout||{}).isTTY&&"dumb"!==i.TERM||!!i.CI),a=(e,t,r=e)=>n=>{let i=""+n,s=i.indexOf(t,e.length);return~s?e+o(i,t,r,s)+t:e+i+t},o=(e,t,r,n)=>{let i="",s=0;do i+=e.substring(s,n)+r,s=n+t.length,n=e.indexOf(t,s);while(~n);return i+e.substring(s)},l=(e=s)=>{let t=e?a:()=>String;return{isColorSupported:e,reset:t("\x1b[0m","\x1b[0m"),bold:t("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m"),dim:t("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),italic:t("\x1b[3m","\x1b[23m"),underline:t("\x1b[4m","\x1b[24m"),inverse:t("\x1b[7m","\x1b[27m"),hidden:t("\x1b[8m","\x1b[28m"),strikethrough:t("\x1b[9m","\x1b[29m"),black:t("\x1b[30m","\x1b[39m"),red:t("\x1b[31m","\x1b[39m"),green:t("\x1b[32m","\x1b[39m"),yellow:t("\x1b[33m","\x1b[39m"),blue:t("\x1b[34m","\x1b[39m"),magenta:t("\x1b[35m","\x1b[39m"),cyan:t("\x1b[36m","\x1b[39m"),white:t("\x1b[37m","\x1b[39m"),gray:t("\x1b[90m","\x1b[39m"),bgBlack:t("\x1b[40m","\x1b[49m"),bgRed:t("\x1b[41m","\x1b[49m"),bgGreen:t("\x1b[42m","\x1b[49m"),bgYellow:t("\x1b[43m","\x1b[49m"),bgBlue:t("\x1b[44m","\x1b[49m"),bgMagenta:t("\x1b[45m","\x1b[49m"),bgCyan:t("\x1b[46m","\x1b[49m"),bgWhite:t("\x1b[47m","\x1b[49m"),blackBright:t("\x1b[90m","\x1b[39m"),redBright:t("\x1b[91m","\x1b[39m"),greenBright:t("\x1b[92m","\x1b[39m"),yellowBright:t("\x1b[93m","\x1b[39m"),blueBright:t("\x1b[94m","\x1b[39m"),magentaBright:t("\x1b[95m","\x1b[39m"),cyanBright:t("\x1b[96m","\x1b[39m"),whiteBright:t("\x1b[97m","\x1b[39m"),bgBlackBright:t("\x1b[100m","\x1b[49m"),bgRedBright:t("\x1b[101m","\x1b[49m"),bgGreenBright:t("\x1b[102m","\x1b[49m"),bgYellowBright:t("\x1b[103m","\x1b[49m"),bgBlueBright:t("\x1b[104m","\x1b[49m"),bgMagentaBright:t("\x1b[105m","\x1b[49m"),bgCyanBright:t("\x1b[106m","\x1b[49m"),bgWhiteBright:t("\x1b[107m","\x1b[49m")}};t.exports=l(),t.exports.createColors=l}}),tk=tv({"node_modules/js-tokens/index.js"(e,t){var r,n,i,s,a,o,l,u,c,p,d,h,f,m,y,g,b,x,T;f=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]|[^\/\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,h=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,r=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,y=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?: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,g=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y,T=/[\t\v\f\ufeff\p{Zs}]+/yu,c=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y,m=/\/\/.*/y,i=/[<>.:={}]|\/(?![\/*])/y,n=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,s=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y,a=/[^<>{}]+/y,x=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,b=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,o=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,l=/^(?:return|throw|yield)$/,p=RegExp((u=/\r?\n|[\r\u2028\u2029]/y).source),t.exports=function*(e,{jsx:t=!1}={}){var S,v,_,E,P,A,C,w,I,k,N,O,D,L;for({length:A}=e,E=0,P="",L=[{tag:"JS"}],S=[],N=0,O=!1;E<A;){switch((w=L[L.length-1]).tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if("/"===e[E]&&(x.test(P)||o.test(P))&&(f.lastIndex=E,C=f.exec(e))){E=f.lastIndex,P=C[0],O=!0,yield{type:"RegularExpressionLiteral",value:C[0],closed:void 0!==C[1]&&"\\"!==C[1]};continue}if(h.lastIndex=E,C=h.exec(e)){switch(D=C[0],I=h.lastIndex,k=D,D){case"(":"?NonExpressionParenKeyword"===P&&L.push({tag:"JSNonExpressionParen",nesting:N}),N++,O=!1;break;case")":N--,O=!0,"JSNonExpressionParen"===w.tag&&N===w.nesting&&(L.pop(),k="?NonExpressionParenEnd",O=!1);break;case"{":h.lastIndex=0,_=!b.test(P)&&(x.test(P)||o.test(P)),S.push(_),O=!1;break;case"}":switch(w.tag){case"InterpolationInTemplate":if(S.length===w.nesting){g.lastIndex=E,C=g.exec(e),E=g.lastIndex,P=C[0],"${"===C[1]?(P="?InterpolationInTemplate",O=!1,yield{type:"TemplateMiddle",value:C[0]}):(L.pop(),O=!0,yield{type:"TemplateTail",value:C[0],closed:"`"===C[1]});continue}break;case"InterpolationInJSX":if(S.length===w.nesting){L.pop(),E+=1,P="}",yield{type:"JSXPunctuator",value:"}"};continue}}k=(O=S.pop())?"?ExpressionBraceEnd":"}";break;case"]":O=!0;break;case"++":case"--":k=O?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(t&&(x.test(P)||o.test(P))){L.push({tag:"JSXTag"}),E+=1,P="<",yield{type:"JSXPunctuator",value:D};continue}O=!1;break;default:O=!1}E=I,P=k,yield{type:"Punctuator",value:D};continue}if(r.lastIndex=E,C=r.exec(e)){switch(E=r.lastIndex,k=C[0],C[0]){case"for":case"if":case"while":case"with":"."!==P&&"?."!==P&&(k="?NonExpressionParenKeyword")}P=k,O=!o.test(C[0]),yield{type:"#"===C[1]?"PrivateIdentifier":"IdentifierName",value:C[0]};continue}if(y.lastIndex=E,C=y.exec(e)){E=y.lastIndex,P=C[0],O=!0,yield{type:"StringLiteral",value:C[0],closed:void 0!==C[2]};continue}if(d.lastIndex=E,C=d.exec(e)){E=d.lastIndex,P=C[0],O=!0,yield{type:"NumericLiteral",value:C[0]};continue}if(g.lastIndex=E,C=g.exec(e)){E=g.lastIndex,P=C[0],"${"===C[1]?(P="?InterpolationInTemplate",L.push({tag:"InterpolationInTemplate",nesting:S.length}),O=!1,yield{type:"TemplateHead",value:C[0]}):(O=!0,yield{type:"NoSubstitutionTemplate",value:C[0],closed:"`"===C[1]});continue}break;case"JSXTag":case"JSXTagEnd":if(i.lastIndex=E,C=i.exec(e)){switch(E=i.lastIndex,k=C[0],C[0]){case"<":L.push({tag:"JSXTag"});break;case">":L.pop(),"/"===P||"JSXTagEnd"===w.tag?(k="?JSX",O=!0):L.push({tag:"JSXChildren"});break;case"{":L.push({tag:"InterpolationInJSX",nesting:S.length}),k="?InterpolationInJSX",O=!1;break;case"/":"<"===P&&(L.pop(),"JSXChildren"===L[L.length-1].tag&&L.pop(),L.push({tag:"JSXTagEnd"}))}P=k,yield{type:"JSXPunctuator",value:C[0]};continue}if(n.lastIndex=E,C=n.exec(e)){E=n.lastIndex,P=C[0],yield{type:"JSXIdentifier",value:C[0]};continue}if(s.lastIndex=E,C=s.exec(e)){E=s.lastIndex,P=C[0],yield{type:"JSXString",value:C[0],closed:void 0!==C[2]};continue}break;case"JSXChildren":if(a.lastIndex=E,C=a.exec(e)){E=a.lastIndex,P=C[0],yield{type:"JSXText",value:C[0]};continue}switch(e[E]){case"<":L.push({tag:"JSXTag"}),E++,P="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":L.push({tag:"InterpolationInJSX",nesting:S.length}),E++,P="?InterpolationInJSX",O=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(T.lastIndex=E,C=T.exec(e)){E=T.lastIndex,yield{type:"WhiteSpace",value:C[0]};continue}if(u.lastIndex=E,C=u.exec(e)){E=u.lastIndex,O=!1,l.test(P)&&(P="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:C[0]};continue}if(c.lastIndex=E,C=c.exec(e)){E=c.lastIndex,p.test(C[0])&&(O=!1,l.test(P)&&(P="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:C[0],closed:void 0!==C[1]};continue}if(m.lastIndex=E,C=m.exec(e)){E=m.lastIndex,O=!1,yield{type:"SingleLineComment",value:C[0]};continue}v=String.fromCodePoint(e.codePointAt(E)),E+=v.length,P=v,O=!1,yield{type:w.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:v}}}}}),tN=tv({"node_modules/jsesc/jsesc.js"(e,t){var r={},n=r.hasOwnProperty,i=(e,t)=>{for(let r in e)n.call(e,r)&&t(r,e[r])},s=(e,t)=>(t&&i(t,(t,r)=>{e[t]=r}),e),a=(e,t)=>{let r=e.length,n=-1;for(;++n<r;)t(e[n])},o=e=>"\\u"+("0000"+e).slice(-4),l=(e,t)=>{let r=e.toString(16);return t?r:r.toUpperCase()},u=r.toString,c=Array.isArray,p=e=>Array.isArray(e),d=e=>"[object Object]"==u.call(e),h=e=>"string"==typeof e||"[object String]"==u.call(e),f=e=>"number"==typeof e||"[object Number]"==u.call(e),m=e=>"bigint"==typeof e,y=e=>"function"==typeof e,g=e=>"[object Map]"==u.call(e),b=e=>"[object Set]"==u.call(e),x={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},T=/[\\\b\f\n\r\t]/,S=/[0-9]/,v=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,_=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,E=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,P=(e,t)=>{let r,n=()=>{N=k,++t.indentLevel,k=t.indent.repeat(t.indentLevel)},u={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},A=t&&t.json;A&&(u.quotes="double",u.wrap=!0),"single"!=(t=s(u,t)).quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");let C="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",w=t.compact,I=t.lowercaseHex,k=t.indent.repeat(t.indentLevel),N="",O=t.__inline1__,D=t.__inline2__,L=w?"":"\n",M=!0,F="binary"==t.numbers,R="octal"==t.numbers,B="decimal"==t.numbers,j="hexadecimal"==t.numbers;if(A&&e&&y(e.toJSON)&&(e=e.toJSON()),!h(e)){if(g(e))return 0==e.size?"new Map()":(w||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+P(Array.from(e),t)+")");if(b(e))return 0==e.size?"new Set()":"new Set("+P(Array.from(e),t)+")";if(p(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+P(Array.from(e),t)+")";if(c(e))return(r=[],t.wrap=!0,O&&(t.__inline1__=!1,t.__inline2__=!0),D||n(),a(e,e=>{M=!1,D&&(t.__inline2__=!1),r.push((w||D?"":k)+P(e,t))}),M)?"[]":D?"["+r.join(", ")+"]":"["+L+r.join(","+L)+L+(w?"":N)+"]";if(f(e)||m(e)){let t;if(A)return JSON.stringify(Number(e));if(B)t=String(e);else if(j){let r=e.toString(16);I||(r=r.toUpperCase()),t="0x"+r}else F?t="0b"+e.toString(2):R&&(t="0o"+e.toString(8));return m(e)?t+"n":t}if(m(e))return A?JSON.stringify(Number(e)):e+"n";else if(d(e))return(r=[],t.wrap=!0,n(),i(e,(e,n)=>{M=!1,r.push((w?"":k)+P(e,t)+":"+(w?"":" ")+P(n,t))}),M)?"{}":"{"+L+r.join(","+L)+L+(w?"":N)+"}";else return A?JSON.stringify(e)||"null":String(e)}let U=t.escapeEverything?_:E;return r=e.replace(U,(e,r,n,i,s,a)=>{if(r){if(t.minimal)return r;let e=r.charCodeAt(0),n=r.charCodeAt(1);return t.es6?"\\u{"+l((e-55296)*1024+n-56320+65536,I)+"}":o(l(e,I))+o(l(n,I))}if(n)return o(l(n.charCodeAt(0),I));if("\0"==e&&!A&&!S.test(a.charAt(s+1)))return"\\0";if(i)return i==C||t.escapeEverything?"\\"+i:i;if(T.test(e))return x[e];if(t.minimal&&!v.test(e))return e;let u=l(e.charCodeAt(0),I);return A||u.length>2?o(u):"\\x"+("00"+u).slice(-2)}),"`"==C&&(r=r.replace(/\$\{/g,"\\${")),t.isScriptContext&&(r=r.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,A?"\\u003C!--":"\\x3C!--")),t.wrap&&(r=C+r+C),r};P.version="3.0.2",t.exports=P}}),tO=tv({"node_modules/ms/index.js"(e,t){function r(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}t.exports=function(e,t){t=t||{};var n,i,s,a,o=typeof e;if("string"===o&&e.length>0){var l=e;if(!((l=String(l)).length>100)){var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(u){var c=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===o&&isFinite(e)){return t.long?(i=Math.abs(n=e))>=864e5?r(n,i,864e5,"day"):i>=36e5?r(n,i,36e5,"hour"):i>=6e4?r(n,i,6e4,"minute"):i>=1e3?r(n,i,1e3,"second"):n+" ms":(a=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":a>=36e5?Math.round(s/36e5)+"h":a>=6e4?Math.round(s/6e4)+"m":a>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}}}),tD=tv({"node_modules/debug/src/common.js"(e,t){t.exports=function(e){function t(e){let n,i,s,a=null;function o(...e){if(!o.enabled)return;let r=Number(new Date);o.diff=r-(n||r),o.prev=n,o.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let s=t.formatters[n];if("function"==typeof s){let t=e[i];r=s.call(o,t),e.splice(i,1),i--}return r}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=r,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function r(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function n(e,t){let r=0,n=0,i=-1,s=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,s=r):r++,n++;else{if(-1===i)return!1;n=i+1,r=++s}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=tO(),t.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(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}}}),tL=tv({"node_modules/debug/src/browser.js"(e,t){let r;e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;e.splice(1,0,r,"color: inherit");let n=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),e.splice(i,0,r)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(e){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(e){}return!t&&void 0!==H&&"env"in H&&(t=H.env.DEBUG),t},e.useColors=function(){let e;return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("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&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(e){}}(),r=!1,e.destroy=()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#