vart="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:{};functione(t){returnt&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}functionr(t,e){returnt(e={exports:{}},e.exports),e.exports}for(varn=function(t){vare=f(t),r=e[0],n=e[1];return3*(r+n)/4-n},i=function(t){vare,r,n=f(t),i=n[0],o=n[1],s=newu(function(t,e,r){return3*(e+r)/4-r}(0,i,o)),h=0,l=o>0?i-4:i;for(r=0;r<l;r+=4)e=a[t.charCodeAt(r)]<<18|a[t.charCodeAt(r+1)]<<12|a[t.charCodeAt(r+2)]<<6|a[t.charCodeAt(r+3)],s[h++]=e>>16&255,s[h++]=e>>8&255,s[h++]=255&e;2===o&&(e=a[t.charCodeAt(r)]<<2|a[t.charCodeAt(r+1)]>>4,s[h++]=255&e);1===o&&(e=a[t.charCodeAt(r)]<<10|a[t.charCodeAt(r+1)]<<4|a[t.charCodeAt(r+2)]>>2,s[h++]=e>>8&255,s[h++]=255&e);returns},o=function(t){for(vare,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(d(t,a,a+o>u?u:a+o));1===n?(e=t[r-1],i.push(s[e>>2]+s[e<<4&63]+"==")):2===n&&(e=(t[r-2]<<8)+t[r-1],i.push(s[e>>10]+s[e>>4&63]+s[e<<2&63]+"="));returni.join("")},s=[],a=[],u="undefined"!=typeofUint8Array?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,c=h.length;l<c;++l)s[l]=h[l],a[h.charCodeAt(l)]=l;functionf(t){vare=t.length;if(e%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}functiond(t,e,r){for(varn,i,o=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(s[(i=n)>>18&63]+s[i>>12&63]+s[i>>6&63]+s[63&i]);returno.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63;varp={byteLength:n,toByteArray:i,fromByteArray:o},m=function(t,e,r,n,i){varo,s,a=8*i-n-1,u=(1<<a)-1,h=u>>1,l=-7,c=r?i-1:0,f=r?-1:1,d=t[e+c];for(c+=f,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+t[e+c],c+=f,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+t[e+c],c+=f,l-=8);if(0===o)o=1-h;else{if(o===u)returns?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=h}return(d?-1:1)*s*Math.pow(2,o-n)},g=function(t,e,r,n,i,o){vars,a,u,h=8*o-i-1,l=(1<<h)-1,c=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,m=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=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+c>=1?f/u:f*Math.pow(2,1-c))*u>=2&&(s++,u/=2),s+c>=l?(a=0,s=l):s+c>=1?(a=(e*u-1)*Math.pow(2,i),s+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,h+=i;h>0;t[r+d]=255&s,d+=p,s/=256,h-=8);t[r+d-p]|=128*m},y=r((function(t,e){varr="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=o,e.SlowBuffer=function(t){+t!=t&&(t=0);returno.alloc(+t)},e.INSPECT_MAX_BYTES=50;varn=2147483647;functioni(t){if(t>n)thrownewRangeError('The value "'+t+'" is invalid for option "size"');vare=newUint8Array(t);returnObject.setPrototypeOf(e,o.prototype),e}functiono(t,e,r){if("number"==typeoft){if("string"==typeofe)thrownewTypeError('The "string" argument must be of type string. Received type number');returnu(t)}returns(t,e,r)}functions(t,e,r){if("string"==typeoft)returnfunction(t,e){"string"==typeofe&&""!==e||(e="utf8");if(!o.isEncoding(e))thrownewTypeError("Unknown encoding: "+e);varr=0|f(t,e),n=i(r),s=n.write(t,e);s!==r&&(n=n.slice(0,s));returnn}(t,e);if(ArrayBuffer.isView(t))returnh(t);if(null==t)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeoft);if(q(t,ArrayBuffer)||t&&q(t.buffer,ArrayBuffer))returnl(t,e,r);if("undefined"!=typeofSharedArrayBuffer&&(q(t,SharedArrayBuffer)||t&&q(t.buffer,SharedArrayBuffer)))returnl(t,e,r);if("number"==typeoft)thrownewTypeError('The "value" argument must not be of type number. Received type number');varn=t.valueOf&&t.valueOf();if(null!=n&&n!==t)returno.from(n,e,r);vars=function(t){if(o.isBuffer(t)){vare=0|c(t.length),r=i(e);return0===r.length||t.copy(r,0,0,e),r}if(void0!==t.length)return"number"!=typeoft.length||K(t.length