@opencloud-eu/web-client 1.0.0 → 2.0.0

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.
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
5
5
  * @license MIT
6
- */(function(m){const s=f,o=L,y=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;m.Buffer=x,m.SlowBuffer=j,m.INSPECT_MAX_BYTES=50;const T=2147483647;m.kMaxLength=T;const{Uint8Array:S,ArrayBuffer:F,SharedArrayBuffer:d}=globalThis;x.TYPED_ARRAY_SUPPORT=K(),!x.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 K(){try{const l=new S(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,S.prototype),Object.setPrototypeOf(l,e),l.foo()===42}catch{return!1}}Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}});function X(l){if(l>T)throw new RangeError('The value "'+l+'" is invalid for option "size"');const e=new S(l);return Object.setPrototypeOf(e,x.prototype),e}function x(l,e,t){if(typeof l=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ce(l)}return ee(l,e,t)}x.poolSize=8192;function ee(l,e,t){if(typeof l=="string")return Z(l,e);if(F.isView(l))return ue(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(_e(l,F)||l&&_e(l.buffer,F)||typeof d<"u"&&(_e(l,d)||l&&_e(l.buffer,d)))return ge(l,e,t);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=l.valueOf&&l.valueOf();if(b!=null&&b!==l)return x.from(b,e,t);const I=be(l);if(I)return I;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return x.from(l[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}x.from=function(l,e,t){return ee(l,e,t)},Object.setPrototypeOf(x.prototype,S.prototype),Object.setPrototypeOf(x,S);function ne(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function ae(l,e,t){return ne(l),l<=0?X(l):e!==void 0?typeof t=="string"?X(l).fill(e,t):X(l).fill(e):X(l)}x.alloc=function(l,e,t){return ae(l,e,t)};function ce(l){return ne(l),X(l<0?0:D(l)|0)}x.allocUnsafe=function(l){return ce(l)},x.allocUnsafeSlow=function(l){return ce(l)};function Z(l,e){if((typeof e!="string"||e==="")&&(e="utf8"),!x.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const t=$(l,e)|0;let b=X(t);const I=b.write(l,e);return I!==t&&(b=b.slice(0,I)),b}function he(l){const e=l.length<0?0:D(l.length)|0,t=X(e);for(let b=0;b<e;b+=1)t[b]=l[b]&255;return t}function ue(l){if(_e(l,S)){const e=new S(l);return ge(e.buffer,e.byteOffset,e.byteLength)}return he(l)}function ge(l,e,t){if(e<0||l.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');let b;return e===void 0&&t===void 0?b=new S(l):t===void 0?b=new S(l,e):b=new S(l,e,t),Object.setPrototypeOf(b,x.prototype),b}function be(l){if(x.isBuffer(l)){const e=D(l.length)|0,t=X(e);return t.length===0||l.copy(t,0,0,e),t}if(l.length!==void 0)return typeof l.length!="number"||tt(l.length)?X(0):he(l);if(l.type==="Buffer"&&Array.isArray(l.data))return he(l.data)}function D(l){if(l>=T)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+T.toString(16)+" bytes");return l|0}function j(l){return+l!=l&&(l=0),x.alloc(+l)}x.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==x.prototype},x.compare=function(e,t){if(_e(e,S)&&(e=x.from(e,e.offset,e.byteLength)),_e(t,S)&&(t=x.from(t,t.offset,t.byteLength)),!x.isBuffer(e)||!x.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let b=e.length,I=t.length;for(let M=0,G=Math.min(b,I);M<G;++M)if(e[M]!==t[M]){b=e[M],I=t[M];break}return b<I?-1:I<b?1:0},x.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},x.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return x.alloc(0);let b;if(t===void 0)for(t=0,b=0;b<e.length;++b)t+=e[b].length;const I=x.allocUnsafe(t);let M=0;for(b=0;b<e.length;++b){let G=e[b];if(_e(G,S))M+G.length>I.length?(x.isBuffer(G)||(G=x.from(G)),G.copy(I,M)):S.prototype.set.call(I,G,M);else if(x.isBuffer(G))G.copy(I,M);else throw new TypeError('"list" argument must be an Array of Buffers');M+=G.length}return I};function $(l,e){if(x.isBuffer(l))return l.length;if(F.isView(l)||_e(l,F))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);const t=l.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&t===0)return 0;let I=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return et(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return kr(l).length;default:if(I)return b?-1:et(l).length;e=(""+e).toLowerCase(),I=!0}}x.byteLength=$;function J(l,e,t){let b=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(l||(l="utf8");;)switch(l){case"hex":return ve(this,e,t);case"utf8":case"utf-8":return Q(this,e,t);case"ascii":return fe(this,e,t);case"latin1":case"binary":return k(this,e,t);case"base64":return W(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,e,t);default:if(b)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),b=!0}}x.prototype._isBuffer=!0;function O(l,e,t){const b=l[e];l[e]=l[t],l[t]=b}x.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)O(this,t,t+1);return this},x.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)O(this,t,t+3),O(this,t+1,t+2);return this},x.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)O(this,t,t+7),O(this,t+1,t+6),O(this,t+2,t+5),O(this,t+3,t+4);return this},x.prototype.toString=function(){const e=this.length;return e===0?"":arguments.length===0?Q(this,0,e):J.apply(this,arguments)},x.prototype.toLocaleString=x.prototype.toString,x.prototype.equals=function(e){if(!x.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:x.compare(this,e)===0},x.prototype.inspect=function(){let e="";const t=m.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},y&&(x.prototype[y]=x.prototype.inspect),x.prototype.compare=function(e,t,b,I,M){if(_e(e,S)&&(e=x.from(e,e.offset,e.byteLength)),!x.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),b===void 0&&(b=e?e.length:0),I===void 0&&(I=0),M===void 0&&(M=this.length),t<0||b>e.length||I<0||M>this.length)throw new RangeError("out of range index");if(I>=M&&t>=b)return 0;if(I>=M)return-1;if(t>=b)return 1;if(t>>>=0,b>>>=0,I>>>=0,M>>>=0,this===e)return 0;let G=M-I,ie=b-t;const pe=Math.min(G,ie),le=this.slice(I,M),ye=e.slice(t,b);for(let se=0;se<pe;++se)if(le[se]!==ye[se]){G=le[se],ie=ye[se];break}return G<ie?-1:ie<G?1:0};function i(l,e,t,b,I){if(l.length===0)return-1;if(typeof t=="string"?(b=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,tt(t)&&(t=I?0:l.length-1),t<0&&(t=l.length+t),t>=l.length){if(I)return-1;t=l.length-1}else if(t<0)if(I)t=0;else return-1;if(typeof e=="string"&&(e=x.from(e,b)),x.isBuffer(e))return e.length===0?-1:n(l,e,t,b,I);if(typeof e=="number")return e=e&255,typeof S.prototype.indexOf=="function"?I?S.prototype.indexOf.call(l,e,t):S.prototype.lastIndexOf.call(l,e,t):n(l,[e],t,b,I);throw new TypeError("val must be string, number or Buffer")}function n(l,e,t,b,I){let M=1,G=l.length,ie=e.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(l.length<2||e.length<2)return-1;M=2,G/=2,ie/=2,t/=2}function pe(ye,se){return M===1?ye[se]:ye.readUInt16BE(se*M)}let le;if(I){let ye=-1;for(le=t;le<G;le++)if(pe(l,le)===pe(e,ye===-1?0:le-ye)){if(ye===-1&&(ye=le),le-ye+1===ie)return ye*M}else ye!==-1&&(le-=le-ye),ye=-1}else for(t+ie>G&&(t=G-ie),le=t;le>=0;le--){let ye=!0;for(let se=0;se<ie;se++)if(pe(l,le+se)!==pe(e,se)){ye=!1;break}if(ye)return le}return-1}x.prototype.includes=function(e,t,b){return this.indexOf(e,t,b)!==-1},x.prototype.indexOf=function(e,t,b){return i(this,e,t,b,!0)},x.prototype.lastIndexOf=function(e,t,b){return i(this,e,t,b,!1)};function R(l,e,t,b){t=Number(t)||0;const I=l.length-t;b?(b=Number(b),b>I&&(b=I)):b=I;const M=e.length;b>M/2&&(b=M/2);let G;for(G=0;G<b;++G){const ie=parseInt(e.substr(G*2,2),16);if(tt(ie))return G;l[t+G]=ie}return G}function w(l,e,t,b){return Ge(et(e,l.length-t),l,t,b)}function h(l,e,t,b){return Ge(Wi(e),l,t,b)}function p(l,e,t,b){return Ge(kr(e),l,t,b)}function U(l,e,t,b){return Ge(Vi(e,l.length-t),l,t,b)}x.prototype.write=function(e,t,b,I){if(t===void 0)I="utf8",b=this.length,t=0;else if(b===void 0&&typeof t=="string")I=t,b=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(b)?(b=b>>>0,I===void 0&&(I="utf8")):(I=b,b=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const M=this.length-t;if((b===void 0||b>M)&&(b=M),e.length>0&&(b<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");let G=!1;for(;;)switch(I){case"hex":return R(this,e,t,b);case"utf8":case"utf-8":return w(this,e,t,b);case"ascii":case"latin1":case"binary":return h(this,e,t,b);case"base64":return p(this,e,t,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,t,b);default:if(G)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),G=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function W(l,e,t){return e===0&&t===l.length?s.fromByteArray(l):s.fromByteArray(l.slice(e,t))}function Q(l,e,t){t=Math.min(l.length,t);const b=[];let I=e;for(;I<t;){const M=l[I];let G=null,ie=M>239?4:M>223?3:M>191?2:1;if(I+ie<=t){let pe,le,ye,se;switch(ie){case 1:M<128&&(G=M);break;case 2:pe=l[I+1],(pe&192)===128&&(se=(M&31)<<6|pe&63,se>127&&(G=se));break;case 3:pe=l[I+1],le=l[I+2],(pe&192)===128&&(le&192)===128&&(se=(M&15)<<12|(pe&63)<<6|le&63,se>2047&&(se<55296||se>57343)&&(G=se));break;case 4:pe=l[I+1],le=l[I+2],ye=l[I+3],(pe&192)===128&&(le&192)===128&&(ye&192)===128&&(se=(M&15)<<18|(pe&63)<<12|(le&63)<<6|ye&63,se>65535&&se<1114112&&(G=se))}}G===null?(G=65533,ie=1):G>65535&&(G-=65536,b.push(G>>>10&1023|55296),G=56320|G&1023),b.push(G),I+=ie}return z(b)}const Y=4096;function z(l){const e=l.length;if(e<=Y)return String.fromCharCode.apply(String,l);let t="",b=0;for(;b<e;)t+=String.fromCharCode.apply(String,l.slice(b,b+=Y));return t}function fe(l,e,t){let b="";t=Math.min(l.length,t);for(let I=e;I<t;++I)b+=String.fromCharCode(l[I]&127);return b}function k(l,e,t){let b="";t=Math.min(l.length,t);for(let I=e;I<t;++I)b+=String.fromCharCode(l[I]);return b}function ve(l,e,t){const b=l.length;(!e||e<0)&&(e=0),(!t||t<0||t>b)&&(t=b);let I="";for(let M=e;M<t;++M)I+=Yi[l[M]];return I}function me(l,e,t){const b=l.slice(e,t);let I="";for(let M=0;M<b.length-1;M+=2)I+=String.fromCharCode(b[M]+b[M+1]*256);return I}x.prototype.slice=function(e,t){const b=this.length;e=~~e,t=t===void 0?b:~~t,e<0?(e+=b,e<0&&(e=0)):e>b&&(e=b),t<0?(t+=b,t<0&&(t=0)):t>b&&(t=b),t<e&&(t=e);const I=this.subarray(e,t);return Object.setPrototypeOf(I,x.prototype),I};function oe(l,e,t){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+e>t)throw new RangeError("Trying to access beyond buffer length")}x.prototype.readUintLE=x.prototype.readUIntLE=function(e,t,b){e=e>>>0,t=t>>>0,b||oe(e,t,this.length);let I=this[e],M=1,G=0;for(;++G<t&&(M*=256);)I+=this[e+G]*M;return I},x.prototype.readUintBE=x.prototype.readUIntBE=function(e,t,b){e=e>>>0,t=t>>>0,b||oe(e,t,this.length);let I=this[e+--t],M=1;for(;t>0&&(M*=256);)I+=this[e+--t]*M;return I},x.prototype.readUint8=x.prototype.readUInt8=function(e,t){return e=e>>>0,t||oe(e,1,this.length),this[e]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||oe(e,2,this.length),this[e]|this[e+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||oe(e,2,this.length),this[e]<<8|this[e+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},x.prototype.readBigUInt64LE=Re(function(e){e=e>>>0,Pe(e,"offset");const t=this[e],b=this[e+7];(t===void 0||b===void 0)&&Me(e,this.length-8);const I=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,M=this[++e]+this[++e]*2**8+this[++e]*2**16+b*2**24;return BigInt(I)+(BigInt(M)<<BigInt(32))}),x.prototype.readBigUInt64BE=Re(function(e){e=e>>>0,Pe(e,"offset");const t=this[e],b=this[e+7];(t===void 0||b===void 0)&&Me(e,this.length-8);const I=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],M=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+b;return(BigInt(I)<<BigInt(32))+BigInt(M)}),x.prototype.readIntLE=function(e,t,b){e=e>>>0,t=t>>>0,b||oe(e,t,this.length);let I=this[e],M=1,G=0;for(;++G<t&&(M*=256);)I+=this[e+G]*M;return M*=128,I>=M&&(I-=Math.pow(2,8*t)),I},x.prototype.readIntBE=function(e,t,b){e=e>>>0,t=t>>>0,b||oe(e,t,this.length);let I=t,M=1,G=this[e+--I];for(;I>0&&(M*=256);)G+=this[e+--I]*M;return M*=128,G>=M&&(G-=Math.pow(2,8*t)),G},x.prototype.readInt8=function(e,t){return e=e>>>0,t||oe(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},x.prototype.readInt16LE=function(e,t){e=e>>>0,t||oe(e,2,this.length);const b=this[e]|this[e+1]<<8;return b&32768?b|4294901760:b},x.prototype.readInt16BE=function(e,t){e=e>>>0,t||oe(e,2,this.length);const b=this[e+1]|this[e]<<8;return b&32768?b|4294901760:b},x.prototype.readInt32LE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},x.prototype.readInt32BE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},x.prototype.readBigInt64LE=Re(function(e){e=e>>>0,Pe(e,"offset");const t=this[e],b=this[e+7];(t===void 0||b===void 0)&&Me(e,this.length-8);const I=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(b<<24);return(BigInt(I)<<BigInt(32))+BigInt(t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),x.prototype.readBigInt64BE=Re(function(e){e=e>>>0,Pe(e,"offset");const t=this[e],b=this[e+7];(t===void 0||b===void 0)&&Me(e,this.length-8);const I=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(I)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+b)}),x.prototype.readFloatLE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),o.read(this,e,!0,23,4)},x.prototype.readFloatBE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),o.read(this,e,!1,23,4)},x.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||oe(e,8,this.length),o.read(this,e,!0,52,8)},x.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||oe(e,8,this.length),o.read(this,e,!1,52,8)};function de(l,e,t,b,I,M){if(!x.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>I||e<M)throw new RangeError('"value" argument is out of bounds');if(t+b>l.length)throw new RangeError("Index out of range")}x.prototype.writeUintLE=x.prototype.writeUIntLE=function(e,t,b,I){if(e=+e,t=t>>>0,b=b>>>0,!I){const ie=Math.pow(2,8*b)-1;de(this,e,t,b,ie,0)}let M=1,G=0;for(this[t]=e&255;++G<b&&(M*=256);)this[t+G]=e/M&255;return t+b},x.prototype.writeUintBE=x.prototype.writeUIntBE=function(e,t,b,I){if(e=+e,t=t>>>0,b=b>>>0,!I){const ie=Math.pow(2,8*b)-1;de(this,e,t,b,ie,0)}let M=b-1,G=1;for(this[t+M]=e&255;--M>=0&&(G*=256);)this[t+M]=e/G&255;return t+b},x.prototype.writeUint8=x.prototype.writeUInt8=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,1,255,0),this[t]=e&255,t+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function we(l,e,t,b,I){qr(e,b,I,l,t,7);let M=Number(e&BigInt(4294967295));l[t++]=M,M=M>>8,l[t++]=M,M=M>>8,l[t++]=M,M=M>>8,l[t++]=M;let G=Number(e>>BigInt(32)&BigInt(4294967295));return l[t++]=G,G=G>>8,l[t++]=G,G=G>>8,l[t++]=G,G=G>>8,l[t++]=G,t}function Be(l,e,t,b,I){qr(e,b,I,l,t,7);let M=Number(e&BigInt(4294967295));l[t+7]=M,M=M>>8,l[t+6]=M,M=M>>8,l[t+5]=M,M=M>>8,l[t+4]=M;let G=Number(e>>BigInt(32)&BigInt(4294967295));return l[t+3]=G,G=G>>8,l[t+2]=G,G=G>>8,l[t+1]=G,G=G>>8,l[t]=G,t+8}x.prototype.writeBigUInt64LE=Re(function(e,t=0){return we(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=Re(function(e,t=0){return Be(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(e,t,b,I){if(e=+e,t=t>>>0,!I){const pe=Math.pow(2,8*b-1);de(this,e,t,b,pe-1,-pe)}let M=0,G=1,ie=0;for(this[t]=e&255;++M<b&&(G*=256);)e<0&&ie===0&&this[t+M-1]!==0&&(ie=1),this[t+M]=(e/G>>0)-ie&255;return t+b},x.prototype.writeIntBE=function(e,t,b,I){if(e=+e,t=t>>>0,!I){const pe=Math.pow(2,8*b-1);de(this,e,t,b,pe-1,-pe)}let M=b-1,G=1,ie=0;for(this[t+M]=e&255;--M>=0&&(G*=256);)e<0&&ie===0&&this[t+M+1]!==0&&(ie=1),this[t+M]=(e/G>>0)-ie&255;return t+b},x.prototype.writeInt8=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1},x.prototype.writeInt16LE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2},x.prototype.writeInt16BE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2},x.prototype.writeInt32LE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},x.prototype.writeInt32BE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4},x.prototype.writeBigInt64LE=Re(function(e,t=0){return we(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=Re(function(e,t=0){return Be(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Se(l,e,t,b,I,M){if(t+b>l.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Ae(l,e,t,b,I){return e=+e,t=t>>>0,I||Se(l,e,t,4),o.write(l,e,t,b,23,4),t+4}x.prototype.writeFloatLE=function(e,t,b){return Ae(this,e,t,!0,b)},x.prototype.writeFloatBE=function(e,t,b){return Ae(this,e,t,!1,b)};function Te(l,e,t,b,I){return e=+e,t=t>>>0,I||Se(l,e,t,8),o.write(l,e,t,b,52,8),t+8}x.prototype.writeDoubleLE=function(e,t,b){return Te(this,e,t,!0,b)},x.prototype.writeDoubleBE=function(e,t,b){return Te(this,e,t,!1,b)},x.prototype.copy=function(e,t,b,I){if(!x.isBuffer(e))throw new TypeError("argument should be a Buffer");if(b||(b=0),!I&&I!==0&&(I=this.length),t>=e.length&&(t=e.length),t||(t=0),I>0&&I<b&&(I=b),I===b||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(b<0||b>=this.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),e.length-t<I-b&&(I=e.length-t+b);const M=I-b;return this===e&&typeof S.prototype.copyWithin=="function"?this.copyWithin(t,b,I):S.prototype.set.call(e,this.subarray(b,I),t),M},x.prototype.fill=function(e,t,b,I){if(typeof e=="string"){if(typeof t=="string"?(I=t,t=0,b=this.length):typeof b=="string"&&(I=b,b=this.length),I!==void 0&&typeof I!="string")throw new TypeError("encoding must be a string");if(typeof I=="string"&&!x.isEncoding(I))throw new TypeError("Unknown encoding: "+I);if(e.length===1){const G=e.charCodeAt(0);(I==="utf8"&&G<128||I==="latin1")&&(e=G)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<b)throw new RangeError("Out of range index");if(b<=t)return this;t=t>>>0,b=b===void 0?this.length:b>>>0,e||(e=0);let M;if(typeof e=="number")for(M=t;M<b;++M)this[M]=e;else{const G=x.isBuffer(e)?e:x.from(e,I),ie=G.length;if(ie===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(M=0;M<b-t;++M)this[M+t]=G[M%ie]}return this};const Ne={};function Ze(l,e,t){Ne[l]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(I){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:I,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}Ze("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ze("ERR_INVALID_ARG_TYPE",function(l,e){return`The "${l}" argument must be of type number. Received type ${typeof e}`},TypeError),Ze("ERR_OUT_OF_RANGE",function(l,e,t){let b=`The value of "${l}" is out of range.`,I=t;return Number.isInteger(t)&&Math.abs(t)>2**32?I=jr(String(t)):typeof t=="bigint"&&(I=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(I=jr(I)),I+="n"),b+=` It must be ${e}. Received ${I}`,b},RangeError);function jr(l){let e="",t=l.length;const b=l[0]==="-"?1:0;for(;t>=b+4;t-=3)e=`_${l.slice(t-3,t)}${e}`;return`${l.slice(0,t)}${e}`}function Gi(l,e,t){Pe(e,"offset"),(l[e]===void 0||l[e+t]===void 0)&&Me(e,l.length-(t+1))}function qr(l,e,t,b,I,M){if(l>t||l<e){const G=typeof e=="bigint"?"n":"";let ie;throw e===0||e===BigInt(0)?ie=`>= 0${G} and < 2${G} ** ${(M+1)*8}${G}`:ie=`>= -(2${G} ** ${(M+1)*8-1}${G}) and < 2 ** ${(M+1)*8-1}${G}`,new Ne.ERR_OUT_OF_RANGE("value",ie,l)}Gi(b,I,M)}function Pe(l,e){if(typeof l!="number")throw new Ne.ERR_INVALID_ARG_TYPE(e,"number",l)}function Me(l,e,t){throw Math.floor(l)!==l?(Pe(l,t),new Ne.ERR_OUT_OF_RANGE("offset","an integer",l)):e<0?new Ne.ERR_BUFFER_OUT_OF_BOUNDS:new Ne.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${e}`,l)}const Ki=/[^+/0-9A-Za-z-_]/g;function $i(l){if(l=l.split("=")[0],l=l.trim().replace(Ki,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function et(l,e){e=e||1/0;let t;const b=l.length;let I=null;const M=[];for(let G=0;G<b;++G){if(t=l.charCodeAt(G),t>55295&&t<57344){if(!I){if(t>56319){(e-=3)>-1&&M.push(239,191,189);continue}else if(G+1===b){(e-=3)>-1&&M.push(239,191,189);continue}I=t;continue}if(t<56320){(e-=3)>-1&&M.push(239,191,189),I=t;continue}t=(I-55296<<10|t-56320)+65536}else I&&(e-=3)>-1&&M.push(239,191,189);if(I=null,t<128){if((e-=1)<0)break;M.push(t)}else if(t<2048){if((e-=2)<0)break;M.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;M.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;M.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return M}function Wi(l){const e=[];for(let t=0;t<l.length;++t)e.push(l.charCodeAt(t)&255);return e}function Vi(l,e){let t,b,I;const M=[];for(let G=0;G<l.length&&!((e-=2)<0);++G)t=l.charCodeAt(G),b=t>>8,I=t%256,M.push(I),M.push(b);return M}function kr(l){return s.toByteArray($i(l))}function Ge(l,e,t,b){let I;for(I=0;I<b&&!(I+t>=e.length||I>=l.length);++I)e[I+t]=l[I];return I}function _e(l,e){return l instanceof e||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===e.name}function tt(l){return l!==l}const Yi=function(){const l="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){const b=t*16;for(let I=0;I<16;++I)e[b+I]=l[t]+l[I]}return e}();function Re(l){return typeof BigInt>"u"?Xi:l}function Xi(){throw new Error("BigInt not supported")}})(a);const c=a.Buffer;r.Blob=a.Blob,r.BlobOptions=a.BlobOptions,r.Buffer=a.Buffer,r.File=a.File,r.FileOptions=a.FileOptions,r.INSPECT_MAX_BYTES=a.INSPECT_MAX_BYTES,r.SlowBuffer=a.SlowBuffer,r.TranscodeEncoding=a.TranscodeEncoding,r.atob=a.atob,r.btoa=a.btoa,r.constants=a.constants,r.default=c,r.isAscii=a.isAscii,r.isUtf8=a.isUtf8,r.kMaxLength=a.kMaxLength,r.kStringMaxLength=a.kStringMaxLength,r.resolveObjectURL=a.resolveObjectURL,r.transcode=a.transcode}(it)),it}var at={},ot={},ut,Wr;function vi(){return Wr||(Wr=1,ut=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var a={},f=Symbol("test"),u=Object(f);if(typeof f=="string"||Object.prototype.toString.call(f)!=="[object Symbol]"||Object.prototype.toString.call(u)!=="[object Symbol]")return!1;var v=42;a[f]=v;for(var g in a)return!1;if(typeof Object.keys=="function"&&Object.keys(a).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(a).length!==0)return!1;var A=Object.getOwnPropertySymbols(a);if(A.length!==1||A[0]!==f||!Object.prototype.propertyIsEnumerable.call(a,f))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var E=Object.getOwnPropertyDescriptor(a,f);if(E.value!==v||E.enumerable!==!0)return!1}return!0}),ut}var st,Vr;function Je(){if(Vr)return st;Vr=1;var r=vi();return st=function(){return r()&&!!Symbol.toStringTag},st}var ft,Yr;function wi(){return Yr||(Yr=1,ft=Object),ft}var lt,Xr;function ca(){return Xr||(Xr=1,lt=Error),lt}var ct,zr;function ha(){return zr||(zr=1,ct=EvalError),ct}var ht,Jr;function da(){return Jr||(Jr=1,ht=RangeError),ht}var dt,Qr;function pa(){return Qr||(Qr=1,dt=ReferenceError),dt}var pt,Zr;function _i(){return Zr||(Zr=1,pt=SyntaxError),pt}var yt,en;function qe(){return en||(en=1,yt=TypeError),yt}var gt,tn;function ya(){return tn||(tn=1,gt=URIError),gt}var bt,rn;function ga(){return rn||(rn=1,bt=Math.abs),bt}var mt,nn;function ba(){return nn||(nn=1,mt=Math.floor),mt}var Et,an;function ma(){return an||(an=1,Et=Math.max),Et}var vt,on;function Ea(){return on||(on=1,vt=Math.min),vt}var wt,un;function va(){return un||(un=1,wt=Math.pow),wt}var _t,sn;function wa(){return sn||(sn=1,_t=Math.round),_t}var At,fn;function _a(){return fn||(fn=1,At=Number.isNaN||function(a){return a!==a}),At}var Tt,ln;function Aa(){if(ln)return Tt;ln=1;var r=_a();return Tt=function(f){return r(f)||f===0?f:f<0?-1:1},Tt}var St,cn;function Ta(){return cn||(cn=1,St=Object.getOwnPropertyDescriptor),St}var Rt,hn;function De(){if(hn)return Rt;hn=1;var r=Ta();if(r)try{r([],"length")}catch{r=null}return Rt=r,Rt}var xt,dn;function Qe(){if(dn)return xt;dn=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return xt=r,xt}var It,pn;function Sa(){if(pn)return It;pn=1;var r=typeof Symbol<"u"&&Symbol,a=vi();return It=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:a()},It}var Ft,yn;function Ai(){return yn||(yn=1,Ft=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ft}var Ot,gn;function Ti(){if(gn)return Ot;gn=1;var r=wi();return Ot=r.getPrototypeOf||null,Ot}var Bt,bn;function Ra(){if(bn)return Bt;bn=1;var r="Function.prototype.bind called on incompatible ",a=Object.prototype.toString,f=Math.max,u="[object Function]",v=function(_,B){for(var C=[],N=0;N<_.length;N+=1)C[N]=_[N];for(var P=0;P<B.length;P+=1)C[P+_.length]=B[P];return C},g=function(_,B){for(var C=[],N=B,P=0;N<_.length;N+=1,P+=1)C[P]=_[N];return C},A=function(E,_){for(var B="",C=0;C<E.length;C+=1)B+=E[C],C+1<E.length&&(B+=_);return B};return Bt=function(_){var B=this;if(typeof B!="function"||a.apply(B)!==u)throw new TypeError(r+B);for(var C=g(arguments,1),N,P=function(){if(this instanceof N){var c=B.apply(this,v(C,arguments));return Object(c)===c?c:this}return B.apply(_,v(C,arguments))},V=f(0,B.length-C.length),q=[],H=0;H<V;H++)q[H]="$"+H;if(N=Function("binder","return function ("+A(q,",")+"){ return binder.apply(this,arguments); }")(P),B.prototype){var L=function(){};L.prototype=B.prototype,N.prototype=new L,L.prototype=null}return N},Bt}var Nt,mn;function ke(){if(mn)return Nt;mn=1;var r=Ra();return Nt=Function.prototype.bind||r,Nt}var Pt,En;function Nr(){return En||(En=1,Pt=Function.prototype.call),Pt}var Ct,vn;function Pr(){return vn||(vn=1,Ct=Function.prototype.apply),Ct}var Dt,wn;function xa(){return wn||(wn=1,Dt=typeof Reflect<"u"&&Reflect&&Reflect.apply),Dt}var Lt,_n;function Si(){if(_n)return Lt;_n=1;var r=ke(),a=Pr(),f=Nr(),u=xa();return Lt=u||r.call(f,a),Lt}var Mt,An;function Cr(){if(An)return Mt;An=1;var r=ke(),a=qe(),f=Nr(),u=Si();return Mt=function(g){if(g.length<1||typeof g[0]!="function")throw new a("a function is required");return u(r,f,g)},Mt}var Ut,Tn;function Ia(){if(Tn)return Ut;Tn=1;var r=Cr(),a=De(),f;try{f=[].__proto__===Array.prototype}catch(A){if(!A||typeof A!="object"||!("code"in A)||A.code!=="ERR_PROTO_ACCESS")throw A}var u=!!f&&a&&a(Object.prototype,"__proto__"),v=Object,g=v.getPrototypeOf;return Ut=u&&typeof u.get=="function"?r([u.get]):typeof g=="function"?function(E){return g(E==null?E:v(E))}:!1,Ut}var jt,Sn;function Ri(){if(Sn)return jt;Sn=1;var r=Ai(),a=Ti(),f=Ia();return jt=r?function(v){return r(v)}:a?function(v){if(!v||typeof v!="object"&&typeof v!="function")throw new TypeError("getProto: not an object");return a(v)}:f?function(v){return f(v)}:null,jt}var qt,Rn;function xi(){if(Rn)return qt;Rn=1;var r=Function.prototype.call,a=Object.prototype.hasOwnProperty,f=ke();return qt=f.call(r,a),qt}var kt,xn;function Ii(){if(xn)return kt;xn=1;var r,a=wi(),f=ca(),u=ha(),v=da(),g=pa(),A=_i(),E=qe(),_=ya(),B=ga(),C=ba(),N=ma(),P=Ea(),V=va(),q=wa(),H=Aa(),L=Function,c=function(R){try{return L('"use strict"; return ('+R+").constructor;")()}catch{}},m=De(),s=Qe(),o=function(){throw new E},y=m?function(){try{return arguments.callee,o}catch{try{return m(arguments,"callee").get}catch{return o}}}():o,T=Sa()(),S=Ri(),F=Ti(),d=Ai(),K=Pr(),X=Nr(),x={},ee=typeof Uint8Array>"u"||!S?r:S(Uint8Array),ne={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":T&&S?S([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":f,"%eval%":eval,"%EvalError%":u,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":L,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":T&&S?S(S([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!T||!S?r:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":m,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":v,"%ReferenceError%":g,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!T||!S?r:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":T&&S?S(""[Symbol.iterator]()):r,"%Symbol%":T?Symbol:r,"%SyntaxError%":A,"%ThrowTypeError%":y,"%TypedArray%":ee,"%TypeError%":E,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":_,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":X,"%Function.prototype.apply%":K,"%Object.defineProperty%":s,"%Object.getPrototypeOf%":F,"%Math.abs%":B,"%Math.floor%":C,"%Math.max%":N,"%Math.min%":P,"%Math.pow%":V,"%Math.round%":q,"%Math.sign%":H,"%Reflect.getPrototypeOf%":d};if(S)try{null.error}catch(R){var ae=S(S(R));ne["%Error.prototype%"]=ae}var ce=function R(w){var h;if(w==="%AsyncFunction%")h=c("async function () {}");else if(w==="%GeneratorFunction%")h=c("function* () {}");else if(w==="%AsyncGeneratorFunction%")h=c("async function* () {}");else if(w==="%AsyncGenerator%"){var p=R("%AsyncGeneratorFunction%");p&&(h=p.prototype)}else if(w==="%AsyncIteratorPrototype%"){var U=R("%AsyncGenerator%");U&&S&&(h=S(U.prototype))}return ne[w]=h,h},Z={__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"]},he=ke(),ue=xi(),ge=he.call(X,Array.prototype.concat),be=he.call(K,Array.prototype.splice),D=he.call(X,String.prototype.replace),j=he.call(X,String.prototype.slice),$=he.call(X,RegExp.prototype.exec),J=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,i=function(w){var h=j(w,0,1),p=j(w,-1);if(h==="%"&&p!=="%")throw new A("invalid intrinsic syntax, expected closing `%`");if(p==="%"&&h!=="%")throw new A("invalid intrinsic syntax, expected opening `%`");var U=[];return D(w,J,function(W,Q,Y,z){U[U.length]=Y?D(z,O,"$1"):Q||W}),U},n=function(w,h){var p=w,U;if(ue(Z,p)&&(U=Z[p],p="%"+U[0]+"%"),ue(ne,p)){var W=ne[p];if(W===x&&(W=ce(p)),typeof W>"u"&&!h)throw new E("intrinsic "+w+" exists, but is not available. Please file an issue!");return{alias:U,name:p,value:W}}throw new A("intrinsic "+w+" does not exist!")};return kt=function(w,h){if(typeof w!="string"||w.length===0)throw new E("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof h!="boolean")throw new E('"allowMissing" argument must be a boolean');if($(/^%?[^%]*%?$/,w)===null)throw new A("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var p=i(w),U=p.length>0?p[0]:"",W=n("%"+U+"%",h),Q=W.name,Y=W.value,z=!1,fe=W.alias;fe&&(U=fe[0],be(p,ge([0,1],fe)));for(var k=1,ve=!0;k<p.length;k+=1){var me=p[k],oe=j(me,0,1),de=j(me,-1);if((oe==='"'||oe==="'"||oe==="`"||de==='"'||de==="'"||de==="`")&&oe!==de)throw new A("property names with quotes must have matching quotes");if((me==="constructor"||!ve)&&(z=!0),U+="."+me,Q="%"+U+"%",ue(ne,Q))Y=ne[Q];else if(Y!=null){if(!(me in Y)){if(!h)throw new E("base intrinsic for "+w+" exists, but the property is not available.");return}if(m&&k+1>=p.length){var we=m(Y,me);ve=!!we,ve&&"get"in we&&!("originalValue"in we.get)?Y=we.get:Y=Y[me]}else ve=ue(Y,me),Y=Y[me];ve&&!z&&(ne[Q]=Y)}}return Y},kt}var Ht,In;function He(){if(In)return Ht;In=1;var r=Ii(),a=Cr(),f=a([r("%String.prototype.indexOf%")]);return Ht=function(v,g){var A=r(v,!!g);return typeof A=="function"&&f(v,".prototype.")>-1?a([A]):A},Ht}var Gt,Fn;function Fa(){if(Fn)return Gt;Fn=1;var r=Je()(),a=He(),f=a("Object.prototype.toString"),u=function(E){return r&&E&&typeof E=="object"&&Symbol.toStringTag in E?!1:f(E)==="[object Arguments]"},v=function(E){return u(E)?!0:E!==null&&typeof E=="object"&&"length"in E&&typeof E.length=="number"&&E.length>=0&&f(E)!=="[object Array]"&&"callee"in E&&f(E.callee)==="[object Function]"},g=function(){return u(arguments)}();return u.isLegacyArguments=v,Gt=g?u:v,Gt}var Kt,On;function Oa(){if(On)return Kt;On=1;var r=He(),a=Je()(),f=xi(),u=De(),v;if(a){var g=r("RegExp.prototype.exec"),A={},E=function(){throw A},_={toString:E,valueOf:E};typeof Symbol.toPrimitive=="symbol"&&(_[Symbol.toPrimitive]=E),v=function(P){if(!P||typeof P!="object")return!1;var V=u(P,"lastIndex"),q=V&&f(V,"value");if(!q)return!1;try{g(P,_)}catch(H){return H===A}}}else{var B=r("Object.prototype.toString"),C="[object RegExp]";v=function(P){return!P||typeof P!="object"&&typeof P!="function"?!1:B(P)===C}}return Kt=v,Kt}var $t,Bn;function Ba(){if(Bn)return $t;Bn=1;var r=He(),a=Oa(),f=r("RegExp.prototype.exec"),u=qe();return $t=function(g){if(!a(g))throw new u("`regex` must be a RegExp");return function(E){return f(g,E)!==null}},$t}var Wt,Nn;function Na(){if(Nn)return Wt;Nn=1;var r=He(),a=Ba(),f=a(/^\s*(?:function)?\*/),u=Je()(),v=Ri(),g=r("Object.prototype.toString"),A=r("Function.prototype.toString"),E=function(){if(!u)return!1;try{return Function("return function*() {}")()}catch{}},_;return Wt=function(C){if(typeof C!="function")return!1;if(f(A(C)))return!0;if(!u){var N=g(C);return N==="[object GeneratorFunction]"}if(!v)return!1;if(typeof _>"u"){var P=E();_=P?v(P):!1}return v(C)===_},Wt}var Vt,Pn;function Pa(){if(Pn)return Vt;Pn=1;var r=Function.prototype.toString,a=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,f,u;if(typeof a=="function"&&typeof Object.defineProperty=="function")try{f=Object.defineProperty({},"length",{get:function(){throw u}}),u={},a(function(){throw 42},null,f)}catch(m){m!==u&&(a=null)}else a=null;var v=/^\s*class\b/,g=function(s){try{var o=r.call(s);return v.test(o)}catch{return!1}},A=function(s){try{return g(s)?!1:(r.call(s),!0)}catch{return!1}},E=Object.prototype.toString,_="[object Object]",B="[object Function]",C="[object GeneratorFunction]",N="[object HTMLAllCollection]",P="[object HTML document.all class]",V="[object HTMLCollection]",q=typeof Symbol=="function"&&!!Symbol.toStringTag,H=!(0 in[,]),L=function(){return!1};if(typeof document=="object"){var c=document.all;E.call(c)===E.call(document.all)&&(L=function(s){if((H||!s)&&(typeof s>"u"||typeof s=="object"))try{var o=E.call(s);return(o===N||o===P||o===V||o===_)&&s("")==null}catch{}return!1})}return Vt=a?function(s){if(L(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{a(s,null,f)}catch(o){if(o!==u)return!1}return!g(s)&&A(s)}:function(s){if(L(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(q)return A(s);if(g(s))return!1;var o=E.call(s);return o!==B&&o!==C&&!/^\[object HTML/.test(o)?!1:A(s)},Vt}var Yt,Cn;function Ca(){if(Cn)return Yt;Cn=1;var r=Pa(),a=Object.prototype.toString,f=Object.prototype.hasOwnProperty,u=function(_,B,C){for(var N=0,P=_.length;N<P;N++)f.call(_,N)&&(C==null?B(_[N],N,_):B.call(C,_[N],N,_))},v=function(_,B,C){for(var N=0,P=_.length;N<P;N++)C==null?B(_.charAt(N),N,_):B.call(C,_.charAt(N),N,_)},g=function(_,B,C){for(var N in _)f.call(_,N)&&(C==null?B(_[N],N,_):B.call(C,_[N],N,_))};function A(E){return a.call(E)==="[object Array]"}return Yt=function(_,B,C){if(!r(B))throw new TypeError("iterator must be a function");var N;arguments.length>=3&&(N=C),A(_)?u(_,B,N):typeof _=="string"?v(_,B,N):g(_,B,N)},Yt}var Xt,Dn;function Da(){return Dn||(Dn=1,Xt=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Xt}var zt,Ln;function La(){if(Ln)return zt;Ln=1;var r=Da(),a=typeof globalThis>"u"?Ee.commonjsGlobal:globalThis;return zt=function(){for(var u=[],v=0;v<r.length;v++)typeof a[r[v]]=="function"&&(u[u.length]=r[v]);return u},zt}var Jt={exports:{}},Qt,Mn;function Ma(){if(Mn)return Qt;Mn=1;var r=Qe(),a=_i(),f=qe(),u=De();return Qt=function(g,A,E){if(!g||typeof g!="object"&&typeof g!="function")throw new f("`obj` must be an object or a function`");if(typeof A!="string"&&typeof A!="symbol")throw new f("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new f("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new f("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new f("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new f("`loose`, if provided, must be a boolean");var _=arguments.length>3?arguments[3]:null,B=arguments.length>4?arguments[4]:null,C=arguments.length>5?arguments[5]:null,N=arguments.length>6?arguments[6]:!1,P=!!u&&u(g,A);if(r)r(g,A,{configurable:C===null&&P?P.configurable:!C,enumerable:_===null&&P?P.enumerable:!_,value:E,writable:B===null&&P?P.writable:!B});else if(N||!_&&!B&&!C)g[A]=E;else throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Qt}var Zt,Un;function Ua(){if(Un)return Zt;Un=1;var r=Qe(),a=function(){return!!r};return a.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},Zt=a,Zt}var er,jn;function ja(){if(jn)return er;jn=1;var r=Ii(),a=Ma(),f=Ua()(),u=De(),v=qe(),g=r("%Math.floor%");return er=function(E,_){if(typeof E!="function")throw new v("`fn` is not a function");if(typeof _!="number"||_<0||_>4294967295||g(_)!==_)throw new v("`length` must be a positive 32-bit integer");var B=arguments.length>2&&!!arguments[2],C=!0,N=!0;if("length"in E&&u){var P=u(E,"length");P&&!P.configurable&&(C=!1),P&&!P.writable&&(N=!1)}return(C||N||!B)&&(f?a(E,"length",_,!0,!0):a(E,"length",_)),E},er}var tr,qn;function qa(){if(qn)return tr;qn=1;var r=ke(),a=Pr(),f=Si();return tr=function(){return f(r,a,arguments)},tr}var kn;function ka(){return kn||(kn=1,function(r){var a=ja(),f=Qe(),u=Cr(),v=qa();r.exports=function(A){var E=u(arguments),_=A.length-(arguments.length-1);return a(E,1+(_>0?_:0),!0)},f?f(r.exports,"apply",{value:v}):r.exports.apply=v}(Jt)),Jt.exports}var rr,Hn;function Fi(){if(Hn)return rr;Hn=1;var r=Ca(),a=La(),f=ka(),u=He(),v=De(),g=u("Object.prototype.toString"),A=Je()(),E=typeof globalThis>"u"?Ee.commonjsGlobal:globalThis,_=a(),B=u("String.prototype.slice"),C=Object.getPrototypeOf,N=u("Array.prototype.indexOf",!0)||function(L,c){for(var m=0;m<L.length;m+=1)if(L[m]===c)return m;return-1},P={__proto__:null};A&&v&&C?r(_,function(H){var L=new E[H];if(Symbol.toStringTag in L){var c=C(L),m=v(c,Symbol.toStringTag);if(!m){var s=C(c);m=v(s,Symbol.toStringTag)}P["$"+H]=f(m.get)}}):r(_,function(H){var L=new E[H],c=L.slice||L.set;c&&(P["$"+H]=f(c))});var V=function(L){var c=!1;return r(P,function(m,s){if(!c)try{"$"+m(L)===s&&(c=B(s,1))}catch{}}),c},q=function(L){var c=!1;return r(P,function(m,s){if(!c)try{m(L),c=B(s,1)}catch{}}),c};return rr=function(L){if(!L||typeof L!="object")return!1;if(!A){var c=B(g(L),8,-1);return N(_,c)>-1?c:c!=="Object"?!1:q(L)}return v?V(L):null},rr}var nr,Gn;function Ha(){if(Gn)return nr;Gn=1;var r=Fi();return nr=function(f){return!!r(f)},nr}var Kn;function Ga(){return Kn||(Kn=1,function(r){var a=Fa(),f=Na(),u=Fi(),v=Ha();function g(k){return k.call.bind(k)}var A=typeof BigInt<"u",E=typeof Symbol<"u",_=g(Object.prototype.toString),B=g(Number.prototype.valueOf),C=g(String.prototype.valueOf),N=g(Boolean.prototype.valueOf);if(A)var P=g(BigInt.prototype.valueOf);if(E)var V=g(Symbol.prototype.valueOf);function q(k,ve){if(typeof k!="object")return!1;try{return ve(k),!0}catch{return!1}}r.isArgumentsObject=a,r.isGeneratorFunction=f,r.isTypedArray=v;function H(k){return typeof Promise<"u"&&k instanceof Promise||k!==null&&typeof k=="object"&&typeof k.then=="function"&&typeof k.catch=="function"}r.isPromise=H;function L(k){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(k):v(k)||j(k)}r.isArrayBufferView=L;function c(k){return u(k)==="Uint8Array"}r.isUint8Array=c;function m(k){return u(k)==="Uint8ClampedArray"}r.isUint8ClampedArray=m;function s(k){return u(k)==="Uint16Array"}r.isUint16Array=s;function o(k){return u(k)==="Uint32Array"}r.isUint32Array=o;function y(k){return u(k)==="Int8Array"}r.isInt8Array=y;function T(k){return u(k)==="Int16Array"}r.isInt16Array=T;function S(k){return u(k)==="Int32Array"}r.isInt32Array=S;function F(k){return u(k)==="Float32Array"}r.isFloat32Array=F;function d(k){return u(k)==="Float64Array"}r.isFloat64Array=d;function K(k){return u(k)==="BigInt64Array"}r.isBigInt64Array=K;function X(k){return u(k)==="BigUint64Array"}r.isBigUint64Array=X;function x(k){return _(k)==="[object Map]"}x.working=typeof Map<"u"&&x(new Map);function ee(k){return typeof Map>"u"?!1:x.working?x(k):k instanceof Map}r.isMap=ee;function ne(k){return _(k)==="[object Set]"}ne.working=typeof Set<"u"&&ne(new Set);function ae(k){return typeof Set>"u"?!1:ne.working?ne(k):k instanceof Set}r.isSet=ae;function ce(k){return _(k)==="[object WeakMap]"}ce.working=typeof WeakMap<"u"&&ce(new WeakMap);function Z(k){return typeof WeakMap>"u"?!1:ce.working?ce(k):k instanceof WeakMap}r.isWeakMap=Z;function he(k){return _(k)==="[object WeakSet]"}he.working=typeof WeakSet<"u"&&he(new WeakSet);function ue(k){return he(k)}r.isWeakSet=ue;function ge(k){return _(k)==="[object ArrayBuffer]"}ge.working=typeof ArrayBuffer<"u"&&ge(new ArrayBuffer);function be(k){return typeof ArrayBuffer>"u"?!1:ge.working?ge(k):k instanceof ArrayBuffer}r.isArrayBuffer=be;function D(k){return _(k)==="[object DataView]"}D.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&D(new DataView(new ArrayBuffer(1),0,1));function j(k){return typeof DataView>"u"?!1:D.working?D(k):k instanceof DataView}r.isDataView=j;var $=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function J(k){return _(k)==="[object SharedArrayBuffer]"}function O(k){return typeof $>"u"?!1:(typeof J.working>"u"&&(J.working=J(new $)),J.working?J(k):k instanceof $)}r.isSharedArrayBuffer=O;function i(k){return _(k)==="[object AsyncFunction]"}r.isAsyncFunction=i;function n(k){return _(k)==="[object Map Iterator]"}r.isMapIterator=n;function R(k){return _(k)==="[object Set Iterator]"}r.isSetIterator=R;function w(k){return _(k)==="[object Generator]"}r.isGeneratorObject=w;function h(k){return _(k)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=h;function p(k){return q(k,B)}r.isNumberObject=p;function U(k){return q(k,C)}r.isStringObject=U;function W(k){return q(k,N)}r.isBooleanObject=W;function Q(k){return A&&q(k,P)}r.isBigIntObject=Q;function Y(k){return E&&q(k,V)}r.isSymbolObject=Y;function z(k){return p(k)||U(k)||W(k)||Q(k)||Y(k)}r.isBoxedPrimitive=z;function fe(k){return typeof Uint8Array<"u"&&(be(k)||O(k))}r.isAnyArrayBuffer=fe,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(k){Object.defineProperty(r,k,{enumerable:!1,value:function(){throw new Error(k+" is not supported in userland")}})})}(ot)),ot}var ir,$n;function Ka(){return $n||($n=1,ir=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}),ir}var Wn;function Oi(){return Wn||(Wn=1,function(r){var a=Object.getOwnPropertyDescriptors||function(j){for(var $=Object.keys(j),J={},O=0;O<$.length;O++)J[$[O]]=Object.getOwnPropertyDescriptor(j,$[O]);return J},f=/%[sdj%]/g;r.format=function(D){if(!y(D)){for(var j=[],$=0;$<arguments.length;$++)j.push(A(arguments[$]));return j.join(" ")}for(var $=1,J=arguments,O=J.length,i=String(D).replace(f,function(R){if(R==="%%")return"%";if($>=O)return R;switch(R){case"%s":return String(J[$++]);case"%d":return Number(J[$++]);case"%j":try{return JSON.stringify(J[$++])}catch{return"[Circular]"}default:return R}}),n=J[$];$<O;n=J[++$])m(n)||!d(n)?i+=" "+n:i+=" "+A(n);return i},r.deprecate=function(D,j){if(typeof te.process$1<"u"&&te.process$1.noDeprecation===!0)return D;if(typeof te.process$1>"u")return function(){return r.deprecate(D,j).apply(this,arguments)};var $=!1;function J(){if(!$){if(te.process$1.throwDeprecation)throw new Error(j);te.process$1.traceDeprecation?console.trace(j):console.error(j),$=!0}return D.apply(this,arguments)}return J};var u={},v=/^$/;if(te.process$1.env.NODE_DEBUG){var g=te.process$1.env.NODE_DEBUG;g=g.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),v=new RegExp("^"+g+"$","i")}r.debuglog=function(D){if(D=D.toUpperCase(),!u[D])if(v.test(D)){var j=te.process$1.pid;u[D]=function(){var $=r.format.apply(r,arguments);console.error("%s %d: %s",D,j,$)}}else u[D]=function(){};return u[D]};function A(D,j){var $={seen:[],stylize:_};return arguments.length>=3&&($.depth=arguments[2]),arguments.length>=4&&($.colors=arguments[3]),c(j)?$.showHidden=j:j&&r._extend($,j),S($.showHidden)&&($.showHidden=!1),S($.depth)&&($.depth=2),S($.colors)&&($.colors=!1),S($.customInspect)&&($.customInspect=!0),$.colors&&($.stylize=E),C($,D,$.depth)}r.inspect=A,A.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]},A.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function E(D,j){var $=A.styles[j];return $?"\x1B["+A.colors[$][0]+"m"+D+"\x1B["+A.colors[$][1]+"m":D}function _(D,j){return D}function B(D){var j={};return D.forEach(function($,J){j[$]=!0}),j}function C(D,j,$){if(D.customInspect&&j&&x(j.inspect)&&j.inspect!==r.inspect&&!(j.constructor&&j.constructor.prototype===j)){var J=j.inspect($,D);return y(J)||(J=C(D,J,$)),J}var O=N(D,j);if(O)return O;var i=Object.keys(j),n=B(i);if(D.showHidden&&(i=Object.getOwnPropertyNames(j)),X(j)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return P(j);if(i.length===0){if(x(j)){var R=j.name?": "+j.name:"";return D.stylize("[Function"+R+"]","special")}if(F(j))return D.stylize(RegExp.prototype.toString.call(j),"regexp");if(K(j))return D.stylize(Date.prototype.toString.call(j),"date");if(X(j))return P(j)}var w="",h=!1,p=["{","}"];if(L(j)&&(h=!0,p=["[","]"]),x(j)){var U=j.name?": "+j.name:"";w=" [Function"+U+"]"}if(F(j)&&(w=" "+RegExp.prototype.toString.call(j)),K(j)&&(w=" "+Date.prototype.toUTCString.call(j)),X(j)&&(w=" "+P(j)),i.length===0&&(!h||j.length==0))return p[0]+w+p[1];if($<0)return F(j)?D.stylize(RegExp.prototype.toString.call(j),"regexp"):D.stylize("[Object]","special");D.seen.push(j);var W;return h?W=V(D,j,$,n,i):W=i.map(function(Q){return q(D,j,$,n,Q,h)}),D.seen.pop(),H(W,w,p)}function N(D,j){if(S(j))return D.stylize("undefined","undefined");if(y(j)){var $="'"+JSON.stringify(j).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return D.stylize($,"string")}if(o(j))return D.stylize(""+j,"number");if(c(j))return D.stylize(""+j,"boolean");if(m(j))return D.stylize("null","null")}function P(D){return"["+Error.prototype.toString.call(D)+"]"}function V(D,j,$,J,O){for(var i=[],n=0,R=j.length;n<R;++n)he(j,String(n))?i.push(q(D,j,$,J,String(n),!0)):i.push("");return O.forEach(function(w){w.match(/^\d+$/)||i.push(q(D,j,$,J,w,!0))}),i}function q(D,j,$,J,O,i){var n,R,w;if(w=Object.getOwnPropertyDescriptor(j,O)||{value:j[O]},w.get?w.set?R=D.stylize("[Getter/Setter]","special"):R=D.stylize("[Getter]","special"):w.set&&(R=D.stylize("[Setter]","special")),he(J,O)||(n="["+O+"]"),R||(D.seen.indexOf(w.value)<0?(m($)?R=C(D,w.value,null):R=C(D,w.value,$-1),R.indexOf(`
6
+ */(function(m){const s=f,o=L,y=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;m.Buffer=x,m.SlowBuffer=j,m.INSPECT_MAX_BYTES=50;const T=2147483647;m.kMaxLength=T;const{Uint8Array:S,ArrayBuffer:F,SharedArrayBuffer:d}=globalThis;x.TYPED_ARRAY_SUPPORT=K(),!x.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 K(){try{const l=new S(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,S.prototype),Object.setPrototypeOf(l,e),l.foo()===42}catch{return!1}}Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}});function X(l){if(l>T)throw new RangeError('The value "'+l+'" is invalid for option "size"');const e=new S(l);return Object.setPrototypeOf(e,x.prototype),e}function x(l,e,t){if(typeof l=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ce(l)}return ee(l,e,t)}x.poolSize=8192;function ee(l,e,t){if(typeof l=="string")return Z(l,e);if(F.isView(l))return ue(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(_e(l,F)||l&&_e(l.buffer,F)||typeof d<"u"&&(_e(l,d)||l&&_e(l.buffer,d)))return ge(l,e,t);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=l.valueOf&&l.valueOf();if(b!=null&&b!==l)return x.from(b,e,t);const I=be(l);if(I)return I;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return x.from(l[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}x.from=function(l,e,t){return ee(l,e,t)},Object.setPrototypeOf(x.prototype,S.prototype),Object.setPrototypeOf(x,S);function ne(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function ae(l,e,t){return ne(l),l<=0?X(l):e!==void 0?typeof t=="string"?X(l).fill(e,t):X(l).fill(e):X(l)}x.alloc=function(l,e,t){return ae(l,e,t)};function ce(l){return ne(l),X(l<0?0:D(l)|0)}x.allocUnsafe=function(l){return ce(l)},x.allocUnsafeSlow=function(l){return ce(l)};function Z(l,e){if((typeof e!="string"||e==="")&&(e="utf8"),!x.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const t=$(l,e)|0;let b=X(t);const I=b.write(l,e);return I!==t&&(b=b.slice(0,I)),b}function he(l){const e=l.length<0?0:D(l.length)|0,t=X(e);for(let b=0;b<e;b+=1)t[b]=l[b]&255;return t}function ue(l){if(_e(l,S)){const e=new S(l);return ge(e.buffer,e.byteOffset,e.byteLength)}return he(l)}function ge(l,e,t){if(e<0||l.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');let b;return e===void 0&&t===void 0?b=new S(l):t===void 0?b=new S(l,e):b=new S(l,e,t),Object.setPrototypeOf(b,x.prototype),b}function be(l){if(x.isBuffer(l)){const e=D(l.length)|0,t=X(e);return t.length===0||l.copy(t,0,0,e),t}if(l.length!==void 0)return typeof l.length!="number"||tt(l.length)?X(0):he(l);if(l.type==="Buffer"&&Array.isArray(l.data))return he(l.data)}function D(l){if(l>=T)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+T.toString(16)+" bytes");return l|0}function j(l){return+l!=l&&(l=0),x.alloc(+l)}x.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==x.prototype},x.compare=function(e,t){if(_e(e,S)&&(e=x.from(e,e.offset,e.byteLength)),_e(t,S)&&(t=x.from(t,t.offset,t.byteLength)),!x.isBuffer(e)||!x.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let b=e.length,I=t.length;for(let M=0,G=Math.min(b,I);M<G;++M)if(e[M]!==t[M]){b=e[M],I=t[M];break}return b<I?-1:I<b?1:0},x.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},x.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return x.alloc(0);let b;if(t===void 0)for(t=0,b=0;b<e.length;++b)t+=e[b].length;const I=x.allocUnsafe(t);let M=0;for(b=0;b<e.length;++b){let G=e[b];if(_e(G,S))M+G.length>I.length?(x.isBuffer(G)||(G=x.from(G)),G.copy(I,M)):S.prototype.set.call(I,G,M);else if(x.isBuffer(G))G.copy(I,M);else throw new TypeError('"list" argument must be an Array of Buffers');M+=G.length}return I};function $(l,e){if(x.isBuffer(l))return l.length;if(F.isView(l)||_e(l,F))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);const t=l.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&t===0)return 0;let I=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return et(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return kr(l).length;default:if(I)return b?-1:et(l).length;e=(""+e).toLowerCase(),I=!0}}x.byteLength=$;function J(l,e,t){let b=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(l||(l="utf8");;)switch(l){case"hex":return ve(this,e,t);case"utf8":case"utf-8":return Q(this,e,t);case"ascii":return fe(this,e,t);case"latin1":case"binary":return k(this,e,t);case"base64":return W(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,e,t);default:if(b)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),b=!0}}x.prototype._isBuffer=!0;function O(l,e,t){const b=l[e];l[e]=l[t],l[t]=b}x.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)O(this,t,t+1);return this},x.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)O(this,t,t+3),O(this,t+1,t+2);return this},x.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)O(this,t,t+7),O(this,t+1,t+6),O(this,t+2,t+5),O(this,t+3,t+4);return this},x.prototype.toString=function(){const e=this.length;return e===0?"":arguments.length===0?Q(this,0,e):J.apply(this,arguments)},x.prototype.toLocaleString=x.prototype.toString,x.prototype.equals=function(e){if(!x.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:x.compare(this,e)===0},x.prototype.inspect=function(){let e="";const t=m.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},y&&(x.prototype[y]=x.prototype.inspect),x.prototype.compare=function(e,t,b,I,M){if(_e(e,S)&&(e=x.from(e,e.offset,e.byteLength)),!x.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),b===void 0&&(b=e?e.length:0),I===void 0&&(I=0),M===void 0&&(M=this.length),t<0||b>e.length||I<0||M>this.length)throw new RangeError("out of range index");if(I>=M&&t>=b)return 0;if(I>=M)return-1;if(t>=b)return 1;if(t>>>=0,b>>>=0,I>>>=0,M>>>=0,this===e)return 0;let G=M-I,ie=b-t;const pe=Math.min(G,ie),le=this.slice(I,M),ye=e.slice(t,b);for(let se=0;se<pe;++se)if(le[se]!==ye[se]){G=le[se],ie=ye[se];break}return G<ie?-1:ie<G?1:0};function i(l,e,t,b,I){if(l.length===0)return-1;if(typeof t=="string"?(b=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,tt(t)&&(t=I?0:l.length-1),t<0&&(t=l.length+t),t>=l.length){if(I)return-1;t=l.length-1}else if(t<0)if(I)t=0;else return-1;if(typeof e=="string"&&(e=x.from(e,b)),x.isBuffer(e))return e.length===0?-1:n(l,e,t,b,I);if(typeof e=="number")return e=e&255,typeof S.prototype.indexOf=="function"?I?S.prototype.indexOf.call(l,e,t):S.prototype.lastIndexOf.call(l,e,t):n(l,[e],t,b,I);throw new TypeError("val must be string, number or Buffer")}function n(l,e,t,b,I){let M=1,G=l.length,ie=e.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(l.length<2||e.length<2)return-1;M=2,G/=2,ie/=2,t/=2}function pe(ye,se){return M===1?ye[se]:ye.readUInt16BE(se*M)}let le;if(I){let ye=-1;for(le=t;le<G;le++)if(pe(l,le)===pe(e,ye===-1?0:le-ye)){if(ye===-1&&(ye=le),le-ye+1===ie)return ye*M}else ye!==-1&&(le-=le-ye),ye=-1}else for(t+ie>G&&(t=G-ie),le=t;le>=0;le--){let ye=!0;for(let se=0;se<ie;se++)if(pe(l,le+se)!==pe(e,se)){ye=!1;break}if(ye)return le}return-1}x.prototype.includes=function(e,t,b){return this.indexOf(e,t,b)!==-1},x.prototype.indexOf=function(e,t,b){return i(this,e,t,b,!0)},x.prototype.lastIndexOf=function(e,t,b){return i(this,e,t,b,!1)};function R(l,e,t,b){t=Number(t)||0;const I=l.length-t;b?(b=Number(b),b>I&&(b=I)):b=I;const M=e.length;b>M/2&&(b=M/2);let G;for(G=0;G<b;++G){const ie=parseInt(e.substr(G*2,2),16);if(tt(ie))return G;l[t+G]=ie}return G}function w(l,e,t,b){return Ge(et(e,l.length-t),l,t,b)}function h(l,e,t,b){return Ge(Wi(e),l,t,b)}function p(l,e,t,b){return Ge(kr(e),l,t,b)}function U(l,e,t,b){return Ge(Vi(e,l.length-t),l,t,b)}x.prototype.write=function(e,t,b,I){if(t===void 0)I="utf8",b=this.length,t=0;else if(b===void 0&&typeof t=="string")I=t,b=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(b)?(b=b>>>0,I===void 0&&(I="utf8")):(I=b,b=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const M=this.length-t;if((b===void 0||b>M)&&(b=M),e.length>0&&(b<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");let G=!1;for(;;)switch(I){case"hex":return R(this,e,t,b);case"utf8":case"utf-8":return w(this,e,t,b);case"ascii":case"latin1":case"binary":return h(this,e,t,b);case"base64":return p(this,e,t,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,t,b);default:if(G)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),G=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function W(l,e,t){return e===0&&t===l.length?s.fromByteArray(l):s.fromByteArray(l.slice(e,t))}function Q(l,e,t){t=Math.min(l.length,t);const b=[];let I=e;for(;I<t;){const M=l[I];let G=null,ie=M>239?4:M>223?3:M>191?2:1;if(I+ie<=t){let pe,le,ye,se;switch(ie){case 1:M<128&&(G=M);break;case 2:pe=l[I+1],(pe&192)===128&&(se=(M&31)<<6|pe&63,se>127&&(G=se));break;case 3:pe=l[I+1],le=l[I+2],(pe&192)===128&&(le&192)===128&&(se=(M&15)<<12|(pe&63)<<6|le&63,se>2047&&(se<55296||se>57343)&&(G=se));break;case 4:pe=l[I+1],le=l[I+2],ye=l[I+3],(pe&192)===128&&(le&192)===128&&(ye&192)===128&&(se=(M&15)<<18|(pe&63)<<12|(le&63)<<6|ye&63,se>65535&&se<1114112&&(G=se))}}G===null?(G=65533,ie=1):G>65535&&(G-=65536,b.push(G>>>10&1023|55296),G=56320|G&1023),b.push(G),I+=ie}return z(b)}const Y=4096;function z(l){const e=l.length;if(e<=Y)return String.fromCharCode.apply(String,l);let t="",b=0;for(;b<e;)t+=String.fromCharCode.apply(String,l.slice(b,b+=Y));return t}function fe(l,e,t){let b="";t=Math.min(l.length,t);for(let I=e;I<t;++I)b+=String.fromCharCode(l[I]&127);return b}function k(l,e,t){let b="";t=Math.min(l.length,t);for(let I=e;I<t;++I)b+=String.fromCharCode(l[I]);return b}function ve(l,e,t){const b=l.length;(!e||e<0)&&(e=0),(!t||t<0||t>b)&&(t=b);let I="";for(let M=e;M<t;++M)I+=Yi[l[M]];return I}function me(l,e,t){const b=l.slice(e,t);let I="";for(let M=0;M<b.length-1;M+=2)I+=String.fromCharCode(b[M]+b[M+1]*256);return I}x.prototype.slice=function(e,t){const b=this.length;e=~~e,t=t===void 0?b:~~t,e<0?(e+=b,e<0&&(e=0)):e>b&&(e=b),t<0?(t+=b,t<0&&(t=0)):t>b&&(t=b),t<e&&(t=e);const I=this.subarray(e,t);return Object.setPrototypeOf(I,x.prototype),I};function oe(l,e,t){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+e>t)throw new RangeError("Trying to access beyond buffer length")}x.prototype.readUintLE=x.prototype.readUIntLE=function(e,t,b){e=e>>>0,t=t>>>0,b||oe(e,t,this.length);let I=this[e],M=1,G=0;for(;++G<t&&(M*=256);)I+=this[e+G]*M;return I},x.prototype.readUintBE=x.prototype.readUIntBE=function(e,t,b){e=e>>>0,t=t>>>0,b||oe(e,t,this.length);let I=this[e+--t],M=1;for(;t>0&&(M*=256);)I+=this[e+--t]*M;return I},x.prototype.readUint8=x.prototype.readUInt8=function(e,t){return e=e>>>0,t||oe(e,1,this.length),this[e]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||oe(e,2,this.length),this[e]|this[e+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||oe(e,2,this.length),this[e]<<8|this[e+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},x.prototype.readBigUInt64LE=Re(function(e){e=e>>>0,Pe(e,"offset");const t=this[e],b=this[e+7];(t===void 0||b===void 0)&&Me(e,this.length-8);const I=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,M=this[++e]+this[++e]*2**8+this[++e]*2**16+b*2**24;return BigInt(I)+(BigInt(M)<<BigInt(32))}),x.prototype.readBigUInt64BE=Re(function(e){e=e>>>0,Pe(e,"offset");const t=this[e],b=this[e+7];(t===void 0||b===void 0)&&Me(e,this.length-8);const I=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],M=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+b;return(BigInt(I)<<BigInt(32))+BigInt(M)}),x.prototype.readIntLE=function(e,t,b){e=e>>>0,t=t>>>0,b||oe(e,t,this.length);let I=this[e],M=1,G=0;for(;++G<t&&(M*=256);)I+=this[e+G]*M;return M*=128,I>=M&&(I-=Math.pow(2,8*t)),I},x.prototype.readIntBE=function(e,t,b){e=e>>>0,t=t>>>0,b||oe(e,t,this.length);let I=t,M=1,G=this[e+--I];for(;I>0&&(M*=256);)G+=this[e+--I]*M;return M*=128,G>=M&&(G-=Math.pow(2,8*t)),G},x.prototype.readInt8=function(e,t){return e=e>>>0,t||oe(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},x.prototype.readInt16LE=function(e,t){e=e>>>0,t||oe(e,2,this.length);const b=this[e]|this[e+1]<<8;return b&32768?b|4294901760:b},x.prototype.readInt16BE=function(e,t){e=e>>>0,t||oe(e,2,this.length);const b=this[e+1]|this[e]<<8;return b&32768?b|4294901760:b},x.prototype.readInt32LE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},x.prototype.readInt32BE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},x.prototype.readBigInt64LE=Re(function(e){e=e>>>0,Pe(e,"offset");const t=this[e],b=this[e+7];(t===void 0||b===void 0)&&Me(e,this.length-8);const I=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(b<<24);return(BigInt(I)<<BigInt(32))+BigInt(t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),x.prototype.readBigInt64BE=Re(function(e){e=e>>>0,Pe(e,"offset");const t=this[e],b=this[e+7];(t===void 0||b===void 0)&&Me(e,this.length-8);const I=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(I)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+b)}),x.prototype.readFloatLE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),o.read(this,e,!0,23,4)},x.prototype.readFloatBE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),o.read(this,e,!1,23,4)},x.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||oe(e,8,this.length),o.read(this,e,!0,52,8)},x.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||oe(e,8,this.length),o.read(this,e,!1,52,8)};function de(l,e,t,b,I,M){if(!x.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>I||e<M)throw new RangeError('"value" argument is out of bounds');if(t+b>l.length)throw new RangeError("Index out of range")}x.prototype.writeUintLE=x.prototype.writeUIntLE=function(e,t,b,I){if(e=+e,t=t>>>0,b=b>>>0,!I){const ie=Math.pow(2,8*b)-1;de(this,e,t,b,ie,0)}let M=1,G=0;for(this[t]=e&255;++G<b&&(M*=256);)this[t+G]=e/M&255;return t+b},x.prototype.writeUintBE=x.prototype.writeUIntBE=function(e,t,b,I){if(e=+e,t=t>>>0,b=b>>>0,!I){const ie=Math.pow(2,8*b)-1;de(this,e,t,b,ie,0)}let M=b-1,G=1;for(this[t+M]=e&255;--M>=0&&(G*=256);)this[t+M]=e/G&255;return t+b},x.prototype.writeUint8=x.prototype.writeUInt8=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,1,255,0),this[t]=e&255,t+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function we(l,e,t,b,I){qr(e,b,I,l,t,7);let M=Number(e&BigInt(4294967295));l[t++]=M,M=M>>8,l[t++]=M,M=M>>8,l[t++]=M,M=M>>8,l[t++]=M;let G=Number(e>>BigInt(32)&BigInt(4294967295));return l[t++]=G,G=G>>8,l[t++]=G,G=G>>8,l[t++]=G,G=G>>8,l[t++]=G,t}function Be(l,e,t,b,I){qr(e,b,I,l,t,7);let M=Number(e&BigInt(4294967295));l[t+7]=M,M=M>>8,l[t+6]=M,M=M>>8,l[t+5]=M,M=M>>8,l[t+4]=M;let G=Number(e>>BigInt(32)&BigInt(4294967295));return l[t+3]=G,G=G>>8,l[t+2]=G,G=G>>8,l[t+1]=G,G=G>>8,l[t]=G,t+8}x.prototype.writeBigUInt64LE=Re(function(e,t=0){return we(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=Re(function(e,t=0){return Be(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(e,t,b,I){if(e=+e,t=t>>>0,!I){const pe=Math.pow(2,8*b-1);de(this,e,t,b,pe-1,-pe)}let M=0,G=1,ie=0;for(this[t]=e&255;++M<b&&(G*=256);)e<0&&ie===0&&this[t+M-1]!==0&&(ie=1),this[t+M]=(e/G>>0)-ie&255;return t+b},x.prototype.writeIntBE=function(e,t,b,I){if(e=+e,t=t>>>0,!I){const pe=Math.pow(2,8*b-1);de(this,e,t,b,pe-1,-pe)}let M=b-1,G=1,ie=0;for(this[t+M]=e&255;--M>=0&&(G*=256);)e<0&&ie===0&&this[t+M+1]!==0&&(ie=1),this[t+M]=(e/G>>0)-ie&255;return t+b},x.prototype.writeInt8=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1},x.prototype.writeInt16LE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2},x.prototype.writeInt16BE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2},x.prototype.writeInt32LE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},x.prototype.writeInt32BE=function(e,t,b){return e=+e,t=t>>>0,b||de(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4},x.prototype.writeBigInt64LE=Re(function(e,t=0){return we(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=Re(function(e,t=0){return Be(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Se(l,e,t,b,I,M){if(t+b>l.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Ae(l,e,t,b,I){return e=+e,t=t>>>0,I||Se(l,e,t,4),o.write(l,e,t,b,23,4),t+4}x.prototype.writeFloatLE=function(e,t,b){return Ae(this,e,t,!0,b)},x.prototype.writeFloatBE=function(e,t,b){return Ae(this,e,t,!1,b)};function Te(l,e,t,b,I){return e=+e,t=t>>>0,I||Se(l,e,t,8),o.write(l,e,t,b,52,8),t+8}x.prototype.writeDoubleLE=function(e,t,b){return Te(this,e,t,!0,b)},x.prototype.writeDoubleBE=function(e,t,b){return Te(this,e,t,!1,b)},x.prototype.copy=function(e,t,b,I){if(!x.isBuffer(e))throw new TypeError("argument should be a Buffer");if(b||(b=0),!I&&I!==0&&(I=this.length),t>=e.length&&(t=e.length),t||(t=0),I>0&&I<b&&(I=b),I===b||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(b<0||b>=this.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),e.length-t<I-b&&(I=e.length-t+b);const M=I-b;return this===e&&typeof S.prototype.copyWithin=="function"?this.copyWithin(t,b,I):S.prototype.set.call(e,this.subarray(b,I),t),M},x.prototype.fill=function(e,t,b,I){if(typeof e=="string"){if(typeof t=="string"?(I=t,t=0,b=this.length):typeof b=="string"&&(I=b,b=this.length),I!==void 0&&typeof I!="string")throw new TypeError("encoding must be a string");if(typeof I=="string"&&!x.isEncoding(I))throw new TypeError("Unknown encoding: "+I);if(e.length===1){const G=e.charCodeAt(0);(I==="utf8"&&G<128||I==="latin1")&&(e=G)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<b)throw new RangeError("Out of range index");if(b<=t)return this;t=t>>>0,b=b===void 0?this.length:b>>>0,e||(e=0);let M;if(typeof e=="number")for(M=t;M<b;++M)this[M]=e;else{const G=x.isBuffer(e)?e:x.from(e,I),ie=G.length;if(ie===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(M=0;M<b-t;++M)this[M+t]=G[M%ie]}return this};const Ne={};function Ze(l,e,t){Ne[l]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(I){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:I,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}Ze("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ze("ERR_INVALID_ARG_TYPE",function(l,e){return`The "${l}" argument must be of type number. Received type ${typeof e}`},TypeError),Ze("ERR_OUT_OF_RANGE",function(l,e,t){let b=`The value of "${l}" is out of range.`,I=t;return Number.isInteger(t)&&Math.abs(t)>2**32?I=jr(String(t)):typeof t=="bigint"&&(I=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(I=jr(I)),I+="n"),b+=` It must be ${e}. Received ${I}`,b},RangeError);function jr(l){let e="",t=l.length;const b=l[0]==="-"?1:0;for(;t>=b+4;t-=3)e=`_${l.slice(t-3,t)}${e}`;return`${l.slice(0,t)}${e}`}function Gi(l,e,t){Pe(e,"offset"),(l[e]===void 0||l[e+t]===void 0)&&Me(e,l.length-(t+1))}function qr(l,e,t,b,I,M){if(l>t||l<e){const G=typeof e=="bigint"?"n":"";let ie;throw e===0||e===BigInt(0)?ie=`>= 0${G} and < 2${G} ** ${(M+1)*8}${G}`:ie=`>= -(2${G} ** ${(M+1)*8-1}${G}) and < 2 ** ${(M+1)*8-1}${G}`,new Ne.ERR_OUT_OF_RANGE("value",ie,l)}Gi(b,I,M)}function Pe(l,e){if(typeof l!="number")throw new Ne.ERR_INVALID_ARG_TYPE(e,"number",l)}function Me(l,e,t){throw Math.floor(l)!==l?(Pe(l,t),new Ne.ERR_OUT_OF_RANGE("offset","an integer",l)):e<0?new Ne.ERR_BUFFER_OUT_OF_BOUNDS:new Ne.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${e}`,l)}const Ki=/[^+/0-9A-Za-z-_]/g;function $i(l){if(l=l.split("=")[0],l=l.trim().replace(Ki,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function et(l,e){e=e||1/0;let t;const b=l.length;let I=null;const M=[];for(let G=0;G<b;++G){if(t=l.charCodeAt(G),t>55295&&t<57344){if(!I){if(t>56319){(e-=3)>-1&&M.push(239,191,189);continue}else if(G+1===b){(e-=3)>-1&&M.push(239,191,189);continue}I=t;continue}if(t<56320){(e-=3)>-1&&M.push(239,191,189),I=t;continue}t=(I-55296<<10|t-56320)+65536}else I&&(e-=3)>-1&&M.push(239,191,189);if(I=null,t<128){if((e-=1)<0)break;M.push(t)}else if(t<2048){if((e-=2)<0)break;M.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;M.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;M.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return M}function Wi(l){const e=[];for(let t=0;t<l.length;++t)e.push(l.charCodeAt(t)&255);return e}function Vi(l,e){let t,b,I;const M=[];for(let G=0;G<l.length&&!((e-=2)<0);++G)t=l.charCodeAt(G),b=t>>8,I=t%256,M.push(I),M.push(b);return M}function kr(l){return s.toByteArray($i(l))}function Ge(l,e,t,b){let I;for(I=0;I<b&&!(I+t>=e.length||I>=l.length);++I)e[I+t]=l[I];return I}function _e(l,e){return l instanceof e||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===e.name}function tt(l){return l!==l}const Yi=function(){const l="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){const b=t*16;for(let I=0;I<16;++I)e[b+I]=l[t]+l[I]}return e}();function Re(l){return typeof BigInt>"u"?Xi:l}function Xi(){throw new Error("BigInt not supported")}})(a);const c=a.Buffer;r.Blob=a.Blob,r.BlobOptions=a.BlobOptions,r.Buffer=a.Buffer,r.File=a.File,r.FileOptions=a.FileOptions,r.INSPECT_MAX_BYTES=a.INSPECT_MAX_BYTES,r.SlowBuffer=a.SlowBuffer,r.TranscodeEncoding=a.TranscodeEncoding,r.atob=a.atob,r.btoa=a.btoa,r.constants=a.constants,r.default=c,r.isAscii=a.isAscii,r.isUtf8=a.isUtf8,r.kMaxLength=a.kMaxLength,r.kStringMaxLength=a.kStringMaxLength,r.resolveObjectURL=a.resolveObjectURL,r.transcode=a.transcode}(it)),it}var at={},ot={},ut,Wr;function vi(){return Wr||(Wr=1,ut=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var a={},f=Symbol("test"),u=Object(f);if(typeof f=="string"||Object.prototype.toString.call(f)!=="[object Symbol]"||Object.prototype.toString.call(u)!=="[object Symbol]")return!1;var v=42;a[f]=v;for(var g in a)return!1;if(typeof Object.keys=="function"&&Object.keys(a).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(a).length!==0)return!1;var A=Object.getOwnPropertySymbols(a);if(A.length!==1||A[0]!==f||!Object.prototype.propertyIsEnumerable.call(a,f))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var E=Object.getOwnPropertyDescriptor(a,f);if(E.value!==v||E.enumerable!==!0)return!1}return!0}),ut}var st,Vr;function Je(){if(Vr)return st;Vr=1;var r=vi();return st=function(){return r()&&!!Symbol.toStringTag},st}var ft,Yr;function wi(){return Yr||(Yr=1,ft=Object),ft}var lt,Xr;function ca(){return Xr||(Xr=1,lt=Error),lt}var ct,zr;function ha(){return zr||(zr=1,ct=EvalError),ct}var ht,Jr;function da(){return Jr||(Jr=1,ht=RangeError),ht}var dt,Qr;function pa(){return Qr||(Qr=1,dt=ReferenceError),dt}var pt,Zr;function _i(){return Zr||(Zr=1,pt=SyntaxError),pt}var yt,en;function qe(){return en||(en=1,yt=TypeError),yt}var gt,tn;function ya(){return tn||(tn=1,gt=URIError),gt}var bt,rn;function ga(){return rn||(rn=1,bt=Math.abs),bt}var mt,nn;function ba(){return nn||(nn=1,mt=Math.floor),mt}var Et,an;function ma(){return an||(an=1,Et=Math.max),Et}var vt,on;function Ea(){return on||(on=1,vt=Math.min),vt}var wt,un;function va(){return un||(un=1,wt=Math.pow),wt}var _t,sn;function wa(){return sn||(sn=1,_t=Math.round),_t}var At,fn;function _a(){return fn||(fn=1,At=Number.isNaN||function(a){return a!==a}),At}var Tt,ln;function Aa(){if(ln)return Tt;ln=1;var r=_a();return Tt=function(f){return r(f)||f===0?f:f<0?-1:1},Tt}var St,cn;function Ta(){return cn||(cn=1,St=Object.getOwnPropertyDescriptor),St}var Rt,hn;function De(){if(hn)return Rt;hn=1;var r=Ta();if(r)try{r([],"length")}catch{r=null}return Rt=r,Rt}var xt,dn;function Qe(){if(dn)return xt;dn=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return xt=r,xt}var It,pn;function Sa(){if(pn)return It;pn=1;var r=typeof Symbol<"u"&&Symbol,a=vi();return It=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:a()},It}var Ft,yn;function Ai(){return yn||(yn=1,Ft=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ft}var Ot,gn;function Ti(){if(gn)return Ot;gn=1;var r=wi();return Ot=r.getPrototypeOf||null,Ot}var Bt,bn;function Ra(){if(bn)return Bt;bn=1;var r="Function.prototype.bind called on incompatible ",a=Object.prototype.toString,f=Math.max,u="[object Function]",v=function(_,B){for(var C=[],N=0;N<_.length;N+=1)C[N]=_[N];for(var P=0;P<B.length;P+=1)C[P+_.length]=B[P];return C},g=function(_,B){for(var C=[],N=B,P=0;N<_.length;N+=1,P+=1)C[P]=_[N];return C},A=function(E,_){for(var B="",C=0;C<E.length;C+=1)B+=E[C],C+1<E.length&&(B+=_);return B};return Bt=function(_){var B=this;if(typeof B!="function"||a.apply(B)!==u)throw new TypeError(r+B);for(var C=g(arguments,1),N,P=function(){if(this instanceof N){var c=B.apply(this,v(C,arguments));return Object(c)===c?c:this}return B.apply(_,v(C,arguments))},V=f(0,B.length-C.length),q=[],H=0;H<V;H++)q[H]="$"+H;if(N=Function("binder","return function ("+A(q,",")+"){ return binder.apply(this,arguments); }")(P),B.prototype){var L=function(){};L.prototype=B.prototype,N.prototype=new L,L.prototype=null}return N},Bt}var Nt,mn;function ke(){if(mn)return Nt;mn=1;var r=Ra();return Nt=Function.prototype.bind||r,Nt}var Pt,En;function Nr(){return En||(En=1,Pt=Function.prototype.call),Pt}var Ct,vn;function Pr(){return vn||(vn=1,Ct=Function.prototype.apply),Ct}var Dt,wn;function xa(){return wn||(wn=1,Dt=typeof Reflect<"u"&&Reflect&&Reflect.apply),Dt}var Lt,_n;function Si(){if(_n)return Lt;_n=1;var r=ke(),a=Pr(),f=Nr(),u=xa();return Lt=u||r.call(f,a),Lt}var Mt,An;function Cr(){if(An)return Mt;An=1;var r=ke(),a=qe(),f=Nr(),u=Si();return Mt=function(g){if(g.length<1||typeof g[0]!="function")throw new a("a function is required");return u(r,f,g)},Mt}var Ut,Tn;function Ia(){if(Tn)return Ut;Tn=1;var r=Cr(),a=De(),f;try{f=[].__proto__===Array.prototype}catch(A){if(!A||typeof A!="object"||!("code"in A)||A.code!=="ERR_PROTO_ACCESS")throw A}var u=!!f&&a&&a(Object.prototype,"__proto__"),v=Object,g=v.getPrototypeOf;return Ut=u&&typeof u.get=="function"?r([u.get]):typeof g=="function"?function(E){return g(E==null?E:v(E))}:!1,Ut}var jt,Sn;function Ri(){if(Sn)return jt;Sn=1;var r=Ai(),a=Ti(),f=Ia();return jt=r?function(v){return r(v)}:a?function(v){if(!v||typeof v!="object"&&typeof v!="function")throw new TypeError("getProto: not an object");return a(v)}:f?function(v){return f(v)}:null,jt}var qt,Rn;function xi(){if(Rn)return qt;Rn=1;var r=Function.prototype.call,a=Object.prototype.hasOwnProperty,f=ke();return qt=f.call(r,a),qt}var kt,xn;function Ii(){if(xn)return kt;xn=1;var r,a=wi(),f=ca(),u=ha(),v=da(),g=pa(),A=_i(),E=qe(),_=ya(),B=ga(),C=ba(),N=ma(),P=Ea(),V=va(),q=wa(),H=Aa(),L=Function,c=function(R){try{return L('"use strict"; return ('+R+").constructor;")()}catch{}},m=De(),s=Qe(),o=function(){throw new E},y=m?function(){try{return arguments.callee,o}catch{try{return m(arguments,"callee").get}catch{return o}}}():o,T=Sa()(),S=Ri(),F=Ti(),d=Ai(),K=Pr(),X=Nr(),x={},ee=typeof Uint8Array>"u"||!S?r:S(Uint8Array),ne={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":T&&S?S([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":f,"%eval%":eval,"%EvalError%":u,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":L,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":T&&S?S(S([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!T||!S?r:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":m,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":v,"%ReferenceError%":g,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!T||!S?r:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":T&&S?S(""[Symbol.iterator]()):r,"%Symbol%":T?Symbol:r,"%SyntaxError%":A,"%ThrowTypeError%":y,"%TypedArray%":ee,"%TypeError%":E,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":_,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":X,"%Function.prototype.apply%":K,"%Object.defineProperty%":s,"%Object.getPrototypeOf%":F,"%Math.abs%":B,"%Math.floor%":C,"%Math.max%":N,"%Math.min%":P,"%Math.pow%":V,"%Math.round%":q,"%Math.sign%":H,"%Reflect.getPrototypeOf%":d};if(S)try{null.error}catch(R){var ae=S(S(R));ne["%Error.prototype%"]=ae}var ce=function R(w){var h;if(w==="%AsyncFunction%")h=c("async function () {}");else if(w==="%GeneratorFunction%")h=c("function* () {}");else if(w==="%AsyncGeneratorFunction%")h=c("async function* () {}");else if(w==="%AsyncGenerator%"){var p=R("%AsyncGeneratorFunction%");p&&(h=p.prototype)}else if(w==="%AsyncIteratorPrototype%"){var U=R("%AsyncGenerator%");U&&S&&(h=S(U.prototype))}return ne[w]=h,h},Z={__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"]},he=ke(),ue=xi(),ge=he.call(X,Array.prototype.concat),be=he.call(K,Array.prototype.splice),D=he.call(X,String.prototype.replace),j=he.call(X,String.prototype.slice),$=he.call(X,RegExp.prototype.exec),J=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,i=function(w){var h=j(w,0,1),p=j(w,-1);if(h==="%"&&p!=="%")throw new A("invalid intrinsic syntax, expected closing `%`");if(p==="%"&&h!=="%")throw new A("invalid intrinsic syntax, expected opening `%`");var U=[];return D(w,J,function(W,Q,Y,z){U[U.length]=Y?D(z,O,"$1"):Q||W}),U},n=function(w,h){var p=w,U;if(ue(Z,p)&&(U=Z[p],p="%"+U[0]+"%"),ue(ne,p)){var W=ne[p];if(W===x&&(W=ce(p)),typeof W>"u"&&!h)throw new E("intrinsic "+w+" exists, but is not available. Please file an issue!");return{alias:U,name:p,value:W}}throw new A("intrinsic "+w+" does not exist!")};return kt=function(w,h){if(typeof w!="string"||w.length===0)throw new E("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof h!="boolean")throw new E('"allowMissing" argument must be a boolean');if($(/^%?[^%]*%?$/,w)===null)throw new A("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var p=i(w),U=p.length>0?p[0]:"",W=n("%"+U+"%",h),Q=W.name,Y=W.value,z=!1,fe=W.alias;fe&&(U=fe[0],be(p,ge([0,1],fe)));for(var k=1,ve=!0;k<p.length;k+=1){var me=p[k],oe=j(me,0,1),de=j(me,-1);if((oe==='"'||oe==="'"||oe==="`"||de==='"'||de==="'"||de==="`")&&oe!==de)throw new A("property names with quotes must have matching quotes");if((me==="constructor"||!ve)&&(z=!0),U+="."+me,Q="%"+U+"%",ue(ne,Q))Y=ne[Q];else if(Y!=null){if(!(me in Y)){if(!h)throw new E("base intrinsic for "+w+" exists, but the property is not available.");return}if(m&&k+1>=p.length){var we=m(Y,me);ve=!!we,ve&&"get"in we&&!("originalValue"in we.get)?Y=we.get:Y=Y[me]}else ve=ue(Y,me),Y=Y[me];ve&&!z&&(ne[Q]=Y)}}return Y},kt}var Ht,In;function He(){if(In)return Ht;In=1;var r=Ii(),a=Cr(),f=a([r("%String.prototype.indexOf%")]);return Ht=function(v,g){var A=r(v,!!g);return typeof A=="function"&&f(v,".prototype.")>-1?a([A]):A},Ht}var Gt,Fn;function Fa(){if(Fn)return Gt;Fn=1;var r=Je()(),a=He(),f=a("Object.prototype.toString"),u=function(E){return r&&E&&typeof E=="object"&&Symbol.toStringTag in E?!1:f(E)==="[object Arguments]"},v=function(E){return u(E)?!0:E!==null&&typeof E=="object"&&"length"in E&&typeof E.length=="number"&&E.length>=0&&f(E)!=="[object Array]"&&"callee"in E&&f(E.callee)==="[object Function]"},g=function(){return u(arguments)}();return u.isLegacyArguments=v,Gt=g?u:v,Gt}var Kt,On;function Oa(){if(On)return Kt;On=1;var r=He(),a=Je()(),f=xi(),u=De(),v;if(a){var g=r("RegExp.prototype.exec"),A={},E=function(){throw A},_={toString:E,valueOf:E};typeof Symbol.toPrimitive=="symbol"&&(_[Symbol.toPrimitive]=E),v=function(P){if(!P||typeof P!="object")return!1;var V=u(P,"lastIndex"),q=V&&f(V,"value");if(!q)return!1;try{g(P,_)}catch(H){return H===A}}}else{var B=r("Object.prototype.toString"),C="[object RegExp]";v=function(P){return!P||typeof P!="object"&&typeof P!="function"?!1:B(P)===C}}return Kt=v,Kt}var $t,Bn;function Ba(){if(Bn)return $t;Bn=1;var r=He(),a=Oa(),f=r("RegExp.prototype.exec"),u=qe();return $t=function(g){if(!a(g))throw new u("`regex` must be a RegExp");return function(E){return f(g,E)!==null}},$t}var Wt,Nn;function Na(){if(Nn)return Wt;Nn=1;var r=He(),a=Ba(),f=a(/^\s*(?:function)?\*/),u=Je()(),v=Ri(),g=r("Object.prototype.toString"),A=r("Function.prototype.toString"),E=function(){if(!u)return!1;try{return Function("return function*() {}")()}catch{}},_;return Wt=function(C){if(typeof C!="function")return!1;if(f(A(C)))return!0;if(!u){var N=g(C);return N==="[object GeneratorFunction]"}if(!v)return!1;if(typeof _>"u"){var P=E();_=P?v(P):!1}return v(C)===_},Wt}var Vt,Pn;function Pa(){if(Pn)return Vt;Pn=1;var r=Function.prototype.toString,a=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,f,u;if(typeof a=="function"&&typeof Object.defineProperty=="function")try{f=Object.defineProperty({},"length",{get:function(){throw u}}),u={},a(function(){throw 42},null,f)}catch(m){m!==u&&(a=null)}else a=null;var v=/^\s*class\b/,g=function(s){try{var o=r.call(s);return v.test(o)}catch{return!1}},A=function(s){try{return g(s)?!1:(r.call(s),!0)}catch{return!1}},E=Object.prototype.toString,_="[object Object]",B="[object Function]",C="[object GeneratorFunction]",N="[object HTMLAllCollection]",P="[object HTML document.all class]",V="[object HTMLCollection]",q=typeof Symbol=="function"&&!!Symbol.toStringTag,H=!(0 in[,]),L=function(){return!1};if(typeof document=="object"){var c=document.all;E.call(c)===E.call(document.all)&&(L=function(s){if((H||!s)&&(typeof s>"u"||typeof s=="object"))try{var o=E.call(s);return(o===N||o===P||o===V||o===_)&&s("")==null}catch{}return!1})}return Vt=a?function(s){if(L(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{a(s,null,f)}catch(o){if(o!==u)return!1}return!g(s)&&A(s)}:function(s){if(L(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(q)return A(s);if(g(s))return!1;var o=E.call(s);return o!==B&&o!==C&&!/^\[object HTML/.test(o)?!1:A(s)},Vt}var Yt,Cn;function Ca(){if(Cn)return Yt;Cn=1;var r=Pa(),a=Object.prototype.toString,f=Object.prototype.hasOwnProperty,u=function(_,B,C){for(var N=0,P=_.length;N<P;N++)f.call(_,N)&&(C==null?B(_[N],N,_):B.call(C,_[N],N,_))},v=function(_,B,C){for(var N=0,P=_.length;N<P;N++)C==null?B(_.charAt(N),N,_):B.call(C,_.charAt(N),N,_)},g=function(_,B,C){for(var N in _)f.call(_,N)&&(C==null?B(_[N],N,_):B.call(C,_[N],N,_))};function A(E){return a.call(E)==="[object Array]"}return Yt=function(_,B,C){if(!r(B))throw new TypeError("iterator must be a function");var N;arguments.length>=3&&(N=C),A(_)?u(_,B,N):typeof _=="string"?v(_,B,N):g(_,B,N)},Yt}var Xt,Dn;function Da(){return Dn||(Dn=1,Xt=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Xt}var zt,Ln;function La(){if(Ln)return zt;Ln=1;var r=Da(),a=typeof globalThis>"u"?Ee.commonjsGlobal:globalThis;return zt=function(){for(var u=[],v=0;v<r.length;v++)typeof a[r[v]]=="function"&&(u[u.length]=r[v]);return u},zt}var Jt={exports:{}},Qt,Mn;function Ma(){if(Mn)return Qt;Mn=1;var r=Qe(),a=_i(),f=qe(),u=De();return Qt=function(g,A,E){if(!g||typeof g!="object"&&typeof g!="function")throw new f("`obj` must be an object or a function`");if(typeof A!="string"&&typeof A!="symbol")throw new f("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new f("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new f("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new f("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new f("`loose`, if provided, must be a boolean");var _=arguments.length>3?arguments[3]:null,B=arguments.length>4?arguments[4]:null,C=arguments.length>5?arguments[5]:null,N=arguments.length>6?arguments[6]:!1,P=!!u&&u(g,A);if(r)r(g,A,{configurable:C===null&&P?P.configurable:!C,enumerable:_===null&&P?P.enumerable:!_,value:E,writable:B===null&&P?P.writable:!B});else if(N||!_&&!B&&!C)g[A]=E;else throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Qt}var Zt,Un;function Ua(){if(Un)return Zt;Un=1;var r=Qe(),a=function(){return!!r};return a.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},Zt=a,Zt}var er,jn;function ja(){if(jn)return er;jn=1;var r=Ii(),a=Ma(),f=Ua()(),u=De(),v=qe(),g=r("%Math.floor%");return er=function(E,_){if(typeof E!="function")throw new v("`fn` is not a function");if(typeof _!="number"||_<0||_>4294967295||g(_)!==_)throw new v("`length` must be a positive 32-bit integer");var B=arguments.length>2&&!!arguments[2],C=!0,N=!0;if("length"in E&&u){var P=u(E,"length");P&&!P.configurable&&(C=!1),P&&!P.writable&&(N=!1)}return(C||N||!B)&&(f?a(E,"length",_,!0,!0):a(E,"length",_)),E},er}var tr,qn;function qa(){if(qn)return tr;qn=1;var r=ke(),a=Pr(),f=Si();return tr=function(){return f(r,a,arguments)},tr}var kn;function ka(){return kn||(kn=1,function(r){var a=ja(),f=Qe(),u=Cr(),v=qa();r.exports=function(A){var E=u(arguments),_=A.length-(arguments.length-1);return a(E,1+(_>0?_:0),!0)},f?f(r.exports,"apply",{value:v}):r.exports.apply=v}(Jt)),Jt.exports}var rr,Hn;function Fi(){if(Hn)return rr;Hn=1;var r=Ca(),a=La(),f=ka(),u=He(),v=De(),g=u("Object.prototype.toString"),A=Je()(),E=typeof globalThis>"u"?Ee.commonjsGlobal:globalThis,_=a(),B=u("String.prototype.slice"),C=Object.getPrototypeOf,N=u("Array.prototype.indexOf",!0)||function(L,c){for(var m=0;m<L.length;m+=1)if(L[m]===c)return m;return-1},P={__proto__:null};A&&v&&C?r(_,function(H){var L=new E[H];if(Symbol.toStringTag in L){var c=C(L),m=v(c,Symbol.toStringTag);if(!m){var s=C(c);m=v(s,Symbol.toStringTag)}P["$"+H]=f(m.get)}}):r(_,function(H){var L=new E[H],c=L.slice||L.set;c&&(P["$"+H]=f(c))});var V=function(L){var c=!1;return r(P,function(m,s){if(!c)try{"$"+m(L)===s&&(c=B(s,1))}catch{}}),c},q=function(L){var c=!1;return r(P,function(m,s){if(!c)try{m(L),c=B(s,1)}catch{}}),c};return rr=function(L){if(!L||typeof L!="object")return!1;if(!A){var c=B(g(L),8,-1);return N(_,c)>-1?c:c!=="Object"?!1:q(L)}return v?V(L):null},rr}var nr,Gn;function Ha(){if(Gn)return nr;Gn=1;var r=Fi();return nr=function(f){return!!r(f)},nr}var Kn;function Ga(){return Kn||(Kn=1,function(r){var a=Fa(),f=Na(),u=Fi(),v=Ha();function g(k){return k.call.bind(k)}var A=typeof BigInt<"u",E=typeof Symbol<"u",_=g(Object.prototype.toString),B=g(Number.prototype.valueOf),C=g(String.prototype.valueOf),N=g(Boolean.prototype.valueOf);if(A)var P=g(BigInt.prototype.valueOf);if(E)var V=g(Symbol.prototype.valueOf);function q(k,ve){if(typeof k!="object")return!1;try{return ve(k),!0}catch{return!1}}r.isArgumentsObject=a,r.isGeneratorFunction=f,r.isTypedArray=v;function H(k){return typeof Promise<"u"&&k instanceof Promise||k!==null&&typeof k=="object"&&typeof k.then=="function"&&typeof k.catch=="function"}r.isPromise=H;function L(k){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(k):v(k)||j(k)}r.isArrayBufferView=L;function c(k){return u(k)==="Uint8Array"}r.isUint8Array=c;function m(k){return u(k)==="Uint8ClampedArray"}r.isUint8ClampedArray=m;function s(k){return u(k)==="Uint16Array"}r.isUint16Array=s;function o(k){return u(k)==="Uint32Array"}r.isUint32Array=o;function y(k){return u(k)==="Int8Array"}r.isInt8Array=y;function T(k){return u(k)==="Int16Array"}r.isInt16Array=T;function S(k){return u(k)==="Int32Array"}r.isInt32Array=S;function F(k){return u(k)==="Float32Array"}r.isFloat32Array=F;function d(k){return u(k)==="Float64Array"}r.isFloat64Array=d;function K(k){return u(k)==="BigInt64Array"}r.isBigInt64Array=K;function X(k){return u(k)==="BigUint64Array"}r.isBigUint64Array=X;function x(k){return _(k)==="[object Map]"}x.working=typeof Map<"u"&&x(new Map);function ee(k){return typeof Map>"u"?!1:x.working?x(k):k instanceof Map}r.isMap=ee;function ne(k){return _(k)==="[object Set]"}ne.working=typeof Set<"u"&&ne(new Set);function ae(k){return typeof Set>"u"?!1:ne.working?ne(k):k instanceof Set}r.isSet=ae;function ce(k){return _(k)==="[object WeakMap]"}ce.working=typeof WeakMap<"u"&&ce(new WeakMap);function Z(k){return typeof WeakMap>"u"?!1:ce.working?ce(k):k instanceof WeakMap}r.isWeakMap=Z;function he(k){return _(k)==="[object WeakSet]"}he.working=typeof WeakSet<"u"&&he(new WeakSet);function ue(k){return he(k)}r.isWeakSet=ue;function ge(k){return _(k)==="[object ArrayBuffer]"}ge.working=typeof ArrayBuffer<"u"&&ge(new ArrayBuffer);function be(k){return typeof ArrayBuffer>"u"?!1:ge.working?ge(k):k instanceof ArrayBuffer}r.isArrayBuffer=be;function D(k){return _(k)==="[object DataView]"}D.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&D(new DataView(new ArrayBuffer(1),0,1));function j(k){return typeof DataView>"u"?!1:D.working?D(k):k instanceof DataView}r.isDataView=j;var $=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function J(k){return _(k)==="[object SharedArrayBuffer]"}function O(k){return typeof $>"u"?!1:(typeof J.working>"u"&&(J.working=J(new $)),J.working?J(k):k instanceof $)}r.isSharedArrayBuffer=O;function i(k){return _(k)==="[object AsyncFunction]"}r.isAsyncFunction=i;function n(k){return _(k)==="[object Map Iterator]"}r.isMapIterator=n;function R(k){return _(k)==="[object Set Iterator]"}r.isSetIterator=R;function w(k){return _(k)==="[object Generator]"}r.isGeneratorObject=w;function h(k){return _(k)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=h;function p(k){return q(k,B)}r.isNumberObject=p;function U(k){return q(k,C)}r.isStringObject=U;function W(k){return q(k,N)}r.isBooleanObject=W;function Q(k){return A&&q(k,P)}r.isBigIntObject=Q;function Y(k){return E&&q(k,V)}r.isSymbolObject=Y;function z(k){return p(k)||U(k)||W(k)||Q(k)||Y(k)}r.isBoxedPrimitive=z;function fe(k){return typeof Uint8Array<"u"&&(be(k)||O(k))}r.isAnyArrayBuffer=fe,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(k){Object.defineProperty(r,k,{enumerable:!1,value:function(){throw new Error(k+" is not supported in userland")}})})}(ot)),ot}var ir,$n;function Ka(){return $n||($n=1,ir=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}),ir}var Wn;function Oi(){return Wn||(Wn=1,function(r){var a=Object.getOwnPropertyDescriptors||function(j){for(var $=Object.keys(j),J={},O=0;O<$.length;O++)J[$[O]]=Object.getOwnPropertyDescriptor(j,$[O]);return J},f=/%[sdj%]/g;r.format=function(D){if(!y(D)){for(var j=[],$=0;$<arguments.length;$++)j.push(A(arguments[$]));return j.join(" ")}for(var $=1,J=arguments,O=J.length,i=String(D).replace(f,function(R){if(R==="%%")return"%";if($>=O)return R;switch(R){case"%s":return String(J[$++]);case"%d":return Number(J[$++]);case"%j":try{return JSON.stringify(J[$++])}catch{return"[Circular]"}default:return R}}),n=J[$];$<O;n=J[++$])m(n)||!d(n)?i+=" "+n:i+=" "+A(n);return i},r.deprecate=function(D,j){if(typeof te.process$1<"u"&&te.process$1.noDeprecation===!0)return D;if(typeof te.process$1>"u")return function(){return r.deprecate(D,j).apply(this,arguments)};var $=!1;function J(){if(!$){if(te.process$1.throwDeprecation)throw new Error(j);te.process$1.traceDeprecation?console.trace(j):console.error(j),$=!0}return D.apply(this,arguments)}return J};var u={},v=/^$/;if(te.process$1.env.NODE_DEBUG){var g=te.process$1.env.NODE_DEBUG;g=g.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),v=new RegExp("^"+g+"$","i")}r.debuglog=function(D){if(D=D.toUpperCase(),!u[D])if(v.test(D)){var j=te.process$1.pid;u[D]=function(){var $=r.format.apply(r,arguments);console.error("%s %d: %s",D,j,$)}}else u[D]=function(){};return u[D]};function A(D,j){var $={seen:[],stylize:_};return arguments.length>=3&&($.depth=arguments[2]),arguments.length>=4&&($.colors=arguments[3]),c(j)?$.showHidden=j:j&&r._extend($,j),S($.showHidden)&&($.showHidden=!1),S($.depth)&&($.depth=2),S($.colors)&&($.colors=!1),S($.customInspect)&&($.customInspect=!0),$.colors&&($.stylize=E),C($,D,$.depth)}r.inspect=A,A.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]},A.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function E(D,j){var $=A.styles[j];return $?"\x1B["+A.colors[$][0]+"m"+D+"\x1B["+A.colors[$][1]+"m":D}function _(D,j){return D}function B(D){var j={};return D.forEach(function($,J){j[$]=!0}),j}function C(D,j,$){if(D.customInspect&&j&&x(j.inspect)&&j.inspect!==r.inspect&&!(j.constructor&&j.constructor.prototype===j)){var J=j.inspect($,D);return y(J)||(J=C(D,J,$)),J}var O=N(D,j);if(O)return O;var i=Object.keys(j),n=B(i);if(D.showHidden&&(i=Object.getOwnPropertyNames(j)),X(j)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return P(j);if(i.length===0){if(x(j)){var R=j.name?": "+j.name:"";return D.stylize("[Function"+R+"]","special")}if(F(j))return D.stylize(RegExp.prototype.toString.call(j),"regexp");if(K(j))return D.stylize(Date.prototype.toString.call(j),"date");if(X(j))return P(j)}var w="",h=!1,p=["{","}"];if(L(j)&&(h=!0,p=["[","]"]),x(j)){var U=j.name?": "+j.name:"";w=" [Function"+U+"]"}if(F(j)&&(w=" "+RegExp.prototype.toString.call(j)),K(j)&&(w=" "+Date.prototype.toUTCString.call(j)),X(j)&&(w=" "+P(j)),i.length===0&&(!h||j.length==0))return p[0]+w+p[1];if($<0)return F(j)?D.stylize(RegExp.prototype.toString.call(j),"regexp"):D.stylize("[Object]","special");D.seen.push(j);var W;return h?W=V(D,j,$,n,i):W=i.map(function(Q){return q(D,j,$,n,Q,h)}),D.seen.pop(),H(W,w,p)}function N(D,j){if(S(j))return D.stylize("undefined","undefined");if(y(j)){var $="'"+JSON.stringify(j).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return D.stylize($,"string")}if(o(j))return D.stylize(""+j,"number");if(c(j))return D.stylize(""+j,"boolean");if(m(j))return D.stylize("null","null")}function P(D){return"["+Error.prototype.toString.call(D)+"]"}function V(D,j,$,J,O){for(var i=[],n=0,R=j.length;n<R;++n)he(j,String(n))?i.push(q(D,j,$,J,String(n),!0)):i.push("");return O.forEach(function(w){w.match(/^\d+$/)||i.push(q(D,j,$,J,w,!0))}),i}function q(D,j,$,J,O,i){var n,R,w;if(w=Object.getOwnPropertyDescriptor(j,O)||{value:j[O]},w.get?w.set?R=D.stylize("[Getter/Setter]","special"):R=D.stylize("[Getter]","special"):w.set&&(R=D.stylize("[Setter]","special")),he(J,O)||(n="["+O+"]"),R||(D.seen.indexOf(w.value)<0?(m($)?R=C(D,w.value,null):R=C(D,w.value,$-1),R.indexOf(`
7
7
  `)>-1&&(i?R=R.split(`
8
8
  `).map(function(h){return" "+h}).join(`
9
9
  `).slice(2):R=`
@@ -1660,6 +1660,7 @@ function Bi() {
1660
1660
  "%eval%": eval,
1661
1661
  // eslint-disable-line no-eval
1662
1662
  "%EvalError%": u,
1663
+ "%Float16Array%": typeof Float16Array > "u" ? r : Float16Array,
1663
1664
  "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array,
1664
1665
  "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array,
1665
1666
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-C1H-OgNf.cjs");const r=require("../index-eFi29SPG.cjs"),e=require("../functions-ikwhAVhP.cjs");exports.webdav=r.webdav;exports.DavMethod=e.DavMethod;exports.DavPermission=e.DavPermission;exports.DavProperties=e.DavProperties;exports.DavProperty=e.DavProperty;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-DkrrhS4K.cjs");const r=require("../index-BhfViwrl.cjs"),e=require("../functions-CLNcqXgl.cjs");exports.webdav=r.webdav;exports.DavMethod=e.DavMethod;exports.DavPermission=e.DavPermission;exports.DavProperties=e.DavProperties;exports.DavProperty=e.DavProperty;
@@ -1,6 +1,6 @@
1
- import "../index-DqVarwg_.js";
2
- import { w as e } from "../index-VvbQMSOr.js";
3
- import { K as t, L as p, I as v, J as i } from "../functions-CsnDdpYv.js";
1
+ import "../index-DaH-cMzr.js";
2
+ import { w as e } from "../index-DTUwIUm-.js";
3
+ import { K as t, L as p, I as v, J as i } from "../functions-Dm62BUjy.js";
4
4
  export {
5
5
  t as DavMethod,
6
6
  p as DavPermission,
@@ -1 +1 @@
1
- "use strict";var P=Object.defineProperty;var D=(r,a,c)=>a in r?P(r,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[a]=c;var o=(r,a,c)=>D(r,typeof a!="symbol"?a+"":a,c);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-DbVGtwLH.cjs"),g=require("./web-client/ocs.cjs"),i=require("./index-eFi29SPG.cjs"),e=require("./functions-ikwhAVhP.cjs"),I=require("./toString-hHr716Th.cjs"),m=function*(r){return yield r},v=({message:r,statusCode:a,xReqId:c})=>{const u=new Response(void 0,{headers:{"x-request-id":c},status:a});return new i.HttpError(r,u,a)};class s{}o(s,"Internal",0),o(s,"Read",1),o(s,"Update",2),o(s,"Create",4),o(s,"Delete",8),o(s,"Share",16);const E=({axiosClient:r,baseURI:a})=>{const c=()=>{var S,d,h,b,p,R;const u=(d=(S=r.defaults)==null?void 0:S.headers)==null?void 0:d.Authorization,n=(b=(h=r.defaults)==null?void 0:h.headers)==null?void 0:b["Accept-Language"],l=(R=(p=r.defaults)==null?void 0:p.headers)==null?void 0:R["Initiator-ID"];return{...u&&{Authorization:u.toString()},...n&&{"Accept-Language":n.toString()},...l&&{"Initiator-ID":l.toString()}}};return{graph:t.graph(a,r),ocs:g.ocs(a,r),webdav:i.webdav(a,c)}};exports.buildCollaboratorShare=t.buildCollaboratorShare;exports.buildIncomingShareResource=t.buildIncomingShareResource;exports.buildLinkShare=t.buildLinkShare;exports.buildOutgoingShareResource=t.buildOutgoingShareResource;exports.getShareResourcePermissions=t.getShareResourcePermissions;exports.getShareResourceRoles=t.getShareResourceRoles;exports.graph=t.graph;exports.isCollaboratorShare=t.isCollaboratorShare;exports.isIncomingShareResource=t.isIncomingShareResource;exports.isLinkShare=t.isLinkShare;exports.isOutgoingShareResource=t.isOutgoingShareResource;exports.isShareResource=t.isShareResource;exports.ocs=g.ocs;exports.DavHttpError=i.DavHttpError;exports.HttpError=i.HttpError;exports.encodePath=i.encodePath;exports.webdav=i.webdav;exports.GraphSharePermission=e.GraphSharePermission;exports.OCM_PROVIDER_ID=e.OCM_PROVIDER_ID;exports.SHARE_JAIL_ID=e.SHARE_JAIL_ID;exports.ShareType=e.ShareType;exports.ShareTypes=e.ShareTypes;exports.buildDeletedResource=e.buildDeletedResource;exports.buildPublicSpaceResource=e.buildPublicSpaceResource;exports.buildResource=e.buildResource;exports.buildShareSpaceResource=e.buildShareSpaceResource;exports.buildSpace=e.buildSpace;exports.buildSpaceImageResource=e.buildSpaceImageResource;exports.buildWebDavOcmPath=e.buildWebDavOcmPath;exports.buildWebDavPublicPath=e.buildWebDavPublicPath;exports.buildWebDavSpacesPath=e.buildWebDavSpacesPath;exports.buildWebDavSpacesTrashPath=e.buildWebDavSpacesTrashPath;exports.extractDomSelector=e.extractDomSelector;exports.extractExtensionFromFile=e.extractExtensionFromFile;exports.extractNameWithoutExtension=e.extractNameWithoutExtension;exports.extractNodeId=e.extractNodeId;exports.extractParentFolderName=e.extractParentFolderName;exports.extractStorageId=e.extractStorageId;exports.getPermissionsForSpaceMember=e.getPermissionsForSpaceMember;exports.getRelativeSpecialFolderSpacePath=e.getRelativeSpecialFolderSpacePath;exports.getSpaceManagers=e.getSpaceManagers;exports.isMountPointSpaceResource=e.isMountPointSpaceResource;exports.isPersonalSpaceResource=e.isPersonalSpaceResource;exports.isProjectSpaceResource=e.isProjectSpaceResource;exports.isPublicSpaceResource=e.isPublicSpaceResource;exports.isSearchResource=e.isSearchResource;exports.isShareRoot=e.isShareRoot;exports.isShareSpaceResource=e.isShareSpaceResource;exports.isSpaceResource=e.isSpaceResource;exports.isTrashResource=e.isTrashResource;exports.urlJoin=I.urlJoin;exports.SharePermissionBit=s;exports.call=m;exports.client=E;exports.createHttpError=v;
1
+ "use strict";var P=Object.defineProperty;var D=(r,a,c)=>a in r?P(r,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[a]=c;var o=(r,a,c)=>D(r,typeof a!="symbol"?a+"":a,c);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-Do5mZY6J.cjs"),g=require("./web-client/ocs.cjs"),i=require("./index-BhfViwrl.cjs"),e=require("./functions-CLNcqXgl.cjs"),I=require("./toString-hHr716Th.cjs"),m=function*(r){return yield r},v=({message:r,statusCode:a,xReqId:c})=>{const u=new Response(void 0,{headers:{"x-request-id":c},status:a});return new i.HttpError(r,u,a)};class s{}o(s,"Internal",0),o(s,"Read",1),o(s,"Update",2),o(s,"Create",4),o(s,"Delete",8),o(s,"Share",16);const E=({axiosClient:r,baseURI:a})=>{const c=()=>{var S,d,h,b,p,R;const u=(d=(S=r.defaults)==null?void 0:S.headers)==null?void 0:d.Authorization,n=(b=(h=r.defaults)==null?void 0:h.headers)==null?void 0:b["Accept-Language"],l=(R=(p=r.defaults)==null?void 0:p.headers)==null?void 0:R["Initiator-ID"];return{...u&&{Authorization:u.toString()},...n&&{"Accept-Language":n.toString()},...l&&{"Initiator-ID":l.toString()}}};return{graph:t.graph(a,r),ocs:g.ocs(a,r),webdav:i.webdav(a,c)}};exports.buildCollaboratorShare=t.buildCollaboratorShare;exports.buildIncomingShareResource=t.buildIncomingShareResource;exports.buildLinkShare=t.buildLinkShare;exports.buildOutgoingShareResource=t.buildOutgoingShareResource;exports.getShareResourcePermissions=t.getShareResourcePermissions;exports.getShareResourceRoles=t.getShareResourceRoles;exports.graph=t.graph;exports.isCollaboratorShare=t.isCollaboratorShare;exports.isIncomingShareResource=t.isIncomingShareResource;exports.isLinkShare=t.isLinkShare;exports.isOutgoingShareResource=t.isOutgoingShareResource;exports.isShareResource=t.isShareResource;exports.ocs=g.ocs;exports.DavHttpError=i.DavHttpError;exports.HttpError=i.HttpError;exports.encodePath=i.encodePath;exports.webdav=i.webdav;exports.GraphSharePermission=e.GraphSharePermission;exports.OCM_PROVIDER_ID=e.OCM_PROVIDER_ID;exports.SHARE_JAIL_ID=e.SHARE_JAIL_ID;exports.ShareType=e.ShareType;exports.ShareTypes=e.ShareTypes;exports.buildDeletedResource=e.buildDeletedResource;exports.buildPublicSpaceResource=e.buildPublicSpaceResource;exports.buildResource=e.buildResource;exports.buildShareSpaceResource=e.buildShareSpaceResource;exports.buildSpace=e.buildSpace;exports.buildSpaceImageResource=e.buildSpaceImageResource;exports.buildWebDavOcmPath=e.buildWebDavOcmPath;exports.buildWebDavPublicPath=e.buildWebDavPublicPath;exports.buildWebDavSpacesPath=e.buildWebDavSpacesPath;exports.buildWebDavSpacesTrashPath=e.buildWebDavSpacesTrashPath;exports.extractDomSelector=e.extractDomSelector;exports.extractExtensionFromFile=e.extractExtensionFromFile;exports.extractNameWithoutExtension=e.extractNameWithoutExtension;exports.extractNodeId=e.extractNodeId;exports.extractParentFolderName=e.extractParentFolderName;exports.extractStorageId=e.extractStorageId;exports.getPermissionsForSpaceMember=e.getPermissionsForSpaceMember;exports.getRelativeSpecialFolderSpacePath=e.getRelativeSpecialFolderSpacePath;exports.getSpaceManagers=e.getSpaceManagers;exports.isMountPointSpaceResource=e.isMountPointSpaceResource;exports.isPersonalSpaceResource=e.isPersonalSpaceResource;exports.isProjectSpaceResource=e.isProjectSpaceResource;exports.isPublicSpaceResource=e.isPublicSpaceResource;exports.isSearchResource=e.isSearchResource;exports.isShareRoot=e.isShareRoot;exports.isShareSpaceResource=e.isShareSpaceResource;exports.isSpaceResource=e.isSpaceResource;exports.isTrashResource=e.isTrashResource;exports.urlJoin=I.urlJoin;exports.SharePermissionBit=s;exports.call=m;exports.client=E;exports.createHttpError=v;
@@ -1,12 +1,12 @@
1
1
  var h = Object.defineProperty;
2
2
  var b = (e, a, s) => a in e ? h(e, a, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[a] = s;
3
3
  var r = (e, a, s) => b(e, typeof a != "symbol" ? a + "" : a, s);
4
- import { g } from "./index-oQ7995oB.js";
5
- import { k as O, h as F, l as L, j as W, f as k, e as y, c as M, b as T, d as _, a as j, i as z } from "./index-oQ7995oB.js";
4
+ import { g } from "./index-DkgTVi3s.js";
5
+ import { k as O, h as F, l as L, j as W, f as k, e as y, c as M, b as T, d as _, a as j, i as z } from "./index-DkgTVi3s.js";
6
6
  import { ocs as R } from "./web-client/ocs.js";
7
- import { H as m, w as D } from "./index-VvbQMSOr.js";
8
- import { D as q, e as G } from "./index-VvbQMSOr.js";
9
- import { G as V, O as C, x as K, S as Q, n as X, m as Y, s as Z, l as $, t as U, u as B, v as ee, a as ae, b as se, o as re, p as te, e as oe, h as ce, g as ue, f as ie, j as ne, d as de, w as le, q as pe, r as Se, C as he, z as be, A as ge, D as Re, c as me, k as De, B as fe, y as Ie, i as Pe } from "./functions-CsnDdpYv.js";
7
+ import { H as m, w as D } from "./index-DTUwIUm-.js";
8
+ import { D as q, e as G } from "./index-DTUwIUm-.js";
9
+ import { G as V, O as C, x as K, S as Q, n as X, m as Y, s as Z, l as $, t as U, u as B, v as ee, a as ae, b as se, o as re, p as te, e as oe, h as ce, g as ue, f as ie, j as ne, d as de, w as le, q as pe, r as Se, C as he, z as be, A as ge, D as Re, c as me, k as De, B as fe, y as Ie, i as Pe } from "./functions-Dm62BUjy.js";
10
10
  import { u as xe } from "./toString-Cn0xCZ28.js";
11
11
  const x = function* (e) {
12
12
  return yield e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencloud-eu/web-client",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "OpenCloud web client",
5
5
  "license": "AGPL-3.0",
6
6
  "private": false,
@@ -1,6 +0,0 @@
1
- "use strict";const V=require("./index-C6VnMvgz.cjs");function Ne(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ye}=Object.prototype,{getPrototypeOf:le}=Object,v=(e=>t=>{const n=Ye.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),C=e=>(e=e.toLowerCase(),t=>v(t)===e),X=e=>t=>typeof t===e,{isArray:U}=Array,q=X("undefined");function et(e){return e!==null&&!q(e)&&e.constructor!==null&&!q(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Pe=C("ArrayBuffer");function tt(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Pe(e.buffer),t}const nt=X("string"),x=X("function"),_e=X("number"),G=e=>e!==null&&typeof e=="object",rt=e=>e===!0||e===!1,$=e=>{if(v(e)!=="object")return!1;const t=le(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},st=C("Date"),ot=C("File"),it=C("Blob"),at=C("FileList"),ct=e=>G(e)&&x(e.pipe),ut=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||x(e.append)&&((t=v(e))==="formdata"||t==="object"&&x(e.toString)&&e.toString()==="[object FormData]"))},lt=C("URLSearchParams"),[ft,dt,pt,ht]=["ReadableStream","Request","Response","Headers"].map(C),mt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function H(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),U(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let c;for(r=0;r<i;r++)c=o[r],t.call(null,e[c],c,e)}}function Fe(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const L=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:V.global,Le=e=>!q(e)&&e!==L;function se(){const{caseless:e}=Le(this)&&this||{},t={},n=(r,s)=>{const o=e&&Fe(t,s)||s;$(t[o])&&$(r)?t[o]=se(t[o],r):$(r)?t[o]=se({},r):U(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&H(arguments[r],n);return t}const yt=(e,t,n,{allOwnKeys:r}={})=>(H(t,(s,o)=>{n&&x(s)?e[o]=Ne(s,n):e[o]=s},{allOwnKeys:r}),e),bt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),wt=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Et=(e,t,n,r)=>{let s,o,i;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&le(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Rt=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},St=e=>{if(!e)return null;if(U(e))return e;let t=e.length;if(!_e(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},gt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&le(Uint8Array)),Ot=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Tt=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},At=C("HTMLFormElement"),xt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),he=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ct=C("RegExp"),Be=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};H(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Nt=e=>{Be(e,(t,n)=>{if(x(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(x(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Pt=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return U(e)?r(e):r(String(e).split(t)),n},_t=()=>{},Ft=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ee="abcdefghijklmnopqrstuvwxyz",me="0123456789",De={DIGIT:me,ALPHA:ee,ALPHA_DIGIT:ee+ee.toUpperCase()+me},Lt=(e=16,t=De.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Bt(e){return!!(e&&x(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Dt=e=>{const t=new Array(10),n=(r,s)=>{if(G(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=U(r)?[]:{};return H(r,(i,c)=>{const f=n(i,s+1);!q(f)&&(o[c]=f)}),t[s]=void 0,o}}return r};return n(e,0)},Ut=C("AsyncFunction"),kt=e=>e&&(G(e)||x(e))&&x(e.then)&&x(e.catch),Ue=((e,t)=>e?setImmediate:t?((n,r)=>(L.addEventListener("message",({source:s,data:o})=>{s===L&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),L.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",x(L.postMessage)),jt=typeof queueMicrotask<"u"?queueMicrotask.bind(L):typeof V.process$1<"u"&&V.process$1.nextTick||Ue,a={isArray:U,isArrayBuffer:Pe,isBuffer:et,isFormData:ut,isArrayBufferView:tt,isString:nt,isNumber:_e,isBoolean:rt,isObject:G,isPlainObject:$,isReadableStream:ft,isRequest:dt,isResponse:pt,isHeaders:ht,isUndefined:q,isDate:st,isFile:ot,isBlob:it,isRegExp:Ct,isFunction:x,isStream:ct,isURLSearchParams:lt,isTypedArray:gt,isFileList:at,forEach:H,merge:se,extend:yt,trim:mt,stripBOM:bt,inherits:wt,toFlatObject:Et,kindOf:v,kindOfTest:C,endsWith:Rt,toArray:St,forEachEntry:Ot,matchAll:Tt,isHTMLForm:At,hasOwnProperty:he,hasOwnProp:he,reduceDescriptors:Be,freezeMethods:Nt,toObjectSet:Pt,toCamelCase:xt,noop:_t,toFiniteNumber:Ft,findKey:Fe,global:L,isContextDefined:Le,ALPHABET:De,generateString:Lt,isSpecCompliantForm:Bt,toJSONObject:Dt,isAsyncFn:Ut,isThenable:kt,setImmediate:Ue,asap:jt};function m(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(m,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const ke=m.prototype,je={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{je[e]={value:e}});Object.defineProperties(m,je);Object.defineProperty(ke,"isAxiosError",{value:!0});m.from=(e,t,n,r,s,o)=>{const i=Object.create(ke);return a.toFlatObject(e,i,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),m.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const qt=null;function oe(e){return a.isPlainObject(e)||a.isArray(e)}function qe(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function ye(e,t,n){return e?e.concat(t).map(function(s,o){return s=qe(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Ht(e){return a.isArray(e)&&!e.some(oe)}const It=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function Q(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,h){return!a.isUndefined(h[y])});const r=n.metaTokens,s=n.visitor||l,o=n.dots,i=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(a.isDate(p))return p.toISOString();if(!f&&a.isBlob(p))throw new m("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(p)||a.isTypedArray(p)?f&&typeof Blob=="function"?new Blob([p]):V.Buffer.from(p):p}function l(p,y,h){let w=p;if(p&&!h&&typeof p=="object"){if(a.endsWith(y,"{}"))y=r?y:y.slice(0,-2),p=JSON.stringify(p);else if(a.isArray(p)&&Ht(p)||(a.isFileList(p)||a.endsWith(y,"[]"))&&(w=a.toArray(p)))return y=qe(y),w.forEach(function(g,P){!(a.isUndefined(g)||g===null)&&t.append(i===!0?ye([y],P,o):i===null?y:y+"[]",u(g))}),!1}return oe(p)?!0:(t.append(ye(h,y,o),u(p)),!1)}const d=[],b=Object.assign(It,{defaultVisitor:l,convertValue:u,isVisitable:oe});function R(p,y){if(!a.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(p),a.forEach(p,function(w,S){(!(a.isUndefined(w)||w===null)&&s.call(t,w,a.isString(S)?S.trim():S,y,b))===!0&&R(w,y?y.concat(S):[S])}),d.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return R(e),t}function be(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function fe(e,t){this._pairs=[],e&&Q(e,this,t)}const He=fe.prototype;He.append=function(t,n){this._pairs.push([t,n])};He.toString=function(t){const n=t?function(r){return t.call(this,r,be)}:be;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Mt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ie(e,t,n){if(!t)return e;const r=n&&n.encode||Mt;a.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=a.isURLSearchParams(t)?t.toString():new fe(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class we{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Me={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$t=typeof URLSearchParams<"u"?URLSearchParams:fe,zt=typeof FormData<"u"?FormData:null,Jt=typeof Blob<"u"?Blob:null,Vt={isBrowser:!0,classes:{URLSearchParams:$t,FormData:zt,Blob:Jt},protocols:["http","https","file","blob","url","data"]},de=typeof window<"u"&&typeof document<"u",ie=typeof navigator=="object"&&navigator||void 0,Wt=de&&(!ie||["ReactNative","NativeScript","NS"].indexOf(ie.product)<0),Kt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vt=de&&window.location.href||"http://localhost",Xt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:de,hasStandardBrowserEnv:Wt,hasStandardBrowserWebWorkerEnv:Kt,navigator:ie,origin:vt},Symbol.toStringTag,{value:"Module"})),O={...Xt,...Vt};function Gt(e,t){return Q(e,new O.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return O.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Qt(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zt(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function $e(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const c=Number.isFinite(+i),f=o>=n.length;return i=!i&&a.isArray(s)?s.length:i,f?(a.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!c):((!s[i]||!a.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&a.isArray(s[i])&&(s[i]=Zt(s[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,s)=>{t(Qt(r),s,n,0)}),n}return null}function Yt(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const I={transitional:Me,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify($e(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Gt(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Q(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Yt(t)):t}],transformResponse:[function(t){const n=this.transitional||I.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(i)throw c.name==="SyntaxError"?m.from(c,m.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:O.classes.FormData,Blob:O.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{I.headers[e]={}});const en=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tn=e=>{const t={};let n,r,s;return e&&e.split(`
2
- `).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&en[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ee=Symbol("internals");function j(e){return e&&String(e).trim().toLowerCase()}function z(e){return e===!1||e==null?e:a.isArray(e)?e.map(z):String(e)}function nn(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const rn=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function te(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function sn(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function on(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let A=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(c,f,u){const l=j(f);if(!l)throw new Error("header name must be a non-empty string");const d=a.findKey(s,l);(!d||s[d]===void 0||u===!0||u===void 0&&s[d]!==!1)&&(s[d||f]=z(c))}const i=(c,f)=>a.forEach(c,(u,l)=>o(u,l,f));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(a.isString(t)&&(t=t.trim())&&!rn(t))i(tn(t),n);else if(a.isHeaders(t))for(const[c,f]of t.entries())o(f,c,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=j(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return nn(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=j(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||te(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=j(i),i){const c=a.findKey(r,i);c&&(!n||te(r,r[c],c,n))&&(delete r[c],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||te(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,o)=>{const i=a.findKey(r,o);if(i){n[i]=z(s),delete n[o];return}const c=t?sn(o):String(o).trim();c!==o&&delete n[o],n[c]=z(s),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
3
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Ee]=this[Ee]={accessors:{}}).accessors,s=this.prototype;function o(i){const c=j(i);r[c]||(on(s,i),r[c]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}};A.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(A.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(A);function ne(e,t){const n=this||I,r=t||n,s=A.from(r.headers);let o=r.data;return a.forEach(e,function(c){o=c.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function ze(e){return!!(e&&e.__CANCEL__)}function k(e,t,n){m.call(this,e??"canceled",m.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(k,m,{__CANCEL__:!0});function Je(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new m("Request failed with status code "+n.status,[m.ERR_BAD_REQUEST,m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function an(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function cn(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const u=Date.now(),l=r[o];i||(i=u),n[s]=f,r[s]=u;let d=o,b=0;for(;d!==s;)b+=n[d++],d=d%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const R=l&&u-l;return R?Math.round(b*1e3/R):void 0}}function un(e,t){let n=0,r=1e3/t,s,o;const i=(u,l=Date.now())=>{n=l,s=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const l=Date.now(),d=l-n;d>=r?i(u,l):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-d)))},()=>s&&i(s)]}const W=(e,t,n=3)=>{let r=0;const s=cn(50,250);return un(o=>{const i=o.loaded,c=o.lengthComputable?o.total:void 0,f=i-r,u=s(f),l=i<=c;r=i;const d={loaded:i,total:c,progress:c?i/c:void 0,bytes:f,rate:u||void 0,estimated:u&&c&&l?(c-i)/u:void 0,event:o,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(d)},n)},Re=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Se=e=>(...t)=>a.asap(()=>e(...t)),ln=O.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,O.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(O.origin),O.navigator&&/(msie|trident)/i.test(O.navigator.userAgent)):()=>!0,fn=O.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pn(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ve(e,t){return e&&!dn(t)?pn(e,t):t}const ge=e=>e instanceof A?{...e}:e;function D(e,t){t=t||{};const n={};function r(u,l,d,b){return a.isPlainObject(u)&&a.isPlainObject(l)?a.merge.call({caseless:b},u,l):a.isPlainObject(l)?a.merge({},l):a.isArray(l)?l.slice():l}function s(u,l,d,b){if(a.isUndefined(l)){if(!a.isUndefined(u))return r(void 0,u,d,b)}else return r(u,l,d,b)}function o(u,l){if(!a.isUndefined(l))return r(void 0,l)}function i(u,l){if(a.isUndefined(l)){if(!a.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function c(u,l,d){if(d in t)return r(u,l);if(d in e)return r(void 0,u)}const f={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(u,l,d)=>s(ge(u),ge(l),d,!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(l){const d=f[l]||s,b=d(e[l],t[l],l);a.isUndefined(b)&&d!==c||(n[l]=b)}),n}const We=e=>{const t=D({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:c}=t;t.headers=i=A.from(i),t.url=Ie(Ve(t.baseURL,t.url),e.params,e.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let f;if(a.isFormData(n)){if(O.hasStandardBrowserEnv||O.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((f=i.getContentType())!==!1){const[u,...l]=f?f.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...l].join("; "))}}if(O.hasStandardBrowserEnv&&(r&&a.isFunction(r)&&(r=r(t)),r||r!==!1&&ln(t.url))){const u=s&&o&&fn.read(o);u&&i.set(s,u)}return t},hn=typeof XMLHttpRequest<"u",mn=hn&&function(e){return new Promise(function(n,r){const s=We(e);let o=s.data;const i=A.from(s.headers).normalize();let{responseType:c,onUploadProgress:f,onDownloadProgress:u}=s,l,d,b,R,p;function y(){R&&R(),p&&p(),s.cancelToken&&s.cancelToken.unsubscribe(l),s.signal&&s.signal.removeEventListener("abort",l)}let h=new XMLHttpRequest;h.open(s.method.toUpperCase(),s.url,!0),h.timeout=s.timeout;function w(){if(!h)return;const g=A.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),T={data:!c||c==="text"||c==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:g,config:e,request:h};Je(function(F){n(F),y()},function(F){r(F),y()},T),h=null}"onloadend"in h?h.onloadend=w:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(w)},h.onabort=function(){h&&(r(new m("Request aborted",m.ECONNABORTED,e,h)),h=null)},h.onerror=function(){r(new m("Network Error",m.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let P=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const T=s.transitional||Me;s.timeoutErrorMessage&&(P=s.timeoutErrorMessage),r(new m(P,T.clarifyTimeoutError?m.ETIMEDOUT:m.ECONNABORTED,e,h)),h=null},o===void 0&&i.setContentType(null),"setRequestHeader"in h&&a.forEach(i.toJSON(),function(P,T){h.setRequestHeader(T,P)}),a.isUndefined(s.withCredentials)||(h.withCredentials=!!s.withCredentials),c&&c!=="json"&&(h.responseType=s.responseType),u&&([b,p]=W(u,!0),h.addEventListener("progress",b)),f&&h.upload&&([d,R]=W(f),h.upload.addEventListener("progress",d),h.upload.addEventListener("loadend",R)),(s.cancelToken||s.signal)&&(l=g=>{h&&(r(!g||g.type?new k(null,e,h):g),h.abort(),h=null)},s.cancelToken&&s.cancelToken.subscribe(l),s.signal&&(s.signal.aborted?l():s.signal.addEventListener("abort",l)));const S=an(s.url);if(S&&O.protocols.indexOf(S)===-1){r(new m("Unsupported protocol "+S+":",m.ERR_BAD_REQUEST,e));return}h.send(o||null)})},yn=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(u){if(!s){s=!0,c();const l=u instanceof Error?u:this.reason;r.abort(l instanceof m?l:new k(l instanceof Error?l.message:l))}};let i=t&&setTimeout(()=>{i=null,o(new m(`timeout ${t} of ms exceeded`,m.ETIMEDOUT))},t);const c=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:f}=r;return f.unsubscribe=()=>a.asap(c),f}},bn=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},wn=async function*(e,t){for await(const n of En(e))yield*bn(n,t)},En=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Oe=(e,t,n,r)=>{const s=wn(e,t);let o=0,i,c=f=>{i||(i=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:u,value:l}=await s.next();if(u){c(),f.close();return}let d=l.byteLength;if(n){let b=o+=d;n(b)}f.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(f){return c(f),s.return()}},{highWaterMark:2})},Z=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ke=Z&&typeof ReadableStream=="function",Rn=Z&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ve=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Sn=Ke&&ve(()=>{let e=!1;const t=new Request(O.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Te=64*1024,ae=Ke&&ve(()=>a.isReadableStream(new Response("").body)),K={stream:ae&&(e=>e.body)};Z&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!K[t]&&(K[t]=a.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new m(`Response type '${t}' is not supported`,m.ERR_NOT_SUPPORT,r)})})})(new Response);const gn=async e=>{if(e==null)return 0;if(a.isBlob(e))return e.size;if(a.isSpecCompliantForm(e))return(await new Request(O.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(a.isArrayBufferView(e)||a.isArrayBuffer(e))return e.byteLength;if(a.isURLSearchParams(e)&&(e=e+""),a.isString(e))return(await Rn(e)).byteLength},On=async(e,t)=>{const n=a.toFiniteNumber(e.getContentLength());return n??gn(t)},Tn=Z&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:c,onUploadProgress:f,responseType:u,headers:l,withCredentials:d="same-origin",fetchOptions:b}=We(e);u=u?(u+"").toLowerCase():"text";let R=yn([s,o&&o.toAbortSignal()],i),p;const y=R&&R.unsubscribe&&(()=>{R.unsubscribe()});let h;try{if(f&&Sn&&n!=="get"&&n!=="head"&&(h=await On(l,r))!==0){let T=new Request(t,{method:"POST",body:r,duplex:"half"}),_;if(a.isFormData(r)&&(_=T.headers.get("content-type"))&&l.setContentType(_),T.body){const[F,M]=Re(h,W(Se(f)));r=Oe(T.body,Te,F,M)}}a.isString(d)||(d=d?"include":"omit");const w="credentials"in Request.prototype;p=new Request(t,{...b,signal:R,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:w?d:void 0});let S=await fetch(p);const g=ae&&(u==="stream"||u==="response");if(ae&&(c||g&&y)){const T={};["status","statusText","headers"].forEach(pe=>{T[pe]=S[pe]});const _=a.toFiniteNumber(S.headers.get("content-length")),[F,M]=c&&Re(_,W(Se(c),!0))||[];S=new Response(Oe(S.body,Te,F,()=>{M&&M(),y&&y()}),T)}u=u||"text";let P=await K[a.findKey(K,u)||"text"](S,e);return!g&&y&&y(),await new Promise((T,_)=>{Je(T,_,{data:P,headers:A.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:p})})}catch(w){throw y&&y(),w&&w.name==="TypeError"&&/fetch/i.test(w.message)?Object.assign(new m("Network Error",m.ERR_NETWORK,e,p),{cause:w.cause||w}):m.from(w,w&&w.code,e,p)}}),ce={http:qt,xhr:mn,fetch:Tn};a.forEach(ce,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ae=e=>`- ${e}`,An=e=>a.isFunction(e)||e===null||e===!1,Xe={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!An(n)&&(r=ce[(i=String(n)).toLowerCase()],r===void 0))throw new m(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([c,f])=>`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
4
- `+o.map(Ae).join(`
5
- `):" "+Ae(o[0]):"as no adapter specified";throw new m("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ce};function re(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new k(null,e)}function xe(e){return re(e),e.headers=A.from(e.headers),e.data=ne.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xe.getAdapter(e.adapter||I.adapter)(e).then(function(r){return re(e),r.data=ne.call(e,e.transformResponse,r),r.headers=A.from(r.headers),r},function(r){return ze(r)||(re(e),r&&r.response&&(r.response.data=ne.call(e,e.transformResponse,r.response),r.response.headers=A.from(r.response.headers))),Promise.reject(r)})}const Ge="1.7.9",Y={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Y[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ce={};Y.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Ge+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,c)=>{if(t===!1)throw new m(s(i," has been removed"+(n?" in "+n:"")),m.ERR_DEPRECATED);return n&&!Ce[i]&&(Ce[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,c):!0}};Y.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function xn(e,t,n){if(typeof e!="object")throw new m("options must be an object",m.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const c=e[o],f=c===void 0||i(c,o,e);if(f!==!0)throw new m("option "+o+" must be "+f,m.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new m("Unknown option "+o,m.ERR_BAD_OPTION)}}const J={assertOptions:xn,validators:Y},N=J.validators;let B=class{constructor(t){this.defaults=t,this.interceptors={request:new we,response:new we}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
6
- `+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=D(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&J.assertOptions(r,{silentJSONParsing:N.transitional(N.boolean),forcedJSONParsing:N.transitional(N.boolean),clarifyTimeoutError:N.transitional(N.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:J.assertOptions(s,{encode:N.function,serialize:N.function},!0)),J.assertOptions(n,{baseUrl:N.spelling("baseURL"),withXsrfToken:N.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=A.concat(i,o);const c=[];let f=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(f=f&&y.synchronous,c.unshift(y.fulfilled,y.rejected))});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let l,d=0,b;if(!f){const p=[xe.bind(this),void 0];for(p.unshift.apply(p,c),p.push.apply(p,u),b=p.length,l=Promise.resolve(n);d<b;)l=l.then(p[d++],p[d++]);return l}b=c.length;let R=n;for(d=0;d<b;){const p=c[d++],y=c[d++];try{R=p(R)}catch(h){y.call(this,h);break}}try{l=xe.call(this,R)}catch(p){return Promise.reject(p)}for(d=0,b=u.length;d<b;)l=l.then(u[d++],u[d++]);return l}getUri(t){t=D(this.defaults,t);const n=Ve(t.baseURL,t.url);return Ie(n,t.params,t.paramsSerializer)}};a.forEach(["delete","get","head","options"],function(t){B.prototype[t]=function(n,r){return this.request(D(r||{},{method:t,url:n,data:(r||{}).data}))}});a.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,c){return this.request(D(c||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}B.prototype[t]=n(),B.prototype[t+"Form"]=n(!0)});let Cn=class Qe{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(c=>{r.subscribe(c),o=c}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,c){r.reason||(r.reason=new k(o,i,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Qe(function(s){t=s}),cancel:t}}};function Nn(e){return function(n){return e.apply(null,n)}}function Pn(e){return a.isObject(e)&&e.isAxiosError===!0}const ue={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ue).forEach(([e,t])=>{ue[t]=e});function Ze(e){const t=new B(e),n=Ne(B.prototype.request,t);return a.extend(n,B.prototype,t,{allOwnKeys:!0}),a.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Ze(D(e,s))},n}const E=Ze(I);E.Axios=B;E.CanceledError=k;E.CancelToken=Cn;E.isCancel=ze;E.VERSION=Ge;E.toFormData=Q;E.AxiosError=m;E.Cancel=E.CanceledError;E.all=function(t){return Promise.all(t)};E.spread=Nn;E.isAxiosError=Pn;E.mergeConfig=D;E.AxiosHeaders=A;E.formToJSON=e=>$e(a.isHTMLForm(e)?new FormData(e):e);E.getAdapter=Xe.getAdapter;E.HttpStatusCode=ue;E.default=E;const{Axios:Ln,AxiosError:Bn,CanceledError:Dn,isCancel:Un,CancelToken:kn,VERSION:jn,all:qn,Cancel:Hn,isAxiosError:In,spread:Mn,toFormData:$n,AxiosHeaders:zn,HttpStatusCode:Jn,formToJSON:Vn,getAdapter:Wn,mergeConfig:Kn}=E;exports.axios=E;