varr=n("3560"),o=n("e248"),i=n("571a");functionl(){try{vart=newUint8Array(1);returnt.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===t.foo()&&"function"===typeoft.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}functiona(){returns.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionu(t,e){if(a()<e)thrownewRangeError("Invalid typed array length");returns.TYPED_ARRAY_SUPPORT?(t=newUint8Array(e),t.__proto__=s.prototype):(null===t&&(t=news(e)),t.length=e),t}functions(t,e,n){if(!s.TYPED_ARRAY_SUPPORT&&!(thisinstanceofs))returnnews(t,e,n);if("number"===typeoft){if("string"===typeofe)thrownewError("If encoding is specified then the first argument must be a string");returnp(this,t)}returnc(this,t,e,n)}functionc(t,e,n,r){if("number"===typeofe)thrownewTypeError('"value" argument must not be a number');return"undefined"!==typeofArrayBuffer&&einstanceofArrayBuffer?v(t,e,n,r):"string"===typeofe?d(t,e,n):b(t,e)}functionf(t){if("number"!==typeoft)thrownewTypeError('"size" argument must be a number');if(t<0)thrownewRangeError('"size" argument must not be negative')}functionh(t,e,n,r){returnf(e),e<=0?u(t,e):void0!==n?"string"===typeofr?u(t,e).fill(n,r):u(t,e).fill(n):u(t,e)}functionp(t,e){if(f(e),t=u(t,e<0?0:0|g(e)),!s.TYPED_ARRAY_SUPPORT)for(varn=0;n<e;++n)t[n]=0;returnt}functiond(t,e,n){if("string"===typeofn&&""!==n||(n="utf8"),!s.isEncoding(n))thrownewTypeError('"encoding" must be a valid string encoding');varr=0|_(e,n);t=u(t,r);varo=t.write(e,n);returno!==r&&(t=t.slice(0,o)),t}functiony(t,e){varn=e.length<0?0:0|g(e.length);t=u(t,n);for(varr=0;r<n;r+=1)t[r]=255&e[r];returnt}functionv(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)thrownewRangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))thrownewRangeError("'length' is out of bounds");returne=void0===n&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,n):newUint8Array(e,n,r),s.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=s.prototype):t=y(t,e),t}functionb(t,e){if(s.isBuffer(e)){varn=0|g(e.length);returnt=u(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeofArrayBuffer&&e.bufferinstanceofArrayBuffer||"length"ine)return"number"!==typeofe.length||et(e.length)?u(t,0):y(t,e);if("Buffer"===e.type&&i(e.data))returny(t,e.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}functiong(t){if(t>=a())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return0|t}functionm(t){return+t!=t&&(t=0),s.alloc(+t)}function_(t,e){if(s.isBuffer(t))returnt.length;if("undefined"!==typeofArrayBuffer&&"function"===typeofArrayBuffer.isView&&(ArrayBuffer.isView(t)||tinstanceofArrayBuffer))returnt.byteLength;"string"!==typeoft&&(t=""+t);varn=t.length;if(0===n)return0;for(varr=!1;;)switch(e){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":casevoid0:returnX(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnJ(t).length;default:if(r)returnX(t).length;e=(""+e).toLowerCase(),r=!0}}functionw(t,e,n){varr=!1;if((void0===e||e<0)&&(e=0),e>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":returnB(this,e,n);case"utf8":case"utf-8":returnq(this,e,n);case"ascii":returnR(this,e,n);case"latin1":case"binary":returnM(this,e,n);case"base64":returnP(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnI(this,e,n);default:if(r)thrownewTypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}functionO(t,e,n){varr=t[e];t[e]=t[n],t[n]=r}functionE(t,e,n,r,o){if(0===t.length)return-1;if("string"===typeofn?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}elseif(n<0){if(!o)return-1;n=0}if("string"===typeofe&&(e=s.from(e,r)),s.isBuffer(e))retu