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