(()=>{var zr=Object.create;var Et=Object.defineProperty;var Jr=Object.getOwnPropertyDescriptor;var Zr=Object.getOwnPropertyNames;var tn=Object.getPrototypeOf,en=Object.prototype.hasOwnProperty;var z=(i,u)=>()=>(i&&(u=i(i=0)),u);var Ft=(i,u)=>()=>(u||i((u={exports:{}}).exports,u),u.exports),rn=(i,u)=>{for(var c in u)Et(i,c,{get:u[c],enumerable:!0})},nn=(i,u,c,p)=>{if(u&&typeof u=="object"||typeof u=="function")for(let l of Zr(u))!en.call(i,l)&&l!==c&&Et(i,l,{get:()=>u[l],enumerable:!(p=Jr(u,l))||p.enumerable});return i};var on=(i,u,c)=>(c=i!=null?zr(tn(i)):{},nn(u||!i||!i.__esModule?Et(c,"default",{value:i,enumerable:!0}):c,i));var B=z(()=>{});var x=z(()=>{(function(){try{var i=typeof globalThis<"u"||typeof globalThis<"u"||typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};i.SENTRY_RELEASE={id:"26.10.8.1"}}catch{}})()});var C={};rn(C,{_debugEnd:()=>Le,_debugProcess:()=>Ce,_events:()=>Ve,_eventsCount:()=>Ke,_exiting:()=>le,_fatalExceptions:()=>Se,_getActiveHandles:()=>we,_getActiveRequests:()=>me,_kill:()=>Ee,_linkedBinding:()=>ce,_maxListeners:()=>Xe,_preload_modules:()=>We,_rawDebug:()=>ae,_startProfilerIdleNotifier:()=>Ne,_stopProfilerIdleNotifier:()=>Pe,_tickCallback:()=>be,abort:()=>$e,addListener:()=>Qe,allowedNodeEnvironmentFlags:()=>Te,arch:()=>Vt,argv:()=>zt,argv0:()=>Fe,assert:()=>Ae,binding:()=>re,browser:()=>se,chdir:()=>oe,config:()=>he,cpuUsage:()=>lt,cwd:()=>ie,debugPort:()=>Ye,default:()=>or,dlopen:()=>de,domain:()=>pe,emit:()=>er,emitWarning:()=>ee,env:()=>Qt,execArgv:()=>Jt,execPath:()=>je,exit:()=>_e,features:()=>Re,hasUncaughtExceptionCaptureCallback:()=>ve,hrtime:()=>pt,kill:()=>xe,listeners:()=>ir,memoryUsage:()=>Be,moduleLoadList:()=>fe,nextTick:()=>qt,off:()=>Je,on:()=>V,once:()=>ze,openStdin:()=>Ie,pid:()=>De,platform:()=>Kt,ppid:()=>He,prependListener:()=>rr,prependOnceListener:()=>nr,reallyExit:()=>ye,release:()=>ue,removeAllListeners:()=>tr,removeListener:()=>Ze,resourceUsage:()=>ge,setSourceMapsEnabled:()=>qe,setUncaughtExceptionCaptureCallback:()=>Ue,stderr:()=>ke,stdin:()=>Oe,stdout:()=>Me,title:()=>Xt,umask:()=>ne,uptime:()=>Ge,version:()=>Zt,versions:()=>te});function xt(i){throw new Error("Node.js process "+i+" is not supported by JSPM core outside of Node.js")}function un(){!nt||!J||(nt=!1,J.length?X=J.concat(X):ct=-1,X.length&&Wt())}function Wt(){if(!nt){var i=setTimeout(un,0);nt=!0;for(var u=X.length;u;){for(J=X,X=[];++ct1)for(var c=1;c{B();I();_();x();X=[],nt=!1,ct=-1;Gt.prototype.run=function(){this.fun.apply(null,this.array)};Xt="browser",Vt="x64",Kt="browser",Qt={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},zt=["/usr/bin/node"],Jt=[],Zt="v16.8.0",te={},ee=function(i,u){console.warn((u?u+": ":"")+i)},re=function(i){xt("binding")},ne=function(i){return 0},ie=function(){return"/"},oe=function(i){},ue={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};se=!0,ae=O,fe=[];pe={},le=!1,he={};ye=O,Ee=O,lt=function(){return{}},ge=lt,Be=lt,xe=O,_e=O,Ie=O,Te={};Re={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Se=O,Ue=O;be=O,Ce=O,Le=O,Ne=O,Pe=O,Me=void 0,ke=void 0,Oe=void 0,$e=O,De=2,He=1,je="/bin/usr/node",Ye=9229,Fe="node",We=[],qe=O,Q={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};Q.now===void 0&&(gt=Date.now(),Q.timing&&Q.timing.navigationStart&&(gt=Q.timing.navigationStart),Q.now=()=>Date.now()-gt);Bt=1e9;pt.bigint=function(i){var u=pt(i);return typeof BigInt>"u"?u[0]*Bt+u[1]:BigInt(u[0]*Bt)+BigInt(u[1])};Xe=10,Ve={},Ke=0;Qe=V,ze=V,Je=V,Ze=V,tr=V,er=O,rr=V,nr=V;or={version:Zt,versions:te,arch:Vt,platform:Kt,browser:se,release:ue,_rawDebug:ae,moduleLoadList:fe,binding:re,_linkedBinding:ce,_events:Ve,_eventsCount:Ke,_maxListeners:Xe,on:V,addListener:Qe,once:ze,off:Je,removeListener:Ze,removeAllListeners:tr,emit:er,prependListener:rr,prependOnceListener:nr,listeners:ir,domain:pe,_exiting:le,config:he,dlopen:de,uptime:Ge,_getActiveRequests:me,_getActiveHandles:we,reallyExit:ye,_kill:Ee,cpuUsage:lt,resourceUsage:ge,memoryUsage:Be,kill:xe,exit:_e,openStdin:Ie,allowedNodeEnvironmentFlags:Te,assert:Ae,features:Re,_fatalExceptions:Se,setUncaughtExceptionCaptureCallback:Ue,hasUncaughtExceptionCaptureCallback:ve,emitWarning:ee,nextTick:qt,_tickCallback:be,_debugProcess:Ce,_debugEnd:Le,_startProfilerIdleNotifier:Ne,_stopProfilerIdleNotifier:Pe,stdout:Me,stdin:Oe,stderr:ke,abort:$e,umask:ne,chdir:oe,cwd:ie,env:Qt,title:Xt,argv:zt,execArgv:Jt,pid:De,ppid:He,execPath:je,debugPort:Ye,hrtime:pt,argv0:Fe,_preload_modules:We,setSourceMapsEnabled:qe}});var _=z(()=>{ur()});function sn(){if(sr)return at;sr=!0,at.byteLength=g,at.toByteArray=M,at.fromByteArray=q;for(var i=[],u=[],c=typeof Uint8Array<"u"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,h=p.length;l0)throw new Error("Invalid string. Length must be a multiple of 4");var A=d.indexOf("=");A===-1&&(A=E);var P=A===E?0:4-A%4;return[A,P]}function g(d){var E=o(d),A=E[0],P=E[1];return(A+P)*3/4-P}function w(d,E,A){return(E+A)*3/4-A}function M(d){var E,A=o(d),P=A[0],j=A[1],L=new c(w(d,P,j)),Y=0,W=j>0?P-4:P,D;for(D=0;D>16&255,L[Y++]=E>>8&255,L[Y++]=E&255;return j===2&&(E=u[d.charCodeAt(D)]<<2|u[d.charCodeAt(D+1)]>>4,L[Y++]=E&255),j===1&&(E=u[d.charCodeAt(D)]<<10|u[d.charCodeAt(D+1)]<<4|u[d.charCodeAt(D+2)]>>2,L[Y++]=E>>8&255,L[Y++]=E&255),L}function U(d){return i[d>>18&63]+i[d>>12&63]+i[d>>6&63]+i[d&63]}function N(d,E,A){for(var P,j=[],L=E;LW?W:Y+L));return P===1?(E=d[A-1],j.push(i[E>>2]+i[E<<4&63]+"==")):P===2&&(E=(d[A-2]<<8)+d[A-1],j.push(i[E>>10]+i[E>>4&63]+i[E<<2&63]+"=")),j.join("")}return at}function an(){if(ar)return ht;ar=!0;return ht.read=function(i,u,c,p,l){var h,o,g=l*8-p-1,w=(1<>1,U=-7,N=c?l-1:0,q=c?-1:1,d=i[u+N];for(N+=q,h=d&(1<<-U)-1,d>>=-U,U+=g;U>0;h=h*256+i[u+N],N+=q,U-=8);for(o=h&(1<<-U)-1,h>>=-U,U+=p;U>0;o=o*256+i[u+N],N+=q,U-=8);if(h===0)h=1-M;else{if(h===w)return o?NaN:(d?-1:1)*(1/0);o=o+Math.pow(2,p),h=h-M}return(d?-1:1)*o*Math.pow(2,h-p)},ht.write=function(i,u,c,p,l,h){var o,g,w,M=h*8-l-1,U=(1<>1,q=l===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=p?0:h-1,E=p?1:-1,A=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(g=isNaN(u)?1:0,o=U):(o=Math.floor(Math.log(u)/Math.LN2),u*(w=Math.pow(2,-o))<1&&(o--,w*=2),o+N>=1?u+=q/w:u+=q*Math.pow(2,1-N),u*w>=2&&(o++,w/=2),o+N>=U?(g=0,o=U):o+N>=1?(g=(u*w-1)*Math.pow(2,l),o=o+N):(g=u*Math.pow(2,N-1)*Math.pow(2,l),o=0));l>=8;i[c+d]=g&255,d+=E,g/=256,l-=8);for(o=o<0;i[c+d]=o&255,d+=E,o/=256,M-=8);i[c+d-E]|=A*128},ht}function cr(){if(fr)return Z;fr=!0;let i=sn(),u=an(),c=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Z.Buffer=o,Z.SlowBuffer=j,Z.INSPECT_MAX_BYTES=50;let p=2147483647;Z.kMaxLength=p,o.TYPED_ARRAY_SUPPORT=l(),!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 l(){try{let r=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(r,t),r.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 h(r){if(r>p)throw new RangeError('The value "'+r+'" is invalid for option "size"');let t=new Uint8Array(r);return Object.setPrototypeOf(t,o.prototype),t}function o(r,t,e){if(typeof r=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return U(r)}return g(r,t,e)}o.poolSize=8192;function g(r,t,e){if(typeof r=="string")return N(r,t);if(ArrayBuffer.isView(r))return d(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(G(r,ArrayBuffer)||r&&G(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(G(r,SharedArrayBuffer)||r&&G(r.buffer,SharedArrayBuffer)))return E(r,t,e);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return o.from(n,t,e);let s=A(r);if(s)return s;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return o.from(r[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}o.from=function(r,t,e){return g(r,t,e)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function w(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function M(r,t,e){return w(r),r<=0?h(r):t!==void 0?typeof e=="string"?h(r).fill(t,e):h(r).fill(t):h(r)}o.alloc=function(r,t,e){return M(r,t,e)};function U(r){return w(r),h(r<0?0:P(r)|0)}o.allocUnsafe=function(r){return U(r)},o.allocUnsafeSlow=function(r){return U(r)};function N(r,t){if((typeof t!="string"||t==="")&&(t="utf8"),!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let e=L(r,t)|0,n=h(e),s=n.write(r,t);return s!==e&&(n=n.slice(0,s)),n}function q(r){let t=r.length<0?0:P(r.length)|0,e=h(t);for(let n=0;n=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return r|0}function j(r){return+r!=r&&(r=0),o.alloc(+r)}o.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==o.prototype},o.compare=function(t,e){if(G(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),G(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,s=e.length;for(let a=0,f=Math.min(n,s);as.length?(o.isBuffer(f)||(f=o.from(f)),f.copy(s,a)):Uint8Array.prototype.set.call(s,f,a);else if(o.isBuffer(f))f.copy(s,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=f.length}return s};function L(r,t){if(o.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||G(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);let e=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;let s=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return wt(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Yt(r).length;default:if(s)return n?-1:wt(r).length;t=(""+t).toLowerCase(),s=!0}}o.byteLength=L;function Y(r,t,e){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,t>>>=0,e<=t))return"";for(r||(r="utf8");;)switch(r){case"hex":return Yr(this,t,e);case"utf8":case"utf-8":return Nt(this,t,e);case"ascii":return Hr(this,t,e);case"latin1":case"binary":return jr(this,t,e);case"base64":return $r(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fr(this,t,e);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}o.prototype._isBuffer=!0;function W(r,t,e){let n=r[t];r[t]=r[e],r[e]=n}o.prototype.swap16=function(){let t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;ee&&(t+=" ... "),""},c&&(o.prototype[c]=o.prototype.inspect),o.prototype.compare=function(t,e,n,s,a){if(G(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),n===void 0&&(n=t?t.length:0),s===void 0&&(s=0),a===void 0&&(a=this.length),e<0||n>t.length||s<0||a>this.length)throw new RangeError("out of range index");if(s>=a&&e>=n)return 0;if(s>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,s>>>=0,a>>>=0,this===t)return 0;let f=a-s,y=n-e,v=Math.min(f,y),R=this.slice(s,a),b=t.slice(e,n);for(let T=0;T2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,yt(e)&&(e=s?0:r.length-1),e<0&&(e=r.length+e),e>=r.length){if(s)return-1;e=r.length-1}else if(e<0)if(s)e=0;else return-1;if(typeof t=="string"&&(t=o.from(t,n)),o.isBuffer(t))return t.length===0?-1:Lt(r,t,e,n,s);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(r,t,e):Uint8Array.prototype.lastIndexOf.call(r,t,e):Lt(r,[t],e,n,s);throw new TypeError("val must be string, number or Buffer")}function Lt(r,t,e,n,s){let a=1,f=r.length,y=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||t.length<2)return-1;a=2,f/=2,y/=2,e/=2}function v(b,T){return a===1?b[T]:b.readUInt16BE(T*a)}let R;if(s){let b=-1;for(R=e;Rf&&(e=f-y),R=e;R>=0;R--){let b=!0;for(let T=0;Ts&&(n=s)):n=s;let a=t.length;n>a/2&&(n=a/2);let f;for(f=0;f>>0,isFinite(n)?(n=n>>>0,s===void 0&&(s="utf8")):(s=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let a=this.length-e;if((n===void 0||n>a)&&(n=a),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");let f=!1;for(;;)switch(s){case"hex":return Nr(this,t,e,n);case"utf8":case"utf-8":return Pr(this,t,e,n);case"ascii":case"latin1":case"binary":return Mr(this,t,e,n);case"base64":return kr(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Or(this,t,e,n);default:if(f)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),f=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $r(r,t,e){return t===0&&e===r.length?i.fromByteArray(r):i.fromByteArray(r.slice(t,e))}function Nt(r,t,e){e=Math.min(r.length,e);let n=[],s=t;for(;s239?4:a>223?3:a>191?2:1;if(s+y<=e){let v,R,b,T;switch(y){case 1:a<128&&(f=a);break;case 2:v=r[s+1],(v&192)===128&&(T=(a&31)<<6|v&63,T>127&&(f=T));break;case 3:v=r[s+1],R=r[s+2],(v&192)===128&&(R&192)===128&&(T=(a&15)<<12|(v&63)<<6|R&63,T>2047&&(T<55296||T>57343)&&(f=T));break;case 4:v=r[s+1],R=r[s+2],b=r[s+3],(v&192)===128&&(R&192)===128&&(b&192)===128&&(T=(a&15)<<18|(v&63)<<12|(R&63)<<6|b&63,T>65535&&T<1114112&&(f=T))}}f===null?(f=65533,y=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|f&1023),n.push(f),s+=y}return Dr(n)}let Pt=4096;function Dr(r){let t=r.length;if(t<=Pt)return String.fromCharCode.apply(String,r);let e="",n=0;for(;nn)&&(e=n);let s="";for(let a=t;an&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),ee)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(t,e,n){t=t>>>0,e=e>>>0,n||k(t,e,this.length);let s=this[t],a=1,f=0;for(;++f>>0,e=e>>>0,n||k(t,e,this.length);let s=this[t+--e],a=1;for(;e>0&&(a*=256);)s+=this[t+--e]*a;return s},o.prototype.readUint8=o.prototype.readUInt8=function(t,e){return t=t>>>0,e||k(t,1,this.length),this[t]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(t,e){return t=t>>>0,e||k(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(t,e){return t=t>>>0,e||k(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(t,e){return t=t>>>0,e||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(t,e){return t=t>>>0,e||k(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readBigUInt64LE=K(function(t){t=t>>>0,rt(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&st(t,this.length-8);let s=e+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,a=this[++t]+this[++t]*2**8+this[++t]*2**16+n*2**24;return BigInt(s)+(BigInt(a)<>>0,rt(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&st(t,this.length-8);let s=e*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],a=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n;return(BigInt(s)<>>0,e=e>>>0,n||k(t,e,this.length);let s=this[t],a=1,f=0;for(;++f=a&&(s-=Math.pow(2,8*e)),s},o.prototype.readIntBE=function(t,e,n){t=t>>>0,e=e>>>0,n||k(t,e,this.length);let s=e,a=1,f=this[t+--s];for(;s>0&&(a*=256);)f+=this[t+--s]*a;return a*=128,f>=a&&(f-=Math.pow(2,8*e)),f},o.prototype.readInt8=function(t,e){return t=t>>>0,e||k(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},o.prototype.readInt16LE=function(t,e){t=t>>>0,e||k(t,2,this.length);let n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n},o.prototype.readInt16BE=function(t,e){t=t>>>0,e||k(t,2,this.length);let n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n},o.prototype.readInt32LE=function(t,e){return t=t>>>0,e||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t=t>>>0,e||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readBigInt64LE=K(function(t){t=t>>>0,rt(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&st(t,this.length-8);let s=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(n<<24);return(BigInt(s)<>>0,rt(t,"offset");let e=this[t],n=this[t+7];(e===void 0||n===void 0)&&st(t,this.length-8);let s=(e<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(s)<>>0,e||k(t,4,this.length),u.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t=t>>>0,e||k(t,4,this.length),u.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||k(t,8,this.length),u.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||k(t,8,this.length),u.read(this,t,!1,52,8)};function F(r,t,e,n,s,a){if(!o.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||tr.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(t,e,n,s){if(t=+t,e=e>>>0,n=n>>>0,!s){let y=Math.pow(2,8*n)-1;F(this,t,e,n,y,0)}let a=1,f=0;for(this[e]=t&255;++f>>0,n=n>>>0,!s){let y=Math.pow(2,8*n)-1;F(this,t,e,n,y,0)}let a=n-1,f=1;for(this[e+a]=t&255;--a>=0&&(f*=256);)this[e+a]=t/f&255;return e+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,1,255,0),this[e]=t&255,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,2,65535,0),this[e]=t&255,this[e+1]=t>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=t&255,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=t&255,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};function Mt(r,t,e,n,s){jt(t,n,s,r,e,7);let a=Number(t&BigInt(4294967295));r[e++]=a,a=a>>8,r[e++]=a,a=a>>8,r[e++]=a,a=a>>8,r[e++]=a;let f=Number(t>>BigInt(32)&BigInt(4294967295));return r[e++]=f,f=f>>8,r[e++]=f,f=f>>8,r[e++]=f,f=f>>8,r[e++]=f,e}function kt(r,t,e,n,s){jt(t,n,s,r,e,7);let a=Number(t&BigInt(4294967295));r[e+7]=a,a=a>>8,r[e+6]=a,a=a>>8,r[e+5]=a,a=a>>8,r[e+4]=a;let f=Number(t>>BigInt(32)&BigInt(4294967295));return r[e+3]=f,f=f>>8,r[e+2]=f,f=f>>8,r[e+1]=f,f=f>>8,r[e]=f,e+8}o.prototype.writeBigUInt64LE=K(function(t,e=0){return Mt(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=K(function(t,e=0){return kt(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(t,e,n,s){if(t=+t,e=e>>>0,!s){let v=Math.pow(2,8*n-1);F(this,t,e,n,v-1,-v)}let a=0,f=1,y=0;for(this[e]=t&255;++a>0)-y&255;return e+n},o.prototype.writeIntBE=function(t,e,n,s){if(t=+t,e=e>>>0,!s){let v=Math.pow(2,8*n-1);F(this,t,e,n,v-1,-v)}let a=n-1,f=1,y=0;for(this[e+a]=t&255;--a>=0&&(f*=256);)t<0&&y===0&&this[e+a+1]!==0&&(y=1),this[e+a]=(t/f>>0)-y&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=t&255,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,2,32767,-32768),this[e]=t&255,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=t&255,e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,4,2147483647,-2147483648),this[e]=t&255,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e=e>>>0,n||F(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4},o.prototype.writeBigInt64LE=K(function(t,e=0){return Mt(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=K(function(t,e=0){return kt(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ot(r,t,e,n,s,a){if(e+n>r.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function $t(r,t,e,n,s){return t=+t,e=e>>>0,s||Ot(r,t,e,4),u.write(r,t,e,n,23,4),e+4}o.prototype.writeFloatLE=function(t,e,n){return $t(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return $t(this,t,e,!1,n)};function Dt(r,t,e,n,s){return t=+t,e=e>>>0,s||Ot(r,t,e,8),u.write(r,t,e,n,52,8),e+8}o.prototype.writeDoubleLE=function(t,e,n){return Dt(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return Dt(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,s){if(!o.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!s&&s!==0&&(s=this.length),e>=t.length&&(e=t.length),e||(e=0),s>0&&s=this.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),t.length-e>>0,n=n===void 0?this.length:n>>>0,t||(t=0);let a;if(typeof t=="number")for(a=e;a2**32?s=Ht(String(e)):typeof e=="bigint"&&(s=String(e),(e>BigInt(2)**BigInt(32)||e<-(BigInt(2)**BigInt(32)))&&(s=Ht(s)),s+="n"),n+=` It must be ${t}. Received ${s}`,n},RangeError);function Ht(r){let t="",e=r.length,n=r[0]==="-"?1:0;for(;e>=n+4;e-=3)t=`_${r.slice(e-3,e)}${t}`;return`${r.slice(0,e)}${t}`}function Wr(r,t,e){rt(t,"offset"),(r[t]===void 0||r[t+e]===void 0)&&st(t,r.length-(e+1))}function jt(r,t,e,n,s,a){if(r>e||r= 0${f} and < 2${f} ** ${(a+1)*8}${f}`:y=`>= -(2${f} ** ${(a+1)*8-1}${f}) and < 2 ** ${(a+1)*8-1}${f}`,new et.ERR_OUT_OF_RANGE("value",y,r)}Wr(n,s,a)}function rt(r,t){if(typeof r!="number")throw new et.ERR_INVALID_ARG_TYPE(t,"number",r)}function st(r,t,e){throw Math.floor(r)!==r?(rt(r,e),new et.ERR_OUT_OF_RANGE("offset","an integer",r)):t<0?new et.ERR_BUFFER_OUT_OF_BOUNDS:new et.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${t}`,r)}let qr=/[^+/0-9A-Za-z-_]/g;function Gr(r){if(r=r.split("=")[0],r=r.trim().replace(qr,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function wt(r,t){t=t||1/0;let e,n=r.length,s=null,a=[];for(let f=0;f55295&&e<57344){if(!s){if(e>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(f+1===n){(t-=3)>-1&&a.push(239,191,189);continue}s=e;continue}if(e<56320){(t-=3)>-1&&a.push(239,191,189),s=e;continue}e=(s-55296<<10|e-56320)+65536}else s&&(t-=3)>-1&&a.push(239,191,189);if(s=null,e<128){if((t-=1)<0)break;a.push(e)}else if(e<2048){if((t-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((t-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((t-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function Xr(r){let t=[];for(let e=0;e>8,s=e%256,a.push(s),a.push(n);return a}function Yt(r){return i.toByteArray(Gr(r))}function ft(r,t,e,n){let s;for(s=0;s=t.length||s>=r.length);++s)t[s+e]=r[s];return s}function G(r,t){return r instanceof t||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===t.name}function yt(r){return r!==r}let Kr=function(){let r="0123456789abcdef",t=new Array(256);for(let e=0;e<16;++e){let n=e*16;for(let s=0;s<16;++s)t[n+s]=r[e]+r[s]}return t}();function K(r){return typeof BigInt>"u"?Qr:r}function Qr(){throw new Error("BigInt not supported")}return Z}var at,sr,ht,ar,Z,fr,pr=z(()=>{B();I();_();x();at={},sr=!1;ht={},ar=!1;Z={},fr=!1});var tt,$,Hn,jn,lr=z(()=>{B();I();_();x();pr();tt=cr();tt.Buffer;tt.SlowBuffer;tt.INSPECT_MAX_BYTES;tt.kMaxLength;$=tt.Buffer,Hn=tt.INSPECT_MAX_BYTES,jn=tt.kMaxLength});var I=z(()=>{lr()});var Tr=Ft(m=>{"use strict";B();I();_();x();var It=Symbol.for("react.transitional.element"),fn=Symbol.for("react.portal"),cn=Symbol.for("react.fragment"),pn=Symbol.for("react.strict_mode"),ln=Symbol.for("react.profiler"),hn=Symbol.for("react.consumer"),dn=Symbol.for("react.context"),mn=Symbol.for("react.forward_ref"),wn=Symbol.for("react.suspense"),yn=Symbol.for("react.memo"),Er=Symbol.for("react.lazy"),hr=Symbol.iterator;function En(i){return i===null||typeof i!="object"?null:(i=hr&&i[hr]||i["@@iterator"],typeof i=="function"?i:null)}var gr={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Br=Object.assign,xr={};function ot(i,u,c){this.props=i,this.context=u,this.refs=xr,this.updater=c||gr}ot.prototype.isReactComponent={};ot.prototype.setState=function(i,u){if(typeof i!="object"&&typeof i!="function"&&i!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,i,u,"setState")};ot.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};function _r(){}_r.prototype=ot.prototype;function Tt(i,u,c){this.props=i,this.context=u,this.refs=xr,this.updater=c||gr}var At=Tt.prototype=new _r;At.constructor=Tt;Br(At,ot.prototype);At.isPureReactComponent=!0;var dr=Array.isArray,S={H:null,A:null,T:null,S:null,V:null},Ir=Object.prototype.hasOwnProperty;function Rt(i,u,c,p,l,h){return c=h.ref,{$$typeof:It,type:i,key:u,ref:c!==void 0?c:null,props:h}}function gn(i,u){return Rt(i.type,u,void 0,void 0,void 0,i.props)}function St(i){return typeof i=="object"&&i!==null&&i.$$typeof===It}function Bn(i){var u={"=":"=0",":":"=2"};return"$"+i.replace(/[=:]/g,function(c){return u[c]})}var mr=/\/+/g;function _t(i,u){return typeof i=="object"&&i!==null&&i.key!=null?Bn(""+i.key):u.toString(36)}function wr(){}function xn(i){switch(i.status){case"fulfilled":return i.value;case"rejected":throw i.reason;default:switch(typeof i.status=="string"?i.then(wr,wr):(i.status="pending",i.then(function(u){i.status==="pending"&&(i.status="fulfilled",i.value=u)},function(u){i.status==="pending"&&(i.status="rejected",i.reason=u)})),i.status){case"fulfilled":return i.value;case"rejected":throw i.reason}}throw i}function it(i,u,c,p,l){var h=typeof i;(h==="undefined"||h==="boolean")&&(i=null);var o=!1;if(i===null)o=!0;else switch(h){case"bigint":case"string":case"number":o=!0;break;case"object":switch(i.$$typeof){case It:case fn:o=!0;break;case Er:return o=i._init,it(o(i._payload),u,c,p,l)}}if(o)return l=l(i),o=p===""?"."+_t(i,0):p,dr(l)?(c="",o!=null&&(c=o.replace(mr,"$&/")+"/"),it(l,u,c,"",function(M){return M})):l!=null&&(St(l)&&(l=gn(l,c+(l.key==null||i&&i.key===l.key?"":(""+l.key).replace(mr,"$&/")+"/")+o)),u.push(l)),1;o=0;var g=p===""?".":p+":";if(dr(i))for(var w=0;w{"use strict";B();I();_();x();Ar.exports=Tr()});B();I();_();x();B();I();_();x();(function(){try{var i=typeof globalThis<"u"||typeof globalThis<"u"||typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new i.Error().stack;u&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[u]="bad9eca9-913d-4a73-852a-e39bef349b9e",i._sentryDebugIdIdentifier="sentry-dbid-bad9eca9-913d-4a73-852a-e39bef349b9e")}catch{}})();B();I();_();x();B();I();_();x();var An=on(Rr());B();I();_();x();B();I();_();x();B();I();_();x();var Tn={OS:"web",select:i=>"web"in i?i.web:i.default,get isTesting(){return!1},get Version(){return"0.0.0"}},Ut=Tn;var Sr=!0,xi=C.env.EXPO_PUBLIC_WEBSITE==="true",_i=Ut.OS==="web";function ut(){if(!Sr)throw new Error("Attempted to access `browser` outside of an extension build.");if("chrome"in globalThis)return globalThis.chrome;if("browser"in globalThis)return globalThis.browser;throw new Error("Did not find extension global")}B();I();_();x();B();I();_();x();var vt="@trpc/request",bt="@trpc/response";var Ur="@extension/extension-context-ready",Ct="@apps/wallet-state-changed";B();I();_();x();function vr(i){let u=ut(),c=new Map,p=[],l=!i?.queueUntilReady;return u.runtime.onMessage.addListener((h,o)=>{l?(c.get(h.eventName)??[]).forEach(w=>{w(h.data,o)}):p.push({eventName:h.eventName,event:h.data,sender:o})}),{on(h,o){let g=c.get(h);g?g.push(o):c.set(h,[o])},off(h,o){let g=c.get(h);g&&g.splice(g.indexOf(o)>>>0,1)},emit(h,o,g){if(h===Ur&&!l){for(l=!0;p.length>0;){let M=p.shift();M&&(c.get(M.eventName)??[]).forEach(N=>{N(M.event,M.sender)})}return}let w={eventName:h,data:o};g?u.tabs.sendMessage(g,w):u.runtime.sendMessage(w)}}}B();I();_();x();function br(){let i=new Map;return{on(u,c){let p=l=>{l instanceof CustomEvent&&c(l.detail)};globalThis.addEventListener(u,p),i.has(u)||i.set(u,new Map),i.get(u).set(c,p)},off(u,c){let p=i.get(u)?.get(c);p&&globalThis.removeEventListener(u,p)},emit(u,c){globalThis.dispatchEvent(new CustomEvent(u,{detail:c}))}}}function Cr(){let i=br(),u=vr();i.on(vt,c=>{if(!ut().runtime.id){console.error("The extension reloaded, you need to refresh your current tab!");return}u.emit(vt,c)}),u.on(Ct,c=>{i.emit(Ct,c)}),u.on(bt,c=>{i.emit(bt,c)})}(function(u){let c=document.head||document.documentElement,p=document.createElement("script");p.setAttribute("src",ut().runtime.getURL(u)),c.insertBefore(p,c.firstElementChild),c.removeChild(p)})("dapp-interface.js");Cr();var ho=void 0;})(); /*! Bundled license information: @jspm/core/nodelibs/browser/chunk-DtuTasat.js: (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) react/cjs/react.production.js: (** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) */