varQ=i(279),J=i(587),K=i(588);t.Buffer=r,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,r.TYPED_ARRAY_SUPPORT=void0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{vare=newUint8Array(1);returne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===e.foo()&&"function"==typeofe.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=n(),r.poolSize=8192,r._augment=function(e){returne.__proto__=r.prototype,e},r.from=function(e,t,i){returna(null,e,t,i)},r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,"undefined"!=typeofSymbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0})),r.alloc=function(e,t,i){returns(null,e,t,i)},r.allocUnsafe=function(e){returnc(null,e)},r.allocUnsafeSlow=function(e){returnc(null,e)},r.isBuffer=function(e){return!(null==e||!e._isBuffer)},r.compare=function(e,t){if(!r.isBuffer(e)||!r.isBuffer(t))thrownewTypeError("Arguments must be Buffers");if(e===t)return0;for(vari=e.length,n=t.length,o=0,a=Math.min(i,n);o<a;++o)if(e[o]!==t[o]){i=e[o],n=t[o];break}returni<n?-1:n<i?1:0},r.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}},r.concat=function(e,t){if(!K(e))thrownewTypeError('"list" argument must be an Array of Buffers');if(0===e.length)returnr.alloc(0);vari;if(void0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;varn=r.allocUnsafe(t),o=0;for(i=0;i<e.length;++i){vara=e[i];if(!r.isBuffer(a))thrownewTypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}returnn},r.byteLength=m,r.prototype._isBuffer=!0,r.prototype.swap16=function(){vare=this.length;if(e%2!=0)thrownewRangeError("Buffer size must be a multiple of 16-bits");for(vart=0;t<e;t+=2)x(this,t,t+1);returnthis},r.prototype.swap32=function(){vare=this.length;if(e%4!=0)thrownewRangeError("Buffer size must be a multiple of 32-bits");for(vart=0;t<e;t+=4)x(this,t,t+3),x(this,t+1,t+2);returnthis},r.prototype.swap64=function(){vare=this.length;if(e%8!=0)thrownewRangeError("Buffer size must be a multiple of 64-bits");for(vart=0;t<e;t+=8)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);returnthis},r.prototype.toString=function(){vare=0|this.length;return0===e?"":0===arguments.length?T(this,0,e):v.apply(this,arguments)},r.prototype.equals=function(e){if(!r.isBuffer(e))thrownewTypeError("Argument must be a Buffer");returnthis===e||0===r.compare(this,e)},r.prototype.inspect=function(){vare="",i=t.INSPECT_MAX_BYTES;returnthis.length>0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),"<Buffer "+e+">"},r.prototype.compare=function(e,t,i,n,o){if(!r.isBuffer(e))thrownewTypeError("Argument must be a Buffer");if(void0===t&&(t=0),void0===i&&(i=e?e.length:0),void0===n&&(n=0),void0===o&&(o=this.length),t<0||i>e.length||n<0||o>this.length)thrownewRangeError("out of range index");if(n>=o&&t>=i)return0;if(n>=o)return-1;if(t>=i)return1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===e)return0;for(vara=o-n,l=i-t,s=Math.min(a,l),c=this.slice(n,o),u=e.slice(t,i),h=0;h<s;++h)if(c[h]!==u[h]){a=c[h],l=u[h];break}returna<l?-1:l<a?1:0},r.prototype.includes=function(e,t,i){return-1!==this.indexOf(e,t,i)},r.prototype.indexOf=function(e,t,i){returny(this,e,t,i,!0)},r.prototype.lastIndexOf=function(e,t,i){returny(this,e,t,i,!1)},r.prototype.write=function(e,t,i,n){if(void0===t)n="utf8",i=this.length,t=0;elseif(void0===i&&"string"==typeoft)n=t,i=this.length,t=0;else{if(!isFinite(t))thrownewError("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(i)?(i|=0,void0===n&&(n="utf8")):(n=i,i=void0)}varo=this.length-t;if((void0===i||i>o)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)thrownewRangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(varr=!1;;)switch(n){case"hex":return_(this,e,t,i);case"utf8