ncc-client-poc 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ var Et=Object.defineProperty;var St=(e,t,a)=>t in e?Et(e,t,{enumerable:!0,config
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
5
5
  * @license MIT
6
6
  */(function(L){const J=a,Y=F,ae=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;L.Buffer=n,L.SlowBuffer=I,L.INSPECT_MAX_BYTES=50;const oe=2147483647;L.kMaxLength=oe;const{Uint8Array:ue,ArrayBuffer:se,SharedArrayBuffer:ie}=globalThis;n.TYPED_ARRAY_SUPPORT=ce(),!n.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 ce(){try{const z=new ue(1),N={foo:function(){return 42}};return Object.setPrototypeOf(N,ue.prototype),Object.setPrototypeOf(z,N),z.foo()===42}catch{return!1}}Object.defineProperty(n.prototype,"parent",{enumerable:!0,get:function(){if(n.isBuffer(this))return this.buffer}}),Object.defineProperty(n.prototype,"offset",{enumerable:!0,get:function(){if(n.isBuffer(this))return this.byteOffset}});function $(z){if(z>oe)throw new RangeError('The value "'+z+'" is invalid for option "size"');const N=new ue(z);return Object.setPrototypeOf(N,n.prototype),N}function n(z,N,H){if(typeof z=="number"){if(typeof N=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(z)}return l(z,N,H)}n.poolSize=8192;function l(z,N,H){if(typeof z=="string")return b(z,N);if(se.isView(z))return v(z);if(z==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof z);if(Pe(z,se)||z&&Pe(z.buffer,se)||typeof ie<"u"&&(Pe(z,ie)||z&&Pe(z.buffer,ie)))return o(z,N,H);if(typeof z=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Q=z.valueOf&&z.valueOf();if(Q!=null&&Q!==z)return n.from(Q,N,H);const ne=m(z);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof z[Symbol.toPrimitive]=="function")return n.from(z[Symbol.toPrimitive]("string"),N,H);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof z)}n.from=function(z,N,H){return l(z,N,H)},Object.setPrototypeOf(n.prototype,ue.prototype),Object.setPrototypeOf(n,ue);function c(z){if(typeof z!="number")throw new TypeError('"size" argument must be of type number');if(z<0)throw new RangeError('The value "'+z+'" is invalid for option "size"')}function p(z,N,H){return c(z),z<=0?$(z):N!==void 0?typeof H=="string"?$(z).fill(N,H):$(z).fill(N):$(z)}n.alloc=function(z,N,H){return p(z,N,H)};function y(z){return c(z),$(z<0?0:A(z)|0)}n.allocUnsafe=function(z){return y(z)},n.allocUnsafeSlow=function(z){return y(z)};function b(z,N){if((typeof N!="string"||N==="")&&(N="utf8"),!n.isEncoding(N))throw new TypeError("Unknown encoding: "+N);const H=U(z,N)|0;let Q=$(H);const ne=Q.write(z,N);return ne!==H&&(Q=Q.slice(0,ne)),Q}function _(z){const N=z.length<0?0:A(z.length)|0,H=$(N);for(let Q=0;Q<N;Q+=1)H[Q]=z[Q]&255;return H}function v(z){if(Pe(z,ue)){const N=new ue(z);return o(N.buffer,N.byteOffset,N.byteLength)}return _(z)}function o(z,N,H){if(N<0||z.byteLength<N)throw new RangeError('"offset" is outside of buffer bounds');if(z.byteLength<N+(H||0))throw new RangeError('"length" is outside of buffer bounds');let Q;return N===void 0&&H===void 0?Q=new ue(z):H===void 0?Q=new ue(z,N):Q=new ue(z,N,H),Object.setPrototypeOf(Q,n.prototype),Q}function m(z){if(n.isBuffer(z)){const N=A(z.length)|0,H=$(N);return H.length===0||z.copy(H,0,0,N),H}if(z.length!==void 0)return typeof z.length!="number"||et(z.length)?$(0):_(z);if(z.type==="Buffer"&&Array.isArray(z.data))return _(z.data)}function A(z){if(z>=oe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+oe.toString(16)+" bytes");return z|0}function I(z){return+z!=z&&(z=0),n.alloc(+z)}n.isBuffer=function(N){return N!=null&&N._isBuffer===!0&&N!==n.prototype},n.compare=function(N,H){if(Pe(N,ue)&&(N=n.from(N,N.offset,N.byteLength)),Pe(H,ue)&&(H=n.from(H,H.offset,H.byteLength)),!n.isBuffer(N)||!n.isBuffer(H))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(N===H)return 0;let Q=N.length,ne=H.length;for(let ve=0,he=Math.min(Q,ne);ve<he;++ve)if(N[ve]!==H[ve]){Q=N[ve],ne=H[ve];break}return Q<ne?-1:ne<Q?1:0},n.isEncoding=function(N){switch(String(N).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}},n.concat=function(N,H){if(!Array.isArray(N))throw new TypeError('"list" argument must be an Array of Buffers');if(N.length===0)return n.alloc(0);let Q;if(H===void 0)for(H=0,Q=0;Q<N.length;++Q)H+=N[Q].length;const ne=n.allocUnsafe(H);let ve=0;for(Q=0;Q<N.length;++Q){let he=N[Q];if(Pe(he,ue))ve+he.length>ne.length?(n.isBuffer(he)||(he=n.from(he)),he.copy(ne,ve)):ue.prototype.set.call(ne,he,ve);else if(n.isBuffer(he))he.copy(ne,ve);else throw new TypeError('"list" argument must be an Array of Buffers');ve+=he.length}return ne};function U(z,N){if(n.isBuffer(z))return z.length;if(se.isView(z)||Pe(z,se))return z.byteLength;if(typeof z!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof z);const H=z.length,Q=arguments.length>2&&arguments[2]===!0;if(!Q&&H===0)return 0;let ne=!1;for(;;)switch(N){case"ascii":case"latin1":case"binary":return H;case"utf8":case"utf-8":return Qe(z).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H*2;case"hex":return H>>>1;case"base64":return tt(z).length;default:if(ne)return Q?-1:Qe(z).length;N=(""+N).toLowerCase(),ne=!0}}n.byteLength=U;function X(z,N,H){let Q=!1;if((N===void 0||N<0)&&(N=0),N>this.length||((H===void 0||H>this.length)&&(H=this.length),H<=0)||(H>>>=0,N>>>=0,H<=N))return"";for(z||(z="utf8");;)switch(z){case"hex":return Ve(this,N,H);case"utf8":case"utf-8":return de(this,N,H);case"ascii":return we(this,N,H);case"latin1":case"binary":return le(this,N,H);case"base64":return qe(this,N,H);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,N,H);default:if(Q)throw new TypeError("Unknown encoding: "+z);z=(z+"").toLowerCase(),Q=!0}}n.prototype._isBuffer=!0;function V(z,N,H){const Q=z[N];z[N]=z[H],z[H]=Q}n.prototype.swap16=function(){const N=this.length;if(N%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let H=0;H<N;H+=2)V(this,H,H+1);return this},n.prototype.swap32=function(){const N=this.length;if(N%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let H=0;H<N;H+=4)V(this,H,H+3),V(this,H+1,H+2);return this},n.prototype.swap64=function(){const N=this.length;if(N%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let H=0;H<N;H+=8)V(this,H,H+7),V(this,H+1,H+6),V(this,H+2,H+5),V(this,H+3,H+4);return this},n.prototype.toString=function(){const N=this.length;return N===0?"":arguments.length===0?de(this,0,N):X.apply(this,arguments)},n.prototype.toLocaleString=n.prototype.toString,n.prototype.equals=function(N){if(!n.isBuffer(N))throw new TypeError("Argument must be a Buffer");return this===N?!0:n.compare(this,N)===0},n.prototype.inspect=function(){let N="";const H=L.INSPECT_MAX_BYTES;return N=this.toString("hex",0,H).replace(/(.{2})/g,"$1 ").trim(),this.length>H&&(N+=" ... "),"<Buffer "+N+">"},ae&&(n.prototype[ae]=n.prototype.inspect),n.prototype.compare=function(N,H,Q,ne,ve){if(Pe(N,ue)&&(N=n.from(N,N.offset,N.byteLength)),!n.isBuffer(N))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof N);if(H===void 0&&(H=0),Q===void 0&&(Q=N?N.length:0),ne===void 0&&(ne=0),ve===void 0&&(ve=this.length),H<0||Q>N.length||ne<0||ve>this.length)throw new RangeError("out of range index");if(ne>=ve&&H>=Q)return 0;if(ne>=ve)return-1;if(H>=Q)return 1;if(H>>>=0,Q>>>=0,ne>>>=0,ve>>>=0,this===N)return 0;let he=ve-ne,be=Q-H;const We=Math.min(he,be),ye=this.slice(ne,ve),Se=N.slice(H,Q);for(let Ke=0;Ke<We;++Ke)if(ye[Ke]!==Se[Ke]){he=ye[Ke],be=Se[Ke];break}return he<be?-1:be<he?1:0};function T(z,N,H,Q,ne){if(z.length===0)return-1;if(typeof H=="string"?(Q=H,H=0):H>2147483647?H=2147483647:H<-2147483648&&(H=-2147483648),H=+H,et(H)&&(H=ne?0:z.length-1),H<0&&(H=z.length+H),H>=z.length){if(ne)return-1;H=z.length-1}else if(H<0)if(ne)H=0;else return-1;if(typeof N=="string"&&(N=n.from(N,Q)),n.isBuffer(N))return N.length===0?-1:q(z,N,H,Q,ne);if(typeof N=="number")return N=N&255,typeof ue.prototype.indexOf=="function"?ne?ue.prototype.indexOf.call(z,N,H):ue.prototype.lastIndexOf.call(z,N,H):q(z,[N],H,Q,ne);throw new TypeError("val must be string, number or Buffer")}function q(z,N,H,Q,ne){let ve=1,he=z.length,be=N.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(z.length<2||N.length<2)return-1;ve=2,he/=2,be/=2,H/=2}function We(Se,Ke){return ve===1?Se[Ke]:Se.readUInt16BE(Ke*ve)}let ye;if(ne){let Se=-1;for(ye=H;ye<he;ye++)if(We(z,ye)===We(N,Se===-1?0:ye-Se)){if(Se===-1&&(Se=ye),ye-Se+1===be)return Se*ve}else Se!==-1&&(ye-=ye-Se),Se=-1}else for(H+be>he&&(H=he-be),ye=H;ye>=0;ye--){let Se=!0;for(let Ke=0;Ke<be;Ke++)if(We(z,ye+Ke)!==We(N,Ke)){Se=!1;break}if(Se)return ye}return-1}n.prototype.includes=function(N,H,Q){return this.indexOf(N,H,Q)!==-1},n.prototype.indexOf=function(N,H,Q){return T(this,N,H,Q,!0)},n.prototype.lastIndexOf=function(N,H,Q){return T(this,N,H,Q,!1)};function Z(z,N,H,Q){H=Number(H)||0;const ne=z.length-H;Q?(Q=Number(Q),Q>ne&&(Q=ne)):Q=ne;const ve=N.length;Q>ve/2&&(Q=ve/2);let he;for(he=0;he<Q;++he){const be=parseInt(N.substr(he*2,2),16);if(et(be))return he;z[H+he]=be}return he}function te(z,N,H,Q){return Ee(Qe(N,z.length-H),z,H,Q)}function ee(z,N,H,Q){return Ee(Te(N),z,H,Q)}function j(z,N,H,Q){return Ee(tt(N),z,H,Q)}function re(z,N,H,Q){return Ee(Ue(N,z.length-H),z,H,Q)}n.prototype.write=function(N,H,Q,ne){if(H===void 0)ne="utf8",Q=this.length,H=0;else if(Q===void 0&&typeof H=="string")ne=H,Q=this.length,H=0;else if(isFinite(H))H=H>>>0,isFinite(Q)?(Q=Q>>>0,ne===void 0&&(ne="utf8")):(ne=Q,Q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ve=this.length-H;if((Q===void 0||Q>ve)&&(Q=ve),N.length>0&&(Q<0||H<0)||H>this.length)throw new RangeError("Attempt to write outside buffer bounds");ne||(ne="utf8");let he=!1;for(;;)switch(ne){case"hex":return Z(this,N,H,Q);case"utf8":case"utf-8":return te(this,N,H,Q);case"ascii":case"latin1":case"binary":return ee(this,N,H,Q);case"base64":return j(this,N,H,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,N,H,Q);default:if(he)throw new TypeError("Unknown encoding: "+ne);ne=(""+ne).toLowerCase(),he=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function qe(z,N,H){return N===0&&H===z.length?J.fromByteArray(z):J.fromByteArray(z.slice(N,H))}function de(z,N,H){H=Math.min(z.length,H);const Q=[];let ne=N;for(;ne<H;){const ve=z[ne];let he=null,be=ve>239?4:ve>223?3:ve>191?2:1;if(ne+be<=H){let We,ye,Se,Ke;switch(be){case 1:ve<128&&(he=ve);break;case 2:We=z[ne+1],(We&192)===128&&(Ke=(ve&31)<<6|We&63,Ke>127&&(he=Ke));break;case 3:We=z[ne+1],ye=z[ne+2],(We&192)===128&&(ye&192)===128&&(Ke=(ve&15)<<12|(We&63)<<6|ye&63,Ke>2047&&(Ke<55296||Ke>57343)&&(he=Ke));break;case 4:We=z[ne+1],ye=z[ne+2],Se=z[ne+3],(We&192)===128&&(ye&192)===128&&(Se&192)===128&&(Ke=(ve&15)<<18|(We&63)<<12|(ye&63)<<6|Se&63,Ke>65535&&Ke<1114112&&(he=Ke))}}he===null?(he=65533,be=1):he>65535&&(he-=65536,Q.push(he>>>10&1023|55296),he=56320|he&1023),Q.push(he),ne+=be}return je(Q)}const pe=4096;function je(z){const N=z.length;if(N<=pe)return String.fromCharCode.apply(String,z);let H="",Q=0;for(;Q<N;)H+=String.fromCharCode.apply(String,z.slice(Q,Q+=pe));return H}function we(z,N,H){let Q="";H=Math.min(z.length,H);for(let ne=N;ne<H;++ne)Q+=String.fromCharCode(z[ne]&127);return Q}function le(z,N,H){let Q="";H=Math.min(z.length,H);for(let ne=N;ne<H;++ne)Q+=String.fromCharCode(z[ne]);return Q}function Ve(z,N,H){const Q=z.length;(!N||N<0)&&(N=0),(!H||H<0||H>Q)&&(H=Q);let ne="";for(let ve=N;ve<H;++ve)ne+=Ie[z[ve]];return ne}function xe(z,N,H){const Q=z.slice(N,H);let ne="";for(let ve=0;ve<Q.length-1;ve+=2)ne+=String.fromCharCode(Q[ve]+Q[ve+1]*256);return ne}n.prototype.slice=function(N,H){const Q=this.length;N=~~N,H=H===void 0?Q:~~H,N<0?(N+=Q,N<0&&(N=0)):N>Q&&(N=Q),H<0?(H+=Q,H<0&&(H=0)):H>Q&&(H=Q),H<N&&(H=N);const ne=this.subarray(N,H);return Object.setPrototypeOf(ne,n.prototype),ne};function $e(z,N,H){if(z%1!==0||z<0)throw new RangeError("offset is not uint");if(z+N>H)throw new RangeError("Trying to access beyond buffer length")}n.prototype.readUintLE=n.prototype.readUIntLE=function(N,H,Q){N=N>>>0,H=H>>>0,Q||$e(N,H,this.length);let ne=this[N],ve=1,he=0;for(;++he<H&&(ve*=256);)ne+=this[N+he]*ve;return ne},n.prototype.readUintBE=n.prototype.readUIntBE=function(N,H,Q){N=N>>>0,H=H>>>0,Q||$e(N,H,this.length);let ne=this[N+--H],ve=1;for(;H>0&&(ve*=256);)ne+=this[N+--H]*ve;return ne},n.prototype.readUint8=n.prototype.readUInt8=function(N,H){return N=N>>>0,H||$e(N,1,this.length),this[N]},n.prototype.readUint16LE=n.prototype.readUInt16LE=function(N,H){return N=N>>>0,H||$e(N,2,this.length),this[N]|this[N+1]<<8},n.prototype.readUint16BE=n.prototype.readUInt16BE=function(N,H){return N=N>>>0,H||$e(N,2,this.length),this[N]<<8|this[N+1]},n.prototype.readUint32LE=n.prototype.readUInt32LE=function(N,H){return N=N>>>0,H||$e(N,4,this.length),(this[N]|this[N+1]<<8|this[N+2]<<16)+this[N+3]*16777216},n.prototype.readUint32BE=n.prototype.readUInt32BE=function(N,H){return N=N>>>0,H||$e(N,4,this.length),this[N]*16777216+(this[N+1]<<16|this[N+2]<<8|this[N+3])},n.prototype.readBigUInt64LE=Le(function(N){N=N>>>0,Oe(N,"offset");const H=this[N],Q=this[N+7];(H===void 0||Q===void 0)&&Je(N,this.length-8);const ne=H+this[++N]*2**8+this[++N]*2**16+this[++N]*2**24,ve=this[++N]+this[++N]*2**8+this[++N]*2**16+Q*2**24;return BigInt(ne)+(BigInt(ve)<<BigInt(32))}),n.prototype.readBigUInt64BE=Le(function(N){N=N>>>0,Oe(N,"offset");const H=this[N],Q=this[N+7];(H===void 0||Q===void 0)&&Je(N,this.length-8);const ne=H*2**24+this[++N]*2**16+this[++N]*2**8+this[++N],ve=this[++N]*2**24+this[++N]*2**16+this[++N]*2**8+Q;return(BigInt(ne)<<BigInt(32))+BigInt(ve)}),n.prototype.readIntLE=function(N,H,Q){N=N>>>0,H=H>>>0,Q||$e(N,H,this.length);let ne=this[N],ve=1,he=0;for(;++he<H&&(ve*=256);)ne+=this[N+he]*ve;return ve*=128,ne>=ve&&(ne-=Math.pow(2,8*H)),ne},n.prototype.readIntBE=function(N,H,Q){N=N>>>0,H=H>>>0,Q||$e(N,H,this.length);let ne=H,ve=1,he=this[N+--ne];for(;ne>0&&(ve*=256);)he+=this[N+--ne]*ve;return ve*=128,he>=ve&&(he-=Math.pow(2,8*H)),he},n.prototype.readInt8=function(N,H){return N=N>>>0,H||$e(N,1,this.length),this[N]&128?(255-this[N]+1)*-1:this[N]},n.prototype.readInt16LE=function(N,H){N=N>>>0,H||$e(N,2,this.length);const Q=this[N]|this[N+1]<<8;return Q&32768?Q|4294901760:Q},n.prototype.readInt16BE=function(N,H){N=N>>>0,H||$e(N,2,this.length);const Q=this[N+1]|this[N]<<8;return Q&32768?Q|4294901760:Q},n.prototype.readInt32LE=function(N,H){return N=N>>>0,H||$e(N,4,this.length),this[N]|this[N+1]<<8|this[N+2]<<16|this[N+3]<<24},n.prototype.readInt32BE=function(N,H){return N=N>>>0,H||$e(N,4,this.length),this[N]<<24|this[N+1]<<16|this[N+2]<<8|this[N+3]},n.prototype.readBigInt64LE=Le(function(N){N=N>>>0,Oe(N,"offset");const H=this[N],Q=this[N+7];(H===void 0||Q===void 0)&&Je(N,this.length-8);const ne=this[N+4]+this[N+5]*2**8+this[N+6]*2**16+(Q<<24);return(BigInt(ne)<<BigInt(32))+BigInt(H+this[++N]*2**8+this[++N]*2**16+this[++N]*2**24)}),n.prototype.readBigInt64BE=Le(function(N){N=N>>>0,Oe(N,"offset");const H=this[N],Q=this[N+7];(H===void 0||Q===void 0)&&Je(N,this.length-8);const ne=(H<<24)+this[++N]*2**16+this[++N]*2**8+this[++N];return(BigInt(ne)<<BigInt(32))+BigInt(this[++N]*2**24+this[++N]*2**16+this[++N]*2**8+Q)}),n.prototype.readFloatLE=function(N,H){return N=N>>>0,H||$e(N,4,this.length),Y.read(this,N,!0,23,4)},n.prototype.readFloatBE=function(N,H){return N=N>>>0,H||$e(N,4,this.length),Y.read(this,N,!1,23,4)},n.prototype.readDoubleLE=function(N,H){return N=N>>>0,H||$e(N,8,this.length),Y.read(this,N,!0,52,8)},n.prototype.readDoubleBE=function(N,H){return N=N>>>0,H||$e(N,8,this.length),Y.read(this,N,!1,52,8)};function ze(z,N,H,Q,ne,ve){if(!n.isBuffer(z))throw new TypeError('"buffer" argument must be a Buffer instance');if(N>ne||N<ve)throw new RangeError('"value" argument is out of bounds');if(H+Q>z.length)throw new RangeError("Index out of range")}n.prototype.writeUintLE=n.prototype.writeUIntLE=function(N,H,Q,ne){if(N=+N,H=H>>>0,Q=Q>>>0,!ne){const be=Math.pow(2,8*Q)-1;ze(this,N,H,Q,be,0)}let ve=1,he=0;for(this[H]=N&255;++he<Q&&(ve*=256);)this[H+he]=N/ve&255;return H+Q},n.prototype.writeUintBE=n.prototype.writeUIntBE=function(N,H,Q,ne){if(N=+N,H=H>>>0,Q=Q>>>0,!ne){const be=Math.pow(2,8*Q)-1;ze(this,N,H,Q,be,0)}let ve=Q-1,he=1;for(this[H+ve]=N&255;--ve>=0&&(he*=256);)this[H+ve]=N/he&255;return H+Q},n.prototype.writeUint8=n.prototype.writeUInt8=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,1,255,0),this[H]=N&255,H+1},n.prototype.writeUint16LE=n.prototype.writeUInt16LE=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,2,65535,0),this[H]=N&255,this[H+1]=N>>>8,H+2},n.prototype.writeUint16BE=n.prototype.writeUInt16BE=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,2,65535,0),this[H]=N>>>8,this[H+1]=N&255,H+2},n.prototype.writeUint32LE=n.prototype.writeUInt32LE=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,4,4294967295,0),this[H+3]=N>>>24,this[H+2]=N>>>16,this[H+1]=N>>>8,this[H]=N&255,H+4},n.prototype.writeUint32BE=n.prototype.writeUInt32BE=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,4,4294967295,0),this[H]=N>>>24,this[H+1]=N>>>16,this[H+2]=N>>>8,this[H+3]=N&255,H+4};function me(z,N,H,Q,ne){Ae(N,Q,ne,z,H,7);let ve=Number(N&BigInt(4294967295));z[H++]=ve,ve=ve>>8,z[H++]=ve,ve=ve>>8,z[H++]=ve,ve=ve>>8,z[H++]=ve;let he=Number(N>>BigInt(32)&BigInt(4294967295));return z[H++]=he,he=he>>8,z[H++]=he,he=he>>8,z[H++]=he,he=he>>8,z[H++]=he,H}function ke(z,N,H,Q,ne){Ae(N,Q,ne,z,H,7);let ve=Number(N&BigInt(4294967295));z[H+7]=ve,ve=ve>>8,z[H+6]=ve,ve=ve>>8,z[H+5]=ve,ve=ve>>8,z[H+4]=ve;let he=Number(N>>BigInt(32)&BigInt(4294967295));return z[H+3]=he,he=he>>8,z[H+2]=he,he=he>>8,z[H+1]=he,he=he>>8,z[H]=he,H+8}n.prototype.writeBigUInt64LE=Le(function(N,H=0){return me(this,N,H,BigInt(0),BigInt("0xffffffffffffffff"))}),n.prototype.writeBigUInt64BE=Le(function(N,H=0){return ke(this,N,H,BigInt(0),BigInt("0xffffffffffffffff"))}),n.prototype.writeIntLE=function(N,H,Q,ne){if(N=+N,H=H>>>0,!ne){const We=Math.pow(2,8*Q-1);ze(this,N,H,Q,We-1,-We)}let ve=0,he=1,be=0;for(this[H]=N&255;++ve<Q&&(he*=256);)N<0&&be===0&&this[H+ve-1]!==0&&(be=1),this[H+ve]=(N/he>>0)-be&255;return H+Q},n.prototype.writeIntBE=function(N,H,Q,ne){if(N=+N,H=H>>>0,!ne){const We=Math.pow(2,8*Q-1);ze(this,N,H,Q,We-1,-We)}let ve=Q-1,he=1,be=0;for(this[H+ve]=N&255;--ve>=0&&(he*=256);)N<0&&be===0&&this[H+ve+1]!==0&&(be=1),this[H+ve]=(N/he>>0)-be&255;return H+Q},n.prototype.writeInt8=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,1,127,-128),N<0&&(N=255+N+1),this[H]=N&255,H+1},n.prototype.writeInt16LE=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,2,32767,-32768),this[H]=N&255,this[H+1]=N>>>8,H+2},n.prototype.writeInt16BE=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,2,32767,-32768),this[H]=N>>>8,this[H+1]=N&255,H+2},n.prototype.writeInt32LE=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,4,2147483647,-2147483648),this[H]=N&255,this[H+1]=N>>>8,this[H+2]=N>>>16,this[H+3]=N>>>24,H+4},n.prototype.writeInt32BE=function(N,H,Q){return N=+N,H=H>>>0,Q||ze(this,N,H,4,2147483647,-2147483648),N<0&&(N=4294967295+N+1),this[H]=N>>>24,this[H+1]=N>>>16,this[H+2]=N>>>8,this[H+3]=N&255,H+4},n.prototype.writeBigInt64LE=Le(function(N,H=0){return me(this,N,H,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),n.prototype.writeBigInt64BE=Le(function(N,H=0){return ke(this,N,H,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ge(z,N,H,Q,ne,ve){if(H+Q>z.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("Index out of range")}function Me(z,N,H,Q,ne){return N=+N,H=H>>>0,ne||Ge(z,N,H,4),Y.write(z,N,H,Q,23,4),H+4}n.prototype.writeFloatLE=function(N,H,Q){return Me(this,N,H,!0,Q)},n.prototype.writeFloatBE=function(N,H,Q){return Me(this,N,H,!1,Q)};function Ne(z,N,H,Q,ne){return N=+N,H=H>>>0,ne||Ge(z,N,H,8),Y.write(z,N,H,Q,52,8),H+8}n.prototype.writeDoubleLE=function(N,H,Q){return Ne(this,N,H,!0,Q)},n.prototype.writeDoubleBE=function(N,H,Q){return Ne(this,N,H,!1,Q)},n.prototype.copy=function(N,H,Q,ne){if(!n.isBuffer(N))throw new TypeError("argument should be a Buffer");if(Q||(Q=0),!ne&&ne!==0&&(ne=this.length),H>=N.length&&(H=N.length),H||(H=0),ne>0&&ne<Q&&(ne=Q),ne===Q||N.length===0||this.length===0)return 0;if(H<0)throw new RangeError("targetStart out of bounds");if(Q<0||Q>=this.length)throw new RangeError("Index out of range");if(ne<0)throw new RangeError("sourceEnd out of bounds");ne>this.length&&(ne=this.length),N.length-H<ne-Q&&(ne=N.length-H+Q);const ve=ne-Q;return this===N&&typeof ue.prototype.copyWithin=="function"?this.copyWithin(H,Q,ne):ue.prototype.set.call(N,this.subarray(Q,ne),H),ve},n.prototype.fill=function(N,H,Q,ne){if(typeof N=="string"){if(typeof H=="string"?(ne=H,H=0,Q=this.length):typeof Q=="string"&&(ne=Q,Q=this.length),ne!==void 0&&typeof ne!="string")throw new TypeError("encoding must be a string");if(typeof ne=="string"&&!n.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);if(N.length===1){const he=N.charCodeAt(0);(ne==="utf8"&&he<128||ne==="latin1")&&(N=he)}}else typeof N=="number"?N=N&255:typeof N=="boolean"&&(N=Number(N));if(H<0||this.length<H||this.length<Q)throw new RangeError("Out of range index");if(Q<=H)return this;H=H>>>0,Q=Q===void 0?this.length:Q>>>0,N||(N=0);let ve;if(typeof N=="number")for(ve=H;ve<Q;++ve)this[ve]=N;else{const he=n.isBuffer(N)?N:n.from(N,ne),be=he.length;if(be===0)throw new TypeError('The value "'+N+'" is invalid for argument "value"');for(ve=0;ve<Q-H;++ve)this[ve+H]=he[ve%be]}return this};const Ze={};function Be(z,N,H){Ze[z]=class extends H{constructor(){super(),Object.defineProperty(this,"message",{value:N.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${z}]`,this.stack,delete this.name}get code(){return z}set code(ne){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ne,writable:!0})}toString(){return`${this.name} [${z}]: ${this.message}`}}}Be("ERR_BUFFER_OUT_OF_BOUNDS",function(z){return z?`${z} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Be("ERR_INVALID_ARG_TYPE",function(z,N){return`The "${z}" argument must be of type number. Received type ${typeof N}`},TypeError),Be("ERR_OUT_OF_RANGE",function(z,N,H){let Q=`The value of "${z}" is out of range.`,ne=H;return Number.isInteger(H)&&Math.abs(H)>2**32?ne=De(String(H)):typeof H=="bigint"&&(ne=String(H),(H>BigInt(2)**BigInt(32)||H<-(BigInt(2)**BigInt(32)))&&(ne=De(ne)),ne+="n"),Q+=` It must be ${N}. Received ${ne}`,Q},RangeError);function De(z){let N="",H=z.length;const Q=z[0]==="-"?1:0;for(;H>=Q+4;H-=3)N=`_${z.slice(H-3,H)}${N}`;return`${z.slice(0,H)}${N}`}function rt(z,N,H){Oe(N,"offset"),(z[N]===void 0||z[N+H]===void 0)&&Je(N,z.length-(H+1))}function Ae(z,N,H,Q,ne,ve){if(z>H||z<N){const he=typeof N=="bigint"?"n":"";let be;throw N===0||N===BigInt(0)?be=`>= 0${he} and < 2${he} ** ${(ve+1)*8}${he}`:be=`>= -(2${he} ** ${(ve+1)*8-1}${he}) and < 2 ** ${(ve+1)*8-1}${he}`,new Ze.ERR_OUT_OF_RANGE("value",be,z)}rt(Q,ne,ve)}function Oe(z,N){if(typeof z!="number")throw new Ze.ERR_INVALID_ARG_TYPE(N,"number",z)}function Je(z,N,H){throw Math.floor(z)!==z?(Oe(z,H),new Ze.ERR_OUT_OF_RANGE("offset","an integer",z)):N<0?new Ze.ERR_BUFFER_OUT_OF_BOUNDS:new Ze.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${N}`,z)}const Re=/[^+/0-9A-Za-z-_]/g;function He(z){if(z=z.split("=")[0],z=z.trim().replace(Re,""),z.length<2)return"";for(;z.length%4!==0;)z=z+"=";return z}function Qe(z,N){N=N||1/0;let H;const Q=z.length;let ne=null;const ve=[];for(let he=0;he<Q;++he){if(H=z.charCodeAt(he),H>55295&&H<57344){if(!ne){if(H>56319){(N-=3)>-1&&ve.push(239,191,189);continue}else if(he+1===Q){(N-=3)>-1&&ve.push(239,191,189);continue}ne=H;continue}if(H<56320){(N-=3)>-1&&ve.push(239,191,189),ne=H;continue}H=(ne-55296<<10|H-56320)+65536}else ne&&(N-=3)>-1&&ve.push(239,191,189);if(ne=null,H<128){if((N-=1)<0)break;ve.push(H)}else if(H<2048){if((N-=2)<0)break;ve.push(H>>6|192,H&63|128)}else if(H<65536){if((N-=3)<0)break;ve.push(H>>12|224,H>>6&63|128,H&63|128)}else if(H<1114112){if((N-=4)<0)break;ve.push(H>>18|240,H>>12&63|128,H>>6&63|128,H&63|128)}else throw new Error("Invalid code point")}return ve}function Te(z){const N=[];for(let H=0;H<z.length;++H)N.push(z.charCodeAt(H)&255);return N}function Ue(z,N){let H,Q,ne;const ve=[];for(let he=0;he<z.length&&!((N-=2)<0);++he)H=z.charCodeAt(he),Q=H>>8,ne=H%256,ve.push(ne),ve.push(Q);return ve}function tt(z){return J.toByteArray(He(z))}function Ee(z,N,H,Q){let ne;for(ne=0;ne<Q&&!(ne+H>=N.length||ne>=z.length);++ne)N[ne+H]=z[ne];return ne}function Pe(z,N){return z instanceof N||z!=null&&z.constructor!=null&&z.constructor.name!=null&&z.constructor.name===N.name}function et(z){return z!==z}const Ie=function(){const z="0123456789abcdef",N=new Array(256);for(let H=0;H<16;++H){const Q=H*16;for(let ne=0;ne<16;++ne)N[Q+ne]=z[H]+z[ne]}return N}();function Le(z){return typeof BigInt>"u"?it:z}function it(){throw new Error("BigInt not supported")}})(t);const P=t.Buffer;e.Blob=t.Blob,e.BlobOptions=t.BlobOptions,e.Buffer=t.Buffer,e.File=t.File,e.FileOptions=t.FileOptions,e.INSPECT_MAX_BYTES=t.INSPECT_MAX_BYTES,e.SlowBuffer=t.SlowBuffer,e.TranscodeEncoding=t.TranscodeEncoding,e.atob=t.atob,e.btoa=t.btoa,e.constants=t.constants,e.default=P,e.isAscii=t.isAscii,e.isUtf8=t.isUtf8,e.kMaxLength=t.kMaxLength,e.kStringMaxLength=t.kStringMaxLength,e.resolveObjectURL=t.resolveObjectURL,e.transcode=t.transcode})(dist);const Buffer$F=getDefaultExportFromCjs$1(dist);/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */(function(e,t){var a=dist,u=a.Buffer;function d(w,x){for(var M in w)x[M]=w[M]}u.from&&u.alloc&&u.allocUnsafe&&u.allocUnsafeSlow?e.exports=a:(d(a,t),t.Buffer=h);function h(w,x,M){return u(w,x,M)}h.prototype=Object.create(u.prototype),d(u,h),h.from=function(w,x,M){if(typeof w=="number")throw new TypeError("Argument must not be a number");return u(w,x,M)},h.alloc=function(w,x,M){if(typeof w!="number")throw new TypeError("Argument must be a number");var B=u(w);return x!==void 0?typeof M=="string"?B.fill(x,M):B.fill(x):B.fill(0),B},h.allocUnsafe=function(w){if(typeof w!="number")throw new TypeError("Argument must be a number");return u(w)},h.allocUnsafeSlow=function(w){if(typeof w!="number")throw new TypeError("Argument must be a number");return a.SlowBuffer(w)}})(safeBuffer$5,safeBuffer$5.exports);var safeBufferExports$2=safeBuffer$5.exports,MAX_BYTES=65536,MAX_UINT32=4294967295;function oldBrowser$1(){throw new Error(`Secure random number generation is not supported by this browser.
7
- Use Chrome, Firefox or Internet Explorer 11`)}var Buffer$E=safeBufferExports$2.Buffer,crypto$2=commonjsGlobal.crypto||commonjsGlobal.msCrypto;crypto$2&&crypto$2.getRandomValues?browser$b.exports=randomBytes$3:browser$b.exports=oldBrowser$1;function randomBytes$3(e,t){if(e>MAX_UINT32)throw new RangeError("requested too many random bytes");var a=Buffer$E.allocUnsafe(e);if(e>0)if(e>MAX_BYTES)for(var u=0;u<e;u+=MAX_BYTES)crypto$2.getRandomValues(a.slice(u,u+MAX_BYTES));else crypto$2.getRandomValues(a);return typeof t=="function"?process$1.nextTick(function(){t(null,a)}):a}var browserExports=browser$b.exports,inherits_browser={exports:{}};typeof Object.create=="function"?inherits_browser.exports=function(t,a){a&&(t.super_=a,t.prototype=Object.create(a.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(t,a){if(a){t.super_=a;var u=function(){};u.prototype=a.prototype,t.prototype=new u,t.prototype.constructor=t}};var inherits_browserExports=inherits_browser.exports,events={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function(t,a,u){return Function.prototype.apply.call(t,a,u)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:ReflectOwnKeys=function(t){return Object.getOwnPropertyNames(t)};function ProcessEmitWarning(e){console&&console.warn&&console.warn(e)}var NumberIsNaN=Number.isNaN||function(t){return t!==t};function EventEmitter(){EventEmitter.init.call(this)}events.exports=EventEmitter;events.exports.once=once;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(e){if(typeof e!="number"||e<0||NumberIsNaN(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");defaultMaxListeners=e}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||NumberIsNaN(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function _getMaxListeners(e){return e._maxListeners===void 0?EventEmitter.defaultMaxListeners:e._maxListeners}EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function(t){for(var a=[],u=1;u<arguments.length;u++)a.push(arguments[u]);var d=t==="error",h=this._events;if(h!==void 0)d=d&&h.error===void 0;else if(!d)return!1;if(d){var w;if(a.length>0&&(w=a[0]),w instanceof Error)throw w;var x=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw x.context=w,x}var M=h[t];if(M===void 0)return!1;if(typeof M=="function")ReflectApply(M,this,a);else for(var B=M.length,E=arrayClone(M,B),u=0;u<B;++u)ReflectApply(E[u],this,a);return!0};function _addListener(e,t,a,u){var d,h,w;if(checkListener(a),h=e._events,h===void 0?(h=e._events=Object.create(null),e._eventsCount=0):(h.newListener!==void 0&&(e.emit("newListener",t,a.listener?a.listener:a),h=e._events),w=h[t]),w===void 0)w=h[t]=a,++e._eventsCount;else if(typeof w=="function"?w=h[t]=u?[a,w]:[w,a]:u?w.unshift(a):w.push(a),d=_getMaxListeners(e),d>0&&w.length>d&&!w.warned){w.warned=!0;var x=new Error("Possible EventEmitter memory leak detected. "+w.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");x.name="MaxListenersExceededWarning",x.emitter=e,x.type=t,x.count=w.length,ProcessEmitWarning(x)}return e}EventEmitter.prototype.addListener=function(t,a){return _addListener(this,t,a,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function(t,a){return _addListener(this,t,a,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(e,t,a){var u={fired:!1,wrapFn:void 0,target:e,type:t,listener:a},d=onceWrapper.bind(u);return d.listener=a,u.wrapFn=d,d}EventEmitter.prototype.once=function(t,a){return checkListener(a),this.on(t,_onceWrap(this,t,a)),this};EventEmitter.prototype.prependOnceListener=function(t,a){return checkListener(a),this.prependListener(t,_onceWrap(this,t,a)),this};EventEmitter.prototype.removeListener=function(t,a){var u,d,h,w,x;if(checkListener(a),d=this._events,d===void 0)return this;if(u=d[t],u===void 0)return this;if(u===a||u.listener===a)--this._eventsCount===0?this._events=Object.create(null):(delete d[t],d.removeListener&&this.emit("removeListener",t,u.listener||a));else if(typeof u!="function"){for(h=-1,w=u.length-1;w>=0;w--)if(u[w]===a||u[w].listener===a){x=u[w].listener,h=w;break}if(h<0)return this;h===0?u.shift():spliceOne(u,h),u.length===1&&(d[t]=u[0]),d.removeListener!==void 0&&this.emit("removeListener",t,x||a)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function(t){var a,u,d;if(u=this._events,u===void 0)return this;if(u.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):u[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete u[t]),this;if(arguments.length===0){var h=Object.keys(u),w;for(d=0;d<h.length;++d)w=h[d],w!=="removeListener"&&this.removeAllListeners(w);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(a=u[t],typeof a=="function")this.removeListener(t,a);else if(a!==void 0)for(d=a.length-1;d>=0;d--)this.removeListener(t,a[d]);return this};function _listeners(e,t,a){var u=e._events;if(u===void 0)return[];var d=u[t];return d===void 0?[]:typeof d=="function"?a?[d.listener||d]:[d]:a?unwrapListeners(d):arrayClone(d,d.length)}EventEmitter.prototype.listeners=function(t){return _listeners(this,t,!0)};EventEmitter.prototype.rawListeners=function(t){return _listeners(this,t,!1)};EventEmitter.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):listenerCount.call(e,t)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(e){var t=this._events;if(t!==void 0){var a=t[e];if(typeof a=="function")return 1;if(a!==void 0)return a.length}return 0}EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(e,t){for(var a=new Array(t),u=0;u<t;++u)a[u]=e[u];return a}function spliceOne(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function unwrapListeners(e){for(var t=new Array(e.length),a=0;a<t.length;++a)t[a]=e[a].listener||e[a];return t}function once(e,t){return new Promise(function(a,u){function d(w){e.removeListener(t,h),u(w)}function h(){typeof e.removeListener=="function"&&e.removeListener("error",d),a([].slice.call(arguments))}eventTargetAgnosticAddListener(e,t,h,{once:!0}),t!=="error"&&addErrorHandlerIfEventEmitter(e,d,{once:!0})})}function addErrorHandlerIfEventEmitter(e,t,a){typeof e.on=="function"&&eventTargetAgnosticAddListener(e,"error",t,a)}function eventTargetAgnosticAddListener(e,t,a,u){if(typeof e.on=="function")u.once?e.once(t,a):e.on(t,a);else if(typeof e.addEventListener=="function")e.addEventListener(t,function d(h){u.once&&e.removeEventListener(t,d),a(h)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var eventsExports=events.exports,streamBrowser$2,hasRequiredStreamBrowser;function requireStreamBrowser(){return hasRequiredStreamBrowser||(hasRequiredStreamBrowser=1,streamBrowser$2=eventsExports.EventEmitter),streamBrowser$2}var util$5={},types={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},a=Symbol("test"),u=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(u)!=="[object Symbol]")return!1;var d=42;t[a]=d;for(var h in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var w=Object.getOwnPropertySymbols(t);if(w.length!==1||w[0]!==a||!Object.prototype.propertyIsEnumerable.call(t,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var x=Object.getOwnPropertyDescriptor(t,a);if(x.value!==d||x.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esObjectAtoms=Object,esErrors=Error,_eval=EvalError,range=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,abs$1=Math.abs,floor$1=Math.floor,max$2=Math.max,min$1=Math.min,pow$2=Math.pow,round$1=Math.round,_isNaN=Number.isNaN||function(t){return t!==t},$isNaN=_isNaN,sign$2=function(t){return $isNaN(t)||t===0?t:t<0?-1:1},gOPD$4=Object.getOwnPropertyDescriptor,$gOPD$1=gOPD$4;if($gOPD$1)try{$gOPD$1([],"length")}catch{$gOPD$1=null}var gopd$1=$gOPD$1,$defineProperty$3=Object.defineProperty||!1;if($defineProperty$3)try{$defineProperty$3({},"a",{value:1})}catch{$defineProperty$3=!1}var esDefineProperty=$defineProperty$3,hasSymbols$1,hasRequiredHasSymbols;function requireHasSymbols(){if(hasRequiredHasSymbols)return hasSymbols$1;hasRequiredHasSymbols=1;var e=typeof Symbol<"u"&&Symbol,t=shams$1;return hasSymbols$1=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},hasSymbols$1}var Reflect_getPrototypeOf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,$Object$2=esObjectAtoms,Object_getPrototypeOf=$Object$2.getPrototypeOf||null,ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max$1=Math.max,funcType="[object Function]",concatty=function(t,a){for(var u=[],d=0;d<t.length;d+=1)u[d]=t[d];for(var h=0;h<a.length;h+=1)u[h+t.length]=a[h];return u},slicy=function(t,a){for(var u=[],d=a,h=0;d<t.length;d+=1,h+=1)u[h]=t[d];return u},joiny=function(e,t){for(var a="",u=0;u<e.length;u+=1)a+=e[u],u+1<e.length&&(a+=t);return a},implementation$1=function(t){var a=this;if(typeof a!="function"||toStr$3.apply(a)!==funcType)throw new TypeError(ERROR_MESSAGE+a);for(var u=slicy(arguments,1),d,h=function(){if(this instanceof d){var E=a.apply(this,concatty(u,arguments));return Object(E)===E?E:this}return a.apply(t,concatty(u,arguments))},w=max$1(0,a.length-u.length),x=[],M=0;M<w;M++)x[M]="$"+M;if(d=Function("binder","return function ("+joiny(x,",")+"){ return binder.apply(this,arguments); }")(h),a.prototype){var B=function(){};B.prototype=a.prototype,d.prototype=new B,B.prototype=null}return d},implementation=implementation$1,functionBind=Function.prototype.bind||implementation,functionCall=Function.prototype.call,functionApply=Function.prototype.apply,reflectApply$1=typeof Reflect<"u"&&Reflect&&Reflect.apply,bind$3=functionBind,$apply$2=functionApply,$call$2=functionCall,$reflectApply=reflectApply$1,actualApply$1=$reflectApply||bind$3.call($call$2,$apply$2),bind$2=functionBind,$TypeError$5=type,$call$1=functionCall,$actualApply=actualApply$1,callBindApplyHelpers=function(t){if(t.length<1||typeof t[0]!="function")throw new $TypeError$5("a function is required");return $actualApply(bind$2,$call$1,t)},callBind$2=callBindApplyHelpers,gOPD$3=gopd$1,hasProtoAccessor;try{hasProtoAccessor=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var desc=!!hasProtoAccessor&&gOPD$3&&gOPD$3(Object.prototype,"__proto__"),$Object$1=Object,$getPrototypeOf=$Object$1.getPrototypeOf,get=desc&&typeof desc.get=="function"?callBind$2([desc.get]):typeof $getPrototypeOf=="function"?function(t){return $getPrototypeOf(t==null?t:$Object$1(t))}:!1,reflectGetProto=Reflect_getPrototypeOf,originalGetProto=Object_getPrototypeOf,getDunderProto=get,getProto$3=reflectGetProto?function(t){return reflectGetProto(t)}:originalGetProto?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return originalGetProto(t)}:getDunderProto?function(t){return getDunderProto(t)}:null,hasown,hasRequiredHasown;function requireHasown(){if(hasRequiredHasown)return hasown;hasRequiredHasown=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,a=functionBind;return hasown=a.call(e,t),hasown}var undefined$1,$Object=esObjectAtoms,$Error=esErrors,$EvalError=_eval,$RangeError=range,$ReferenceError=ref,$SyntaxError$1=syntax,$TypeError$4=type,$URIError=uri,abs=abs$1,floor=floor$1,max=max$2,min=min$1,pow$1=pow$2,round=round$1,sign$1=sign$2,$Function=Function,getEvalledConstructor=function(e){try{return $Function('"use strict"; return ('+e+").constructor;")()}catch{}},$gOPD=gopd$1,$defineProperty$2=esDefineProperty,throwTypeError=function(){throw new $TypeError$4},ThrowTypeError=$gOPD?function(){try{return arguments.callee,throwTypeError}catch{try{return $gOPD(arguments,"callee").get}catch{return throwTypeError}}}():throwTypeError,hasSymbols=requireHasSymbols()(),getProto$2=getProto$3,$ObjectGPO=Object_getPrototypeOf,$ReflectGPO=Reflect_getPrototypeOf,$apply$1=functionApply,$call=functionCall,needsEval={},TypedArray=typeof Uint8Array>"u"||!getProto$2?undefined$1:getProto$2(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$2?getProto$2([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float16Array%":typeof Float16Array>"u"?undefined$1:Float16Array,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$2?getProto$2(getProto$2([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$2?undefined$1:getProto$2(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":$Object,"%Object.getOwnPropertyDescriptor%":$gOPD,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$2?undefined$1:getProto$2(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$2?getProto$2(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$4,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet,"%Function.prototype.call%":$call,"%Function.prototype.apply%":$apply$1,"%Object.defineProperty%":$defineProperty$2,"%Object.getPrototypeOf%":$ObjectGPO,"%Math.abs%":abs,"%Math.floor%":floor,"%Math.max%":max,"%Math.min%":min,"%Math.pow%":pow$1,"%Math.round%":round,"%Math.sign%":sign$1,"%Reflect.getPrototypeOf%":$ReflectGPO};if(getProto$2)try{null.error}catch(e){var errorProto=getProto$2(getProto$2(e));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function e(t){var a;if(t==="%AsyncFunction%")a=getEvalledConstructor("async function () {}");else if(t==="%GeneratorFunction%")a=getEvalledConstructor("function* () {}");else if(t==="%AsyncGeneratorFunction%")a=getEvalledConstructor("async function* () {}");else if(t==="%AsyncGenerator%"){var u=e("%AsyncGeneratorFunction%");u&&(a=u.prototype)}else if(t==="%AsyncIteratorPrototype%"){var d=e("%AsyncGenerator%");d&&getProto$2&&(a=getProto$2(d.prototype))}return INTRINSICS[t]=a,a},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$1=functionBind,hasOwn$1=requireHasown(),$concat=bind$1.call($call,Array.prototype.concat),$spliceApply=bind$1.call($apply$1,Array.prototype.splice),$replace=bind$1.call($call,String.prototype.replace),$strSlice=bind$1.call($call,String.prototype.slice),$exec$2=bind$1.call($call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(t){var a=$strSlice(t,0,1),u=$strSlice(t,-1);if(a==="%"&&u!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(u==="%"&&a!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var d=[];return $replace(t,rePropName,function(h,w,x,M){d[d.length]=x?$replace(M,reEscapeChar,"$1"):w||h}),d},getBaseIntrinsic=function(t,a){var u=t,d;if(hasOwn$1(LEGACY_ALIASES,u)&&(d=LEGACY_ALIASES[u],u="%"+d[0]+"%"),hasOwn$1(INTRINSICS,u)){var h=INTRINSICS[u];if(h===needsEval&&(h=doEval(u)),typeof h>"u"&&!a)throw new $TypeError$4("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:d,name:u,value:h}}throw new $SyntaxError$1("intrinsic "+t+" does not exist!")},getIntrinsic=function(t,a){if(typeof t!="string"||t.length===0)throw new $TypeError$4("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof a!="boolean")throw new $TypeError$4('"allowMissing" argument must be a boolean');if($exec$2(/^%?[^%]*%?$/,t)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var u=stringToPath(t),d=u.length>0?u[0]:"",h=getBaseIntrinsic("%"+d+"%",a),w=h.name,x=h.value,M=!1,B=h.alias;B&&(d=B[0],$spliceApply(u,$concat([0,1],B)));for(var E=1,S=!0;E<u.length;E+=1){var k=u[E],C=$strSlice(k,0,1),D=$strSlice(k,-1);if((C==='"'||C==="'"||C==="`"||D==='"'||D==="'"||D==="`")&&C!==D)throw new $SyntaxError$1("property names with quotes must have matching quotes");if((k==="constructor"||!S)&&(M=!0),d+="."+k,w="%"+d+"%",hasOwn$1(INTRINSICS,w))x=INTRINSICS[w];else if(x!=null){if(!(k in x)){if(!a)throw new $TypeError$4("base intrinsic for "+t+" exists, but the property is not available.");return}if($gOPD&&E+1>=u.length){var O=$gOPD(x,k);S=!!O,S&&"get"in O&&!("originalValue"in O.get)?x=O.get:x=x[k]}else S=hasOwn$1(x,k),x=x[k];S&&!M&&(INTRINSICS[w]=x)}}return x},GetIntrinsic$1=getIntrinsic,callBindBasic=callBindApplyHelpers,$indexOf$1=callBindBasic([GetIntrinsic$1("%String.prototype.indexOf%")]),callBound$6=function(t,a){var u=GetIntrinsic$1(t,!!a);return typeof u=="function"&&$indexOf$1(t,".prototype.")>-1?callBindBasic([u]):u},hasToStringTag$4=shams(),callBound$5=callBound$6,$toString$2=callBound$5("Object.prototype.toString"),isStandardArguments=function(t){return hasToStringTag$4&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:$toString$2(t)==="[object Arguments]"},isLegacyArguments=function(t){return isStandardArguments(t)?!0:t!==null&&typeof t=="object"&&"length"in t&&typeof t.length=="number"&&t.length>=0&&$toString$2(t)!=="[object Array]"&&"callee"in t&&$toString$2(t.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,callBound$4=callBound$6,hasToStringTag$3=shams(),hasOwn=requireHasown(),gOPD$2=gopd$1,fn;if(hasToStringTag$3){var $exec$1=callBound$4("RegExp.prototype.exec"),isRegexMarker={},throwRegexMarker=function(){throw isRegexMarker},badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker};typeof Symbol.toPrimitive=="symbol"&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker),fn=function(t){if(!t||typeof t!="object")return!1;var a=gOPD$2(t,"lastIndex"),u=a&&hasOwn(a,"value");if(!u)return!1;try{$exec$1(t,badStringifier)}catch(d){return d===isRegexMarker}}}else{var $toString$1=callBound$4("Object.prototype.toString"),regexClass="[object RegExp]";fn=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:$toString$1(t)===regexClass}}var isRegex$1=fn,callBound$3=callBound$6,isRegex=isRegex$1,$exec=callBound$3("RegExp.prototype.exec"),$TypeError$3=type,safeRegexTest$1=function(t){if(!isRegex(t))throw new $TypeError$3("`regex` must be a RegExp");return function(u){return $exec(t,u)!==null}},generatorFunction,hasRequiredGeneratorFunction;function requireGeneratorFunction(){if(hasRequiredGeneratorFunction)return generatorFunction;hasRequiredGeneratorFunction=1;const e=(function*(){}).constructor;return generatorFunction=()=>e,generatorFunction}var callBound$2=callBound$6,safeRegexTest=safeRegexTest$1,isFnRegex=safeRegexTest(/^\s*(?:function)?\*/),hasToStringTag$2=shams(),getProto$1=getProto$3,toStr$2=callBound$2("Object.prototype.toString"),fnToStr$1=callBound$2("Function.prototype.toString"),getGeneratorFunction=requireGeneratorFunction(),isGeneratorFunction=function(t){if(typeof t!="function")return!1;if(isFnRegex(fnToStr$1(t)))return!0;if(!hasToStringTag$2){var a=toStr$2(t);return a==="[object GeneratorFunction]"}if(!getProto$1)return!1;var u=getGeneratorFunction();return u&&getProto$1(t)===u.prototype},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(e){e!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(t){try{var a=fnToStr.call(t);return constructorRegex.test(a)}catch{return!1}},tryFunctionObject=function(t){try{return isES6ClassFn(t)?!1:(fnToStr.call(t),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(t){if((isIE68||!t)&&(typeof t>"u"||typeof t=="object"))try{var a=toStr$1.call(t);return(a===ddaClass||a===ddaClass2||a===ddaClass3||a===objectClass)&&t("")==null}catch{}return!1})}var isCallable$1=reflectApply?function(t){if(isDDA(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{reflectApply(t,null,badArrayLike)}catch(a){if(a!==isCallableMarker)return!1}return!isES6ClassFn(t)&&tryFunctionObject(t)}:function(t){if(isDDA(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(t);if(isES6ClassFn(t))return!1;var a=toStr$1.call(t);return a!==fnClass&&a!==genClass&&!/^\[object HTML/.test(a)?!1:tryFunctionObject(t)},isCallable=isCallable$1,toStr=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty,forEachArray=function(t,a,u){for(var d=0,h=t.length;d<h;d++)hasOwnProperty.call(t,d)&&(u==null?a(t[d],d,t):a.call(u,t[d],d,t))},forEachString=function(t,a,u){for(var d=0,h=t.length;d<h;d++)u==null?a(t.charAt(d),d,t):a.call(u,t.charAt(d),d,t)},forEachObject=function(t,a,u){for(var d in t)hasOwnProperty.call(t,d)&&(u==null?a(t[d],d,t):a.call(u,t[d],d,t))};function isArray$2(e){return toStr.call(e)==="[object Array]"}var forEach$1=function(t,a,u){if(!isCallable(a))throw new TypeError("iterator must be a function");var d;arguments.length>=3&&(d=u),isArray$2(t)?forEachArray(t,a,d):typeof t=="string"?forEachString(t,a,d):forEachObject(t,a,d)},possibleTypedArrayNames=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$1=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var t=[],a=0;a<possibleNames.length;a++)typeof g$1[possibleNames[a]]=="function"&&(t[t.length]=possibleNames[a]);return t},callBind$1={exports:{}},$defineProperty$1=esDefineProperty,$SyntaxError=syntax,$TypeError$2=type,gopd=gopd$1,defineDataProperty=function(t,a,u){if(!t||typeof t!="object"&&typeof t!="function")throw new $TypeError$2("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new $TypeError$2("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$2("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$2("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$2("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$2("`loose`, if provided, must be a boolean");var d=arguments.length>3?arguments[3]:null,h=arguments.length>4?arguments[4]:null,w=arguments.length>5?arguments[5]:null,x=arguments.length>6?arguments[6]:!1,M=!!gopd&&gopd(t,a);if($defineProperty$1)$defineProperty$1(t,a,{configurable:w===null&&M?M.configurable:!w,enumerable:d===null&&M?M.enumerable:!d,value:u,writable:h===null&&M?M.writable:!h});else if(x||!d&&!h&&!w)t[a]=u;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=esDefineProperty,hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError$1=type,$floor=GetIntrinsic("%Math.floor%"),setFunctionLength=function(t,a){if(typeof t!="function")throw new $TypeError$1("`fn` is not a function");if(typeof a!="number"||a<0||a>4294967295||$floor(a)!==a)throw new $TypeError$1("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],d=!0,h=!0;if("length"in t&&gOPD$1){var w=gOPD$1(t,"length");w&&!w.configurable&&(d=!1),w&&!w.writable&&(h=!1)}return(d||h||!u)&&(hasDescriptors?define(t,"length",a,!0,!0):define(t,"length",a)),t},bind=functionBind,$apply=functionApply,actualApply=actualApply$1,applyBind=function(){return actualApply(bind,$apply,arguments)};(function(e){var t=setFunctionLength,a=esDefineProperty,u=callBindApplyHelpers,d=applyBind;e.exports=function(w){var x=u(arguments),M=w.length-(arguments.length-1);return t(x,1+(M>0?M:0),!0)},a?a(e.exports,"apply",{value:d}):e.exports.apply=d})(callBind$1);var callBindExports=callBind$1.exports,forEach=forEach$1,availableTypedArrays=availableTypedArrays$1,callBind=callBindExports,callBound$1=callBound$6,gOPD=gopd$1,getProto=getProto$3,$toString=callBound$1("Object.prototype.toString"),hasToStringTag=shams(),g=typeof globalThis>"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound$1("String.prototype.slice"),$indexOf=callBound$1("Array.prototype.indexOf",!0)||function(t,a){for(var u=0;u<t.length;u+=1)if(t[u]===a)return u;return-1},cache={__proto__:null};hasToStringTag&&gOPD&&getProto?forEach(typedArrays,function(e){var t=new g[e];if(Symbol.toStringTag in t&&getProto){var a=getProto(t),u=gOPD(a,Symbol.toStringTag);if(!u&&a){var d=getProto(a);u=gOPD(d,Symbol.toStringTag)}cache["$"+e]=callBind(u.get)}}):forEach(typedArrays,function(e){var t=new g[e],a=t.slice||t.set;a&&(cache["$"+e]=callBind(a))});var tryTypedArrays=function(t){var a=!1;return forEach(cache,function(u,d){if(!a)try{"$"+u(t)===d&&(a=$slice(d,1))}catch{}}),a},trySlices=function(t){var a=!1;return forEach(cache,function(u,d){if(!a)try{u(t),a=$slice(d,1)}catch{}}),a},whichTypedArray=function(t){if(!t||typeof t!="object")return!1;if(!hasToStringTag){var a=$slice($toString(t),8,-1);return $indexOf(typedArrays,a)>-1?a:a!=="Object"?!1:trySlices(t)}return gOPD?tryTypedArrays(t):null},isTypedArray$1,hasRequiredIsTypedArray;function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray$1;hasRequiredIsTypedArray=1;var e=whichTypedArray;return isTypedArray$1=function(a){return!!e(a)},isTypedArray$1}(function(e){var t=isArguments,a=isGeneratorFunction,u=whichTypedArray,d=requireIsTypedArray();function h(le){return le.call.bind(le)}var w=typeof BigInt<"u",x=typeof Symbol<"u",M=h(Object.prototype.toString),B=h(Number.prototype.valueOf),E=h(String.prototype.valueOf),S=h(Boolean.prototype.valueOf);if(w)var k=h(BigInt.prototype.valueOf);if(x)var C=h(Symbol.prototype.valueOf);function D(le,Ve){if(typeof le!="object")return!1;try{return Ve(le),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=a,e.isTypedArray=d;function O(le){return typeof Promise<"u"&&le instanceof Promise||le!==null&&typeof le=="object"&&typeof le.then=="function"&&typeof le.catch=="function"}e.isPromise=O;function F(le){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(le):d(le)||I(le)}e.isArrayBufferView=F;function P(le){return u(le)==="Uint8Array"}e.isUint8Array=P;function L(le){return u(le)==="Uint8ClampedArray"}e.isUint8ClampedArray=L;function J(le){return u(le)==="Uint16Array"}e.isUint16Array=J;function Y(le){return u(le)==="Uint32Array"}e.isUint32Array=Y;function ae(le){return u(le)==="Int8Array"}e.isInt8Array=ae;function oe(le){return u(le)==="Int16Array"}e.isInt16Array=oe;function ue(le){return u(le)==="Int32Array"}e.isInt32Array=ue;function se(le){return u(le)==="Float32Array"}e.isFloat32Array=se;function ie(le){return u(le)==="Float64Array"}e.isFloat64Array=ie;function ce(le){return u(le)==="BigInt64Array"}e.isBigInt64Array=ce;function $(le){return u(le)==="BigUint64Array"}e.isBigUint64Array=$;function n(le){return M(le)==="[object Map]"}n.working=typeof Map<"u"&&n(new Map);function l(le){return typeof Map>"u"?!1:n.working?n(le):le instanceof Map}e.isMap=l;function c(le){return M(le)==="[object Set]"}c.working=typeof Set<"u"&&c(new Set);function p(le){return typeof Set>"u"?!1:c.working?c(le):le instanceof Set}e.isSet=p;function y(le){return M(le)==="[object WeakMap]"}y.working=typeof WeakMap<"u"&&y(new WeakMap);function b(le){return typeof WeakMap>"u"?!1:y.working?y(le):le instanceof WeakMap}e.isWeakMap=b;function _(le){return M(le)==="[object WeakSet]"}_.working=typeof WeakSet<"u"&&_(new WeakSet);function v(le){return _(le)}e.isWeakSet=v;function o(le){return M(le)==="[object ArrayBuffer]"}o.working=typeof ArrayBuffer<"u"&&o(new ArrayBuffer);function m(le){return typeof ArrayBuffer>"u"?!1:o.working?o(le):le instanceof ArrayBuffer}e.isArrayBuffer=m;function A(le){return M(le)==="[object DataView]"}A.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&A(new DataView(new ArrayBuffer(1),0,1));function I(le){return typeof DataView>"u"?!1:A.working?A(le):le instanceof DataView}e.isDataView=I;var U=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function X(le){return M(le)==="[object SharedArrayBuffer]"}function V(le){return typeof U>"u"?!1:(typeof X.working>"u"&&(X.working=X(new U)),X.working?X(le):le instanceof U)}e.isSharedArrayBuffer=V;function T(le){return M(le)==="[object AsyncFunction]"}e.isAsyncFunction=T;function q(le){return M(le)==="[object Map Iterator]"}e.isMapIterator=q;function Z(le){return M(le)==="[object Set Iterator]"}e.isSetIterator=Z;function te(le){return M(le)==="[object Generator]"}e.isGeneratorObject=te;function ee(le){return M(le)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=ee;function j(le){return D(le,B)}e.isNumberObject=j;function re(le){return D(le,E)}e.isStringObject=re;function qe(le){return D(le,S)}e.isBooleanObject=qe;function de(le){return w&&D(le,k)}e.isBigIntObject=de;function pe(le){return x&&D(le,C)}e.isSymbolObject=pe;function je(le){return j(le)||re(le)||qe(le)||de(le)||pe(le)}e.isBoxedPrimitive=je;function we(le){return typeof Uint8Array<"u"&&(m(le)||V(le))}e.isAnyArrayBuffer=we,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(le){Object.defineProperty(e,le,{enumerable:!1,value:function(){throw new Error(le+" is not supported in userland")}})})})(types);var isBufferBrowser=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"};(function(e){var t={},a=Object.getOwnPropertyDescriptors||function(U){for(var X=Object.keys(U),V={},T=0;T<X.length;T++)V[X[T]]=Object.getOwnPropertyDescriptor(U,X[T]);return V},u=/%[sdj%]/g;e.format=function(I){if(!oe(I)){for(var U=[],X=0;X<arguments.length;X++)U.push(x(arguments[X]));return U.join(" ")}for(var X=1,V=arguments,T=V.length,q=String(I).replace(u,function(te){if(te==="%%")return"%";if(X>=T)return te;switch(te){case"%s":return String(V[X++]);case"%d":return Number(V[X++]);case"%j":try{return JSON.stringify(V[X++])}catch{return"[Circular]"}default:return te}}),Z=V[X];X<T;Z=V[++X])J(Z)||!ce(Z)?q+=" "+Z:q+=" "+x(Z);return q},e.deprecate=function(I,U){if(typeof process$1<"u"&&process$1.noDeprecation===!0)return I;if(typeof process$1>"u")return function(){return e.deprecate(I,U).apply(this,arguments)};var X=!1;function V(){if(!X){if(process$1.throwDeprecation)throw new Error(U);process$1.traceDeprecation?console.trace(U):console.error(U),X=!0}return I.apply(this,arguments)}return V};var d={},h=/^$/;if(t.NODE_DEBUG){var w=t.NODE_DEBUG;w=w.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),h=new RegExp("^"+w+"$","i")}e.debuglog=function(I){if(I=I.toUpperCase(),!d[I])if(h.test(I)){var U=process$1.pid;d[I]=function(){var X=e.format.apply(e,arguments);console.error("%s %d: %s",I,U,X)}}else d[I]=function(){};return d[I]};function x(I,U){var X={seen:[],stylize:B};return arguments.length>=3&&(X.depth=arguments[2]),arguments.length>=4&&(X.colors=arguments[3]),L(U)?X.showHidden=U:U&&e._extend(X,U),se(X.showHidden)&&(X.showHidden=!1),se(X.depth)&&(X.depth=2),se(X.colors)&&(X.colors=!1),se(X.customInspect)&&(X.customInspect=!0),X.colors&&(X.stylize=M),S(X,I,X.depth)}e.inspect=x,x.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},x.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function M(I,U){var X=x.styles[U];return X?"\x1B["+x.colors[X][0]+"m"+I+"\x1B["+x.colors[X][1]+"m":I}function B(I,U){return I}function E(I){var U={};return I.forEach(function(X,V){U[X]=!0}),U}function S(I,U,X){if(I.customInspect&&U&&l(U.inspect)&&U.inspect!==e.inspect&&!(U.constructor&&U.constructor.prototype===U)){var V=U.inspect(X,I);return oe(V)||(V=S(I,V,X)),V}var T=k(I,U);if(T)return T;var q=Object.keys(U),Z=E(q);if(I.showHidden&&(q=Object.getOwnPropertyNames(U)),n(U)&&(q.indexOf("message")>=0||q.indexOf("description")>=0))return C(U);if(q.length===0){if(l(U)){var te=U.name?": "+U.name:"";return I.stylize("[Function"+te+"]","special")}if(ie(U))return I.stylize(RegExp.prototype.toString.call(U),"regexp");if($(U))return I.stylize(Date.prototype.toString.call(U),"date");if(n(U))return C(U)}var ee="",j=!1,re=["{","}"];if(P(U)&&(j=!0,re=["[","]"]),l(U)){var qe=U.name?": "+U.name:"";ee=" [Function"+qe+"]"}if(ie(U)&&(ee=" "+RegExp.prototype.toString.call(U)),$(U)&&(ee=" "+Date.prototype.toUTCString.call(U)),n(U)&&(ee=" "+C(U)),q.length===0&&(!j||U.length==0))return re[0]+ee+re[1];if(X<0)return ie(U)?I.stylize(RegExp.prototype.toString.call(U),"regexp"):I.stylize("[Object]","special");I.seen.push(U);var de;return j?de=D(I,U,X,Z,q):de=q.map(function(pe){return O(I,U,X,Z,pe,j)}),I.seen.pop(),F(de,ee,re)}function k(I,U){if(se(U))return I.stylize("undefined","undefined");if(oe(U)){var X="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return I.stylize(X,"string")}if(ae(U))return I.stylize(""+U,"number");if(L(U))return I.stylize(""+U,"boolean");if(J(U))return I.stylize("null","null")}function C(I){return"["+Error.prototype.toString.call(I)+"]"}function D(I,U,X,V,T){for(var q=[],Z=0,te=U.length;Z<te;++Z)v(U,String(Z))?q.push(O(I,U,X,V,String(Z),!0)):q.push("");return T.forEach(function(ee){ee.match(/^\d+$/)||q.push(O(I,U,X,V,ee,!0))}),q}function O(I,U,X,V,T,q){var Z,te,ee;if(ee=Object.getOwnPropertyDescriptor(U,T)||{value:U[T]},ee.get?ee.set?te=I.stylize("[Getter/Setter]","special"):te=I.stylize("[Getter]","special"):ee.set&&(te=I.stylize("[Setter]","special")),v(V,T)||(Z="["+T+"]"),te||(I.seen.indexOf(ee.value)<0?(J(X)?te=S(I,ee.value,null):te=S(I,ee.value,X-1),te.indexOf(`
7
+ Use Chrome, Firefox or Internet Explorer 11`)}var Buffer$E=safeBufferExports$2.Buffer,crypto$2=commonjsGlobal.crypto||commonjsGlobal.msCrypto;crypto$2&&crypto$2.getRandomValues?browser$b.exports=randomBytes$3:browser$b.exports=oldBrowser$1;function randomBytes$3(e,t){if(e>MAX_UINT32)throw new RangeError("requested too many random bytes");var a=Buffer$E.allocUnsafe(e);if(e>0)if(e>MAX_BYTES)for(var u=0;u<e;u+=MAX_BYTES)crypto$2.getRandomValues(a.slice(u,u+MAX_BYTES));else crypto$2.getRandomValues(a);return typeof t=="function"?process$1.nextTick(function(){t(null,a)}):a}var browserExports=browser$b.exports,inherits_browser={exports:{}};typeof Object.create=="function"?inherits_browser.exports=function(t,a){a&&(t.super_=a,t.prototype=Object.create(a.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(t,a){if(a){t.super_=a;var u=function(){};u.prototype=a.prototype,t.prototype=new u,t.prototype.constructor=t}};var inherits_browserExports=inherits_browser.exports,events={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function(t,a,u){return Function.prototype.apply.call(t,a,u)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:ReflectOwnKeys=function(t){return Object.getOwnPropertyNames(t)};function ProcessEmitWarning(e){console&&console.warn&&console.warn(e)}var NumberIsNaN=Number.isNaN||function(t){return t!==t};function EventEmitter(){EventEmitter.init.call(this)}events.exports=EventEmitter;events.exports.once=once;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(e){if(typeof e!="number"||e<0||NumberIsNaN(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");defaultMaxListeners=e}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||NumberIsNaN(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function _getMaxListeners(e){return e._maxListeners===void 0?EventEmitter.defaultMaxListeners:e._maxListeners}EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function(t){for(var a=[],u=1;u<arguments.length;u++)a.push(arguments[u]);var d=t==="error",h=this._events;if(h!==void 0)d=d&&h.error===void 0;else if(!d)return!1;if(d){var w;if(a.length>0&&(w=a[0]),w instanceof Error)throw w;var x=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw x.context=w,x}var M=h[t];if(M===void 0)return!1;if(typeof M=="function")ReflectApply(M,this,a);else for(var B=M.length,E=arrayClone(M,B),u=0;u<B;++u)ReflectApply(E[u],this,a);return!0};function _addListener(e,t,a,u){var d,h,w;if(checkListener(a),h=e._events,h===void 0?(h=e._events=Object.create(null),e._eventsCount=0):(h.newListener!==void 0&&(e.emit("newListener",t,a.listener?a.listener:a),h=e._events),w=h[t]),w===void 0)w=h[t]=a,++e._eventsCount;else if(typeof w=="function"?w=h[t]=u?[a,w]:[w,a]:u?w.unshift(a):w.push(a),d=_getMaxListeners(e),d>0&&w.length>d&&!w.warned){w.warned=!0;var x=new Error("Possible EventEmitter memory leak detected. "+w.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");x.name="MaxListenersExceededWarning",x.emitter=e,x.type=t,x.count=w.length,ProcessEmitWarning(x)}return e}EventEmitter.prototype.addListener=function(t,a){return _addListener(this,t,a,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function(t,a){return _addListener(this,t,a,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(e,t,a){var u={fired:!1,wrapFn:void 0,target:e,type:t,listener:a},d=onceWrapper.bind(u);return d.listener=a,u.wrapFn=d,d}EventEmitter.prototype.once=function(t,a){return checkListener(a),this.on(t,_onceWrap(this,t,a)),this};EventEmitter.prototype.prependOnceListener=function(t,a){return checkListener(a),this.prependListener(t,_onceWrap(this,t,a)),this};EventEmitter.prototype.removeListener=function(t,a){var u,d,h,w,x;if(checkListener(a),d=this._events,d===void 0)return this;if(u=d[t],u===void 0)return this;if(u===a||u.listener===a)--this._eventsCount===0?this._events=Object.create(null):(delete d[t],d.removeListener&&this.emit("removeListener",t,u.listener||a));else if(typeof u!="function"){for(h=-1,w=u.length-1;w>=0;w--)if(u[w]===a||u[w].listener===a){x=u[w].listener,h=w;break}if(h<0)return this;h===0?u.shift():spliceOne(u,h),u.length===1&&(d[t]=u[0]),d.removeListener!==void 0&&this.emit("removeListener",t,x||a)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function(t){var a,u,d;if(u=this._events,u===void 0)return this;if(u.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):u[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete u[t]),this;if(arguments.length===0){var h=Object.keys(u),w;for(d=0;d<h.length;++d)w=h[d],w!=="removeListener"&&this.removeAllListeners(w);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(a=u[t],typeof a=="function")this.removeListener(t,a);else if(a!==void 0)for(d=a.length-1;d>=0;d--)this.removeListener(t,a[d]);return this};function _listeners(e,t,a){var u=e._events;if(u===void 0)return[];var d=u[t];return d===void 0?[]:typeof d=="function"?a?[d.listener||d]:[d]:a?unwrapListeners(d):arrayClone(d,d.length)}EventEmitter.prototype.listeners=function(t){return _listeners(this,t,!0)};EventEmitter.prototype.rawListeners=function(t){return _listeners(this,t,!1)};EventEmitter.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):listenerCount.call(e,t)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(e){var t=this._events;if(t!==void 0){var a=t[e];if(typeof a=="function")return 1;if(a!==void 0)return a.length}return 0}EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(e,t){for(var a=new Array(t),u=0;u<t;++u)a[u]=e[u];return a}function spliceOne(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function unwrapListeners(e){for(var t=new Array(e.length),a=0;a<t.length;++a)t[a]=e[a].listener||e[a];return t}function once(e,t){return new Promise(function(a,u){function d(w){e.removeListener(t,h),u(w)}function h(){typeof e.removeListener=="function"&&e.removeListener("error",d),a([].slice.call(arguments))}eventTargetAgnosticAddListener(e,t,h,{once:!0}),t!=="error"&&addErrorHandlerIfEventEmitter(e,d,{once:!0})})}function addErrorHandlerIfEventEmitter(e,t,a){typeof e.on=="function"&&eventTargetAgnosticAddListener(e,"error",t,a)}function eventTargetAgnosticAddListener(e,t,a,u){if(typeof e.on=="function")u.once?e.once(t,a):e.on(t,a);else if(typeof e.addEventListener=="function")e.addEventListener(t,function d(h){u.once&&e.removeEventListener(t,d),a(h)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var eventsExports=events.exports,streamBrowser$2,hasRequiredStreamBrowser;function requireStreamBrowser(){return hasRequiredStreamBrowser||(hasRequiredStreamBrowser=1,streamBrowser$2=eventsExports.EventEmitter),streamBrowser$2}var util$5={},types={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},a=Symbol("test"),u=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(u)!=="[object Symbol]")return!1;var d=42;t[a]=d;for(var h in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var w=Object.getOwnPropertySymbols(t);if(w.length!==1||w[0]!==a||!Object.prototype.propertyIsEnumerable.call(t,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var x=Object.getOwnPropertyDescriptor(t,a);if(x.value!==d||x.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esObjectAtoms=Object,esErrors=Error,_eval=EvalError,range=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,abs$1=Math.abs,floor$1=Math.floor,max$2=Math.max,min$1=Math.min,pow$2=Math.pow,round$1=Math.round,_isNaN=Number.isNaN||function(t){return t!==t},$isNaN=_isNaN,sign$2=function(t){return $isNaN(t)||t===0?t:t<0?-1:1},gOPD$4=Object.getOwnPropertyDescriptor,$gOPD$1=gOPD$4;if($gOPD$1)try{$gOPD$1([],"length")}catch{$gOPD$1=null}var gopd$1=$gOPD$1,$defineProperty$3=Object.defineProperty||!1;if($defineProperty$3)try{$defineProperty$3({},"a",{value:1})}catch{$defineProperty$3=!1}var esDefineProperty=$defineProperty$3,hasSymbols$1,hasRequiredHasSymbols;function requireHasSymbols(){if(hasRequiredHasSymbols)return hasSymbols$1;hasRequiredHasSymbols=1;var e=typeof Symbol<"u"&&Symbol,t=shams$1;return hasSymbols$1=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},hasSymbols$1}var Reflect_getPrototypeOf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,$Object$2=esObjectAtoms,Object_getPrototypeOf=$Object$2.getPrototypeOf||null,ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max$1=Math.max,funcType="[object Function]",concatty=function(t,a){for(var u=[],d=0;d<t.length;d+=1)u[d]=t[d];for(var h=0;h<a.length;h+=1)u[h+t.length]=a[h];return u},slicy=function(t,a){for(var u=[],d=a,h=0;d<t.length;d+=1,h+=1)u[h]=t[d];return u},joiny=function(e,t){for(var a="",u=0;u<e.length;u+=1)a+=e[u],u+1<e.length&&(a+=t);return a},implementation$1=function(t){var a=this;if(typeof a!="function"||toStr$3.apply(a)!==funcType)throw new TypeError(ERROR_MESSAGE+a);for(var u=slicy(arguments,1),d,h=function(){if(this instanceof d){var E=a.apply(this,concatty(u,arguments));return Object(E)===E?E:this}return a.apply(t,concatty(u,arguments))},w=max$1(0,a.length-u.length),x=[],M=0;M<w;M++)x[M]="$"+M;if(d=Function("binder","return function ("+joiny(x,",")+"){ return binder.apply(this,arguments); }")(h),a.prototype){var B=function(){};B.prototype=a.prototype,d.prototype=new B,B.prototype=null}return d},implementation=implementation$1,functionBind=Function.prototype.bind||implementation,functionCall=Function.prototype.call,functionApply,hasRequiredFunctionApply;function requireFunctionApply(){return hasRequiredFunctionApply||(hasRequiredFunctionApply=1,functionApply=Function.prototype.apply),functionApply}var reflectApply$1=typeof Reflect<"u"&&Reflect&&Reflect.apply,bind$3=functionBind,$apply$2=requireFunctionApply(),$call$2=functionCall,$reflectApply=reflectApply$1,actualApply$1=$reflectApply||bind$3.call($call$2,$apply$2),bind$2=functionBind,$TypeError$5=type,$call$1=functionCall,$actualApply=actualApply$1,callBindApplyHelpers=function(t){if(t.length<1||typeof t[0]!="function")throw new $TypeError$5("a function is required");return $actualApply(bind$2,$call$1,t)},callBind$2=callBindApplyHelpers,gOPD$3=gopd$1,hasProtoAccessor;try{hasProtoAccessor=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var desc=!!hasProtoAccessor&&gOPD$3&&gOPD$3(Object.prototype,"__proto__"),$Object$1=Object,$getPrototypeOf=$Object$1.getPrototypeOf,get=desc&&typeof desc.get=="function"?callBind$2([desc.get]):typeof $getPrototypeOf=="function"?function(t){return $getPrototypeOf(t==null?t:$Object$1(t))}:!1,reflectGetProto=Reflect_getPrototypeOf,originalGetProto=Object_getPrototypeOf,getDunderProto=get,getProto$3=reflectGetProto?function(t){return reflectGetProto(t)}:originalGetProto?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return originalGetProto(t)}:getDunderProto?function(t){return getDunderProto(t)}:null,hasown,hasRequiredHasown;function requireHasown(){if(hasRequiredHasown)return hasown;hasRequiredHasown=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,a=functionBind;return hasown=a.call(e,t),hasown}var undefined$1,$Object=esObjectAtoms,$Error=esErrors,$EvalError=_eval,$RangeError=range,$ReferenceError=ref,$SyntaxError$1=syntax,$TypeError$4=type,$URIError=uri,abs=abs$1,floor=floor$1,max=max$2,min=min$1,pow$1=pow$2,round=round$1,sign$1=sign$2,$Function=Function,getEvalledConstructor=function(e){try{return $Function('"use strict"; return ('+e+").constructor;")()}catch{}},$gOPD=gopd$1,$defineProperty$2=esDefineProperty,throwTypeError=function(){throw new $TypeError$4},ThrowTypeError=$gOPD?function(){try{return arguments.callee,throwTypeError}catch{try{return $gOPD(arguments,"callee").get}catch{return throwTypeError}}}():throwTypeError,hasSymbols=requireHasSymbols()(),getProto$2=getProto$3,$ObjectGPO=Object_getPrototypeOf,$ReflectGPO=Reflect_getPrototypeOf,$apply$1=requireFunctionApply(),$call=functionCall,needsEval={},TypedArray=typeof Uint8Array>"u"||!getProto$2?undefined$1:getProto$2(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$2?getProto$2([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float16Array%":typeof Float16Array>"u"?undefined$1:Float16Array,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$2?getProto$2(getProto$2([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$2?undefined$1:getProto$2(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":$Object,"%Object.getOwnPropertyDescriptor%":$gOPD,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$2?undefined$1:getProto$2(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$2?getProto$2(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$4,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet,"%Function.prototype.call%":$call,"%Function.prototype.apply%":$apply$1,"%Object.defineProperty%":$defineProperty$2,"%Object.getPrototypeOf%":$ObjectGPO,"%Math.abs%":abs,"%Math.floor%":floor,"%Math.max%":max,"%Math.min%":min,"%Math.pow%":pow$1,"%Math.round%":round,"%Math.sign%":sign$1,"%Reflect.getPrototypeOf%":$ReflectGPO};if(getProto$2)try{null.error}catch(e){var errorProto=getProto$2(getProto$2(e));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function e(t){var a;if(t==="%AsyncFunction%")a=getEvalledConstructor("async function () {}");else if(t==="%GeneratorFunction%")a=getEvalledConstructor("function* () {}");else if(t==="%AsyncGeneratorFunction%")a=getEvalledConstructor("async function* () {}");else if(t==="%AsyncGenerator%"){var u=e("%AsyncGeneratorFunction%");u&&(a=u.prototype)}else if(t==="%AsyncIteratorPrototype%"){var d=e("%AsyncGenerator%");d&&getProto$2&&(a=getProto$2(d.prototype))}return INTRINSICS[t]=a,a},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$1=functionBind,hasOwn$1=requireHasown(),$concat=bind$1.call($call,Array.prototype.concat),$spliceApply=bind$1.call($apply$1,Array.prototype.splice),$replace=bind$1.call($call,String.prototype.replace),$strSlice=bind$1.call($call,String.prototype.slice),$exec$2=bind$1.call($call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(t){var a=$strSlice(t,0,1),u=$strSlice(t,-1);if(a==="%"&&u!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(u==="%"&&a!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var d=[];return $replace(t,rePropName,function(h,w,x,M){d[d.length]=x?$replace(M,reEscapeChar,"$1"):w||h}),d},getBaseIntrinsic=function(t,a){var u=t,d;if(hasOwn$1(LEGACY_ALIASES,u)&&(d=LEGACY_ALIASES[u],u="%"+d[0]+"%"),hasOwn$1(INTRINSICS,u)){var h=INTRINSICS[u];if(h===needsEval&&(h=doEval(u)),typeof h>"u"&&!a)throw new $TypeError$4("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:d,name:u,value:h}}throw new $SyntaxError$1("intrinsic "+t+" does not exist!")},getIntrinsic=function(t,a){if(typeof t!="string"||t.length===0)throw new $TypeError$4("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof a!="boolean")throw new $TypeError$4('"allowMissing" argument must be a boolean');if($exec$2(/^%?[^%]*%?$/,t)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var u=stringToPath(t),d=u.length>0?u[0]:"",h=getBaseIntrinsic("%"+d+"%",a),w=h.name,x=h.value,M=!1,B=h.alias;B&&(d=B[0],$spliceApply(u,$concat([0,1],B)));for(var E=1,S=!0;E<u.length;E+=1){var k=u[E],C=$strSlice(k,0,1),D=$strSlice(k,-1);if((C==='"'||C==="'"||C==="`"||D==='"'||D==="'"||D==="`")&&C!==D)throw new $SyntaxError$1("property names with quotes must have matching quotes");if((k==="constructor"||!S)&&(M=!0),d+="."+k,w="%"+d+"%",hasOwn$1(INTRINSICS,w))x=INTRINSICS[w];else if(x!=null){if(!(k in x)){if(!a)throw new $TypeError$4("base intrinsic for "+t+" exists, but the property is not available.");return}if($gOPD&&E+1>=u.length){var O=$gOPD(x,k);S=!!O,S&&"get"in O&&!("originalValue"in O.get)?x=O.get:x=x[k]}else S=hasOwn$1(x,k),x=x[k];S&&!M&&(INTRINSICS[w]=x)}}return x},GetIntrinsic$1=getIntrinsic,callBindBasic=callBindApplyHelpers,$indexOf$1=callBindBasic([GetIntrinsic$1("%String.prototype.indexOf%")]),callBound$6=function(t,a){var u=GetIntrinsic$1(t,!!a);return typeof u=="function"&&$indexOf$1(t,".prototype.")>-1?callBindBasic([u]):u},hasToStringTag$4=shams(),callBound$5=callBound$6,$toString$2=callBound$5("Object.prototype.toString"),isStandardArguments=function(t){return hasToStringTag$4&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:$toString$2(t)==="[object Arguments]"},isLegacyArguments=function(t){return isStandardArguments(t)?!0:t!==null&&typeof t=="object"&&"length"in t&&typeof t.length=="number"&&t.length>=0&&$toString$2(t)!=="[object Array]"&&"callee"in t&&$toString$2(t.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,callBound$4=callBound$6,hasToStringTag$3=shams(),hasOwn=requireHasown(),gOPD$2=gopd$1,fn;if(hasToStringTag$3){var $exec$1=callBound$4("RegExp.prototype.exec"),isRegexMarker={},throwRegexMarker=function(){throw isRegexMarker},badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker};typeof Symbol.toPrimitive=="symbol"&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker),fn=function(t){if(!t||typeof t!="object")return!1;var a=gOPD$2(t,"lastIndex"),u=a&&hasOwn(a,"value");if(!u)return!1;try{$exec$1(t,badStringifier)}catch(d){return d===isRegexMarker}}}else{var $toString$1=callBound$4("Object.prototype.toString"),regexClass="[object RegExp]";fn=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:$toString$1(t)===regexClass}}var isRegex$1=fn,callBound$3=callBound$6,isRegex=isRegex$1,$exec=callBound$3("RegExp.prototype.exec"),$TypeError$3=type,safeRegexTest$1=function(t){if(!isRegex(t))throw new $TypeError$3("`regex` must be a RegExp");return function(u){return $exec(t,u)!==null}},generatorFunction,hasRequiredGeneratorFunction;function requireGeneratorFunction(){if(hasRequiredGeneratorFunction)return generatorFunction;hasRequiredGeneratorFunction=1;const e=(function*(){}).constructor;return generatorFunction=()=>e,generatorFunction}var callBound$2=callBound$6,safeRegexTest=safeRegexTest$1,isFnRegex=safeRegexTest(/^\s*(?:function)?\*/),hasToStringTag$2=shams(),getProto$1=getProto$3,toStr$2=callBound$2("Object.prototype.toString"),fnToStr$1=callBound$2("Function.prototype.toString"),getGeneratorFunction=requireGeneratorFunction(),isGeneratorFunction=function(t){if(typeof t!="function")return!1;if(isFnRegex(fnToStr$1(t)))return!0;if(!hasToStringTag$2){var a=toStr$2(t);return a==="[object GeneratorFunction]"}if(!getProto$1)return!1;var u=getGeneratorFunction();return u&&getProto$1(t)===u.prototype},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(e){e!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(t){try{var a=fnToStr.call(t);return constructorRegex.test(a)}catch{return!1}},tryFunctionObject=function(t){try{return isES6ClassFn(t)?!1:(fnToStr.call(t),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(t){if((isIE68||!t)&&(typeof t>"u"||typeof t=="object"))try{var a=toStr$1.call(t);return(a===ddaClass||a===ddaClass2||a===ddaClass3||a===objectClass)&&t("")==null}catch{}return!1})}var isCallable$1=reflectApply?function(t){if(isDDA(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{reflectApply(t,null,badArrayLike)}catch(a){if(a!==isCallableMarker)return!1}return!isES6ClassFn(t)&&tryFunctionObject(t)}:function(t){if(isDDA(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(t);if(isES6ClassFn(t))return!1;var a=toStr$1.call(t);return a!==fnClass&&a!==genClass&&!/^\[object HTML/.test(a)?!1:tryFunctionObject(t)},isCallable=isCallable$1,toStr=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty,forEachArray=function(t,a,u){for(var d=0,h=t.length;d<h;d++)hasOwnProperty.call(t,d)&&(u==null?a(t[d],d,t):a.call(u,t[d],d,t))},forEachString=function(t,a,u){for(var d=0,h=t.length;d<h;d++)u==null?a(t.charAt(d),d,t):a.call(u,t.charAt(d),d,t)},forEachObject=function(t,a,u){for(var d in t)hasOwnProperty.call(t,d)&&(u==null?a(t[d],d,t):a.call(u,t[d],d,t))};function isArray$2(e){return toStr.call(e)==="[object Array]"}var forEach$1=function(t,a,u){if(!isCallable(a))throw new TypeError("iterator must be a function");var d;arguments.length>=3&&(d=u),isArray$2(t)?forEachArray(t,a,d):typeof t=="string"?forEachString(t,a,d):forEachObject(t,a,d)},possibleTypedArrayNames=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$1=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var t=[],a=0;a<possibleNames.length;a++)typeof g$1[possibleNames[a]]=="function"&&(t[t.length]=possibleNames[a]);return t},callBind$1={exports:{}},$defineProperty$1=esDefineProperty,$SyntaxError=syntax,$TypeError$2=type,gopd=gopd$1,defineDataProperty=function(t,a,u){if(!t||typeof t!="object"&&typeof t!="function")throw new $TypeError$2("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new $TypeError$2("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$2("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$2("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$2("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$2("`loose`, if provided, must be a boolean");var d=arguments.length>3?arguments[3]:null,h=arguments.length>4?arguments[4]:null,w=arguments.length>5?arguments[5]:null,x=arguments.length>6?arguments[6]:!1,M=!!gopd&&gopd(t,a);if($defineProperty$1)$defineProperty$1(t,a,{configurable:w===null&&M?M.configurable:!w,enumerable:d===null&&M?M.enumerable:!d,value:u,writable:h===null&&M?M.writable:!h});else if(x||!d&&!h&&!w)t[a]=u;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=esDefineProperty,hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError$1=type,$floor=GetIntrinsic("%Math.floor%"),setFunctionLength=function(t,a){if(typeof t!="function")throw new $TypeError$1("`fn` is not a function");if(typeof a!="number"||a<0||a>4294967295||$floor(a)!==a)throw new $TypeError$1("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],d=!0,h=!0;if("length"in t&&gOPD$1){var w=gOPD$1(t,"length");w&&!w.configurable&&(d=!1),w&&!w.writable&&(h=!1)}return(d||h||!u)&&(hasDescriptors?define(t,"length",a,!0,!0):define(t,"length",a)),t},bind=functionBind,$apply=requireFunctionApply(),actualApply=actualApply$1,applyBind=function(){return actualApply(bind,$apply,arguments)};(function(e){var t=setFunctionLength,a=esDefineProperty,u=callBindApplyHelpers,d=applyBind;e.exports=function(w){var x=u(arguments),M=w.length-(arguments.length-1);return t(x,1+(M>0?M:0),!0)},a?a(e.exports,"apply",{value:d}):e.exports.apply=d})(callBind$1);var callBindExports=callBind$1.exports,forEach=forEach$1,availableTypedArrays=availableTypedArrays$1,callBind=callBindExports,callBound$1=callBound$6,gOPD=gopd$1,getProto=getProto$3,$toString=callBound$1("Object.prototype.toString"),hasToStringTag=shams(),g=typeof globalThis>"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound$1("String.prototype.slice"),$indexOf=callBound$1("Array.prototype.indexOf",!0)||function(t,a){for(var u=0;u<t.length;u+=1)if(t[u]===a)return u;return-1},cache={__proto__:null};hasToStringTag&&gOPD&&getProto?forEach(typedArrays,function(e){var t=new g[e];if(Symbol.toStringTag in t&&getProto){var a=getProto(t),u=gOPD(a,Symbol.toStringTag);if(!u&&a){var d=getProto(a);u=gOPD(d,Symbol.toStringTag)}cache["$"+e]=callBind(u.get)}}):forEach(typedArrays,function(e){var t=new g[e],a=t.slice||t.set;a&&(cache["$"+e]=callBind(a))});var tryTypedArrays=function(t){var a=!1;return forEach(cache,function(u,d){if(!a)try{"$"+u(t)===d&&(a=$slice(d,1))}catch{}}),a},trySlices=function(t){var a=!1;return forEach(cache,function(u,d){if(!a)try{u(t),a=$slice(d,1)}catch{}}),a},whichTypedArray=function(t){if(!t||typeof t!="object")return!1;if(!hasToStringTag){var a=$slice($toString(t),8,-1);return $indexOf(typedArrays,a)>-1?a:a!=="Object"?!1:trySlices(t)}return gOPD?tryTypedArrays(t):null},isTypedArray$1,hasRequiredIsTypedArray;function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray$1;hasRequiredIsTypedArray=1;var e=whichTypedArray;return isTypedArray$1=function(a){return!!e(a)},isTypedArray$1}(function(e){var t=isArguments,a=isGeneratorFunction,u=whichTypedArray,d=requireIsTypedArray();function h(le){return le.call.bind(le)}var w=typeof BigInt<"u",x=typeof Symbol<"u",M=h(Object.prototype.toString),B=h(Number.prototype.valueOf),E=h(String.prototype.valueOf),S=h(Boolean.prototype.valueOf);if(w)var k=h(BigInt.prototype.valueOf);if(x)var C=h(Symbol.prototype.valueOf);function D(le,Ve){if(typeof le!="object")return!1;try{return Ve(le),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=a,e.isTypedArray=d;function O(le){return typeof Promise<"u"&&le instanceof Promise||le!==null&&typeof le=="object"&&typeof le.then=="function"&&typeof le.catch=="function"}e.isPromise=O;function F(le){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(le):d(le)||I(le)}e.isArrayBufferView=F;function P(le){return u(le)==="Uint8Array"}e.isUint8Array=P;function L(le){return u(le)==="Uint8ClampedArray"}e.isUint8ClampedArray=L;function J(le){return u(le)==="Uint16Array"}e.isUint16Array=J;function Y(le){return u(le)==="Uint32Array"}e.isUint32Array=Y;function ae(le){return u(le)==="Int8Array"}e.isInt8Array=ae;function oe(le){return u(le)==="Int16Array"}e.isInt16Array=oe;function ue(le){return u(le)==="Int32Array"}e.isInt32Array=ue;function se(le){return u(le)==="Float32Array"}e.isFloat32Array=se;function ie(le){return u(le)==="Float64Array"}e.isFloat64Array=ie;function ce(le){return u(le)==="BigInt64Array"}e.isBigInt64Array=ce;function $(le){return u(le)==="BigUint64Array"}e.isBigUint64Array=$;function n(le){return M(le)==="[object Map]"}n.working=typeof Map<"u"&&n(new Map);function l(le){return typeof Map>"u"?!1:n.working?n(le):le instanceof Map}e.isMap=l;function c(le){return M(le)==="[object Set]"}c.working=typeof Set<"u"&&c(new Set);function p(le){return typeof Set>"u"?!1:c.working?c(le):le instanceof Set}e.isSet=p;function y(le){return M(le)==="[object WeakMap]"}y.working=typeof WeakMap<"u"&&y(new WeakMap);function b(le){return typeof WeakMap>"u"?!1:y.working?y(le):le instanceof WeakMap}e.isWeakMap=b;function _(le){return M(le)==="[object WeakSet]"}_.working=typeof WeakSet<"u"&&_(new WeakSet);function v(le){return _(le)}e.isWeakSet=v;function o(le){return M(le)==="[object ArrayBuffer]"}o.working=typeof ArrayBuffer<"u"&&o(new ArrayBuffer);function m(le){return typeof ArrayBuffer>"u"?!1:o.working?o(le):le instanceof ArrayBuffer}e.isArrayBuffer=m;function A(le){return M(le)==="[object DataView]"}A.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&A(new DataView(new ArrayBuffer(1),0,1));function I(le){return typeof DataView>"u"?!1:A.working?A(le):le instanceof DataView}e.isDataView=I;var U=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function X(le){return M(le)==="[object SharedArrayBuffer]"}function V(le){return typeof U>"u"?!1:(typeof X.working>"u"&&(X.working=X(new U)),X.working?X(le):le instanceof U)}e.isSharedArrayBuffer=V;function T(le){return M(le)==="[object AsyncFunction]"}e.isAsyncFunction=T;function q(le){return M(le)==="[object Map Iterator]"}e.isMapIterator=q;function Z(le){return M(le)==="[object Set Iterator]"}e.isSetIterator=Z;function te(le){return M(le)==="[object Generator]"}e.isGeneratorObject=te;function ee(le){return M(le)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=ee;function j(le){return D(le,B)}e.isNumberObject=j;function re(le){return D(le,E)}e.isStringObject=re;function qe(le){return D(le,S)}e.isBooleanObject=qe;function de(le){return w&&D(le,k)}e.isBigIntObject=de;function pe(le){return x&&D(le,C)}e.isSymbolObject=pe;function je(le){return j(le)||re(le)||qe(le)||de(le)||pe(le)}e.isBoxedPrimitive=je;function we(le){return typeof Uint8Array<"u"&&(m(le)||V(le))}e.isAnyArrayBuffer=we,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(le){Object.defineProperty(e,le,{enumerable:!1,value:function(){throw new Error(le+" is not supported in userland")}})})})(types);var isBufferBrowser=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"};(function(e){var t={},a=Object.getOwnPropertyDescriptors||function(U){for(var X=Object.keys(U),V={},T=0;T<X.length;T++)V[X[T]]=Object.getOwnPropertyDescriptor(U,X[T]);return V},u=/%[sdj%]/g;e.format=function(I){if(!oe(I)){for(var U=[],X=0;X<arguments.length;X++)U.push(x(arguments[X]));return U.join(" ")}for(var X=1,V=arguments,T=V.length,q=String(I).replace(u,function(te){if(te==="%%")return"%";if(X>=T)return te;switch(te){case"%s":return String(V[X++]);case"%d":return Number(V[X++]);case"%j":try{return JSON.stringify(V[X++])}catch{return"[Circular]"}default:return te}}),Z=V[X];X<T;Z=V[++X])J(Z)||!ce(Z)?q+=" "+Z:q+=" "+x(Z);return q},e.deprecate=function(I,U){if(typeof process$1<"u"&&process$1.noDeprecation===!0)return I;if(typeof process$1>"u")return function(){return e.deprecate(I,U).apply(this,arguments)};var X=!1;function V(){if(!X){if(process$1.throwDeprecation)throw new Error(U);process$1.traceDeprecation?console.trace(U):console.error(U),X=!0}return I.apply(this,arguments)}return V};var d={},h=/^$/;if(t.NODE_DEBUG){var w=t.NODE_DEBUG;w=w.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),h=new RegExp("^"+w+"$","i")}e.debuglog=function(I){if(I=I.toUpperCase(),!d[I])if(h.test(I)){var U=process$1.pid;d[I]=function(){var X=e.format.apply(e,arguments);console.error("%s %d: %s",I,U,X)}}else d[I]=function(){};return d[I]};function x(I,U){var X={seen:[],stylize:B};return arguments.length>=3&&(X.depth=arguments[2]),arguments.length>=4&&(X.colors=arguments[3]),L(U)?X.showHidden=U:U&&e._extend(X,U),se(X.showHidden)&&(X.showHidden=!1),se(X.depth)&&(X.depth=2),se(X.colors)&&(X.colors=!1),se(X.customInspect)&&(X.customInspect=!0),X.colors&&(X.stylize=M),S(X,I,X.depth)}e.inspect=x,x.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},x.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function M(I,U){var X=x.styles[U];return X?"\x1B["+x.colors[X][0]+"m"+I+"\x1B["+x.colors[X][1]+"m":I}function B(I,U){return I}function E(I){var U={};return I.forEach(function(X,V){U[X]=!0}),U}function S(I,U,X){if(I.customInspect&&U&&l(U.inspect)&&U.inspect!==e.inspect&&!(U.constructor&&U.constructor.prototype===U)){var V=U.inspect(X,I);return oe(V)||(V=S(I,V,X)),V}var T=k(I,U);if(T)return T;var q=Object.keys(U),Z=E(q);if(I.showHidden&&(q=Object.getOwnPropertyNames(U)),n(U)&&(q.indexOf("message")>=0||q.indexOf("description")>=0))return C(U);if(q.length===0){if(l(U)){var te=U.name?": "+U.name:"";return I.stylize("[Function"+te+"]","special")}if(ie(U))return I.stylize(RegExp.prototype.toString.call(U),"regexp");if($(U))return I.stylize(Date.prototype.toString.call(U),"date");if(n(U))return C(U)}var ee="",j=!1,re=["{","}"];if(P(U)&&(j=!0,re=["[","]"]),l(U)){var qe=U.name?": "+U.name:"";ee=" [Function"+qe+"]"}if(ie(U)&&(ee=" "+RegExp.prototype.toString.call(U)),$(U)&&(ee=" "+Date.prototype.toUTCString.call(U)),n(U)&&(ee=" "+C(U)),q.length===0&&(!j||U.length==0))return re[0]+ee+re[1];if(X<0)return ie(U)?I.stylize(RegExp.prototype.toString.call(U),"regexp"):I.stylize("[Object]","special");I.seen.push(U);var de;return j?de=D(I,U,X,Z,q):de=q.map(function(pe){return O(I,U,X,Z,pe,j)}),I.seen.pop(),F(de,ee,re)}function k(I,U){if(se(U))return I.stylize("undefined","undefined");if(oe(U)){var X="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return I.stylize(X,"string")}if(ae(U))return I.stylize(""+U,"number");if(L(U))return I.stylize(""+U,"boolean");if(J(U))return I.stylize("null","null")}function C(I){return"["+Error.prototype.toString.call(I)+"]"}function D(I,U,X,V,T){for(var q=[],Z=0,te=U.length;Z<te;++Z)v(U,String(Z))?q.push(O(I,U,X,V,String(Z),!0)):q.push("");return T.forEach(function(ee){ee.match(/^\d+$/)||q.push(O(I,U,X,V,ee,!0))}),q}function O(I,U,X,V,T,q){var Z,te,ee;if(ee=Object.getOwnPropertyDescriptor(U,T)||{value:U[T]},ee.get?ee.set?te=I.stylize("[Getter/Setter]","special"):te=I.stylize("[Getter]","special"):ee.set&&(te=I.stylize("[Setter]","special")),v(V,T)||(Z="["+T+"]"),te||(I.seen.indexOf(ee.value)<0?(J(X)?te=S(I,ee.value,null):te=S(I,ee.value,X-1),te.indexOf(`
8
8
  `)>-1&&(q?te=te.split(`
9
9
  `).map(function(j){return" "+j}).join(`
10
10
  `).slice(2):te=`