function B(r,e){for(var t=0;t<e.length;t++){const i=e[t];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in r)){const n=Object.getOwnPropertyDescriptor(i,o);n&&Object.defineProperty(r,o,n.get?n:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var A={},L=A.byteLength=I,N=A.toByteArray=q,b=A.fromByteArray=P,g=[],p=[],O=typeof Uint8Array<"u"?Uint8Array:Array,F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var x=0,j=F.length;x<j;++x)g[x]=F[x],p[F.charCodeAt(x)]=x;p[45]=62;p[95]=63;function _(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var i=t===e?0:4-t%4;return[t,i]}function I(r){var e=_(r),t=e[0],i=e[1];return(t+i)*3/4-i}function k(r,e,t){return(e+t)*3/4-t}function q(r){var e,t=_(r),i=t[0],o=t[1],n=new O(k(r,i,o)),a=0,c=o>0?i-4:i,u;for(u=0;u<c;u+=4)e=p[r.charCodeAt(u)]<<18|p[r.charCodeAt(u+1)]<<12|p[r.charCodeAt(u+2)]<<6|p[r.charCodeAt(u+3)],n[a++]=e>>16&255,n[a++]=e>>8&255,n[a++]=e&255;return o===2&&(e=p[r.charCodeAt(u)]<<2|p[r.charCodeAt(u+1)]>>4,n[a++]=e&255),o===1&&(e=p[r.charCodeAt(u)]<<10|p[r.charCodeAt(u+1)]<<4|p[r.charCodeAt(u+2)]>>2,n[a++]=e>>8&255,n[a++]=e&255),n}function S(r){return g[r>>18&63]+g[r>>12&63]+g[r>>6&63]+g[r&63]}function E(r,e,t){for(var i,o=[],n=e;n<t;n+=3)i=(r[n]<<16&16711680)+(r[n+1]<<8&65280)+(r[n+2]&255),o.push(S(i));return o.join("")}function P(r){for(var e,t=r.length,i=t%3,o=[],n=16383,a=0,c=t-i;a<c;a+=n)o.push(E(r,a,a+n>c?c:a+n));return i===1?(e=r[t-1],o.push(g[e>>2]+g[e<<4&63]+"==")):i===2&&(e=(r[t-2]<<8)+r[t-1],o.push(g[e>>10]+g[e>>4&63]+g[e<<2&63]+"=")),o.join("")}const Q=B({__proto__:null,byteLength:L,default:A,fromByteArray:b,toByteArray:N},[A]);var T={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var U=T.read=function(r,e,t,i,o){var n,a,c=o*8-i-1,u=(1<<c)-1,h=u>>1,f=-7,l=t?o-1:0,w=t?-1:1,v=r[e+l];for(l+=w,n=v&(1<<-f)-1,v>>=-f,f+=c;f>0;n=n*256+r[e+l],l+=w,f-=8);for(a=n&(1<<-f)-1,n>>=-f,f+=i;f>0;a=a*256+r[e+l],l+=w,f-=8);if(n===0)n=1-h;else{if(n===u)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,i),n=n-h}return(v?-1:1)*a*Math.pow(2,n-i)},H=T.write=function(r,e,t,i,o,n){var a,c,u,h=n*8-o-1,f=(1<<h)-1,l=f>>1,w=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=i?0:n-1,d=i?1:-1,s=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+l>=1?e+=w/u:e+=w*Math.pow(2,1-l),e*u>=2&&(a++,u/=2),a+l>=f?(c=0,a=f):a+l>=1?(c=(e*u-1)*Math.pow(2,o),a=a+l):(c=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;r[t+v]=c&255,v+=d,c/=256,o-=8);for(a=a<<o|c,h+=o;h>0;r[t+v]=a&255,v+=d,a/=256,h-=8);r[t+v-d]|=s*128};const z=B({__proto__:null,default:T,read:U,write:H},[T]);var C={exports:{}},M;function D(){if(M)return C.exports;M=1;var r=C.exports={},e,t;function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=i}catch{e=i}try{typeof clearTimeout=="function"?t=clearTimeout:t=o}catch{t=o}})();function n(s){if(e===setTimeout)return setTimeout(s,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(s,0);try{return e(s,0)}catch{try{return e.call(null,s,0)}catch{return e.call(this,s,0)}}}function a(s){if(t===clearTimeout)return clearTimeout(s);if((t===o||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(s);try{return t(s)}catch{try{return t.call(null,s)}catch{return t.call(this,s)}}}var c=[],u=!1,h,f=-1;function l(){!u||!h||(u=!1,h.length?c=h.concat(c):f=-1,c.length&&w())}function w(){if(!u){var s=n(l);u=!0;for(var y=c.length;y;){for(h=c,c=[];++f<y;)h&&h[f].run();f=-1,y=c.length}h=null,u=!1,a(s)}}r.nextTick=function(s){var y=new Array(arguments.length-1);if(arguments.length>1)for(var m=1;m<arguments.length;m++)y[m-1]=arguments[m];c.push(new v(s,y)),c.length===1&&!u&&n(w)};function v(s,y){this.fun=s,this.array=y}v.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={};function d(){}return r.on=d,r.addListener=d,r.once=d,r.off=d,r.removeListener=d,r.removeAllListeners=d,r.emit=d,r.prependListener=d,r.prependOnceListener=d,r.listeners=function(s){return[]},r.binding=function(s){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(s){throw new Error("process.chdir is not supported")},r.umask=function(){return 0},C.exports}export{A as b,Q as e,T as i,D as r,z as t};
