UNPKG

@web5/user-agent

Version:
1 lines 2.17 MB
var Kwe=Object.create;var i9=Object.defineProperty;var Fwe=Object.getOwnPropertyDescriptor;var zwe=Object.getOwnPropertyNames;var Hwe=Object.getPrototypeOf,Vwe=Object.prototype.hasOwnProperty;var Wwe=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var Gwe=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),$r=(t,e)=>{for(var r in e)i9(t,r,{get:e[r],enumerable:!0})},Jwe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zwe(e))!Vwe.call(t,i)&&i!==r&&i9(t,i,{get:()=>e[i],enumerable:!(n=Fwe(e,i))||n.enumerable});return t};var yt=(t,e,r)=>(r=t!=null?Kwe(Hwe(t)):{},Jwe(e||!t||!t.__esModule?i9(r,"default",{value:t,enumerable:!0}):r,t));var s9=W(y5=>{"use strict";f();y5.byteLength=Ywe;y5.toByteArray=Qwe;y5.fromByteArray=r1e;var cl=[],dd=[],Zwe=typeof Uint8Array<"u"?Uint8Array:Array,o9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(o0=0,oz=o9.length;o0<oz;++o0)cl[o0]=o9[o0],dd[o9.charCodeAt(o0)]=o0;var o0,oz;dd[45]=62;dd[95]=63;function sz(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Ywe(t){var e=sz(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Xwe(t,e,r){return(e+r)*3/4-r}function Qwe(t){var e,r=sz(t),n=r[0],i=r[1],o=new Zwe(Xwe(t,n,i)),s=0,a=i>0?n-4:n,d;for(d=0;d<a;d+=4)e=dd[t.charCodeAt(d)]<<18|dd[t.charCodeAt(d+1)]<<12|dd[t.charCodeAt(d+2)]<<6|dd[t.charCodeAt(d+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=dd[t.charCodeAt(d)]<<2|dd[t.charCodeAt(d+1)]>>4,o[s++]=e&255),i===1&&(e=dd[t.charCodeAt(d)]<<10|dd[t.charCodeAt(d+1)]<<4|dd[t.charCodeAt(d+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function e1e(t){return cl[t>>18&63]+cl[t>>12&63]+cl[t>>6&63]+cl[t&63]}function t1e(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(e1e(n));return i.join("")}function r1e(t){for(var e,r=t.length,n=r%3,i=[],o=16383,s=0,a=r-n;s<a;s+=o)i.push(t1e(t,s,s+o>a?a:s+o));return n===1?(e=t[r-1],i.push(cl[e>>2]+cl[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(cl[e>>10]+cl[e>>4&63]+cl[e<<2&63]+"=")),i.join("")}});var c9=W(a9=>{f();a9.read=function(t,e,r,n,i){var o,s,a=i*8-n-1,d=(1<<a)-1,u=d>>1,c=-7,l=r?i-1:0,p=r?-1:1,y=t[e+l];for(l+=p,o=y&(1<<-c)-1,y>>=-c,c+=a;c>0;o=o*256+t[e+l],l+=p,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=s*256+t[e+l],l+=p,c-=8);if(o===0)o=1-u;else{if(o===d)return s?NaN:(y?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-u}return(y?-1:1)*s*Math.pow(2,o-n)};a9.write=function(t,e,r,n,i,o){var s,a,d,u=o*8-i-1,c=(1<<u)-1,l=c>>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:o-1,g=n?1:-1,v=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-s))<1&&(s--,d*=2),s+l>=1?e+=p/d:e+=p*Math.pow(2,1-l),e*d>=2&&(s++,d/=2),s+l>=c?(a=0,s=c):s+l>=1?(a=(e*d-1)*Math.pow(2,i),s=s+l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;t[r+y]=a&255,y+=g,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;t[r+y]=s&255,y+=g,s/=256,u-=8);t[r+y-g]|=v*128}});var bz=W(xb=>{"use strict";f();var d9=s9(),_b=c9(),az=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;xb.Buffer=be;xb.SlowBuffer=c1e;xb.INSPECT_MAX_BYTES=50;var m5=2147483647;xb.kMaxLength=m5;be.TYPED_ARRAY_SUPPORT=n1e();!be.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function n1e(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(be.prototype,"parent",{enumerable:!0,get:function(){if(be.isBuffer(this))return this.buffer}});Object.defineProperty(be.prototype,"offset",{enumerable:!0,get:function(){if(be.isBuffer(this))return this.byteOffset}});function Mf(t){if(t>m5)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,be.prototype),e}function be(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h9(t)}return uz(t,e,r)}be.poolSize=8192;function uz(t,e,r){if(typeof t=="string")return o1e(t,e);if(ArrayBuffer.isView(t))return s1e(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(dl(t,ArrayBuffer)||t&&dl(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(dl(t,SharedArrayBuffer)||t&&dl(t.buffer,SharedArrayBuffer)))return l9(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return be.from(n,e,r);var i=a1e(t);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return be.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}be.from=function(t,e,r){return uz(t,e,r)};Object.setPrototypeOf(be.prototype,Uint8Array.prototype);Object.setPrototypeOf(be,Uint8Array);function lz(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function i1e(t,e,r){return lz(t),t<=0?Mf(t):e!==void 0?typeof r=="string"?Mf(t).fill(e,r):Mf(t).fill(e):Mf(t)}be.alloc=function(t,e,r){return i1e(t,e,r)};function h9(t){return lz(t),Mf(t<0?0:p9(t)|0)}be.allocUnsafe=function(t){return h9(t)};be.allocUnsafeSlow=function(t){return h9(t)};function o1e(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!be.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=fz(t,e)|0,n=Mf(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function u9(t){for(var e=t.length<0?0:p9(t.length)|0,r=Mf(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function s1e(t){if(dl(t,Uint8Array)){var e=new Uint8Array(t);return l9(e.buffer,e.byteOffset,e.byteLength)}return u9(t)}function l9(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,be.prototype),n}function a1e(t){if(be.isBuffer(t)){var e=p9(t.length)|0,r=Mf(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||y9(t.length)?Mf(0):u9(t);if(t.type==="Buffer"&&Array.isArray(t.data))return u9(t.data)}function p9(t){if(t>=m5)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+m5.toString(16)+" bytes");return t|0}function c1e(t){return+t!=t&&(t=0),be.alloc(+t)}be.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==be.prototype};be.compare=function(e,r){if(dl(e,Uint8Array)&&(e=be.from(e,e.offset,e.byteLength)),dl(r,Uint8Array)&&(r=be.from(r,r.offset,r.byteLength)),!be.isBuffer(e)||!be.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};be.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}};be.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return be.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=be.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var s=e[n];if(dl(s,Uint8Array))o+s.length>i.length?be.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(be.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function fz(t,e){if(be.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||dl(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return f9(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return vz(t).length;default:if(i)return n?-1:f9(t).length;e=(""+e).toLowerCase(),i=!0}}be.byteLength=fz;function d1e(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return b1e(this,e,r);case"utf8":case"utf-8":return pz(this,e,r);case"ascii":return g1e(this,e,r);case"latin1":case"binary":return v1e(this,e,r);case"base64":return y1e(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w1e(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}be.prototype._isBuffer=!0;function s0(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}be.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)s0(this,r,r+1);return this};be.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)s0(this,r,r+3),s0(this,r+1,r+2);return this};be.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)s0(this,r,r+7),s0(this,r+1,r+6),s0(this,r+2,r+5),s0(this,r+3,r+4);return this};be.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?pz(this,0,e):d1e.apply(this,arguments)};be.prototype.toLocaleString=be.prototype.toString;be.prototype.equals=function(e){if(!be.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:be.compare(this,e)===0};be.prototype.inspect=function(){var e="",r=xb.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};az&&(be.prototype[az]=be.prototype.inspect);be.prototype.compare=function(e,r,n,i,o){if(dl(e,Uint8Array)&&(e=be.from(e,e.offset,e.byteLength)),!be.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,a=n-r,d=Math.min(s,a),u=this.slice(i,o),c=e.slice(r,n),l=0;l<d;++l)if(u[l]!==c[l]){s=u[l],a=c[l];break}return s<a?-1:a<s?1:0};function hz(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,y9(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=be.from(e,n)),be.isBuffer(e))return e.length===0?-1:cz(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):cz(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function cz(t,e,r,n,i){var o=1,s=t.length,a=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,s/=2,a/=2,r/=2}function d(y,g){return o===1?y[g]:y.readUInt16BE(g*o)}var u;if(i){var c=-1;for(u=r;u<s;u++)if(d(t,u)===d(e,c===-1?0:u-c)){if(c===-1&&(c=u),u-c+1===a)return c*o}else c!==-1&&(u-=u-c),c=-1}else for(r+a>s&&(r=s-a),u=r;u>=0;u--){for(var l=!0,p=0;p<a;p++)if(d(t,u+p)!==d(e,p)){l=!1;break}if(l)return u}return-1}be.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};be.prototype.indexOf=function(e,r,n){return hz(this,e,r,n,!0)};be.prototype.lastIndexOf=function(e,r,n){return hz(this,e,r,n,!1)};function u1e(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(e.substr(s*2,2),16);if(y9(a))return s;t[r+s]=a}return s}function l1e(t,e,r,n){return g5(f9(e,t.length-r),t,r,n)}function f1e(t,e,r,n){return g5(E1e(e),t,r,n)}function h1e(t,e,r,n){return g5(vz(e),t,r,n)}function p1e(t,e,r,n){return g5(S1e(e,t.length-r),t,r,n)}be.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return u1e(this,e,r,n);case"utf8":case"utf-8":return l1e(this,e,r,n);case"ascii":case"latin1":case"binary":return f1e(this,e,r,n);case"base64":return h1e(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p1e(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};be.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function y1e(t,e,r){return e===0&&r===t.length?d9.fromByteArray(t):d9.fromByteArray(t.slice(e,r))}function pz(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){var d,u,c,l;switch(a){case 1:o<128&&(s=o);break;case 2:d=t[i+1],(d&192)===128&&(l=(o&31)<<6|d&63,l>127&&(s=l));break;case 3:d=t[i+1],u=t[i+2],(d&192)===128&&(u&192)===128&&(l=(o&15)<<12|(d&63)<<6|u&63,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:d=t[i+1],u=t[i+2],c=t[i+3],(d&192)===128&&(u&192)===128&&(c&192)===128&&(l=(o&15)<<18|(d&63)<<12|(u&63)<<6|c&63,l>65535&&l<1114112&&(s=l))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=a}return m1e(n)}var dz=4096;function m1e(t){var e=t.length;if(e<=dz)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=dz));return r}function g1e(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function v1e(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function b1e(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=A1e[t[o]];return i}function w1e(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}be.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,be.prototype),i};function bo(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}be.prototype.readUintLE=be.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||bo(e,r,this.length);for(var i=this[e],o=1,s=0;++s<r&&(o*=256);)i+=this[e+s]*o;return i};be.prototype.readUintBE=be.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||bo(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};be.prototype.readUint8=be.prototype.readUInt8=function(e,r){return e=e>>>0,r||bo(e,1,this.length),this[e]};be.prototype.readUint16LE=be.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||bo(e,2,this.length),this[e]|this[e+1]<<8};be.prototype.readUint16BE=be.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||bo(e,2,this.length),this[e]<<8|this[e+1]};be.prototype.readUint32LE=be.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||bo(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};be.prototype.readUint32BE=be.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||bo(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};be.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||bo(e,r,this.length);for(var i=this[e],o=1,s=0;++s<r&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};be.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||bo(e,r,this.length);for(var i=r,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*r)),s};be.prototype.readInt8=function(e,r){return e=e>>>0,r||bo(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};be.prototype.readInt16LE=function(e,r){e=e>>>0,r||bo(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};be.prototype.readInt16BE=function(e,r){e=e>>>0,r||bo(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};be.prototype.readInt32LE=function(e,r){return e=e>>>0,r||bo(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};be.prototype.readInt32BE=function(e,r){return e=e>>>0,r||bo(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};be.prototype.readFloatLE=function(e,r){return e=e>>>0,r||bo(e,4,this.length),_b.read(this,e,!0,23,4)};be.prototype.readFloatBE=function(e,r){return e=e>>>0,r||bo(e,4,this.length),_b.read(this,e,!1,23,4)};be.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||bo(e,8,this.length),_b.read(this,e,!0,52,8)};be.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||bo(e,8,this.length),_b.read(this,e,!1,52,8)};function qa(t,e,r,n,i,o){if(!be.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}be.prototype.writeUintLE=be.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;qa(this,e,r,n,o,0)}var s=1,a=0;for(this[r]=e&255;++a<n&&(s*=256);)this[r+a]=e/s&255;return r+n};be.prototype.writeUintBE=be.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;qa(this,e,r,n,o,0)}var s=n-1,a=1;for(this[r+s]=e&255;--s>=0&&(a*=256);)this[r+s]=e/a&255;return r+n};be.prototype.writeUint8=be.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,1,255,0),this[r]=e&255,r+1};be.prototype.writeUint16LE=be.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};be.prototype.writeUint16BE=be.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};be.prototype.writeUint32LE=be.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};be.prototype.writeUint32BE=be.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};be.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);qa(this,e,r,n,o-1,-o)}var s=0,a=1,d=0;for(this[r]=e&255;++s<n&&(a*=256);)e<0&&d===0&&this[r+s-1]!==0&&(d=1),this[r+s]=(e/a>>0)-d&255;return r+n};be.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);qa(this,e,r,n,o-1,-o)}var s=n-1,a=1,d=0;for(this[r+s]=e&255;--s>=0&&(a*=256);)e<0&&d===0&&this[r+s+1]!==0&&(d=1),this[r+s]=(e/a>>0)-d&255;return r+n};be.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};be.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};be.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};be.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};be.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||qa(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function yz(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function mz(t,e,r,n,i){return e=+e,r=r>>>0,i||yz(t,e,r,4,34028234663852886e22,-34028234663852886e22),_b.write(t,e,r,n,23,4),r+4}be.prototype.writeFloatLE=function(e,r,n){return mz(this,e,r,!0,n)};be.prototype.writeFloatBE=function(e,r,n){return mz(this,e,r,!1,n)};function gz(t,e,r,n,i){return e=+e,r=r>>>0,i||yz(t,e,r,8,17976931348623157e292,-17976931348623157e292),_b.write(t,e,r,n,52,8),r+8}be.prototype.writeDoubleLE=function(e,r,n){return gz(this,e,r,!0,n)};be.prototype.writeDoubleBE=function(e,r,n){return gz(this,e,r,!1,n)};be.prototype.copy=function(e,r,n,i){if(!be.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};be.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!be.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var a=be.isBuffer(e)?e:be.from(e,i),d=a.length;if(d===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=a[s%d]}return this};var _1e=/[^+/0-9A-Za-z-_]/g;function x1e(t){if(t=t.split("=")[0],t=t.trim().replace(_1e,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function f9(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function E1e(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function S1e(t,e){for(var r,n,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function vz(t){return d9.toByteArray(x1e(t))}function g5(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function dl(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function y9(t){return t!==t}var A1e=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Bs=W((Nrt,Ez)=>{f();var Ai=Ez.exports={},ul,ll;function m9(){throw new Error("setTimeout has not been defined")}function g9(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ul=setTimeout:ul=m9}catch{ul=m9}try{typeof clearTimeout=="function"?ll=clearTimeout:ll=g9}catch{ll=g9}})();function wz(t){if(ul===setTimeout)return setTimeout(t,0);if((ul===m9||!ul)&&setTimeout)return ul=setTimeout,setTimeout(t,0);try{return ul(t,0)}catch{try{return ul.call(null,t,0)}catch{return ul.call(this,t,0)}}}function T1e(t){if(ll===clearTimeout)return clearTimeout(t);if((ll===g9||!ll)&&clearTimeout)return ll=clearTimeout,clearTimeout(t);try{return ll(t)}catch{try{return ll.call(null,t)}catch{return ll.call(this,t)}}}var Df=[],Eb=!1,a0,v5=-1;function I1e(){!Eb||!a0||(Eb=!1,a0.length?Df=a0.concat(Df):v5=-1,Df.length&&_z())}function _z(){if(!Eb){var t=wz(I1e);Eb=!0;for(var e=Df.length;e;){for(a0=Df,Df=[];++v5<e;)a0&&a0[v5].run();v5=-1,e=Df.length}a0=null,Eb=!1,T1e(t)}}Ai.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Df.push(new xz(t,e)),Df.length===1&&!Eb&&wz(_z)};function xz(t,e){this.fun=t,this.array=e}xz.prototype.run=function(){this.fun.apply(null,this.array)};Ai.title="browser";Ai.browser=!0;Ai.env={};Ai.argv=[];Ai.version="";Ai.versions={};function Cf(){}Ai.on=Cf;Ai.addListener=Cf;Ai.once=Cf;Ai.off=Cf;Ai.removeListener=Cf;Ai.removeAllListeners=Cf;Ai.emit=Cf;Ai.prependListener=Cf;Ai.prependOnceListener=Cf;Ai.listeners=function(t){return[]};Ai.binding=function(t){throw new Error("process.binding is not supported")};Ai.cwd=function(){return"/"};Ai.chdir=function(t){throw new Error("process.chdir is not supported")};Ai.umask=function(){return 0}});var D,k,qrt,f=Gwe(()=>{D=yt(bz()),k=yt(Bs()),qrt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Az=W((Krt,Sz)=>{f();var P1e=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;Sz.exports=P1e});var Iz=W((zrt,Tz)=>{f();var k1e=Az(),R1e=typeof self=="object"&&self&&self.Object===Object&&self,B1e=k1e||R1e||Function("return this")();Tz.exports=B1e});var v9=W((Vrt,Pz)=>{f();var O1e=Iz(),M1e=O1e.Symbol;Pz.exports=M1e});var Oz=W((Grt,Bz)=>{f();var kz=v9(),Rz=Object.prototype,D1e=Rz.hasOwnProperty,C1e=Rz.toString,A_=kz?kz.toStringTag:void 0;function $1e(t){var e=D1e.call(t,A_),r=t[A_];try{t[A_]=void 0;var n=!0}catch{}var i=C1e.call(t);return n&&(e?t[A_]=r:delete t[A_]),i}Bz.exports=$1e});var Dz=W((Zrt,Mz)=>{f();var j1e=Object.prototype,N1e=j1e.toString;function U1e(t){return N1e.call(t)}Mz.exports=U1e});var Nz=W((Xrt,jz)=>{f();var Cz=v9(),q1e=Oz(),L1e=Dz(),K1e="[object Null]",F1e="[object Undefined]",$z=Cz?Cz.toStringTag:void 0;function z1e(t){return t==null?t===void 0?F1e:K1e:$z&&$z in Object(t)?q1e(t):L1e(t)}jz.exports=z1e});var qz=W((ent,Uz)=>{f();function H1e(t,e){return function(r){return t(e(r))}}Uz.exports=H1e});var Kz=W((rnt,Lz)=>{f();var V1e=qz(),W1e=V1e(Object.getPrototypeOf,Object);Lz.exports=W1e});var zz=W((int,Fz)=>{f();function G1e(t){return t!=null&&typeof t=="object"}Fz.exports=G1e});var Wz=W((snt,Vz)=>{f();var J1e=Nz(),Z1e=Kz(),Y1e=zz(),X1e="[object Object]",Q1e=Function.prototype,e2e=Object.prototype,Hz=Q1e.toString,t2e=e2e.hasOwnProperty,r2e=Hz.call(Object);function n2e(t){if(!Y1e(t)||J1e(t)!=X1e)return!1;var e=Z1e(t);if(e===null)return!0;var r=t2e.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Hz.call(r)==r2e}Vz.exports=n2e});var Ac=W((Vdt,pG)=>{"use strict";f();function hG(t,e){for(let r in e)Object.defineProperty(t,r,{value:e[r],enumerable:!0,configurable:!0});return t}function G6e(t,e,r){if(!t||typeof t=="string")throw new TypeError("Please pass an Error to err-code");r||(r={}),typeof e=="object"&&(r=e,e=""),e&&(r.code=e);try{return hG(t,r)}catch{r.message=t.message,r.stack=t.stack;let i=function(){};return i.prototype=Object.create(Object.getPrototypeOf(t)),hG(new i,r)}}pG.exports=G6e});var dJ=W((bx,l8)=>{f();(function(t,e){"use strict";var r={version:"3.0.0",x86:{},x64:{},inputValidation:!0};function n(y){if(!Array.isArray(y)&&!ArrayBuffer.isView(y))return!1;for(var g=0;g<y.length;g++)if(!Number.isInteger(y[g])||y[g]<0||y[g]>255)return!1;return!0}function i(y,g){return(y&65535)*g+(((y>>>16)*g&65535)<<16)}function o(y,g){return y<<g|y>>>32-g}function s(y){return y^=y>>>16,y=i(y,2246822507),y^=y>>>13,y=i(y,3266489909),y^=y>>>16,y}function a(y,g){y=[y[0]>>>16,y[0]&65535,y[1]>>>16,y[1]&65535],g=[g[0]>>>16,g[0]&65535,g[1]>>>16,g[1]&65535];var v=[0,0,0,0];return v[3]+=y[3]+g[3],v[2]+=v[3]>>>16,v[3]&=65535,v[2]+=y[2]+g[2],v[1]+=v[2]>>>16,v[2]&=65535,v[1]+=y[1]+g[1],v[0]+=v[1]>>>16,v[1]&=65535,v[0]+=y[0]+g[0],v[0]&=65535,[v[0]<<16|v[1],v[2]<<16|v[3]]}function d(y,g){y=[y[0]>>>16,y[0]&65535,y[1]>>>16,y[1]&65535],g=[g[0]>>>16,g[0]&65535,g[1]>>>16,g[1]&65535];var v=[0,0,0,0];return v[3]+=y[3]*g[3],v[2]+=v[3]>>>16,v[3]&=65535,v[2]+=y[2]*g[3],v[1]+=v[2]>>>16,v[2]&=65535,v[2]+=y[3]*g[2],v[1]+=v[2]>>>16,v[2]&=65535,v[1]+=y[1]*g[3],v[0]+=v[1]>>>16,v[1]&=65535,v[1]+=y[2]*g[2],v[0]+=v[1]>>>16,v[1]&=65535,v[1]+=y[3]*g[1],v[0]+=v[1]>>>16,v[1]&=65535,v[0]+=y[0]*g[3]+y[1]*g[2]+y[2]*g[1]+y[3]*g[0],v[0]&=65535,[v[0]<<16|v[1],v[2]<<16|v[3]]}function u(y,g){return g%=64,g===32?[y[1],y[0]]:g<32?[y[0]<<g|y[1]>>>32-g,y[1]<<g|y[0]>>>32-g]:(g-=32,[y[1]<<g|y[0]>>>32-g,y[0]<<g|y[1]>>>32-g])}function c(y,g){return g%=64,g===0?y:g<32?[y[0]<<g|y[1]>>>32-g,y[1]<<g]:[y[1]<<g-32,0]}function l(y,g){return[y[0]^g[0],y[1]^g[1]]}function p(y){return y=l(y,[0,y[0]>>>1]),y=d(y,[4283543511,3981806797]),y=l(y,[0,y[0]>>>1]),y=d(y,[3301882366,444984403]),y=l(y,[0,y[0]>>>1]),y}r.x86.hash32=function(y,g){if(r.inputValidation&&!n(y))return e;g=g||0;for(var v=y.length%4,E=y.length-v,S=g,P=0,A=3432918353,j=461845907,$=0;$<E;$=$+4)P=y[$]|y[$+1]<<8|y[$+2]<<16|y[$+3]<<24,P=i(P,A),P=o(P,15),P=i(P,j),S^=P,S=o(S,13),S=i(S,5)+3864292196;switch(P=0,v){case 3:P^=y[$+2]<<16;case 2:P^=y[$+1]<<8;case 1:P^=y[$],P=i(P,A),P=o(P,15),P=i(P,j),S^=P}return S^=y.length,S=s(S),S>>>0},r.x86.hash128=function(y,g){if(r.inputValidation&&!n(y))return e;g=g||0;for(var v=y.length%16,E=y.length-v,S=g,P=g,A=g,j=g,$=0,q=0,F=0,K=0,H=597399067,L=2869860233,I=951274213,T=2716044179,O=0;O<E;O=O+16)$=y[O]|y[O+1]<<8|y[O+2]<<16|y[O+3]<<24,q=y[O+4]|y[O+5]<<8|y[O+6]<<16|y[O+7]<<24,F=y[O+8]|y[O+9]<<8|y[O+10]<<16|y[O+11]<<24,K=y[O+12]|y[O+13]<<8|y[O+14]<<16|y[O+15]<<24,$=i($,H),$=o($,15),$=i($,L),S^=$,S=o(S,19),S+=P,S=i(S,5)+1444728091,q=i(q,L),q=o(q,16),q=i(q,I),P^=q,P=o(P,17),P+=A,P=i(P,5)+197830471,F=i(F,I),F=o(F,17),F=i(F,T),A^=F,A=o(A,15),A+=j,A=i(A,5)+2530024501,K=i(K,T),K=o(K,18),K=i(K,H),j^=K,j=o(j,13),j+=S,j=i(j,5)+850148119;switch($=0,q=0,F=0,K=0,v){case 15:K^=y[O+14]<<16;case 14:K^=y[O+13]<<8;case 13:K^=y[O+12],K=i(K,T),K=o(K,18),K=i(K,H),j^=K;case 12:F^=y[O+11]<<24;case 11:F^=y[O+10]<<16;case 10:F^=y[O+9]<<8;case 9:F^=y[O+8],F=i(F,I),F=o(F,17),F=i(F,T),A^=F;case 8:q^=y[O+7]<<24;case 7:q^=y[O+6]<<16;case 6:q^=y[O+5]<<8;case 5:q^=y[O+4],q=i(q,L),q=o(q,16),q=i(q,I),P^=q;case 4:$^=y[O+3]<<24;case 3:$^=y[O+2]<<16;case 2:$^=y[O+1]<<8;case 1:$^=y[O],$=i($,H),$=o($,15),$=i($,L),S^=$}return S^=y.length,P^=y.length,A^=y.length,j^=y.length,S+=P,S+=A,S+=j,P+=S,A+=S,j+=S,S=s(S),P=s(P),A=s(A),j=s(j),S+=P,S+=A,S+=j,P+=S,A+=S,j+=S,("00000000"+(S>>>0).toString(16)).slice(-8)+("00000000"+(P>>>0).toString(16)).slice(-8)+("00000000"+(A>>>0).toString(16)).slice(-8)+("00000000"+(j>>>0).toString(16)).slice(-8)},r.x64.hash128=function(y,g){if(r.inputValidation&&!n(y))return e;g=g||0;for(var v=y.length%16,E=y.length-v,S=[0,g],P=[0,g],A=[0,0],j=[0,0],$=[2277735313,289559509],q=[1291169091,658871167],F=0;F<E;F=F+16)A=[y[F+4]|y[F+5]<<8|y[F+6]<<16|y[F+7]<<24,y[F]|y[F+1]<<8|y[F+2]<<16|y[F+3]<<24],j=[y[F+12]|y[F+13]<<8|y[F+14]<<16|y[F+15]<<24,y[F+8]|y[F+9]<<8|y[F+10]<<16|y[F+11]<<24],A=d(A,$),A=u(A,31),A=d(A,q),S=l(S,A),S=u(S,27),S=a(S,P),S=a(d(S,[0,5]),[0,1390208809]),j=d(j,q),j=u(j,33),j=d(j,$),P=l(P,j),P=u(P,31),P=a(P,S),P=a(d(P,[0,5]),[0,944331445]);switch(A=[0,0],j=[0,0],v){case 15:j=l(j,c([0,y[F+14]],48));case 14:j=l(j,c([0,y[F+13]],40));case 13:j=l(j,c([0,y[F+12]],32));case 12:j=l(j,c([0,y[F+11]],24));case 11:j=l(j,c([0,y[F+10]],16));case 10:j=l(j,c([0,y[F+9]],8));case 9:j=l(j,[0,y[F+8]]),j=d(j,q),j=u(j,33),j=d(j,$),P=l(P,j);case 8:A=l(A,c([0,y[F+7]],56));case 7:A=l(A,c([0,y[F+6]],48));case 6:A=l(A,c([0,y[F+5]],40));case 5:A=l(A,c([0,y[F+4]],32));case 4:A=l(A,c([0,y[F+3]],24));case 3:A=l(A,c([0,y[F+2]],16));case 2:A=l(A,c([0,y[F+1]],8));case 1:A=l(A,[0,y[F]]),A=d(A,$),A=u(A,31),A=d(A,q),S=l(S,A)}return S=l(S,[0,y.length]),P=l(P,[0,y.length]),S=a(S,P),P=a(P,S),S=p(S),P=p(P),S=a(S,P),P=a(P,S),("00000000"+(S[0]>>>0).toString(16)).slice(-8)+("00000000"+(S[1]>>>0).toString(16)).slice(-8)+("00000000"+(P[0]>>>0).toString(16)).slice(-8)+("00000000"+(P[1]>>>0).toString(16)).slice(-8)},typeof bx<"u"?(typeof l8<"u"&&l8.exports&&(bx=l8.exports=r),bx.murmurHash3=r):typeof define=="function"&&define.amd?define([],function(){return r}):(r._murmurHash3=t.murmurHash3,r.noConflict=function(){return t.murmurHash3=r._murmurHash3,r._murmurHash3=e,r.noConflict=e,r},t.murmurHash3=r)})(bx)});var lJ=W((xht,uJ)=>{f();uJ.exports=dJ()});var pJ=W((Bht,hJ)=>{"use strict";f();hJ.exports=class{constructor(){this._bitArrays=[],this._data=[],this._length=0,this._changedLength=!1,this._changedData=!1}set(e,r){let n=this._internalPositionFor(e,!1);if(r===void 0)n!==-1&&(this._unsetInternalPos(n),this._unsetBit(e),this._changedLength=!0,this._changedData=!0);else{let i=!1;n===-1?(n=this._data.length,this._setBit(e),this._changedData=!0):i=!0,this._setInternalPos(n,e,r,i),this._changedLength=!0}}unset(e){this.set(e,void 0)}get(e){this._sortData();let r=this._internalPositionFor(e,!0);if(r!==-1)return this._data[r][1]}push(e){return this.set(this.length,e),this.length}get length(){if(this._sortData(),this._changedLength){let e=this._data[this._data.length-1];this._length=e?e[0]+1:0,this._changedLength=!1}return this._length}forEach(e){let r=0;for(;r<this.length;)e(this.get(r),r,this),r++}map(e){let r=0,n=new Array(this.length);for(;r<this.length;)n[r]=e(this.get(r),r,this),r++;return n}reduce(e,r){let n=0,i=r;for(;n<this.length;){let o=this.get(n);i=e(i,o,n),n++}return i}find(e){let r=0,n,i;for(;r<this.length&&!n;)i=this.get(r),n=e(i),r++;return n?i:void 0}_internalPositionFor(e,r){let n=this._bytePosFor(e,r);if(n>=this._bitArrays.length)return-1;let i=this._bitArrays[n],o=e-n*7;if(!((i&1<<o)>0))return-1;let a=this._bitArrays.slice(0,n).reduce(t3e,0),d=~(4294967295<<o+1),u=fJ(i&d);return a+u-1}_bytePosFor(e,r){let n=Math.floor(e/7),i=n+1;for(;!r&&this._bitArrays.length<i;)this._bitArrays.push(0);return n}_setBit(e){let r=this._bytePosFor(e,!1);this._bitArrays[r]|=1<<e-r*7}_unsetBit(e){let r=this._bytePosFor(e,!1);this._bitArrays[r]&=~(1<<e-r*7)}_setInternalPos(e,r,n,i){let o=this._data,s=[r,n];if(i)this._sortData(),o[e]=s;else{if(o.length)if(o[o.length-1][0]>=r)o.push(s);else if(o[0][0]<=r)o.unshift(s);else{let a=Math.round(o.length/2);this._data=o.slice(0,a).concat(s).concat(o.slice(a))}else this._data.push(s);this._changedData=!0,this._changedLength=!0}}_unsetInternalPos(e){this._data.splice(e,1)}_sortData(){this._changedData&&this._data.sort(r3e),this._changedData=!1}bitField(){let e=[],r=8,n=0,i=0,o,s=this._bitArrays.slice();for(;s.length||n;){n===0&&(o=s.shift(),n=7);let d=Math.min(n,r),u=~(255<<d),c=o&u;i|=c<<8-r,o=o>>>d,n-=d,r-=d,(!r||!n&&!s.length)&&(e.push(i),i=0,r=8)}for(var a=e.length-1;a>0&&e[a]===0;a--)e.pop();return e}compactArray(){return this._sortData(),this._data.map(n3e)}};function t3e(t,e){return t+fJ(e)}function fJ(t){let e=t;return e=e-(e>>1&1431655765),e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>24}function r3e(t,e){return t[0]-e[0]}function n3e(t){return t[1]}});var fn=W(uw=>{"use strict";f();var j7=s9(),cw=c9(),PJ=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;uw.Buffer=ge;uw.SlowBuffer=_3e;uw.INSPECT_MAX_BYTES=50;var g8=2147483647;uw.kMaxLength=g8;ge.TYPED_ARRAY_SUPPORT=m3e();!ge.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function m3e(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(ge.prototype,"parent",{enumerable:!0,get:function(){if(ge.isBuffer(this))return this.buffer}});Object.defineProperty(ge.prototype,"offset",{enumerable:!0,get:function(){if(ge.isBuffer(this))return this.byteOffset}});function Jf(t){if(t>g8)throw new RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,ge.prototype),e}function ge(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return L7(t)}return OJ(t,e,r)}ge.poolSize=8192;function OJ(t,e,r){if(typeof t=="string")return v3e(t,e);if(ArrayBuffer.isView(t))return b3e(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_l(t,ArrayBuffer)||t&&_l(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(_l(t,SharedArrayBuffer)||t&&_l(t.buffer,SharedArrayBuffer)))return U7(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return ge.from(n,e,r);let i=w3e(t);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return ge.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}ge.from=function(t,e,r){return OJ(t,e,r)};Object.setPrototypeOf(ge.prototype,Uint8Array.prototype);Object.setPrototypeOf(ge,Uint8Array);function MJ(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function g3e(t,e,r){return MJ(t),t<=0?Jf(t):e!==void 0?typeof r=="string"?Jf(t).fill(e,r):Jf(t).fill(e):Jf(t)}ge.alloc=function(t,e,r){return g3e(t,e,r)};function L7(t){return MJ(t),Jf(t<0?0:K7(t)|0)}ge.allocUnsafe=function(t){return L7(t)};ge.allocUnsafeSlow=function(t){return L7(t)};function v3e(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!ge.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let r=DJ(t,e)|0,n=Jf(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function N7(t){let e=t.length<0?0:K7(t.length)|0,r=Jf(e);for(let n=0;n<e;n+=1)r[n]=t[n]&255;return r}function b3e(t){if(_l(t,Uint8Array)){let e=new Uint8Array(t);return U7(e.buffer,e.byteOffset,e.byteLength)}return N7(t)}function U7(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,ge.prototype),n}function w3e(t){if(ge.isBuffer(t)){let e=K7(t.length)|0,r=Jf(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||z7(t.length)?Jf(0):N7(t);if(t.type==="Buffer"&&Array.isArray(t.data))return N7(t.data)}function K7(t){if(t>=g8)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g8.toString(16)+" bytes");return t|0}function _3e(t){return+t!=t&&(t=0),ge.alloc(+t)}ge.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==ge.prototype};ge.compare=function(e,r){if(_l(e,Uint8Array)&&(e=ge.from(e,e.offset,e.byteLength)),_l(r,Uint8Array)&&(r=ge.from(r,r.offset,r.byteLength)),!ge.isBuffer(e)||!ge.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;let n=e.length,i=r.length;for(let o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};ge.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}};ge.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return ge.alloc(0);let n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;let i=ge.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){let s=e[n];if(_l(s,Uint8Array))o+s.length>i.length?(ge.isBuffer(s)||(s=ge.from(s)),s.copy(i,o)):Uint8Array.prototype.set.call(i,s,o);else if(ge.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function DJ(t,e){if(ge.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_l(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return q7(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return FJ(t).length;default:if(i)return n?-1:q7(t).length;e=(""+e).toLowerCase(),i=!0}}ge.byteLength=DJ;function x3e(t,e,r){let n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return O3e(this,e,r);case"utf8":case"utf-8":return $J(this,e,r);case"ascii":return R3e(this,e,r);case"latin1":case"binary":return B3e(this,e,r);case"base64":return P3e(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M3e(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}ge.prototype._isBuffer=!0;function j0(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}ge.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;r<e;r+=2)j0(this,r,r+1);return this};ge.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let r=0;r<e;r+=4)j0(this,r,r+3),j0(this,r+1,r+2);return this};ge.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let r=0;r<e;r+=8)j0(this,r,r+7),j0(this,r+1,r+6),j0(this,r+2,r+5),j0(this,r+3,r+4);return this};ge.prototype.toString=function(){let e=this.length;return e===0?"":arguments.length===0?$J(this,0,e):x3e.apply(this,arguments)};ge.prototype.toLocaleString=ge.prototype.toString;ge.prototype.equals=function(e){if(!ge.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:ge.compare(this,e)===0};ge.prototype.inspect=function(){let e="",r=uw.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};PJ&&(ge.prototype[PJ]=ge.prototype.inspect);ge.prototype.compare=function(e,r,n,i,o){if(_l(e,Uint8Array)&&(e=ge.from(e,e.offset,e.byteLength)),!ge.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;let s=o-i,a=n-r,d=Math.min(s,a),u=this.slice(i,o),c=e.slice(r,n);for(let l=0;l<d;++l)if(u[l]!==c[l]){s=u[l],a=c[l];break}return s<a?-1:a<s?1:0};function CJ(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,z7(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=ge.from(e,n)),ge.isBuffer(e))return e.length===0?-1:kJ(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):kJ(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function kJ(t,e,r,n,i){let o=1,s=t.length,a=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,s/=2,a/=2,r/=2}function d(c,l){return o===1?c[l]:c.readUInt16BE(l*o)}let u;if(i){let c=-1;for(u=r;u<s;u++)if(d(t,u)===d(e,c===-1?0:u-c)){if(c===-1&&(c=u),u-c+1===a)return c*o}else c!==-1&&(u-=u-c),c=-1}else for(r+a>s&&(r=s-a),u=r;u>=0;u--){let c=!0;for(let l=0;l<a;l++)if(d(t,u+l)!==d(e,l)){c=!1;break}if(c)return u}return-1}ge.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};ge.prototype.indexOf=function(e,r,n){return CJ(this,e,r,n,!0)};ge.prototype.lastIndexOf=function(e,r,n){return CJ(this,e,r,n,!1)};function E3e(t,e,r,n){r=Number(r)||0;let i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;let o=e.length;n>o/2&&(n=o/2);let s;for(s=0;s<n;++s){let a=parseInt(e.substr(s*2,2),16);if(z7(a))return s;t[r+s]=a}return s}function S3e(t,e,r,n){return v8(q7(e,t.length-r),t,r,n)}function A3e(t,e,r,n){return v8(j3e(e),t,r,n)}function T3e(t,e,r,n){return v8(FJ(e),t,r,n)}function I3e(t,e,r,n){return v8(N3e(e,t.length-r),t,r,n)}ge.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let s=!1;for(;;)switch(i){case"hex":return E3e(this,e,r,n);case"utf8":case"utf-8":return S3e(this,e,r,n);case"ascii":case"latin1":case"binary":return A3e(this,e,r,n);case"base64":return T3e(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I3e(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};ge.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P3e(t,e,r){return e===0&&r===t.length?j7.fromByteArray(t):j7.fromByteArray(t.slice(e,r))}function $J(t,e,r){r=Math.min(t.length,r);let n=[],i=e;for(;i<r;){let o=t[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){let d,u,c,l;switch(a){case 1:o<128&&(s=o);break;case 2:d=t[i+1],(d&192)===128&&(l=(o&31)<<6|d&63,l>127&&(s=l));break;case 3:d=t[i+1],u=t[i+2],(d&192)===128&&(u&192)===128&&(l=(o&15)<<12|(d&63)<<6|u&63,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:d=t[i+1],u=t[i+2],c=t[i+3],(d&192)===128&&(u&192)===128&&(c&192)===128&&(l=(o&15)<<18|(d&63)<<12|(u&63)<<6|c&63,l>65535&&l<1114112&&(s=l))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=a}return k3e(n)}var RJ=4096;function k3e(t){let e=t.length;if(e<=RJ)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=RJ));return r}function R3e(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function B3e(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function O3e(t,e,r){let n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let o=e;o<r;++o)i+=U3e[t[o]];return i}function M3e(t,e,r){let n=t.slice(e,r),i="";for(let o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}ge.prototype.slice=function(e,r){let n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);let i=this.subarray(e,r);return Object.setPrototypeOf(i,ge.prototype),i};function Io(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}ge.prototype.readUintLE=ge.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||Io(e,r,this.length);let i=this[e],o=1,s=0;for(;++s<r&&(o*=256);)i+=this[e+s]*o;return i};ge.prototype.readUintBE=ge.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||Io(e,r,this.length);let i=this[e+--r],o=1;for(;r>0&&(o*=256);)i+=this[e+--r]*o;return i};ge.prototype.readUint8=ge.prototype.readUInt8=function(e,r){return e=e>>>0,r||Io(e,1,this.length),this[e]};ge.prototype.readUint16LE=ge.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||Io(e,2,this.length),this[e]|this[e+1]<<8};ge.proto