@elizaos/client 1.5.5-beta.2 → 1.5.6
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/main-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/main-Dz64ENQg.js","assets/react-vendor-DM5m98rr.js","assets/ui-vendor-BQCqNqg0.js","assets/main-BBZ_3lkn.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const p of document.querySelectorAll('link[rel="modulepreload"]'))R(p);new MutationObserver(p=>{for(const y of p)if(y.type==="childList")for(const f of y.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&R(f)}).observe(document,{childList:!0,subtree:!0});function F(p){const y={};return p.integrity&&(y.integrity=p.integrity),p.referrerPolicy&&(y.referrerPolicy=p.referrerPolicy),p.crossOrigin==="use-credentials"?y.credentials="include":p.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function R(p){if(p.ep)return;p.ep=!0;const y=F(p);fetch(p.href,y)}})();var H={},G={},ur;function Cr(){if(ur)return G;ur=1,G.byteLength=o,G.toByteArray=_,G.fromByteArray=M;for(var w=[],s=[],F=typeof Uint8Array<"u"?Uint8Array:Array,R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,y=R.length;p<y;++p)w[p]=R[p],s[R.charCodeAt(p)]=p;s[45]=62,s[95]=63;function f(h){var a=h.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var d=h.indexOf("=");d===-1&&(d=a);var S=d===a?0:4-d%4;return[d,S]}function o(h){var a=f(h),d=a[0],S=a[1];return(d+S)*3/4-S}function g(h,a,d){return(a+d)*3/4-d}function _(h){var a,d=f(h),S=d[0],b=d[1],T=new F(g(h,S,b)),L=0,k=b>0?S-4:S,U;for(U=0;U<k;U+=4)a=s[h.charCodeAt(U)]<<18|s[h.charCodeAt(U+1)]<<12|s[h.charCodeAt(U+2)]<<6|s[h.charCodeAt(U+3)],T[L++]=a>>16&255,T[L++]=a>>8&255,T[L++]=a&255;return b===2&&(a=s[h.charCodeAt(U)]<<2|s[h.charCodeAt(U+1)]>>4,T[L++]=a&255),b===1&&(a=s[h.charCodeAt(U)]<<10|s[h.charCodeAt(U+1)]<<4|s[h.charCodeAt(U+2)]>>2,T[L++]=a>>8&255,T[L++]=a&255),T}function A(h){return w[h>>18&63]+w[h>>12&63]+w[h>>6&63]+w[h&63]}function x(h,a,d){for(var S,b=[],T=a;T<d;T+=3)S=(h[T]<<16&16711680)+(h[T+1]<<8&65280)+(h[T+2]&255),b.push(A(S));return b.join("")}function M(h){for(var a,d=h.length,S=d%3,b=[],T=16383,L=0,k=d-S;L<k;L+=T)b.push(x(h,L,L+T>k?k:L+T));return S===1?(a=h[d-1],b.push(w[a>>2]+w[a<<4&63]+"==")):S===2&&(a=(h[d-2]<<8)+h[d-1],b.push(w[a>>10]+w[a>>4&63]+w[a<<2&63]+"=")),b.join("")}return G}var Y={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var cr;function _r(){return cr||(cr=1,Y.read=function(w,s,F,R,p){var y,f,o=p*8-R-1,g=(1<<o)-1,_=g>>1,A=-7,x=F?p-1:0,M=F?-1:1,h=w[s+x];for(x+=M,y=h&(1<<-A)-1,h>>=-A,A+=o;A>0;y=y*256+w[s+x],x+=M,A-=8);for(f=y&(1<<-A)-1,y>>=-A,A+=R;A>0;f=f*256+w[s+x],x+=M,A-=8);if(y===0)y=1-_;else{if(y===g)return f?NaN:(h?-1:1)*(1/0);f=f+Math.pow(2,R),y=y-_}return(h?-1:1)*f*Math.pow(2,y-R)},Y.write=function(w,s,F,R,p,y){var f,o,g,_=y*8-p-1,A=(1<<_)-1,x=A>>1,M=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=R?0:y-1,a=R?1:-1,d=s<0||s===0&&1/s<0?1:0;for(s=Math.abs(s),isNaN(s)||s===1/0?(o=isNaN(s)?1:0,f=A):(f=Math.floor(Math.log(s)/Math.LN2),s*(g=Math.pow(2,-f))<1&&(f--,g*=2),f+x>=1?s+=M/g:s+=M*Math.pow(2,1-x),s*g>=2&&(f++,g/=2),f+x>=A?(o=0,f=A):f+x>=1?(o=(s*g-1)*Math.pow(2,p),f=f+x):(o=s*Math.pow(2,x-1)*Math.pow(2,p),f=0));p>=8;w[F+h]=o&255,h+=a,o/=256,p-=8);for(f=f<<p|o,_+=p;_>0;w[F+h]=f&255,h+=a,f/=256,_-=8);w[F+h-a]|=d*128}),Y}/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
5
5
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
6
6
|
* @license MIT
|
|
7
|
-
*/var fr;function Sr(){return fr||(fr=1,function(w){const s=Cr(),F=_r(),R=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;w.Buffer=o,w.SlowBuffer=T,w.INSPECT_MAX_BYTES=50;const p=2147483647;w.kMaxLength=p,o.TYPED_ARRAY_SUPPORT=y(),!o.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 y(){try{const e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function f(e){if(e>p)throw new RangeError('The value "'+e+'" is invalid for option "size"');const r=new Uint8Array(e);return Object.setPrototypeOf(r,o.prototype),r}function o(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return x(e)}return g(e,r,t)}o.poolSize=8192;function g(e,r,t){if(typeof e=="string")return M(e,r);if(ArrayBuffer.isView(e))return a(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(P(e,ArrayBuffer)||e&&P(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(P(e,SharedArrayBuffer)||e&&P(e.buffer,SharedArrayBuffer)))return d(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return o.from(i,r,t);const n=S(e);if(n)return n;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return o.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}o.from=function(e,r,t){return g(e,r,t)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function _(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function A(e,r,t){return _(e),e<=0?f(e):r!==void 0?typeof t=="string"?f(e).fill(r,t):f(e).fill(r):f(e)}o.alloc=function(e,r,t){return A(e,r,t)};function x(e){return _(e),f(e<0?0:b(e)|0)}o.allocUnsafe=function(e){return x(e)},o.allocUnsafeSlow=function(e){return x(e)};function M(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);const t=L(e,r)|0;let i=f(t);const n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function h(e){const r=e.length<0?0:b(e.length)|0,t=f(r);for(let i=0;i<r;i+=1)t[i]=e[i]&255;return t}function a(e){if(P(e,Uint8Array)){const r=new Uint8Array(e);return d(r.buffer,r.byteOffset,r.byteLength)}return h(e)}function d(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,o.prototype),i}function S(e){if(o.isBuffer(e)){const r=b(e.length)|0,t=f(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||V(e.length)?f(0):h(e);if(e.type==="Buffer"&&Array.isArray(e.data))return h(e.data)}function b(e){if(e>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return e|0}function T(e){return+e!=e&&(e=0),o.alloc(+e)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype},o.compare=function(r,t){if(P(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),P(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(r)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;let i=r.length,n=t.length;for(let u=0,c=Math.min(i,n);u<c;++u)if(r[u]!==t[u]){i=r[u],n=t[u];break}return i<n?-1:n<i?1:0},o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);let i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;const n=o.allocUnsafe(t);let u=0;for(i=0;i<r.length;++i){let c=r[i];if(P(c,Uint8Array))u+c.length>n.length?(o.isBuffer(c)||(c=o.from(c)),c.copy(n,u)):Uint8Array.prototype.set.call(n,c,u);else if(o.isBuffer(c))c.copy(n,u);else throw new TypeError('"list" argument must be an Array of Buffers');u+=c.length}return n};function L(e,r){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;let n=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return J(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return or(e).length;default:if(n)return i?-1:J(e).length;r=(""+r).toLowerCase(),n=!0}}o.byteLength=L;function k(e,r,t){let i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return Er(this,r,t);case"utf8":case"utf-8":return K(this,r,t);case"ascii":return dr(this,r,t);case"latin1":case"binary":return Br(this,r,t);case"base64":return wr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gr(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}o.prototype._isBuffer=!0;function U(e,r,t){const i=e[r];e[r]=e[t],e[t]=i}o.prototype.swap16=function(){const r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<r;t+=2)U(this,t,t+1);return this},o.prototype.swap32=function(){const r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<r;t+=4)U(this,t,t+3),U(this,t+1,t+2);return this},o.prototype.swap64=function(){const r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<r;t+=8)U(this,t,t+7),U(this,t+1,t+6),U(this,t+2,t+5),U(this,t+3,t+4);return this},o.prototype.toString=function(){const r=this.length;return r===0?"":arguments.length===0?K(this,0,r):k.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0},o.prototype.inspect=function(){let r="";const t=w.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"},R&&(o.prototype[R]=o.prototype.inspect),o.prototype.compare=function(r,t,i,n,u){if(P(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),u===void 0&&(u=this.length),t<0||i>r.length||n<0||u>this.length)throw new RangeError("out of range index");if(n>=u&&t>=i)return 0;if(n>=u)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,u>>>=0,this===r)return 0;let c=u-n,l=i-t;const m=Math.min(c,l),E=this.slice(n,u),I=r.slice(t,i);for(let B=0;B<m;++B)if(E[B]!==I[B]){c=E[B],l=I[B];break}return c<l?-1:l<c?1:0};function X(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,V(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=o.from(r,i)),o.isBuffer(r))return r.length===0?-1:z(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):z(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function z(e,r,t,i,n){let u=1,c=e.length,l=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;u=2,c/=2,l/=2,t/=2}function m(I,B){return u===1?I[B]:I.readUInt16BE(B*u)}let E;if(n){let I=-1;for(E=t;E<c;E++)if(m(e,E)===m(r,I===-1?0:E-I)){if(I===-1&&(I=E),E-I+1===l)return I*u}else I!==-1&&(E-=E-I),I=-1}else for(t+l>c&&(t=c-l),E=t;E>=0;E--){let I=!0;for(let B=0;B<l;B++)if(m(e,E+B)!==m(r,B)){I=!1;break}if(I)return E}return-1}o.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1},o.prototype.indexOf=function(r,t,i){return X(this,r,t,i,!0)},o.prototype.lastIndexOf=function(r,t,i){return X(this,r,t,i,!1)};function sr(e,r,t,i){t=Number(t)||0;const n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;const u=r.length;i>u/2&&(i=u/2);let c;for(c=0;c<i;++c){const l=parseInt(r.substr(c*2,2),16);if(V(l))return c;e[t+c]=l}return c}function pr(e,r,t,i){return W(J(r,e.length-t),e,t,i)}function lr(e,r,t,i){return W(Ar(r),e,t,i)}function ar(e,r,t,i){return W(or(r),e,t,i)}function yr(e,r,t,i){return W(Ur(r,e.length-t),e,t,i)}o.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const u=this.length-t;if((i===void 0||i>u)&&(i=u),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let c=!1;for(;;)switch(n){case"hex":return sr(this,r,t,i);case"utf8":case"utf-8":return pr(this,r,t,i);case"ascii":case"latin1":case"binary":return lr(this,r,t,i);case"base64":return ar(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yr(this,r,t,i);default:if(c)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function wr(e,r,t){return r===0&&t===e.length?s.fromByteArray(e):s.fromByteArray(e.slice(r,t))}function K(e,r,t){t=Math.min(e.length,t);const i=[];let n=r;for(;n<t;){const u=e[n];let c=null,l=u>239?4:u>223?3:u>191?2:1;if(n+l<=t){let m,E,I,B;switch(l){case 1:u<128&&(c=u);break;case 2:m=e[n+1],(m&192)===128&&(B=(u&31)<<6|m&63,B>127&&(c=B));break;case 3:m=e[n+1],E=e[n+2],(m&192)===128&&(E&192)===128&&(B=(u&15)<<12|(m&63)<<6|E&63,B>2047&&(B<55296||B>57343)&&(c=B));break;case 4:m=e[n+1],E=e[n+2],I=e[n+3],(m&192)===128&&(E&192)===128&&(I&192)===128&&(B=(u&15)<<18|(m&63)<<12|(E&63)<<6|I&63,B>65535&&B<1114112&&(c=B))}}c===null?(c=65533,l=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|c&1023),i.push(c),n+=l}return xr(i)}const Z=4096;function xr(e){const r=e.length;if(r<=Z)return String.fromCharCode.apply(String,e);let t="",i=0;for(;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=Z));return t}function dr(e,r,t){let i="";t=Math.min(e.length,t);for(let n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function Br(e,r,t){let i="";t=Math.min(e.length,t);for(let n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function Er(e,r,t){const i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);let n="";for(let u=r;u<t;++u)n+=Tr[e[u]];return n}function gr(e,r,t){const i=e.slice(r,t);let n="";for(let u=0;u<i.length-1;u+=2)n+=String.fromCharCode(i[u]+i[u+1]*256);return n}o.prototype.slice=function(r,t){const i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);const n=this.subarray(r,t);return Object.setPrototypeOf(n,o.prototype),n};function C(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||C(r,t,this.length);let n=this[r],u=1,c=0;for(;++c<t&&(u*=256);)n+=this[r+c]*u;return n},o.prototype.readUintBE=o.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||C(r,t,this.length);let n=this[r+--t],u=1;for(;t>0&&(u*=256);)n+=this[r+--t]*u;return n},o.prototype.readUint8=o.prototype.readUInt8=function(r,t){return r=r>>>0,t||C(r,1,this.length),this[r]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||C(r,2,this.length),this[r]|this[r+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||C(r,2,this.length),this[r]<<8|this[r+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||C(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||C(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},o.prototype.readBigUInt64LE=D(function(r){r=r>>>0,O(r,"offset");const t=this[r],i=this[r+7];(t===void 0||i===void 0)&&q(r,this.length-8);const n=t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,u=this[++r]+this[++r]*2**8+this[++r]*2**16+i*2**24;return BigInt(n)+(BigInt(u)<<BigInt(32))}),o.prototype.readBigUInt64BE=D(function(r){r=r>>>0,O(r,"offset");const t=this[r],i=this[r+7];(t===void 0||i===void 0)&&q(r,this.length-8);const n=t*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],u=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+i;return(BigInt(n)<<BigInt(32))+BigInt(u)}),o.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||C(r,t,this.length);let n=this[r],u=1,c=0;for(;++c<t&&(u*=256);)n+=this[r+c]*u;return u*=128,n>=u&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||C(r,t,this.length);let n=t,u=1,c=this[r+--n];for(;n>0&&(u*=256);)c+=this[r+--n]*u;return u*=128,c>=u&&(c-=Math.pow(2,8*t)),c},o.prototype.readInt8=function(r,t){return r=r>>>0,t||C(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},o.prototype.readInt16LE=function(r,t){r=r>>>0,t||C(r,2,this.length);const i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i},o.prototype.readInt16BE=function(r,t){r=r>>>0,t||C(r,2,this.length);const i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i},o.prototype.readInt32LE=function(r,t){return r=r>>>0,t||C(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},o.prototype.readInt32BE=function(r,t){return r=r>>>0,t||C(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},o.prototype.readBigInt64LE=D(function(r){r=r>>>0,O(r,"offset");const t=this[r],i=this[r+7];(t===void 0||i===void 0)&&q(r,this.length-8);const n=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(i<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)}),o.prototype.readBigInt64BE=D(function(r){r=r>>>0,O(r,"offset");const t=this[r],i=this[r+7];(t===void 0||i===void 0)&&q(r,this.length-8);const n=(t<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return(BigInt(n)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+i)}),o.prototype.readFloatLE=function(r,t){return r=r>>>0,t||C(r,4,this.length),F.read(this,r,!0,23,4)},o.prototype.readFloatBE=function(r,t){return r=r>>>0,t||C(r,4,this.length),F.read(this,r,!1,23,4)},o.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||C(r,8,this.length),F.read(this,r,!0,52,8)},o.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||C(r,8,this.length),F.read(this,r,!1,52,8)};function N(e,r,t,i,n,u){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<u)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){const l=Math.pow(2,8*i)-1;N(this,r,t,i,l,0)}let u=1,c=0;for(this[t]=r&255;++c<i&&(u*=256);)this[t+c]=r/u&255;return t+i},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){const l=Math.pow(2,8*i)-1;N(this,r,t,i,l,0)}let u=i-1,c=1;for(this[t+u]=r&255;--u>=0&&(c*=256);)this[t+u]=r/c&255;return t+i},o.prototype.writeUint8=o.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,1,255,0),this[t]=r&255,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function Q(e,r,t,i,n){nr(r,i,n,e,t,7);let u=Number(r&BigInt(4294967295));e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u;let c=Number(r>>BigInt(32)&BigInt(4294967295));return e[t++]=c,c=c>>8,e[t++]=c,c=c>>8,e[t++]=c,c=c>>8,e[t++]=c,t}function v(e,r,t,i,n){nr(r,i,n,e,t,7);let u=Number(r&BigInt(4294967295));e[t+7]=u,u=u>>8,e[t+6]=u,u=u>>8,e[t+5]=u,u=u>>8,e[t+4]=u;let c=Number(r>>BigInt(32)&BigInt(4294967295));return e[t+3]=c,c=c>>8,e[t+2]=c,c=c>>8,e[t+1]=c,c=c>>8,e[t]=c,t+8}o.prototype.writeBigUInt64LE=D(function(r,t=0){return Q(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=D(function(r,t=0){return v(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){const m=Math.pow(2,8*i-1);N(this,r,t,i,m-1,-m)}let u=0,c=1,l=0;for(this[t]=r&255;++u<i&&(c*=256);)r<0&&l===0&&this[t+u-1]!==0&&(l=1),this[t+u]=(r/c>>0)-l&255;return t+i},o.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){const m=Math.pow(2,8*i-1);N(this,r,t,i,m-1,-m)}let u=i-1,c=1,l=0;for(this[t+u]=r&255;--u>=0&&(c*=256);)r<0&&l===0&&this[t+u+1]!==0&&(l=1),this[t+u]=(r/c>>0)-l&255;return t+i},o.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1},o.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4},o.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4},o.prototype.writeBigInt64LE=D(function(r,t=0){return Q(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=D(function(r,t=0){return v(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function rr(e,r,t,i,n,u){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function tr(e,r,t,i,n){return r=+r,t=t>>>0,n||rr(e,r,t,4),F.write(e,r,t,i,23,4),t+4}o.prototype.writeFloatLE=function(r,t,i){return tr(this,r,t,!0,i)},o.prototype.writeFloatBE=function(r,t,i){return tr(this,r,t,!1,i)};function er(e,r,t,i,n){return r=+r,t=t>>>0,n||rr(e,r,t,8),F.write(e,r,t,i,52,8),t+8}o.prototype.writeDoubleLE=function(r,t,i){return er(this,r,t,!0,i)},o.prototype.writeDoubleBE=function(r,t,i){return er(this,r,t,!1,i)},o.prototype.copy=function(r,t,i,n){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);const u=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),u},o.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!o.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){const c=r.charCodeAt(0);(n==="utf8"&&c<128||n==="latin1")&&(r=c)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);let u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{const c=o.isBuffer(r)?r:o.from(r,n),l=c.length;if(l===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=c[u%l]}return this};const $={};function j(e,r,t){$[e]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(n){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:n,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}j("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),j("ERR_INVALID_ARG_TYPE",function(e,r){return`The "${e}" argument must be of type number. Received type ${typeof r}`},TypeError),j("ERR_OUT_OF_RANGE",function(e,r,t){let i=`The value of "${e}" is out of range.`,n=t;return Number.isInteger(t)&&Math.abs(t)>2**32?n=ir(String(t)):typeof t=="bigint"&&(n=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(n=ir(n)),n+="n"),i+=` It must be ${r}. Received ${n}`,i},RangeError);function ir(e){let r="",t=e.length;const i=e[0]==="-"?1:0;for(;t>=i+4;t-=3)r=`_${e.slice(t-3,t)}${r}`;return`${e.slice(0,t)}${r}`}function mr(e,r,t){O(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&q(r,e.length-(t+1))}function nr(e,r,t,i,n,u){if(e>t||e<r){const c=typeof r=="bigint"?"n":"";let l;throw r===0||r===BigInt(0)?l=`>= 0${c} and < 2${c} ** ${(u+1)*8}${c}`:l=`>= -(2${c} ** ${(u+1)*8-1}${c}) and < 2 ** ${(u+1)*8-1}${c}`,new $.ERR_OUT_OF_RANGE("value",l,e)}mr(i,n,u)}function O(e,r){if(typeof e!="number")throw new $.ERR_INVALID_ARG_TYPE(r,"number",e)}function q(e,r,t){throw Math.floor(e)!==e?(O(e,t),new $.ERR_OUT_OF_RANGE("offset","an integer",e)):r<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${r}`,e)}const Ir=/[^+/0-9A-Za-z-_]/g;function Fr(e){if(e=e.split("=")[0],e=e.trim().replace(Ir,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function J(e,r){r=r||1/0;let t;const i=e.length;let n=null;const u=[];for(let c=0;c<i;++c){if(t=e.charCodeAt(c),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&u.push(239,191,189);continue}else if(c+1===i){(r-=3)>-1&&u.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&u.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&u.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;u.push(t)}else if(t<2048){if((r-=2)<0)break;u.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;u.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;u.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return u}function Ar(e){const r=[];for(let t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function Ur(e,r){let t,i,n;const u=[];for(let c=0;c<e.length&&!((r-=2)<0);++c)t=e.charCodeAt(c),i=t>>8,n=t%256,u.push(n),u.push(i);return u}function or(e){return s.toByteArray(Fr(e))}function W(e,r,t,i){let n;for(n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function P(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function V(e){return e!==e}const Tr=function(){const e="0123456789abcdef",r=new Array(256);for(let t=0;t<16;++t){const i=t*16;for(let n=0;n<16;++n)r[i+n]=e[t]+e[n]}return r}();function D(e){return typeof BigInt>"u"?Rr:e}function Rr(){throw new Error("BigInt not supported")}}(H)),H}var br=Sr();typeof globalThis.Buffer>"u"&&(globalThis.Buffer=br.Buffer);typeof globalThis.global>"u"&&(globalThis.global=globalThis);typeof globalThis.process>"u"&&(globalThis.process={env:{}});const Lr="modulepreload",Nr=function(w){return"/"+w},hr={},Mr=function(s,F,R){let p=Promise.resolve();if(F&&F.length>0){document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),o=f?.nonce||f?.getAttribute("nonce");p=Promise.allSettled(F.map(g=>{if(g=Nr(g),g in hr)return;hr[g]=!0;const _=g.endsWith(".css"),A=_?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${A}`))return;const x=document.createElement("link");if(x.rel=_?"stylesheet":Lr,_||(x.as="script"),x.crossOrigin="",x.href=g,o&&x.setAttribute("nonce",o),document.head.appendChild(x),_)return new Promise((M,h)=>{x.addEventListener("load",M),x.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${g}`)))})}))}function y(f){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=f,window.dispatchEvent(o),!o.defaultPrevented)throw f}return p.then(f=>{for(const o of f||[])o.status==="rejected"&&y(o.reason);return s().catch(y)})};Mr(()=>import("./main-2fNN8WoP.js"),__vite__mapDeps([0,1,2,3]));export{Mr as _,Sr as r};
|
|
7
|
+
*/var fr;function Sr(){return fr||(fr=1,function(w){const s=Cr(),F=_r(),R=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;w.Buffer=o,w.SlowBuffer=T,w.INSPECT_MAX_BYTES=50;const p=2147483647;w.kMaxLength=p,o.TYPED_ARRAY_SUPPORT=y(),!o.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 y(){try{const e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function f(e){if(e>p)throw new RangeError('The value "'+e+'" is invalid for option "size"');const r=new Uint8Array(e);return Object.setPrototypeOf(r,o.prototype),r}function o(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return x(e)}return g(e,r,t)}o.poolSize=8192;function g(e,r,t){if(typeof e=="string")return M(e,r);if(ArrayBuffer.isView(e))return a(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(P(e,ArrayBuffer)||e&&P(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(P(e,SharedArrayBuffer)||e&&P(e.buffer,SharedArrayBuffer)))return d(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return o.from(i,r,t);const n=S(e);if(n)return n;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return o.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}o.from=function(e,r,t){return g(e,r,t)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function _(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function A(e,r,t){return _(e),e<=0?f(e):r!==void 0?typeof t=="string"?f(e).fill(r,t):f(e).fill(r):f(e)}o.alloc=function(e,r,t){return A(e,r,t)};function x(e){return _(e),f(e<0?0:b(e)|0)}o.allocUnsafe=function(e){return x(e)},o.allocUnsafeSlow=function(e){return x(e)};function M(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);const t=L(e,r)|0;let i=f(t);const n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function h(e){const r=e.length<0?0:b(e.length)|0,t=f(r);for(let i=0;i<r;i+=1)t[i]=e[i]&255;return t}function a(e){if(P(e,Uint8Array)){const r=new Uint8Array(e);return d(r.buffer,r.byteOffset,r.byteLength)}return h(e)}function d(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,o.prototype),i}function S(e){if(o.isBuffer(e)){const r=b(e.length)|0,t=f(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||V(e.length)?f(0):h(e);if(e.type==="Buffer"&&Array.isArray(e.data))return h(e.data)}function b(e){if(e>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return e|0}function T(e){return+e!=e&&(e=0),o.alloc(+e)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype},o.compare=function(r,t){if(P(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),P(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(r)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;let i=r.length,n=t.length;for(let u=0,c=Math.min(i,n);u<c;++u)if(r[u]!==t[u]){i=r[u],n=t[u];break}return i<n?-1:n<i?1:0},o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);let i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;const n=o.allocUnsafe(t);let u=0;for(i=0;i<r.length;++i){let c=r[i];if(P(c,Uint8Array))u+c.length>n.length?(o.isBuffer(c)||(c=o.from(c)),c.copy(n,u)):Uint8Array.prototype.set.call(n,c,u);else if(o.isBuffer(c))c.copy(n,u);else throw new TypeError('"list" argument must be an Array of Buffers');u+=c.length}return n};function L(e,r){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;let n=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return J(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return or(e).length;default:if(n)return i?-1:J(e).length;r=(""+r).toLowerCase(),n=!0}}o.byteLength=L;function k(e,r,t){let i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return Er(this,r,t);case"utf8":case"utf-8":return K(this,r,t);case"ascii":return dr(this,r,t);case"latin1":case"binary":return Br(this,r,t);case"base64":return wr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gr(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}o.prototype._isBuffer=!0;function U(e,r,t){const i=e[r];e[r]=e[t],e[t]=i}o.prototype.swap16=function(){const r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<r;t+=2)U(this,t,t+1);return this},o.prototype.swap32=function(){const r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<r;t+=4)U(this,t,t+3),U(this,t+1,t+2);return this},o.prototype.swap64=function(){const r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<r;t+=8)U(this,t,t+7),U(this,t+1,t+6),U(this,t+2,t+5),U(this,t+3,t+4);return this},o.prototype.toString=function(){const r=this.length;return r===0?"":arguments.length===0?K(this,0,r):k.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0},o.prototype.inspect=function(){let r="";const t=w.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"},R&&(o.prototype[R]=o.prototype.inspect),o.prototype.compare=function(r,t,i,n,u){if(P(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),u===void 0&&(u=this.length),t<0||i>r.length||n<0||u>this.length)throw new RangeError("out of range index");if(n>=u&&t>=i)return 0;if(n>=u)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,u>>>=0,this===r)return 0;let c=u-n,l=i-t;const m=Math.min(c,l),E=this.slice(n,u),I=r.slice(t,i);for(let B=0;B<m;++B)if(E[B]!==I[B]){c=E[B],l=I[B];break}return c<l?-1:l<c?1:0};function X(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,V(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=o.from(r,i)),o.isBuffer(r))return r.length===0?-1:z(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):z(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function z(e,r,t,i,n){let u=1,c=e.length,l=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;u=2,c/=2,l/=2,t/=2}function m(I,B){return u===1?I[B]:I.readUInt16BE(B*u)}let E;if(n){let I=-1;for(E=t;E<c;E++)if(m(e,E)===m(r,I===-1?0:E-I)){if(I===-1&&(I=E),E-I+1===l)return I*u}else I!==-1&&(E-=E-I),I=-1}else for(t+l>c&&(t=c-l),E=t;E>=0;E--){let I=!0;for(let B=0;B<l;B++)if(m(e,E+B)!==m(r,B)){I=!1;break}if(I)return E}return-1}o.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1},o.prototype.indexOf=function(r,t,i){return X(this,r,t,i,!0)},o.prototype.lastIndexOf=function(r,t,i){return X(this,r,t,i,!1)};function sr(e,r,t,i){t=Number(t)||0;const n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;const u=r.length;i>u/2&&(i=u/2);let c;for(c=0;c<i;++c){const l=parseInt(r.substr(c*2,2),16);if(V(l))return c;e[t+c]=l}return c}function pr(e,r,t,i){return W(J(r,e.length-t),e,t,i)}function lr(e,r,t,i){return W(Ar(r),e,t,i)}function ar(e,r,t,i){return W(or(r),e,t,i)}function yr(e,r,t,i){return W(Ur(r,e.length-t),e,t,i)}o.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const u=this.length-t;if((i===void 0||i>u)&&(i=u),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let c=!1;for(;;)switch(n){case"hex":return sr(this,r,t,i);case"utf8":case"utf-8":return pr(this,r,t,i);case"ascii":case"latin1":case"binary":return lr(this,r,t,i);case"base64":return ar(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yr(this,r,t,i);default:if(c)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function wr(e,r,t){return r===0&&t===e.length?s.fromByteArray(e):s.fromByteArray(e.slice(r,t))}function K(e,r,t){t=Math.min(e.length,t);const i=[];let n=r;for(;n<t;){const u=e[n];let c=null,l=u>239?4:u>223?3:u>191?2:1;if(n+l<=t){let m,E,I,B;switch(l){case 1:u<128&&(c=u);break;case 2:m=e[n+1],(m&192)===128&&(B=(u&31)<<6|m&63,B>127&&(c=B));break;case 3:m=e[n+1],E=e[n+2],(m&192)===128&&(E&192)===128&&(B=(u&15)<<12|(m&63)<<6|E&63,B>2047&&(B<55296||B>57343)&&(c=B));break;case 4:m=e[n+1],E=e[n+2],I=e[n+3],(m&192)===128&&(E&192)===128&&(I&192)===128&&(B=(u&15)<<18|(m&63)<<12|(E&63)<<6|I&63,B>65535&&B<1114112&&(c=B))}}c===null?(c=65533,l=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|c&1023),i.push(c),n+=l}return xr(i)}const Z=4096;function xr(e){const r=e.length;if(r<=Z)return String.fromCharCode.apply(String,e);let t="",i=0;for(;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=Z));return t}function dr(e,r,t){let i="";t=Math.min(e.length,t);for(let n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function Br(e,r,t){let i="";t=Math.min(e.length,t);for(let n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function Er(e,r,t){const i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);let n="";for(let u=r;u<t;++u)n+=Tr[e[u]];return n}function gr(e,r,t){const i=e.slice(r,t);let n="";for(let u=0;u<i.length-1;u+=2)n+=String.fromCharCode(i[u]+i[u+1]*256);return n}o.prototype.slice=function(r,t){const i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);const n=this.subarray(r,t);return Object.setPrototypeOf(n,o.prototype),n};function C(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||C(r,t,this.length);let n=this[r],u=1,c=0;for(;++c<t&&(u*=256);)n+=this[r+c]*u;return n},o.prototype.readUintBE=o.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||C(r,t,this.length);let n=this[r+--t],u=1;for(;t>0&&(u*=256);)n+=this[r+--t]*u;return n},o.prototype.readUint8=o.prototype.readUInt8=function(r,t){return r=r>>>0,t||C(r,1,this.length),this[r]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||C(r,2,this.length),this[r]|this[r+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||C(r,2,this.length),this[r]<<8|this[r+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||C(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||C(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},o.prototype.readBigUInt64LE=D(function(r){r=r>>>0,O(r,"offset");const t=this[r],i=this[r+7];(t===void 0||i===void 0)&&q(r,this.length-8);const n=t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,u=this[++r]+this[++r]*2**8+this[++r]*2**16+i*2**24;return BigInt(n)+(BigInt(u)<<BigInt(32))}),o.prototype.readBigUInt64BE=D(function(r){r=r>>>0,O(r,"offset");const t=this[r],i=this[r+7];(t===void 0||i===void 0)&&q(r,this.length-8);const n=t*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],u=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+i;return(BigInt(n)<<BigInt(32))+BigInt(u)}),o.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||C(r,t,this.length);let n=this[r],u=1,c=0;for(;++c<t&&(u*=256);)n+=this[r+c]*u;return u*=128,n>=u&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||C(r,t,this.length);let n=t,u=1,c=this[r+--n];for(;n>0&&(u*=256);)c+=this[r+--n]*u;return u*=128,c>=u&&(c-=Math.pow(2,8*t)),c},o.prototype.readInt8=function(r,t){return r=r>>>0,t||C(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},o.prototype.readInt16LE=function(r,t){r=r>>>0,t||C(r,2,this.length);const i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i},o.prototype.readInt16BE=function(r,t){r=r>>>0,t||C(r,2,this.length);const i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i},o.prototype.readInt32LE=function(r,t){return r=r>>>0,t||C(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},o.prototype.readInt32BE=function(r,t){return r=r>>>0,t||C(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},o.prototype.readBigInt64LE=D(function(r){r=r>>>0,O(r,"offset");const t=this[r],i=this[r+7];(t===void 0||i===void 0)&&q(r,this.length-8);const n=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(i<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)}),o.prototype.readBigInt64BE=D(function(r){r=r>>>0,O(r,"offset");const t=this[r],i=this[r+7];(t===void 0||i===void 0)&&q(r,this.length-8);const n=(t<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return(BigInt(n)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+i)}),o.prototype.readFloatLE=function(r,t){return r=r>>>0,t||C(r,4,this.length),F.read(this,r,!0,23,4)},o.prototype.readFloatBE=function(r,t){return r=r>>>0,t||C(r,4,this.length),F.read(this,r,!1,23,4)},o.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||C(r,8,this.length),F.read(this,r,!0,52,8)},o.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||C(r,8,this.length),F.read(this,r,!1,52,8)};function N(e,r,t,i,n,u){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<u)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){const l=Math.pow(2,8*i)-1;N(this,r,t,i,l,0)}let u=1,c=0;for(this[t]=r&255;++c<i&&(u*=256);)this[t+c]=r/u&255;return t+i},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){const l=Math.pow(2,8*i)-1;N(this,r,t,i,l,0)}let u=i-1,c=1;for(this[t+u]=r&255;--u>=0&&(c*=256);)this[t+u]=r/c&255;return t+i},o.prototype.writeUint8=o.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,1,255,0),this[t]=r&255,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function Q(e,r,t,i,n){nr(r,i,n,e,t,7);let u=Number(r&BigInt(4294967295));e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u;let c=Number(r>>BigInt(32)&BigInt(4294967295));return e[t++]=c,c=c>>8,e[t++]=c,c=c>>8,e[t++]=c,c=c>>8,e[t++]=c,t}function v(e,r,t,i,n){nr(r,i,n,e,t,7);let u=Number(r&BigInt(4294967295));e[t+7]=u,u=u>>8,e[t+6]=u,u=u>>8,e[t+5]=u,u=u>>8,e[t+4]=u;let c=Number(r>>BigInt(32)&BigInt(4294967295));return e[t+3]=c,c=c>>8,e[t+2]=c,c=c>>8,e[t+1]=c,c=c>>8,e[t]=c,t+8}o.prototype.writeBigUInt64LE=D(function(r,t=0){return Q(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=D(function(r,t=0){return v(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){const m=Math.pow(2,8*i-1);N(this,r,t,i,m-1,-m)}let u=0,c=1,l=0;for(this[t]=r&255;++u<i&&(c*=256);)r<0&&l===0&&this[t+u-1]!==0&&(l=1),this[t+u]=(r/c>>0)-l&255;return t+i},o.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){const m=Math.pow(2,8*i-1);N(this,r,t,i,m-1,-m)}let u=i-1,c=1,l=0;for(this[t+u]=r&255;--u>=0&&(c*=256);)r<0&&l===0&&this[t+u+1]!==0&&(l=1),this[t+u]=(r/c>>0)-l&255;return t+i},o.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1},o.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4},o.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||N(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4},o.prototype.writeBigInt64LE=D(function(r,t=0){return Q(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=D(function(r,t=0){return v(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function rr(e,r,t,i,n,u){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function tr(e,r,t,i,n){return r=+r,t=t>>>0,n||rr(e,r,t,4),F.write(e,r,t,i,23,4),t+4}o.prototype.writeFloatLE=function(r,t,i){return tr(this,r,t,!0,i)},o.prototype.writeFloatBE=function(r,t,i){return tr(this,r,t,!1,i)};function er(e,r,t,i,n){return r=+r,t=t>>>0,n||rr(e,r,t,8),F.write(e,r,t,i,52,8),t+8}o.prototype.writeDoubleLE=function(r,t,i){return er(this,r,t,!0,i)},o.prototype.writeDoubleBE=function(r,t,i){return er(this,r,t,!1,i)},o.prototype.copy=function(r,t,i,n){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);const u=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),u},o.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!o.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){const c=r.charCodeAt(0);(n==="utf8"&&c<128||n==="latin1")&&(r=c)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);let u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{const c=o.isBuffer(r)?r:o.from(r,n),l=c.length;if(l===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=c[u%l]}return this};const $={};function j(e,r,t){$[e]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(n){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:n,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}j("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),j("ERR_INVALID_ARG_TYPE",function(e,r){return`The "${e}" argument must be of type number. Received type ${typeof r}`},TypeError),j("ERR_OUT_OF_RANGE",function(e,r,t){let i=`The value of "${e}" is out of range.`,n=t;return Number.isInteger(t)&&Math.abs(t)>2**32?n=ir(String(t)):typeof t=="bigint"&&(n=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(n=ir(n)),n+="n"),i+=` It must be ${r}. Received ${n}`,i},RangeError);function ir(e){let r="",t=e.length;const i=e[0]==="-"?1:0;for(;t>=i+4;t-=3)r=`_${e.slice(t-3,t)}${r}`;return`${e.slice(0,t)}${r}`}function mr(e,r,t){O(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&q(r,e.length-(t+1))}function nr(e,r,t,i,n,u){if(e>t||e<r){const c=typeof r=="bigint"?"n":"";let l;throw r===0||r===BigInt(0)?l=`>= 0${c} and < 2${c} ** ${(u+1)*8}${c}`:l=`>= -(2${c} ** ${(u+1)*8-1}${c}) and < 2 ** ${(u+1)*8-1}${c}`,new $.ERR_OUT_OF_RANGE("value",l,e)}mr(i,n,u)}function O(e,r){if(typeof e!="number")throw new $.ERR_INVALID_ARG_TYPE(r,"number",e)}function q(e,r,t){throw Math.floor(e)!==e?(O(e,t),new $.ERR_OUT_OF_RANGE("offset","an integer",e)):r<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${r}`,e)}const Ir=/[^+/0-9A-Za-z-_]/g;function Fr(e){if(e=e.split("=")[0],e=e.trim().replace(Ir,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function J(e,r){r=r||1/0;let t;const i=e.length;let n=null;const u=[];for(let c=0;c<i;++c){if(t=e.charCodeAt(c),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&u.push(239,191,189);continue}else if(c+1===i){(r-=3)>-1&&u.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&u.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&u.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;u.push(t)}else if(t<2048){if((r-=2)<0)break;u.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;u.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;u.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return u}function Ar(e){const r=[];for(let t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function Ur(e,r){let t,i,n;const u=[];for(let c=0;c<e.length&&!((r-=2)<0);++c)t=e.charCodeAt(c),i=t>>8,n=t%256,u.push(n),u.push(i);return u}function or(e){return s.toByteArray(Fr(e))}function W(e,r,t,i){let n;for(n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function P(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function V(e){return e!==e}const Tr=function(){const e="0123456789abcdef",r=new Array(256);for(let t=0;t<16;++t){const i=t*16;for(let n=0;n<16;++n)r[i+n]=e[t]+e[n]}return r}();function D(e){return typeof BigInt>"u"?Rr:e}function Rr(){throw new Error("BigInt not supported")}}(H)),H}var br=Sr();typeof globalThis.Buffer>"u"&&(globalThis.Buffer=br.Buffer);typeof globalThis.global>"u"&&(globalThis.global=globalThis);typeof globalThis.process>"u"&&(globalThis.process={env:{}});const Lr="modulepreload",Nr=function(w){return"/"+w},hr={},Mr=function(s,F,R){let p=Promise.resolve();if(F&&F.length>0){document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),o=f?.nonce||f?.getAttribute("nonce");p=Promise.allSettled(F.map(g=>{if(g=Nr(g),g in hr)return;hr[g]=!0;const _=g.endsWith(".css"),A=_?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${A}`))return;const x=document.createElement("link");if(x.rel=_?"stylesheet":Lr,_||(x.as="script"),x.crossOrigin="",x.href=g,o&&x.setAttribute("nonce",o),document.head.appendChild(x),_)return new Promise((M,h)=>{x.addEventListener("load",M),x.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${g}`)))})}))}function y(f){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=f,window.dispatchEvent(o),!o.defaultPrevented)throw f}return p.then(f=>{for(const o of f||[])o.status==="rejected"&&y(o.reason);return s().catch(y)})};Mr(()=>import("./main-Dz64ENQg.js"),__vite__mapDeps([0,1,2,3]));export{Mr as _,Sr as r};
|