PageSourceSearch

https://spherepay.co/_next/static/chunks/35192-d5cc64480c412fba.js

js spherepay.co collected 2026-10-03 23:56:52 UTC 88,329 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c9114daa-36c0-4b61-9cf7-11a201eb0c59",e._sentryDebugIdIdentifier="sentry-dbid-c9114daa-36c0-4b61-9cf7-11a201eb0c59")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35192],{22384:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(594927),i=r(245833);t.default=function(e){var t;let r=(t="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&t[6])<<4|t[7]>>4&15,(15&t[7])<<4|(240&t[4])>>4,(15&t[4])<<4|(240&t[5])>>4,(15&t[5])<<4|(240&t[0])>>4,(15&t[0])<<4|(240&t[1])>>4,(15&t[1])<<4|(240&t[2])>>4,96|15&t[2],t[3],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]));return"string"==typeof e?(0,i.unsafeStringify)(r):r}},45115:(e,t,r)=>{"use strict";var n=r(264678).Buffer;e.exports=function(e){if(e.length>=255)throw TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r<t.length;r++)t[r]=255;for(var i=0;i<e.length;i++){var o=e.charAt(i),s=o.charCodeAt(0);if(255!==t[s])throw TypeError(o+" is ambiguous");t[s]=i}var a=e.length,f=e.charAt(0),c=Math.log(a)/Math.log(256),u=Math.log(256)/Math.log(a);function l(e){if("string"!=typeof e)throw TypeError("Expected String");if(0===e.length)return n.alloc(0);for(var r=0,i=0,o=0;e[r]===f;)i++,r++;for(var s=(e.length-r)*c+1>>>0,u=new Uint8Array(s);r<e.length;){var l=e.charCodeAt(r);if(l>255)return;var h=t[l];if(255===h)return;for(var d=0,p=s-1;(0!==h||d<o)&&-1!==p;p--,d++)h+=a*u[p]>>>0,u[p]=h%256>>>0,h=h/256>>>0;if(0!==h)throw Error("Non-zero carry");o=d,r++}for(var y=s-o;y!==s&&0===u[y];)y++;var b=n.allocUnsafe(i+(s-y));b.fill(0,0,i);for(var x=i;y!==s;)b[x++]=u[y++];return b}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=n.from(t)),!n.isBuffer(t))throw TypeError("Expected Buffer");if(0===t.length)return"";for(var r=0,i=0,o=0,s=t.length;o!==s&&0===t[o];)o++,r++;for(var c=(s-o)*u+1>>>0,l=new Uint8Array(c);o!==s;){for(var h=t[o],d=0,p=c-1;(0!==h||d<i)&&-1!==p;p--,d++)h+=256*l[p]>>>0,l[p]=h%a>>>0,h=h/a>>>0;if(0!==h)throw Error("Non-zero carry");i=d,o++}for(var y=c-i;y!==c&&0===l[y];)y++;for(var b=f.repeat(r);y<c;++y)b+=e.charAt(l[y]);return b},decodeUnsafe:l,decode:function(e){var t=l(e);if(t)return t;throw Error("Non-base"+a+" character")}}}},122798:(e,t)=>{"use strict";function r(e,t,r){return t<=e&&e<=r}function n(e){if(void 0===e)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function i(e){this.tokens=[].slice.call(e)}function o(e,t){if(e)throw TypeError("Decoder error");return t||65533}i.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():-1},prepend:function(e){if(Array.isArray(e))for(;e.length;)this.tokens.unshift(e.pop());else this.tokens.unshift(e)},push:function(e){if(Array.isArray(e))for(;e.length;)this.tokens.push(e.shift());else this.tokens.push(e)}};var s="utf-8";function a(e,t){if(!(this instanceof a))return new a(e,t);
1if((e=void 0!==e?String(e).toLowerCase():s)!==s)throw Error("Encoding not supported. Only utf-8 is supported");t=n(t),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!t.fatal,this._ignoreBOM=!!t.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}function f(e,t){if(!(this instanceof f))return new f(e,t);if((e=void 0!==e?String(e).toLowerCase():s)!==s)throw Error("Encoding not supported. Only utf-8 is supported");t=n(t),this._streaming=!1,this._encoder=null,this._options={fatal:!!t.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}function c(e){var t=e.fatal,n=0,i=0,s=0,a=128,f=191;this.handler=function(e,c){if(-1===c&&0!==s)return s=0,o(t);if(-1===c)return -1;if(0===s){if(r(c,0,127))return c;if(r(c,194,223))s=1,n=c-192;else if(r(c,224,239))224===c&&(a=160),237===c&&(f=159),s=2,n=c-224;else{if(!r(c,240,244))return o(t);240===c&&(a=144),244===c&&(f=143),s=3,n=c-240}return n<<=6*s,null}if(!r(c,a,f))return n=s=i=0,a=128,f=191,e.prepend(c),o(t);if(a=128,f=191,i+=1,n+=c-128<<6*(s-i),i!==s)return null;var u=n;return n=s=i=0,u}}function u(e){e.fatal,this.handler=function(e,t){if(-1===t)return -1;if(r(t,0,127))return t;r(t,128,2047)?(n=1,i=192):r(t,2048,65535)?(n=2,i=224):r(t,65536,1114111)&&(n=3,i=240);for(var n,i,o=[(t>>6*n)+i];n>0;){var s=t>>6*(n-1);o.push(128|63&s),n-=1}return o}}a.prototype={decode:function(e,t){r="object"==typeof e&&e instanceof ArrayBuffer?new Uint8Array(e):"object"==typeof e&&"buffer"in e&&e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(0),t=n(t),this._streaming||(this._decoder=new c({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!t.stream;for(var r,o,s=new i(r),a=[];!s.endOfStream()&&-1!==(o=this._decoder.handler(s,s.read()));)null!==o&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));if(!this._streaming){do{if(-1===(o=this._decoder.handler(s,s.read())))break;if(null===o)continue;Array.isArray(o)?a.push.apply(a,o):a.push(o)}while(!s.endOfStream());this._decoder=null}!a.length||-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===a[0]?(this._BOMseen=!0,a.shift()):this._BOMseen=!0);for(var f="",u=0;u<a.length;++u){var l=a[u];l<=65535?f+=String.fromCharCode(l):(l-=65536,f+=String.fromCharCode((l>>10)+55296,(1023&l)+56320))}return f}},f.prototype={encode:function(e,t){e=e?String(e):"",t=n(t),this._streaming||(this._encoder=new u(this._options)),this._streaming=!!t.stream;for(var r,o=[],s=new i(function(e){for(var t=String(e),r=t.length,n=0,i=[];n<r;){var o=t.charCodeAt(n);if(o<55296||o>57343)i.push(o);else if(56320<=o&&o<=57343)i.push(65533);else if(55296<=o&&o<=56319)if(n===r-1)i.push(65533);else{var s=e.charCodeAt(n+1);if(56320<=s&&s<=57343){var a=1023&o,f=1023&s;i.push(65536+(a<<10)+f),n+=1}else i.push(65533)}n+=1}return i}(e));!s.endOfStream()&&-1!==(r=this._encoder.handler(s,s.read()));)Array.isArray(r)?o.push.apply(o,r):o.push(r);if(!this._streaming){for(;-1!==(r=this._encoder.handler(s,s.read()));)Array.isArray(r)?o.push.apply(o,r):o.push(r);this._encoder=null}return new Uint8Array(o)}},t.TextEncoder=f,t.TextDecoder=a},245833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsafeStringify=void 0;let n=r(794282),i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function o(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}t.unsafeStringify=o,t.default=function(e,t=0){let r=o(e,t);if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r}},263696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(794282);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},271395:(e,t,r)=>{"use strict";r.d(t,{B4:()=>b,CQ:()=>_,CW:()=>E,Ei:()=>h,F6:()=>o,F8:()=>B,P5:()=>y,R$:()=>d,R5:()=>p,TH:()=>U,Vl:()=>m,Vr:()=>v,WM:()=>x,WQ:()=>w,im:()=>g,jm:()=>f,lD:()=>s,qh:()=>l,rE:()=>c,ry:()=>u,xn:()=>a});let n=BigInt(0x100000000-1),i=BigInt(32);function o(e,t=!1){return t?{h:Number(e&n),l:Number(e>>i&n)}:{h:0|Number(e>>i&n),l:0|Number(e&n)}}function s(e,t=!1){let r=e.length,n=new Uint32Array(r),i=new Uint32Array(r);for(let s=0;s<r;s++){let{h:r,l:a}=o(e[s],t);[n[s],i[s]]=[r,a]}return[n,i]}let a=(e,t,r)=>e>>>r,f=(e,t,r)=>e<<32-r|t>>>r,c=(e,t,r)=>e>>>r|t<<32-r,u=(e,t,r)=>e<<32-r|t>>>r,l=(e,t,r)=>e<<64-r|t>>>r-32,h=(e,t,r)=>e>>>r-32|t<<64-r,d=(e,t)=>t,p=(e,t)=>e,y=(e,t,r)=>e<<r|t>>>32-r,b=(e,t,r)=>t<<r|e>>>32-r,x=(e,t,r)=>t<<r-32|e>>>64-r,g=(e,t,r)=>e<<r-32|t>>>64-r;function w(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/0x100000000|0)|0,l:0|i}}let m=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),v=(e,t,r,n)=>t+r+n+(e/0x100000000|0)|0,E=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),_=(e,t,r,n,i)=>t+r+n+i+(e/0x100000000|0)|0,B=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0),U=(e,t,r,n,i,o)=>t+r+n+i+o+(e/0x100000000|0)|0}
1,282269:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0});let n=new Uint8Array(16);t.default=function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(n)}},290351:(e,t,r)=>{"use strict";var n=r(260996).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.toBigIntLE=function(e){{let t=n.from(e);t.reverse();let r=t.toString("hex");return 0===r.length?BigInt(0):BigInt(`0x${r}`)}},t.toBigIntBE=function(e){{let t=e.toString("hex");return 0===t.length?BigInt(0):BigInt(`0x${t}`)}},t.toBufferLE=function(e,t){{let r=e.toString(16),i=n.from(r.padStart(2*t,"0").slice(0,2*t),"hex");return i.reverse(),i}},t.toBufferBE=function(e,t){{let r=e.toString(16);return n.from(r.padStart(2*t,"0").slice(0,2*t),"hex")}}},297267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="00000000-0000-0000-0000-000000000000"},304800:(e,t,r)=>{e.exports=r(45115)("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},356701:(e,t,r)=>{"use strict";r.d(t,{ev:()=>k});var n=r(33954);let i=BigInt(0x100000000-1),o=BigInt(32),s={split:function(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let s=0;s<e.length;s++){let{h:a,l:f}=function(e,t=!1){return t?{h:Number(e&i),l:Number(e>>o&i)}:{h:0|Number(e>>o&i),l:0|Number(e&i)}}(e[s],t);[r[s],n[s]]=[a,f]}return[r,n]},shrSH:(e,t,r)=>e>>>r,shrSL:(e,t,r)=>e<<32-r|t>>>r,rotrSH:(e,t,r)=>e>>>r|t<<32-r,rotrSL:(e,t,r)=>e<<32-r|t>>>r,rotrBH:(e,t,r)=>e<<64-r|t>>>r-32,rotrBL:(e,t,r)=>e>>>r-32|t<<64-r,add:function(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/0x100000000|0)|0,l:0|i}},add3L:(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),add3H:(e,t,r,n)=>t+r+n+(e/0x100000000|0)|0,add4L:(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),add4H:(e,t,r,n,i)=>t+r+n+i+(e/0x100000000|0)|0,add5H:(e,t,r,n,i,o)=>t+r+n+i+o+(e/0x100000000|0)|0,add5L:(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0)};var a=r(784567);let[f,c]=s.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e3585
15771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),u=new Uint32Array(80),l=new Uint32Array(80);class h extends n.ol{constructor(){super(128,64,16,!1),this.Ah=0x6a09e667,this.Al=-0xc4336f8,this.Bh=-0x4498517b,this.Bl=-0x7b3558c5,this.Ch=0x3c6ef372,this.Cl=-0x16b07d5,this.Dh=-0x5ab00ac6,this.Dl=0x5f1d36f1,this.Eh=0x510e527f,this.El=-0x52197d2f,this.Fh=-0x64fa9774,this.Fl=0x2b3e6c1f,this.Gh=0x1f83d9ab,this.Gl=-0x4be4295,this.Hh=0x5be0cd19,this.Hl=0x137e2179}get(){let{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:o,Dh:s,Dl:a,Eh:f,El:c,Fh:u,Fl:l,Gh:h,Gl:d,Hh:p,Hl:y}=this;return[e,t,r,n,i,o,s,a,f,c,u,l,h,d,p,y]}set(e,t,r,n,i,o,s,a,f,c,u,l,h,d,p,y){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|f,this.El=0|c,this.Fh=0|u,this.Fl=0|l,this.Gh=0|h,this.Gl=0|d,this.Hh=0|p,this.Hl=0|y}process(e,t){for(let r=0;r<16;r++,t+=4)u[r]=e.getUint32(t),l[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|u[e-15],r=0|l[e-15],n=s.rotrSH(t,r,1)^s.rotrSH(t,r,8)^s.shrSH(t,r,7),i=s.rotrSL(t,r,1)^s.rotrSL(t,r,8)^s.shrSL(t,r,7),o=0|u[e-2],a=0|l[e-2],f=s.rotrSH(o,a,19)^s.rotrBH(o,a,61)^s.shrSH(o,a,6),c=s.rotrSL(o,a,19)^s.rotrBL(o,a,61)^s.shrSL(o,a,6),h=s.add4L(i,c,l[e-7],l[e-16]),d=s.add4H(h,n,f,u[e-7],u[e-16]);u[e]=0|d,l[e]=0|h}let{Ah:r,Al:n,Bh:i,Bl:o,Ch:a,Cl:h,Dh:d,Dl:p,Eh:y,El:b,Fh:x,Fl:g,Gh:w,Gl:m,Hh:v,Hl:E}=this;for(let e=0;e<80;e++){let t=s.rotrSH(y,b,14)^s.rotrSH(y,b,18)^s.rotrBH(y,b,41),_=s.rotrSL(y,b,14)^s.rotrSL(y,b,18)^s.rotrBL(y,b,41),B=y&x^~y&w,U=b&g^~b&m,A=s.add5L(E,_,U,c[e],l[e]),I=s.add5H(A,v,t,B,f[e],u[e]),S=0|A,O=s.rotrSH(r,n,28)^s.rotrBH(r,n,34)^s.rotrBH(r,n,39),L=s.rotrSL(r,n,28)^s.rotrBL(r,n,34)^s.rotrBL(r,n,39),k=r&i^r&a^i&a,j=n&o^n&h^o&h;v=0|w,E=0|m,w=0|x,m=0|g,x=0|y,g=0|b,({h:y,l:b}=s.add(0|d,0|p,0|I,0|S)),d=0|a,p=0|h,a=0|i,h=0|o,i=0|r,o=0|n;let D=s.add3L(S,L,j);r=s.add3H(D,I,O,k),n=0|D}({h:r,l:n}=s.add(0|this.Ah,0|this.Al,0|r,0|n)),({h:i,l:o}=s.add(0|this.Bh,0|this.Bl,0|i,0|o)),({h:a,l:h}=s.add(0|this.Ch,0|this.Cl,0|a,0|h)),({h:d,l:p}=s.add(0|this.Dh,0|this.Dl,0|d,0|p)),({h:y,l:b}=s.add(0|this.Eh,0|this.El,0|y,0|b)),({h:x,l:g}=s.add(0|this.Fh,0|this.Fl,0|x,0|g)),({h:w,l:m}=s.add(0|this.Gh,0|this.Gl,0|w,0|m)),({h:v,l:E}=s.add(0|this.Hh,0|this.Hl,0|v,0|E)),this.set(r,n,i,o,a,h,d,p,y,b,x,g,w,m,v,E)}roundClean(){u.fill(0),l.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}let d=(0,a.ld)(()=>new h);var p=r(234771),y=r(778786),b=r(529785);let x=BigInt(0),g=BigInt(1),w=BigInt(2),m=BigInt(8),v={zip215:!0},E=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),_=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),B=BigInt(0),U=BigInt(1),A=BigInt(2);BigInt(3);let I=BigInt(5),S=BigInt(8);function O(e,t){let r=(0,y.zi)(t*t*t,E),n=function(e){let t=BigInt(10),r=BigInt(20),n=BigInt(40),i=BigInt(80),o=e*e%E*e%E,s=(0,y.zH)(o,A,E)*o%E,a=(0,y.zH)(s,U,E)*e%E,f=(0,y.zH)(a,I,E)*a%E,c=(0,y.zH)(f,t,E)*f%E,u=(0,y.zH)(c,r,E)*c%E,l=(0,y.zH)(u,n,E)*u%E,h=(0,y.zH)(l,i,E)*l%E,d=(0,y.zH)(h,i,E)*l%E,p=(0,y.zH)(d,t,E)*f%E;return{pow_p_5_8:(0,y.zH)(p,A,E)*e%E,b2:o}}(e*(0,y.zi)(r*r*t,E)).pow_p_5_8,i=(0,y.zi)(e*r*n,E),o=(0,y.zi)(t*i*i,E),s=i,a=(0,y.zi)(i*_,E),f=o===e,c=o===(0,y.zi)(-e,E),u=o===(0,y.zi)(-e*_,E);return f&&(i=s),(c||u)&&(i=a),(0,y.dQ)(i,E)&&(i=(0,y.zi)(-i,E)),{isValid:f||c,value:i}}let L=(0,y.D0)(E,void 0,!0),k=function(e){let t=function(e){let t=(0,p.hp)(e);return b.Q5(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...t})}(e),{Fp:r,n:n,prehash:i,hash:o,randomBytes:s,nByteLength:a,h:f}=t,c=w<<BigInt(8*a)-g,u=r.create,l=(0,y.D0)(t.n,t.nBitLength),h=t.uvRatio||((e,t)=>{try{return{isValid:!0,value:r.sqrt(e*r.inv(t))}}catch(e){return{isValid:!1,value:x}}}),d=t.adjustScalarBytes||(e=>e),E=t.domain||((e,t,r)=>{if((0,b.e8)("phflag",r),t.length||r)throw Error("Contexts/pre-hash are not supported");return e});function _(e,t){b.aK("coordinate "+e,t,x,c)}function B(e){if(!(e instanceof I))throw Error("ExtendedPoint expected")}let U=(0,b.x)((e,t)=>{let{ex:n,ey:i,ez:o}=e,s=e.is0();null==t&&(t=s?m:r.inv(o));let a=u(n*t),f=u(i*t),c=u(o*t);if(s)return{x:x,y:g};
1if(c!==g)throw Error("invZ was invalid");return{x:a,y:f}}),A=(0,b.x)(e=>{let{a:r,d:n}=t;if(e.is0())throw Error("bad point: ZERO");let{ex:i,ey:o,ez:s,et:a}=e,f=u(i*i),c=u(o*o),l=u(s*s),h=u(l*l),d=u(f*r);if(u(l*u(d+c))!==u(h+u(n*u(f*c))))throw Error("bad point: equation left != right (1)");if(u(i*o)!==u(s*a))throw Error("bad point: equation left != right (2)");return!0});class I{constructor(e,t,r,n){this.ex=e,this.ey=t,this.ez=r,this.et=n,_("x",e),_("y",t),_("z",r),_("t",n),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(e){if(e instanceof I)throw Error("extended point not allowed");let{x:t,y:r}=e||{};return _("x",t),_("y",r),new I(t,r,g,u(t*r))}static normalizeZ(e){let t=r.invertBatch(e.map(e=>e.ez));return e.map((e,r)=>e.toAffine(t[r])).map(I.fromAffine)}static msm(e,t){return(0,p.Xf)(I,l,e,t)}_setWindowSize(e){L.setWindowSize(this,e)}assertValidity(){A(this)}equals(e){B(e);let{ex:t,ey:r,ez:n}=this,{ex:i,ey:o,ez:s}=e,a=u(t*s),f=u(i*n),c=u(r*s),l=u(o*n);return a===f&&c===l}is0(){return this.equals(I.ZERO)}negate(){return new I(u(-this.ex),this.ey,this.ez,u(-this.et))}double(){let{a:e}=t,{ex:r,ey:n,ez:i}=this,o=u(r*r),s=u(n*n),a=u(w*u(i*i)),f=u(e*o),c=r+n,l=u(u(c*c)-o-s),h=f+s,d=h-a,p=f-s,y=u(l*d),b=u(h*p),x=u(l*p);return new I(y,b,u(d*h),x)}add(e){B(e);let{a:r,d:n}=t,{ex:i,ey:o,ez:s,et:a}=this,{ex:f,ey:c,ez:l,et:h}=e;if(r===BigInt(-1)){let e=u((o-i)*(c+f)),t=u((o+i)*(c-f)),r=u(t-e);if(r===x)return this.double();let n=u(s*w*h),d=u(a*w*l),p=d+n,y=t+e,b=d-n,g=u(p*r),m=u(y*b),v=u(p*b);return new I(g,m,u(r*y),v)}let d=u(i*f),p=u(o*c),y=u(a*n*h),b=u(s*l),g=u((i+o)*(f+c)-d-p),m=b-y,v=b+y,E=u(p-r*d),_=u(g*m),U=u(v*E),A=u(g*E);return new I(_,U,u(m*v),A)}subtract(e){return this.add(e.negate())}wNAF(e){return L.wNAFCached(this,e,I.normalizeZ)}multiply(e){b.aK("scalar",e,g,n);let{p:t,f:r}=this.wNAF(e);return I.normalizeZ([t,r])[0]}multiplyUnsafe(e){return(b.aK("scalar",e,x,n),e===x)?O:this.equals(O)||e===g?this:this.equals(S)?this.wNAF(e).p:L.unsafeLadder(this,e)}isSmallOrder(){return this.multiplyUnsafe(f).is0()}isTorsionFree(){return L.unsafeLadder(this,n).is0()}toAffine(e){return U(this,e)}clearCofactor(){let{h:e}=t;return e===g?this:this.multiplyUnsafe(e)}static fromHex(e,n=!1){let{d:i,a:o}=t,s=r.BYTES;e=(0,b.qj)("pointHex",e,s),(0,b.e8)("zip215",n);let a=e.slice(),f=e[s-1];a[s-1]=-129&f;let l=b.lX(a),d=n?c:r.ORDER;b.aK("pointHex.y",l,x,d);let p=u(l*l),{isValid:y,value:w}=h(u(p-g),u(i*p-o));if(!y)throw Error("Point.fromHex: invalid y coordinate");let m=(w&g)===g,v=(128&f)!=0;if(!n&&w===x&&v)throw Error("Point.fromHex: x=0 and x_0=1");return v!==m&&(w=u(-w)),I.fromAffine({x:w,y:l})}static fromPrivateKey(e){return j(e).point}toRawBytes(){let{x:e,y:t}=this.toAffine(),n=b.z(t,r.BYTES);return n[n.length-1]|=e&g?128:0,n}toHex(){return b.My(this.toRawBytes())}}I.BASE=new I(t.Gx,t.Gy,g,u(t.Gx*t.Gy)),I.ZERO=new I(x,g,g,x);let{BASE:S,ZERO:O}=I,L=(0,p.hT)(I,8*a);function k(e){var t;return t=b.lX(e),(0,y.zi)(t,n)}function j(e){e=(0,b.qj)("private key",e,a);let t=(0,b.qj)("hashed private key",o(e),2*a),r=d(t.slice(0,a)),n=t.slice(a,2*a),i=k(r),s=S.multiply(i),f=s.toRawBytes();return{head:r,prefix:n,scalar:i,point:s,pointBytes:f}}function D(e=new Uint8Array,...t){return k(o(E(b.Id(...t),(0,b.qj)("context",e),!!i)))}return S._setWindowSize(8),{CURVE:t,getPublicKey:function(e){return j(e).pointBytes},sign:function(e,t,o={}){var s;e=(0,b.qj)("message",e),i&&(e=i(e));let{prefix:f,scalar:c,pointBytes:u}=j(t),l=D(o.context,f,e),h=S.multiply(l).toRawBytes(),d=(s=l+D(o.context,h,u,e)*c,(0,y.zi)(s,n));b.aK("signature.s",d,x,n);let p=b.Id(h,b.z(d,r.BYTES));return(0,b.qj)("result",p,2*a)},verify:function(e,t,n,o=v){let s,a,f,{context:c,zip215:u}=o,l=r.BYTES;e=(0,b.qj)("signature",e,2*l),t=(0,b.qj)("message",t),void 0!==u&&(0,b.e8)("zip215",u),i&&(t=i(t));let h=b.lX(e.slice(l,2*l));try{s=I.fromHex(n,u),a=I.fromHex(e.slice(0,l),u),f=S.multiplyUnsafe(h)}catch(e){return!1}if(!u&&s.isSmallOrder())return!1;let d=D(c,a.toRawBytes(),s.toRawBytes(),t);return a.add(s.multiplyUnsafe(d)).subtract(f).clearCofactor().equals(I.ZERO)},ExtendedPoint:I,utils:{getExtendedPublicKey:j,randomPrivateKey:()=>s(r.BYTES),precompute:(e=8,t=I.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}}({a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:L,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:S,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:d,randomBytes:a.po,adjustScalarBytes:function(e){return e[0]&=248,e[31]&=127,e[3
11]|=64,e},uvRatio:O})},392977:(e,t)=>{"use strict";function r(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],n=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],i=new Uint8Array(e.length+1);i.set(e),i[e.length]=128;let o=Math.ceil(((e=i).length/4+2)/16),s=Array(o);for(let t=0;t<o;++t){let r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];s[t]=r}s[o-1][14]=(e.length-1)*8/0x100000000,s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=(e.length-1)*8|0;for(let e=0;e<o;++e){let i=new Uint32Array(80);for(let t=0;t<16;++t)i[t]=s[e][t];for(let e=16;e<80;++e)i[e]=r(i[e-3]^i[e-8]^i[e-14]^i[e-16],1);let o=n[0],a=n[1],f=n[2],c=n[3],u=n[4];for(let e=0;e<80;++e){let n=Math.floor(e/20),s=r(o,5)+function(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}(n,a,f,c)+u+t[n]+i[e]>>>0;u=c,c=f,f=r(a,30)>>>0,a=o,o=s}n[0]=n[0]+o>>>0,n[1]=n[1]+a>>>0,n[2]=n[2]+f>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+u>>>0}return Uint8Array.of(n[0]>>24,n[0]>>16,n[0]>>8,n[0],n[1]>>24,n[1]>>16,n[1]>>8,n[1],n[2]>>24,n[2]>>16,n[2]>>8,n[2],n[3]>
vendor: 4,327 bytes, line 1
1>24,n[3]>>16,n[3]>>8,n[3],n[4]>>24,n[4]>>16,n[4]>>8,n[4])}},400836:function(e,t,r){"use strict";var n=r(260996).Buffer,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&i(t,e,r);return o(t,e),t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.deserializeUnchecked=t.deserialize=t.serialize=t.BinaryReader=t.BinaryWriter=t.BorshError=t.baseDecode=t.baseEncode=void 0;let c=f(r(495163)),u=f(r(304800)),l=a(r(122798)),h=new("function"!=typeof TextDecoder?l.TextDecoder:TextDecoder)("utf-8",{fatal:!0});t.baseEncode=function(e){return"string"==typeof e&&(e=n.from(e,"utf8")),u.default.encode(n.from(e))},t.baseDecode=function(e){return n.from(u.default.decode(e))};class d extends Error{constructor(e){super(e),this.fieldPath=[],this.originalMessage=e}addToFieldPath(e){this.fieldPath.splice(0,0,e),this.message=this.originalMessage+": "+this.fieldPath.join(".")}}t.BorshError=d;class p{constructor(){this.buf=n.alloc(1024),this.length=0}maybeResize(){this.buf.length<16+this.length&&(this.buf=n.concat([this.buf,n.alloc(1024)]))}writeU8(e){this.maybeResize(),this.buf.writeUInt8(e,this.length),this.length+=1}writeU16(e){this.maybeResize(),this.buf.writeUInt16LE(e,this.length),this.length+=2}writeU32(e){this.maybeResize(),this.buf.writeUInt32LE(e,this.length),this.length+=4}writeU64(e){this.maybeResize(),this.writeBuffer(n.from(new c.default(e).toArray("le",8)))}writeU128(e){this.maybeResize(),this.writeBuffer(n.from(new c.default(e).toArray("le",16)))}writeU256(e){this.maybeResize(),this.writeBuffer(n.from(new c.default(e).toArray("le",32)))}writeU512(e){this.maybeResize(),this.writeBuffer(n.from(new c.default(e).toArray("le",64)))}writeBuffer(e){this.buf=n.concat([n.from(this.buf.subarray(0,this.length)),e,n.alloc(1024)]),this.length+=e.length}writeString(e){this.maybeResize();let t=n.from(e,"utf8");this.writeU32(t.length),this.writeBuffer(t)}writeFixedArray(e){this.writeBuffer(n.from(e))}writeArray(e,t){for(let r of(this.maybeResize(),this.writeU32(e.length),e))this.maybeResize(),t(r)}toArray(){return this.buf.subarray(0,this.length)}}function y(e,t,r){let n=r.value;r.value=function(...e){try{return n.apply(this,e)}catch(e){if(e instanceof RangeError&&["ERR_BUFFER_OUT_OF_BOUNDS","ERR_OUT_OF_RANGE"].indexOf(e.code)>=0)throw new d("Reached the end of buffer when deserializing");throw e}}}t.BinaryWriter=p;class b{constructor(e){this.buf=e,this.offset=0}readU8(){let e=this.buf.readUInt8(this.offset);return this.offset+=1,e}readU16(){let e=this.buf.readUInt16LE(this.offset);return this.offset+=2,e}readU32(){let e=this.buf.readUInt32LE(this.offset);return this.offset+=4,e}readU64(){let e=this.readBuffer(8);return new c.default(e,"le")}readU128(){let e=this.readBuffer(16);return new c.default(e,"le")}readU256(){let e=this.readBuffer(32);return new c.default(e,"le")}readU512(){let e=this.readBuffer(64);return new c.default(e,"le")}readBuffer(e){if(this.offset+e>this.buf.length)throw new d(`Expected buffer length ${e} isn't within bounds`);let t=this.buf.slice(this.offset,this.offset+e);return this.offset+=e,t}readString(){let e=this.readU32(),t=this.readBuffer(e);try{return h.decode(t)}catch(e){throw new d(`Error decoding UTF-8 string: ${e}`)}}readFixedArray(e){return new Uint8Array(this.readBuffer(e))}readArray(e){let t=this.readU32(),r=[];for(let n=0;n<t;++n)r.push(e());return r}}function x(e){return e.charAt(0).toUpperCase()+e.slice(1)}function g(e,t,r,n,i){try{if("string"==typeof n)i[`write${x(n)}`](r);
1else if(n instanceof Array)if("number"==typeof n[0]){if(r.length!==n[0])throw new d(`Expecting byte array of length ${n[0]}, but got ${r.length} bytes`);i.writeFixedArray(r)}else if(2===n.length&&"number"==typeof n[1]){if(r.length!==n[1])throw new d(`Expecting byte array of length ${n[1]}, but got ${r.length} bytes`);for(let t=0;t<n[1];t++)g(e,null,r[t],n[0],i)}else i.writeArray(r,r=>{g(e,t,r,n[0],i)});else if(void 0!==n.kind)switch(n.kind){case"option":null==r?i.writeU8(0):(i.writeU8(1),g(e,t,r,n.type,i));break;case"map":i.writeU32(r.size),r.forEach((r,o)=>{g(e,t,o,n.key,i),g(e,t,r,n.value,i)});break;default:throw new d(`FieldType ${n} unrecognized`)}else w(e,r,i)}catch(e){throw e instanceof d&&e.addToFieldPath(t),e}}function w(e,t,r){if("function"==typeof t.borshSerialize)return void t.borshSerialize(r);let n=e.get(t.constructor);if(!n)throw new d(`Class ${t.constructor.name} is missing in schema`);if("struct"===n.kind)n.fields.map(([n,i])=>{g(e,n,t[n],i,r)});else if("enum"===n.kind){let i=t[n.field];for(let o=0;o<n.values.length;++o){let[s,a]=n.values[o];if(s===i){r.writeU8(o),g(e,s,t[s],a,r);break}}}else throw new d(`Unexpected schema kind: ${n.kind} for ${t.constructor.name}`)}function m(e,t,r,n){try{if("string"==typeof r)return n[`read${x(r)}`]();if(r instanceof Array)if("number"==typeof r[0])return n.readFixedArray(r[0]);else{if("number"!=typeof r[1])return n.readArray(()=>m(e,t,r[0],n));let i=[];for(let t=0;t<r[1];t++)i.push(m(e,null,r[0],n));return i}if("option"===r.kind){if(n.readU8())return m(e,t,r.type,n);return}if("map"===r.kind){let i=new Map,o=n.readU32();for(let s=0;s<o;s++){let o=m(e,t,r.key,n),s=m(e,t,r.value,n);i.set(o,s)}return i}return v(e,r,n)}catch(e){throw e instanceof d&&e.addToFieldPath(t),e}}function v(e,t,r){if("function"==typeof t.borshDeserialize)return t.borshDeserialize(r);let n=e.get(t);if(!n)throw new d(`Class ${t.name} is missing in schema`);if("struct"===n.kind){let n={};for(let[i,o]of e.get(t).fields)n[i]=m(e,i,o,r);return new t(n)}if("enum"===n.kind){let i=r.readU8();if(i>=n.values.length)throw new d(`Enum index: ${i} is out of range`);let[o,s]=n.values[i],a=m(e,o,s,r);return new t({[o]:a})}throw new d(`Unexpected schema kind: ${n.kind} for ${t.constructor.name}`)}s([y],b.prototype,"readU8",null),s([y],b.prototype,"readU16",null),s([y],b.prototype,"readU32",null),s([y],b.prototype,"readU64",null),s([y],b.prototype,"readU128",null),s([y],b.prototype,"readU256",null),s([y],b.prototype,"readU512",null),s([y],b.prototype,"readString",null),s([y],b.prototype,"readFixedArray",null),s([y],b.prototype,"readArray",null),t.BinaryReader=b,t.serialize=function(e,t,r=p){let n=new r;return w(e,t,n),n.toArray()},t.deserialize=function(e,t,r,n=b){let i=new n(r),o=v(e,t,i);if(i.offset<r.length)throw new d(`Unexpected ${r.length-i.offset} bytes after deserialized data`);return o},t.deserializeUnchecked=function(e,t,r,n=b){return v(e,t,new n(r))}},445988:(e,t)=>{"use strict";function r(e){return(e+64>>>9<<4)+14+1}function n(e,t){let r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,i,o,s){var a;return n((a=n(n(t,e),n(i,s)))<<o|a>>>32-o,r)}function o(e,t,r,n,o,s,a){return i(t&r|~t&n,e,t,o,s,a)}function s(e,t,r,n,o,s,a){return i(t&n|r&~n,e,t,o,s,a)}function a(e,t,r,n,o,s,a){return i(t^r^n,e,t,o,s,a)}function f(e,t,r,n,o,s,a){return i(r^(t|~n),e,t,o,s,a)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(e,t){let i=new Uint32Array(r(t)).fill(0);i.set(e),i[t>>5]|=128<<t%32,i[i.length-1]=t,e=i;let c=0x67452301,u=-0x10325477,l=-0x67452302,h=0x10325476;for(let t=0;t<e.length;t+=16){let r=c,i=u,d=l,p=h;c=o(c,u,l,h,e[t],7,-0x28955b88),h=o(h,c,u,l,e[t+1],12,-0x173848aa),l=o(l,h,c,u,e[t+2],17,0x242070db),u=o(u,l,h,c,e[t+3],22,-0x3e423112),c=o(c,u,l,h,e[t+4],7,-0xa83f051),h=o(h,c,u,l,e[t+5],12,0x4787c62a),l=o(l,h,c,u,e[t+6],17,-0x57cfb9ed),u=o(u,l,h,c,e[t+7],22,-0x2b96aff),c=o(c,u,l,h,e[t+8],7,0x698098d8),h=o(h,c,u,l,e[t+9],12,-0x74bb0851),l=o(l,h,c,u,e[t+10],17,-42063),u=o(u,l,h,c,e[t+11],22,-0x76a32842),c=o(c,u,l,h,e[t+12],7,0x6b901122),h=o(h,c,u,l,e[t+13],12,-0x2678e6d),l=o(l,h,c,u,e[t+14],17,-0x5986bc72),u=o(u,l,h,c,e[t+15],22,0x49b40821),c=s(c,u,l,h,e[t+1],5,-0x9e1da9e),h=s(h,c,u,l,e[t+6],9,-0x3fbf4cc0),l=s(l,h,c,u,e[t+11],14,0x265e5a51),u=s(u,l,h,c,e[t],20,-0x16493856),c=s(c,u,l,h,e[t+5],5,-0x29d0efa3),h=s(h,c,u,l,e[t+10],9,0
1x2441453),l=s(l,h,c,u,e[t+15],14,-0x275e197f),u=s(u,l,h,c,e[t+4],20,-0x182c0438),c=s(c,u,l,h,e[t+9],5,0x21e1cde6),h=s(h,c,u,l,e[t+14],9,-0x3cc8f82a),l=s(l,h,c,u,e[t+3],14,-0xb2af279),u=s(u,l,h,c,e[t+8],20,0x455a14ed),c=s(c,u,l,h,e[t+13],5,-0x561c16fb),h=s(h,c,u,l,e[t+2],9,-0x3105c08),l=s(l,h,c,u,e[t+7],14,0x676f02d9),u=s(u,l,h,c,e[t+12],20,-0x72d5b376),c=a(c,u,l,h,e[t+5],4,-378558),h=a(h,c,u,l,e[t+8],11,-0x788e097f),l=a(l,h,c,u,e[t+11],16,0x6d9d6122),u=a(u,l,h,c,e[t+14],23,-0x21ac7f4),c=a(c,u,l,h,e[t+1],4,-0x5b4115bc),h=a(h,c,u,l,e[t+4],11,0x4bdecfa9),l=a(l,h,c,u,e[t+7],16,-0x944b4a0),u=a(u,l,h,c,e[t+10],23,-0x41404390),c=a(c,u,l,h,e[t+13],4,0x289b7ec6),h=a(h,c,u,l,e[t],11,-0x155ed806),l=a(l,h,c,u,e[t+3],16,-0x2b10cf7b),u=a(u,l,h,c,e[t+6],23,0x4881d05),c=a(c,u,l,h,e[t+9],4,-0x262b2fc7),h=a(h,c,u,l,e[t+12],11,-0x1924661b),l=a(l,h,c,u,e[t+15],16,0x1fa27cf8),u=a(u,l,h,c,e[t+2],23,-0x3b53a99b),c=f(c,u,l,h,e[t],6,-0xbd6ddbc),h=f(h,c,u,l,e[t+7],10,0x432aff97),l=f(l,h,c,u,e[t+14],15,-0x546bdc59),u=f(u,l,h,c,e[t+5],21,-0x36c5fc7),c=f(c,u,l,h,e[t+12],6,0x655b59c3),h=f(h,c,u,l,e[t+3],10,-0x70f3336e),l=f(l,h,c,u,e[t+10],15,-1051523),u=f(u,l,h,c,e[t+1],21,-0x7a7ba22f),c=f(c,u,l,h,e[t+8],6,0x6fa87e4f),h=f(h,c,u,l,e[t+15],10,-0x1d31920),l=f(l,h,c,u,e[t+6],15,-0x5cfebcec),u=f(u,l,h,c,e[t+13],21,0x4e0811a1),c=f(c,u,l,h,e[t+4],6,-0x8ac817e),h=f(h,c,u,l,e[t+11],10,-0x42c50dcb),l=f(l,h,c,u,e[t+2],15,0x2ad7d2bb),u=f(u,l,h,c,e[t+9],21,-0x14792c6f),c=n(c,r),u=n(u,i),l=n(l,d),h=n(h,p)}return Uint32Array.of(c,u,l,h)}(function(e){if(0===e.length)return new Uint32Array;let t=new Uint32Array(r(8*e.length)).fill(0);for(let r=0;r<e.length;r++)t[r>>2]|=(255&e[r])<<r%4*8;return t}(e),8*e.length);let i=new Uint8Array(4*t.length);for(let e=0;e<4*t.length;e++)i[e]=t[e>>2]>>>e%4*8&255;return i}},478368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(245833),i=r(883085),o=r(22384);t.default=function(e,t,r){e??={},r??=0;let s=(0,i.default)({...e,_v6:!0},new Uint8Array(16));if(s=(0,o.default)(s),t){if(r<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;e++)t[r+e]=s[e];return t}return(0,n.unsafeStringify)(s)}},512787:(e,t,r)=>{"use strict";r.d(t,{KC:()=>A,KJ:()=>x,L5:()=>I,NW:()=>U,PV:()=>B,YO:()=>y,Yj:()=>_,ai:()=>m,au:()=>S,bz:()=>p,eu:()=>g,g1:()=>E,lq:()=>v,me:()=>w,vA:()=>u,vt:()=>l,zM:()=>b});class n extends TypeError{constructor(e,t){let r,{message:n,explanation:i,...o}=e,{path:s}=e,a=0===s.length?n:`At path: ${s.join(".")} -- ${n}`;super(i??a),null!=i&&(this.cause=a),Object.assign(this,o),this.name=this.constructor.name,this.failures=()=>r??(r=[e,...t()])}}function i(e){return"object"==typeof e&&null!=e}function o(e){return i(e)&&!Array.isArray(e)}function s(e){return"symbol"==typeof e?e.toString():"string"==typeof e?JSON.stringify(e):`${e}`}function*a(e,t,r,n){var o;for(let a of(i(o=e)&&"function"==typeof o[Symbol.iterator]||(e=[e]),e)){let e=function(e,t,r,n){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});let{path:i,branch:o}=t,{type:a}=r,{refinement:f,message:c=`Expected a value of type \`${a}\`${f?` with refinement \`${f}\``:""}, but received: \`${s(n)}\``}=e;return{value:n,type:a,refinement:f,key:i[i.length-1],path:i,branch:o,...e,message:c}}(a,t,r,n);e&&(yield e)}}function*f(e,t,r={}){let{path:n=[],branch:o=[e],coerce:s=!1,mask:a=!1}=r,c={path:n,branch:o,mask:a};s&&(e=t.coercer(e,c));let u="valid";for(let n of t.validator(e,c))n.explanation=r.message,u="not_valid",yield[n,void 0];for(let[l,h,d]of t.entries(e,c))for(let t of f(h,d,{path:void 0===l?n:[...n,l],branch:void 0===l?o:[...o,h],coerce:s,mask:a,message:r.message}))t[0]?(u=null!=t[0].refinement?"not_refined":"not_valid",yield[t[0],void 0]):s&&(h=t[1],void 0===l?e=h:e instanceof Map?e.set(l,h):e instanceof Set?e.add(h):i(e)&&(void 0!==h||l in e)&&(e[l]=h));if("not_valid"!==u)for(let n of t.refiner(e,c))n.explanation=r.message,u="not_refined",yield[n,void 0];"valid"===u&&(yield[void 0,e])}class c{constructor(e){let{type:t,schema:r,validator:n,refiner:i,coercer:o=e=>e,entries:s=function*(){}}=e;this.type=t,this.schema=r,this.entries=s,this.coercer=o,n?this.validator=(e,t)=>
1a(n(e,t),t,this,e):this.validator=()=>[],i?this.refiner=(e,t)=>a(i(e,t),t,this,e):this.refiner=()=>[]}assert(e,t){return u(e,this,t)}create(e,t){return l(e,this,t)}is(e){var t,r;return t=e,r=this,!h(t,r)[0]}mask(e,t){var r=e,n=this,i=t;let o=h(r,n,{coerce:!0,mask:!0,message:i});if(!o[0])return o[1];throw o[0]}validate(e,t={}){return h(e,this,t)}}function u(e,t,r){let n=h(e,t,{message:r});if(n[0])throw n[0]}function l(e,t,r){let n=h(e,t,{coerce:!0,message:r});if(!n[0])return n[1];throw n[0]}function h(e,t,r={}){let i=f(e,t,r),o=function(e){let{done:t,value:r}=e.next();return t?void 0:r}(i);return o[0]?[new n(o[0],function*(){for(let e of i)e[0]&&(yield e[0])}),void 0]:[void 0,o[1]]}function d(e,t){return new c({type:e,schema:null,validator:t})}function p(){return d("any",()=>!0)}function y(e){return new c({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(let[r,n]of t.entries())yield[r,n,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: ${s(e)}`})}function b(){return d("boolean",e=>"boolean"==typeof e)}function x(e){return d("instance",t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${s(t)}`)}function g(e){let t=s(e),r=typeof e;return new c({type:"literal",schema:"string"===r||"number"===r||"boolean"===r?e:null,validator:r=>r===e||`Expected the literal \`${t}\`, but received: ${s(r)}`})}function w(e){return new c({...e,validator:(t,r)=>null===t||e.validator(t,r),refiner:(t,r)=>null===t||e.refiner(t,r)})}function m(){return d("number",e=>"number"==typeof e&&!isNaN(e)||`Expected a number, but received: ${s(e)}`)}function v(e){return new c({...e,validator:(t,r)=>void 0===t||e.validator(t,r),refiner:(t,r)=>void 0===t||e.refiner(t,r)})}function E(e,t){return new c({type:"record",schema:null,*entries(r){if(i(r))for(let n in r){let i=r[n];yield[n,n,e],yield[n,i,t]}},validator:e=>o(e)||`Expected an object, but received: ${s(e)}`,coercer:e=>o(e)?{...e}:e})}function _(){return d("string",e=>"string"==typeof e||`Expected a string, but received: ${s(e)}`)}function B(e){let t=d("never",()=>!1);return new c({type:"tuple",schema:null,*entries(r){if(Array.isArray(r)){let n=Math.max(e.length,r.length);for(let i=0;i<n;i++)yield[i,r[i],e[i]||t]}},validator:e=>Array.isArray(e)||`Expected an array, but received: ${s(e)}`,coercer:e=>Array.isArray(e)?e.slice():e})}function U(e){let t=Object.keys(e);return new c({type:"type",schema:e,*entries(r){if(i(r))for(let n of t)yield[n,r[n],e[n]]},validator:e=>o(e)||`Expected an object, but received: ${s(e)}`,coercer:e=>o(e)?{...e}:e})}function A(e){let t=e.map(e=>e.type).join(" | ");return new c({type:"union",schema:null,coercer(t,r){for(let n of e){let[e,i]=n.validate(t,{coerce:!0,mask:r.mask});if(!e)return i}return t},validator(r,n){let i=[];for(let t of e){let[...e]=f(r,t,n),[o]=e;if(!o[0])return[];for(let[t]of e)t&&i.push(t)}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${s(r)}`,...i]}})}function I(){return d("unknown",()=>!0)}function S(e,t,r){return new c({...e,coercer:(n,i)=>h(n,t)[0]?e.coercer(n,i):e.coercer(r(n,i),i)})}},576744:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,s){if("function"!=typeof n)throw TypeError("The listener must be a function");var a=new i(n,o||e,s),f=r?r+t:t;return e._events[f]?e._events[f].fn?e._events[f]=[e._events[f],a]:e._events[f].push(a):(e._events[f]=a,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function a(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),a.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},a.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,s=Array(o);i<o;i++)s[i]=n[i].fn;return s},a.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},a.prototype.emit=function(e,t,n,i,o,s){var a=r?r+e:e;if(!this._events[a])return!1;var f,c,u=this._events[a],l=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),l){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,i),!0;case 5:return u.fn.call(u.context,t,n,i,o),!0;case 6:return u.fn.call(u.context,t,n,i,o,s),!0}for(c=1,f=Array(l-1);c<l;c++)f[c-1]=arguments[c];u.fn.apply(u.context,f)}else{var h,d=u.length;for(c=0;c<d;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),l){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,i);break;default:if(!f)for(h=1,f=Array(l-1);h<l;h++)f[h-1]=arguments[h];u[c].fn.apply(u[c].context,f)}}return!0},a.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},a.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},a.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return s(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||i&&!a.once||n&&a.context!==n||s(this,o);else{for(var f=0,c=[],u=a.length;f<u;f++)(a[f].fn!==t||i&&!a[f].once||n&&a[f].context!==n)&&c.push(a[f]);c.length?this._events[o]=1===c.length?c[0]:c:s(this,o)}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new n,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=r,a.EventEmitter=a,e.exports=a},577156:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});let n=r(594927),i=r(245833);t.default=function(e){var t;let r=(t="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&t[3])<<4|t[4]>>4&15,(15&t[4])<<4|(240&t[5])>>4,(15&t[5])<<4|15&t[6],t[7],(15&t[1])<<4|(240&t[2])>>4,(15&t[2])<<4|(240&t[3])>>4,16|(240&t[0])>>4,(15&t[0])<<4|(240&t[1])>>4,t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]));return"string"==typeof e?(0,i.unsafeStringify)(r):r}},590375:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i},594927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(794282);t.default=function(e){let t;if(!(0,n.default)(e))throw TypeError("Invalid UUID");return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,255&t,(t=parseInt(e.slice(9,13),16))>>>8,255&t,(t=parseInt(e.slice(14,18),16))>>>8,255&t,(t=parseInt(e.slice(19,23),16))>>>8,255&t,(t=parseInt(e.slice(24,36),16))/0x10000000000&255,t/0x100000000&255,t>>>24&255,t>>>16&255,t>>>8&255,255&t)}},614659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV7State=void 0;let n=r(282269),i=r(245833),o={};function s(e,t,r){return e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=r[6]<<23|r[7]<<16|r[8]<<8|r[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++),e}function a(e,t,r,n,i=0){if(e.length<16)throw Error("Random bytes length must be >= 16");if(n){if(i<0||i+16>n.length)throw RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`)}else n=new Uint8Array(16),i=0;return t??=Date.now(),r??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],n[i++]=t/0x10000000000&255,n[i++]=t/0x100000000&255,n[i++]=t/0x1000000&255,n[i++]=t/65536&255,n[i++]=t/256&255,n[i++]=255&t,n[i++]=112|r>>>28&15,n[i++]=r>>>20&255,n[i++]=128|r>>>14&63,n[i++]=r>>>6&255,n[i++]=r<<2&255|3&e[10],n[i++]=e[11],n[i++]=e[12],n[i++]=e[13],n[i++]=e[14],n[i++]=e[15],n}t.updateV7State=s,t.default=function(e,t,r){let f;if(e)f=a(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.seq,t,r);else{let e=Date.now(),i=(0,n.default)();s(o,e,i),f=a(i,o.msecs,o.seq,t,r)}return t??(0,i.unsafeStringify)(f)}},634222:(e,t,r)=>{"use strict";r.d(t,{C2:()=>v,lY:()=>E});var n=r(271395),i=r(948607);let o=BigInt(0),s=BigInt(1),a=BigInt(2),f=BigInt(7),c=BigInt(256),u=BigInt(113),l=[],h=[],d=[];for(let e=0,t=s,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],l.push(2*(5*n+r)),h.push((e+1)*(e+2)/2%64);let i=o;for(let e=0;e<7;e++)(t=(t<<s^(t>>f)*u)%c)&a&&(i^=s<<(s<<BigInt(e))-s);d.push(i)}let p=(0,n.lD)(d,!0),y=p[0],b=p[1],x=(e,t,r)=>r>32?(0,n.WM)(e,t,r):(0,n.P5)(e,t,r),g=(e,t,r)=>r>32?(0,n.im)(e,t,r):(0,n.B4)(e,t,r);class w extends i.Vw{constructor(e,t,r,n=!1,o=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=n,this.rounds=o,(0,i.Fe)(r),!(0<e&&e<200))throw Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,i.DH)(this.state)}clone(){return this._cloneInto()}keccak(){(0,i.fd)(this.state32),function(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,o=r[i],s=r[i+1],a=x(o,s,1)^r[n],f=g(o,s,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=a,e[t+r+1]^=f}let t=e[2],i=e[3];for(let r=0;r<24;r++){let n=h[r],o=x(t,i,n),s=g(t,i,n),a=l[r];t=e[a],i=e[a+1],e[a]=o,e[a+1]=s}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=y[n],e[1]^=b[n]}(0,i.uH)(r)}(this.state32,this.rounds),(0,i.fd)(this.state32),this.posOut=0,this.pos=0}update(e){(0,i.CC)(this),e=(0,i.ZJ)(e),(0,i.DO)(e);let{blockLen:t,state:r}=this,n=e.length;for(let i=0;i<n;){let o=Math.min(t-this.pos,n-i);for(let t=0;t<o;t++)r[this.pos++]^=e[i++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,(128&t)!=0&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){(0,i.CC)(this,!1),(0,i.DO)(e),this.finish();let t=this.state,{blockLen:r}=this;for(let n=0,i=e.length;n<i;){this.posOut>=r&&this.keccak();let o=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,i.Fe)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,i.Ht)(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,i.uH)(this.state)}_cloneInto(e){let{blockLen:t,suffix:r,outputLen:n,rounds:i,enableXOF:o}=this;return e||(e=new w(t,r,n,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=r,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}let m=(e,t,r)=>(0,i.qj)(()=>new w(t,e,r)),v=m(6,136,32),E=m(1,136,32)},712743:(e,t,r)=>{"use strict";r.d(t,{Az:()=>c,DM:()=>f,TQ:()=>o,ol:()=>s,r9:()=>i,tT:()=>u,yc:()=>a});var n=r(948607);function i(e,t,r){return e&t^~e&r}function o(e,t,r){return e&t^e&r^t&r}
1class s extends n.Vw{constructor(e,t,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=(0,n.O8)(this.buffer)}update(e){(0,n.CC)(this),e=(0,n.ZJ)(e),(0,n.DO)(e);let{view:t,buffer:r,blockLen:i}=this,o=e.length;for(let s=0;s<o;){let a=Math.min(i-this.pos,o-s);if(a===i){let t=(0,n.O8)(e);for(;i<=o-s;s+=i)this.process(t,s);continue}r.set(e.subarray(s,s+a),this.pos),this.pos+=a,s+=a,this.pos===i&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,n.CC)(this),(0,n.Ht)(e,this),this.finished=!0;let{buffer:t,view:r,blockLen:i,isLE:o}=this,{pos:s}=this;t[s++]=128,(0,n.uH)(this.buffer.subarray(s)),this.padOffset>i-s&&(this.process(r,0),s=0);for(let e=s;e<i;e++)t[e]=0;!function(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);let i=BigInt(32),o=BigInt(0xffffffff),s=Number(r>>i&o),a=Number(r&o),f=4*!!n,c=4*!n;e.setUint32(t+f,s,n),e.setUint32(t+c,a,n)}(r,i-8,BigInt(8*this.length),o),this.process(r,0);let a=(0,n.O8)(e),f=this.outputLen;if(f%4)throw Error("_sha2: outputLen should be aligned to 32bit");let c=f/4,u=this.get();if(c>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e<c;e++)a.setUint32(4*e,u[e],o)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:r,length:n,finished:i,destroyed:o,pos:s}=this;return e.destroyed=o,e.finished=i,e.length=n,e.pos=s,n%t&&e.buffer.set(r),e}clone(){return this._cloneInto()}}let a=Uint32Array.from([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),f=Uint32Array.from([0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]),c=Uint32Array.from([0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]),u=Uint32Array.from([0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179])},717922:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},731014:(e,t,r)=>{"use strict";let n=r(770296).v4;e.exports=function(e,t,r,i){if("string"!=typeof e)throw TypeError(e+" must be a string");let o="number"==typeof(i=i||{}).version?i.version:2;if(1!==o&&2!==o)throw TypeError(o+" must be 1 or 2");let s={method:e};if(2===o&&(s.jsonrpc="2.0"),t){if("object"!=typeof t&&!Array.isArray(t))throw TypeError(t+" must be an object, array or omitted");s.params=t}return void 0===r?s.id=("function"==typeof i.generator?i.generator:function(){return n()})(s,i):2===o&&null===r?i.notificationIdNull&&(s.id=null):s.id=r,s}},751977:(e,t,r)=>{"use strict";r.d(t,{Zf:()=>b,sc:()=>y});var n=r(712743),i=r(271395),o=r(948607);let s=Uint32Array.from([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),a=new Uint32Array(64);class f extends n.ol{constructor(e=32){super(64,e,8,!1),this.A=0|n.yc[0],this.B=0|n.yc[1],this.C=0|n.yc[2],this.D=0|n.yc[3],this.E=0|n.yc[4],this.F=0|n.yc[5],this.G=0|n.yc[6],this.H=0|n.yc[7]}get(){let{A:e,B:t,C:r,D:n,E:i,F:o,G:s,H:a}=this;return[e,t,r,n,i,o,s,a]}set(e,t,r,n,i,o,s,a){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let r=0;r<16;r++,t+=4)a[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=a[e-15],r=a[e-2],n=(0,o.Ow)(t,7)^(0,o.Ow)(t,18)^t>>>3,i=(0,o.Ow)(r,17)^(0,o.Ow)(r,19)^r>>>10;a[e]=i+a[e-7]+n+a[e-16]|0}let{A:r,B:i,C:f,D:c,E:u,F:l,G:h,H:d}=this;for(let e=0;e<64;e++){let t=d+((0,o.Ow)(u,6)^(0,o.Ow)(u,11)^(0,o.Ow)(u,25))+(0,n.r9)(u,l,h)+s[e]+a[e]|0,p=((0,o.Ow)(r,2)^(0,o.Ow)(r,13)^(0,o.Ow)(r,22))+(0,n.TQ)(r,i,f)|0;d=h,h=l,l=u,u=c+t|0,c=f,f=i,i=r,r=t+p|0}r=r+this.A|0,i=i+this.B|0,f=f+this.C|0,c=c+this.D|0,u=u+this.E|0,l=l+this.F|0,h=h+this.G|0,d=d+this.H|0,this.set(r,i,f,c,u,l,h,d)}roundClean(){(0,o.uH)(a)}destroy(){this.set(0,0,0,0,0,0,0,0),(0,o.uH)(this.buffer)}}let c=i.lD(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b89
16f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),u=c[0],l=c[1],h=new Uint32Array(80),d=new Uint32Array(80);class p extends n.ol{constructor(e=64){super(128,e,16,!1),this.Ah=0|n.tT[0],this.Al=0|n.tT[1],this.Bh=0|n.tT[2],this.Bl=0|n.tT[3],this.Ch=0|n.tT[4],this.Cl=0|n.tT[5],this.Dh=0|n.tT[6],this.Dl=0|n.tT[7],this.Eh=0|n.tT[8],this.El=0|n.tT[9],this.Fh=0|n.tT[10],this.Fl=0|n.tT[11],this.Gh=0|n.tT[12],this.Gl=0|n.tT[13],this.Hh=0|n.tT[14],this.Hl=0|n.tT[15]}get(){let{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:o,Dh:s,Dl:a,Eh:f,El:c,Fh:u,Fl:l,Gh:h,Gl:d,Hh:p,Hl:y}=this;return[e,t,r,n,i,o,s,a,f,c,u,l,h,d,p,y]}set(e,t,r,n,i,o,s,a,f,c,u,l,h,d,p,y){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|f,this.El=0|c,this.Fh=0|u,this.Fl=0|l,this.Gh=0|h,this.Gl=0|d,this.Hh=0|p,this.Hl=0|y}process(e,t){for(let r=0;r<16;r++,t+=4)h[r]=e.getUint32(t),d[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|h[e-15],r=0|d[e-15],n=i.rE(t,r,1)^i.rE(t,r,8)^i.xn(t,r,7),o=i.ry(t,r,1)^i.ry(t,r,8)^i.jm(t,r,7),s=0|h[e-2],a=0|d[e-2],f=i.rE(s,a,19)^i.qh(s,a,61)^i.xn(s,a,6),c=i.ry(s,a,19)^i.Ei(s,a,61)^i.jm(s,a,6),u=i.CW(o,c,d[e-7],d[e-16]),l=i.CQ(u,n,f,h[e-7],h[e-16]);h[e]=0|l,d[e]=0|u}let{Ah:r,Al:n,Bh:o,Bl:s,Ch:a,Cl:f,Dh:c,Dl:p,Eh:y,El:b,Fh:x,Fl:g,Gh:w,Gl:m,Hh:v,Hl:E}=this;for(let e=0;e<80;e++){let t=i.rE(y,b,14)^i.rE(y,b,18)^i.qh(y,b,41),_=i.ry(y,b,14)^i.ry(y,b,18)^i.Ei(y,b,41),B=y&x^~y&w,U=b&g^~b&m,A=i.F8(E,_,U,l[e],d[e]),I=i.TH(A,v,t,B,u[e],h[e]),S=0|A,O=i.rE(r,n,28)^i.qh(r,n,34)^i.qh(r,n,39),L=i.ry(r,n,28)^i.Ei(r,n,34)^i.Ei(r,n,39),k=r&o^r&a^o&a,j=n&s^n&f^s&f;v=0|w,E=0|m,w=0|x,m=0|g,x=0|y,g=0|b,({h:y,l:b}=i.WQ(0|c,0|p,0|I,0|S)),c=0|a,p=0|f,a=0|o,f=0|s,o=0|r,s=0|n;let D=i.Vl(S,L,j);r=i.Vr(D,I,O,k),n=0|D}({h:r,l:n}=i.WQ(0|this.Ah,0|this.Al,0|r,0|n)),({h:o,l:s}=i.WQ(0|this.Bh,0|this.Bl,0|o,0|s)),({h:a,l:f}=i.WQ(0|this.Ch,0|this.Cl,0|a,0|f)),({h:c,l:p}=i.WQ(0|this.Dh,0|this.Dl,0|c,0|p)),({h:y,l:b}=i.WQ(0|this.Eh,0|this.El,0|y,0|b)),({h:x,l:g}=i.WQ(0|this.Fh,0|this.Fl,0|x,0|g)),({h:w,l:m}=i.WQ(0|this.Gh,0|this.Gl,0|w,0|m)),({h:v,l:E}=i.WQ(0|this.Hh,0|this.Hl,0|v,0|E)),this.set(r,n,o,s,a,f,c,p,y,b,x,g,w,m,v,E)}roundClean(){(0,o.uH)(h,d)}destroy(){(0,o.uH)(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}let y=(0,o.qj)(()=>new f),b=(0,o.qj)(()=>new p)},753442:(e,t,r)=>{"use strict";r.d(t,{sc:()=>n});let n=r(751977).sc},770296:(e,t,r)=>{"use strict";t.v4=void 0,r(717922),r(297267),r(594927),r(245833),r(883085),r(22384),r(783351);var n=r(794526);Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return n.default}}),r(795353),r(478368),r(577156),r(614659),r(794282),r(263696)},783351:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;let n=r(445988),i=r(962062);var o=r(962062);function s(e,t,r,o){return(0,i.default)(48,n.default,e,t,r,o)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return o.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return o.URL}}),s.DNS=i.DNS,s.URL=i.URL,t.default=s},794282:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});let n=r(590375);t.default=function(e){return"string"==typeof e&&n.default.test(e)}},794526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(881479),i=r(282269),o=r(245833);t.default=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();let s=(e=e||{}).random??e.rng?.()??(0,i.default)();if(s.length<16)throw Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=s[e];return t}return(0,o.unsafeStringify)(s)}},795353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;let n=r(392977),i=r(962062);var o=r(962062);function s(e,t,r,o){return(0,i.default)(80,n.default,e,t,r,o)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return o.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return o.URL}}),s.DNS=i.DNS,s.URL=i.URL,t.default=s},801610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.s16=t.s8=t.nu64be=t.u48be=t.u40be=t.u32be=t.u24be=t.u16be=t.nu64=t.u48=t.u40=t.u32=t.u24=t.u16=t.u8=t.offset=t.greedy=t.Constant=t.UTF8=t.CString=t.Blob=t.Boolean=t.BitField=t.BitStructure=t.VariantLayout=t.Union=t.UnionLayoutDiscriminator=t.UnionDiscriminator=t.Structure=t.Sequence=t.DoubleBE=t.Double=t.FloatBE=t.Float=t.NearInt64BE=t.NearInt64=t.NearUInt64BE=t.NearUInt64=t.IntBE=t.Int=t.UIntBE=t.UInt=t.OffsetLayout=t.GreedyCount=t.ExternalLayout=t.bindConstructorLayout=t.nameWithProperty=t.Layout=t.uint8ArrayToBuffer=t.checkUint8Array=void 0,t.constant=t.utf8=t.cstr=t.blob=t.unionLayoutDiscriminator=t.union=t.seq=t.bits=t.struct=t.f64be=t.f64=t.f32be=t.f32=t.ns64be=t.s48be=t.s40be=t.s32be=t.s24be=t.s16be=t.ns64=t.s48=t.s40=t.s32=t.s24=void 0;let n=r(260996);function i(e){if(!(e instanceof Uint8Array))throw TypeError("b must be a Uint8Array")}function o(e){return i(e),n.Buffer.from(e.buffer,e.byteOffset,e.length)}t.checkUint8Array=i,t.uint8ArrayToBuffer=o;class s{constructor(e,t){if(!Number.isInteger(e))throw TypeError("span must be an integer");this.span=e,this.property=t}makeDestinationObject(){return{}}getSpan(e,t){if(0>this.span)throw RangeError("indeterminate span");return this.span}replicate(e){let t=Object.create(this.constructor.prototype);return Object.assign(t,this),t.property=e,t}fromArray(e){}}function a(e,t){return t.property?e+"["+t.property+"]":e}t.Layout=s,t.nameWithProperty=a,t.bindConstructorLayout=function(e,t){if("function"!=typeof e)throw TypeError("Class must be constructor");if(Object.prototype.hasOwnProperty.call(e,"layout_"))throw Error("Class is already bound to a layout");if(!(t&&t instanceof s))throw TypeError("layout must be a Layout");if(Object.prototype.hasOwnProperty.call(t,"boundConstructor_"))throw Error("layout is already bound to a constructor");e.layout_=t,t.boundConstructor_=e,t.makeDestinationObject=()=>new e,Object.defineProperty(e.prototype,"encode",{value(e,r){return t.encode(this,e,r)},writable:!0}),Object.defineProperty(e,"decode",{value:(e,r)=>t.decode(e,r),writable:!0})};class f extends s{isCount(){throw Error("ExternalLayout is abstract")}}t.ExternalLayout=f;class c extends f{constructor(e=1,t){if(!Number.isInteger(e)||0>=e)throw TypeError("elementSpan must be a (positive) integer");super(-1,t),this.elementSpan=e}isCount(){return!0}decode(e,t=0){return i(e),Math.floor((e.length-t)/this.elementSpan)}encode(e,t,r){return 0}}t.GreedyCount=c;class u extends f{constructor(e,t=0,r){if(!(e instanceof s))throw TypeError("layout must be a Layout");if(!Number.isInteger(t))throw TypeError("offset must be integer or undefined");super(e.span,r||e.property),this.layout=e,this.offset=t}isCount(){return this.layout instanceof l||this.layout instanceof h}decode(e,t=0){return this.layout.decode(e,t+this.offset)}encode(e,t,r=0){return this.layout.encode(e,t,r+this.offset)}}t.OffsetLayout=u;class l extends s{constructor(e,t){if(super(e,t),6<this.span)throw RangeError("span must not exceed 6 bytes")}decode(e,t=0){return o(e).readUIntLE(t,this.span)}encode(e,t,r=0){return o(t).writeUIntLE(e,r,this.span),this.span}}t.UInt=l;class h extends s{constructor(e,t){if(super(e,t),6<this.span)throw RangeError("span must not exceed 6 bytes")}decode(e,t=0){return o(e).readUIntBE(t,this.span)}encode(e,t,r=0){return o(t).writeUIntBE(e,r,this.span),this.span}}t.UIntBE=h;class d extends s{constructor(e,t){if(super(e,t),6<this.span)throw RangeError("span must not exceed 6 bytes")}decode(e,t=0){return o(e).readIntLE(t,this.span)}encode(e,t,r=0){return o(t).writeIntLE(e,r,this.span),this.span}}t.Int=d;class p extends s{constructor(e,t){if(super(e,t),6<this.span)throw RangeError("span must not exceed 6 bytes")}decode(e,t=0){return o(e).readIntBE(t,this.span)}encode(e,t,r=0){return o(t).writeIntBE(e,r,this.span),this.span}}function y(e){let t=Math.floor(e/0x100000000);return{hi32:t,lo32:e-0x100000000*t}}function b(e,t){return 0x100000000*e+t}t.IntBE=p;class x extends s{constructor(e){super(8,e)}decode(e,t=0){let r=o(e),n=r.readUInt32LE(t);return b(r.readUInt32LE(t+4),n)}encode(e,t,r=0){let n=y(e),i=o(t);return i.writeUInt32LE(n.lo32,r),i.writeUInt32LE(n.hi32,r+4),8}}t.NearUInt64=x;class g extends s{constructor(e){super(8,e)}decode(e,t=0){let r=o(e);return b(r.readUInt32BE(t),r.readUInt32BE(t+4))}encode(e,t,r=0){let n=y(e),i=o(t);return i.writeUInt32BE(n.hi32,r),i.writeUInt32BE(n.lo32,r+4),8}}t.NearUInt64BE=g;class w extends s{constructor(e){super(8,e)}decode(e,t=0){let r=o(e),n=r.readUInt32LE(t);return b(r.readInt32LE(t+4),n)}encode(e,t,r=0){let n=y(e),i=o(t);return i.writeUInt32LE(n.lo32,r),i.writeInt32LE(n.hi32,r+4),8}}t.NearInt64=w;class m extends s{constructor(e){super(8,e)}decode(e,t=0){let r=o(e);return b(r.readInt32BE(t),r.readUInt32BE(t+4))}encode(e,t,r=0){let n=y(e),i=o(t);return i.writeInt32BE(n.hi32,r),i.writeUInt32BE(n.lo32,r+4),8}}t.NearInt64BE=m;class v extends s{constructor(e){super(4,e)}decode(e,t=0){return o(e).readFloatLE(t)}encode(e,t,r=0){return o(t).writeFloatLE(e,r),4}}t.Float=v;class E extends s{constructor(e){super(4,e)}decode(e,t=0){return o(e).readFloatBE(t)}encode(e,t,r=0){return o(t).writeFloatBE(e,r),4}}t.FloatBE=E;class _ extends s{constructor(e){super(8,e)}decode(e,t=0){return o(e).readDoubleLE(t)}encode(e,t,r=0){return o(t).writeDoubleLE(e,r),8}}t.Double=_;class B extends s{constructor(e){super(8,e)}decode(e,t=0){return o(e).readDoubleBE(t)}encode(e,t,r=0){return o(t).writeDoubleBE(e,r),8}}t.DoubleBE=B;class U extends s{constructor(e,t,r){if(!(e instanceof s))throw TypeError("elementLayout must be a Layout");if(!(t instanceof f&&t.isCount()||Number.isInteger(t)&&0<=t))throw TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");let n=-1;t instanceof f||!(0<e.span)||(n=t*e.span),super(n,r),this.elementLayout=e,this.count=t}getSpan(e,t=0){if(0<=this.span)return this.span;let r=0,n=this.count;if(n instanceof f&&(n=n.decode(e,t)),0<this.elementLayout.span)r=n*this.elementLayout.span;else{let i=0;for(;i<n;)r+=this.elementLayout.getSpan(e,t+r),++i}return r}decode(e,t=0){let r=[],n=0,i=this.count;for(i instanceof f&&(i=i.decode(e,t));n<i;)r.push(this.elementLayout.decode(e,t)),t+=this.elementLayout.getSpan(e,t),n+=1;return r}encode(e,t,r=0){let n=this.elementLayout,i=e.reduce((e,i)=>e+n.encode(i,t,r+e),0);return this.count instanceof f&&this.count.encode(e.length,t,r),i}}t.Sequence=U;class A extends s{constructor(e,t,r){if(!(Array.isArray(e)&&e.reduce((e,t)=>
1e&&t instanceof s,!0)))throw TypeError("fields must be array of Layout instances");for(let n of("boolean"==typeof t&&void 0===r&&(r=t,t=void 0),e))if(0>n.span&&void 0===n.property)throw Error("fields cannot contain unnamed variable-length layout");let n=-1;try{n=e.reduce((e,t)=>e+t.getSpan(),0)}catch(e){}super(n,t),this.fields=e,this.decodePrefixes=!!r}getSpan(e,t=0){if(0<=this.span)return this.span;let r=0;try{r=this.fields.reduce((r,n)=>{let i=n.getSpan(e,t);return t+=i,r+i},0)}catch(e){throw RangeError("indeterminate span")}return r}decode(e,t=0){i(e);let r=this.makeDestinationObject();for(let n of this.fields)if(void 0!==n.property&&(r[n.property]=n.decode(e,t)),t+=n.getSpan(e,t),this.decodePrefixes&&e.length===t)break;return r}encode(e,t,r=0){let n=r,i=0,o=0;for(let n of this.fields){let s=n.span;if(o=0<s?s:0,void 0!==n.property){let i=e[n.property];void 0!==i&&(o=n.encode(i,t,r),0>s&&(s=n.getSpan(t,r)))}i=r,r+=s}return i+o-n}fromArray(e){let t=this.makeDestinationObject();for(let r of this.fields)void 0!==r.property&&0<e.length&&(t[r.property]=e.shift());return t}layoutFor(e){if("string"!=typeof e)throw TypeError("property must be string");for(let t of this.fields)if(t.property===e)return t}offsetOf(e){if("string"!=typeof e)throw TypeError("property must be string");let t=0;for(let r of this.fields){if(r.property===e)return t;0>r.span?t=-1:0<=t&&(t+=r.span)}}}t.Structure=A;class I{constructor(e){this.property=e}decode(e,t){throw Error("UnionDiscriminator is abstract")}encode(e,t,r){throw Error("UnionDiscriminator is abstract")}}t.UnionDiscriminator=I;class S extends I{constructor(e,t){if(!(e instanceof f&&e.isCount()))throw TypeError("layout must be an unsigned integer ExternalLayout");super(t||e.property||"variant"),this.layout=e}decode(e,t){return this.layout.decode(e,t)}encode(e,t,r){return this.layout.encode(e,t,r)}}t.UnionLayoutDiscriminator=S;class O extends s{constructor(e,t,r){let n;if(e instanceof l||e instanceof h)n=new S(new u(e));else if(e instanceof f&&e.isCount())n=new S(e);else if(e instanceof I)n=e;else throw TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");if(void 0===t&&(t=null),!(null===t||t instanceof s))throw TypeError("defaultLayout must be null or a Layout");if(null!==t){if(0>t.span)throw Error("defaultLayout must have constant span");void 0===t.property&&(t=t.replicate("content"))}let i=-1;t&&0<=(i=t.span)&&(e instanceof l||e instanceof h)&&(i+=n.layout.span),super(i,r),this.discriminator=n,this.usesPrefixDiscriminator=e instanceof l||e instanceof h,this.defaultLayout=t,this.registry={};let o=this.defaultGetSourceVariant.bind(this);this.getSourceVariant=function(e){return o(e)},this.configGetSourceVariant=function(e){o=e.bind(this)}}getSpan(e,t=0){if(0<=this.span)return this.span;let r=this.getVariant(e,t);if(!r)throw Error("unable to determine span for unrecognized variant");return r.getSpan(e,t)}defaultGetSourceVariant(e){if(Object.prototype.hasOwnProperty.call(e,this.discriminator.property)){if(this.defaultLayout&&this.defaultLayout.property&&Object.prototype.hasOwnProperty.call(e,this.defaultLayout.property))return;let t=this.registry[e[this.discriminator.property]];if(t&&(!t.layout||t.property&&Object.prototype.hasOwnProperty.call(e,t.property)))return t}else for(let t in this.registry){let r=this.registry[t];if(r.property&&Object.prototype.hasOwnProperty.call(e,r.property))return r}throw Error("unable to infer src variant")}decode(e,t=0){let r,n=this.discriminator,i=n.decode(e,t),o=this.registry[i];if(void 0===o){let o=this.defaultLayout,s=0;this.usesPrefixDiscriminator&&(s=n.layout.span),(r=this.makeDestinationObject())[n.property]=i,r[o.property]=o.decode(e,t+s)}else r=o.decode(e,t);return r}encode(e,t,r=0){let n=this.getSourceVariant(e);if(void 0===n){let n=this.discriminator,i=this.defaultLayout,o=0;return this.usesPrefixDiscriminator&&(o=n.layout.span),n.encode(e[n.property],t,r),o+i.encode(e[i.property],t,r+o)}return n.encode(e,t,r)}addVariant(e,t,r){let n=new L(this,e,t,r);return this.registry[e]=n,n}getVariant(e,t=0){let r;return r=e instanceof Uint8Array?this.discriminator.decode(e,t):e,this.registry[r]}}t.Union=O;class L extends s{constructor(e,t,r,n){if(!(e instanceof O))throw TypeError("union must be a Union");if(!Number.isInteger(t)||0>t)throw TypeError("variant must be a (non-negative) integer");if("string"==typeof r&&void 0===n&&(n=r,r=null),r){if(!(r instanceof s))throw TypeError("layout must be a Layout");
1if(null!==e.defaultLayout&&0<=r.span&&r.span>e.defaultLayout.span)throw Error("variant span exceeds span of containing union");if("string"!=typeof n)throw TypeError("variant must have a String property")}let i=e.span;0>e.span&&0<=(i=r?r.span:0)&&e.usesPrefixDiscriminator&&(i+=e.discriminator.layout.span),super(i,n),this.union=e,this.variant=t,this.layout=r||null}getSpan(e,t=0){if(0<=this.span)return this.span;let r=0;this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span);let n=0;return this.layout&&(n=this.layout.getSpan(e,t+r)),r+n}decode(e,t=0){let r=this.makeDestinationObject();if(this!==this.union.getVariant(e,t))throw Error("variant mismatch");let n=0;return this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span),this.layout?r[this.property]=this.layout.decode(e,t+n):this.property?r[this.property]=!0:this.union.usesPrefixDiscriminator&&(r[this.union.discriminator.property]=this.variant),r}encode(e,t,r=0){let n=0;if(this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span),this.layout&&!Object.prototype.hasOwnProperty.call(e,this.property))throw TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,t,r);let i=n;if(this.layout&&(this.layout.encode(e[this.property],t,r+n),i+=this.layout.getSpan(t,r+n),0<=this.union.span&&i>this.union.span))throw Error("encoded variant overruns containing union");return i}fromArray(e){if(this.layout)return this.layout.fromArray(e)}}function k(e){return 0>e&&(e+=0x100000000),e}t.VariantLayout=L;class j extends s{constructor(e,t,r){if(!(e instanceof l||e instanceof h))throw TypeError("word must be a UInt or UIntBE layout");if("string"==typeof t&&void 0===r&&(r=t,t=!1),4<e.span)throw RangeError("word cannot exceed 32 bits");super(e.span,r),this.word=e,this.msb=!!t,this.fields=[];let n=0;this._packedSetValue=function(e){return n=k(e),this},this._packedGetValue=function(){return n}}decode(e,t=0){let r=this.makeDestinationObject(),n=this.word.decode(e,t);for(let t of(this._packedSetValue(n),this.fields))void 0!==t.property&&(r[t.property]=t.decode(e));return r}encode(e,t,r=0){let n=this.word.decode(t,r);for(let t of(this._packedSetValue(n),this.fields))if(void 0!==t.property){let r=e[t.property];void 0!==r&&t.encode(r)}return this.word.encode(this._packedGetValue(),t,r)}addField(e,t){let r=new D(this,e,t);return this.fields.push(r),r}addBoolean(e){let t=new T(this,e);return this.fields.push(t),t}fieldFor(e){if("string"!=typeof e)throw TypeError("property must be string");for(let t of this.fields)if(t.property===e)return t}}t.BitStructure=j;class D{constructor(e,t,r){if(!(e instanceof j))throw TypeError("container must be a BitStructure");if(!Number.isInteger(t)||0>=t)throw TypeError("bits must be positive integer");let n=8*e.span,i=e.fields.reduce((e,t)=>e+t.bits,0);if(t+i>n)throw Error("bits too long for span remainder ("+(n-i)+" of "+n+" remain)");this.container=e,this.bits=t,this.valueMask=(1<<t)-1,32===t&&(this.valueMask=0xffffffff),this.start=i,this.container.msb&&(this.start=n-i-t),this.wordMask=k(this.valueMask<<this.start),this.property=r}decode(e,t){return k(this.container._packedGetValue()&this.wordMask)>>>this.start}encode(e){if("number"!=typeof e||!Number.isInteger(e)||e!==k(e&this.valueMask))throw TypeError(a("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);let t=this.container._packedGetValue(),r=k(e<<this.start);this.container._packedSetValue(k(t&~this.wordMask)|r)}}t.BitField=D;class T extends D{constructor(e,t){super(e,1,t)}decode(e,t){return!!super.decode(e,t)}encode(e){"boolean"==typeof e&&(e*=1),super.encode(e)}}t.Boolean=T;class z extends s{constructor(e,t){if(!(e instanceof f&&e.isCount()||Number.isInteger(e)&&0<=e))throw TypeError("length must be positive integer or an unsigned integer ExternalLayout");let r=-1;e instanceof f||(r=e),super(r,t),this.length=e}getSpan(e,t){let r=this.span;return 0>r&&(r=this.length.decode(e,t)),r}decode(e,t=0){let r=this.span;return 0>r&&(r=this.length.decode(e,t)),o(e).slice(t,t+r)}encode(e,t,r){let n=this.length;if(this.length instanceof f&&(n=e.length),!(e instanceof Uint8Array&&n===e.length))throw TypeError(a("Blob.encode",this)+" requires (length "+n+") Uint8Array as src");if(r+n>t.length)throw RangeError("encoding overruns Uint8Array");let i=o(e);return o(t).write(i.toString("hex"),r,n,"hex"),this.length instanceof f&&this.length.encode(n,t,r),n}}t.Blob=z;class P extends s{constructor(e){super(-1,e)}getSpan(e,t=0){i(e);let r=t;for(;r<e.length&&0!==e[r];)r+=1;return 1+r-t}decode(e,t=0){let r=this.getSpan(e,t);return o(e).slice(t,t+r-1).toString("utf-8")}encode(e,t,r=0){"string"!=typeof e&&(e=String(e));let i=n.Buffer.from(e,"utf8"),s=i.length;if(r+s>t.length)throw RangeError("encoding overruns Buffer");let a=o(t);return i.copy(a,r),a[r+s]=0,s+1}}t.CString=P;class H extends s{constructor(e,t){if("string"==typeof e&&void 0===t&&(t=e,e=void 0),void 0===e)e=-1;else if(!Number.isInteger(e))throw TypeError("maxSpan must be an integer");super(-1,t),this.maxSpan=e}getSpan(e,t=0){return i(e),e.length-t}decode(e,t=0){let r=this.getSpan(e,t);if(0<=this.maxSpan&&this.maxSpan<r)throw RangeError("text length exceeds maxSpan");return o(e).slice(t,t+r).toString("utf-8")}encode(e,t,r=0){"string"!=typeof e&&(e=String(e));let i=n.Buffer.from(e,"utf8"),s=i.length;if(0<=this.maxSpan&&this.maxSpan<s)throw RangeError("text length exceeds maxSpan");if(r+s>t.length)throw RangeError("encoding overruns Buffer");return i.copy(o(t),r),s}}t.UTF8=H;class C extends s{constructor(e,t){super(0,t),this.value=e}decode(e,t){return this.value}encode(e,t,r){return 0}}t.Constant=C,t.greedy=(e,t)=>new c(e,t),t.offset=(e,t,r)=>new u(e,t,r),t.u8=e=>new l(1,e),t.u16=e=>new l(2,e),t.u24=e=>new l(3,e),t.u32=e=>new l(4,e),t.u40=e=>new l(5,e),t.u48=e=>new l(6,e),t.nu64=e=>new x(e),t.u16be=e=>new h(2,e),t.u24be=e=>new h(3,e),t.u32be=e=>new h(4,e),t.u40be=e=>new h(5,e),t.u48be=e=>new h(6,e),t.nu64be=e=>new g(e),t.s8=e=>new d(1,e),t.s16=e=>
1new d(2,e),t.s24=e=>new d(3,e),t.s32=e=>new d(4,e),t.s40=e=>new d(5,e),t.s48=e=>new d(6,e),t.ns64=e=>new w(e),t.s16be=e=>new p(2,e),t.s24be=e=>new p(3,e),t.s32be=e=>new p(4,e),t.s40be=e=>new p(5,e),t.s48be=e=>new p(6,e),t.ns64be=e=>new m(e),t.f32=e=>new v(e),t.f32be=e=>new E(e),t.f64=e=>new _(e),t.f64be=e=>new B(e),t.struct=(e,t,r)=>new A(e,t,r),t.bits=(e,t,r)=>new j(e,t,r),t.seq=(e,t,r)=>new U(e,t,r),t.union=(e,t,r)=>new O(e,t,r),t.unionLayoutDiscriminator=(e,t)=>new S(e,t),t.blob=(e,t)=>new z(e,t),t.cstr=e=>new P(e),t.utf8=(e,t)=>new H(e,t),t.constant=(e,t)=>new C(e,t)},816297:(e,t,r)=>{"use strict";let n=r(770296).v4,i=r(731014),o=function(e,t){if(!(this instanceof o))return new o(e,t);t||(t={}),this.options={reviver:void 0!==t.reviver?t.reviver:null,replacer:void 0!==t.replacer?t.replacer:null,generator:void 0!==t.generator?t.generator:function(){return n()},version:void 0!==t.version?t.version:2,notificationIdNull:"boolean"==typeof t.notificationIdNull&&t.notificationIdNull},this.callServer=e};e.exports=o,o.prototype.request=function(e,t,r,n){let o,s=this,a=null,f=Array.isArray(e)&&"function"==typeof t;if(1===this.options.version&&f)throw TypeError("JSON-RPC 1.0 does not support batching");let c=!f&&e&&"object"==typeof e&&"function"==typeof t;if(f||c)n=t,a=e;else{"function"==typeof r&&(n=r,r=void 0);let o="function"==typeof n;try{a=i(e,t,r,{generator:this.options.generator,version:this.options.version,notificationIdNull:this.options.notificationIdNull})}catch(e){if(o)return n(e);throw e}if(!o)return a}try{o=JSON.stringify(a,this.options.replacer)}catch(e){return n(e)}return this.callServer(o,function(e,t){s._parseResponse(e,t,n)}),a},o.prototype._parseResponse=function(e,t,r){let n;if(e)return void r(e);if(!t)return r();try{n=JSON.parse(t,this.options.reviver)}catch(e){return r(e)}if(3===r.length)if(!Array.isArray(n))return r(null,n.error,n.result);else{let e=function(e){return void 0!==e.error};return r(null,n.filter(e),n.filter(function(t){return!e(t)}))}r(null,n)}},881479:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},883083:(e,t,r)=>{"use strict";r.d(t,{bI:()=>h});var n=r(852405),i=r(931395),o=r(778786);let s=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),a=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),f=BigInt(1),c=BigInt(2),u=(e,t)=>(e+t/c)/t,l=(0,o.D0)(s,void 0,void 0,{sqrt:function(e){let t=BigInt(3),r=BigInt(6),n=BigInt(11),i=BigInt(22),a=BigInt(23),f=BigInt(44),u=BigInt(88),h=e*e*e%s,d=h*h*e%s,p=(0,o.zH)(d,t,s)*d%s,y=(0,o.zH)(p,t,s)*d%s,b=(0,o.zH)(y,c,s)*h%s,x=(0,o.zH)(b,n,s)*b%s,g=(0,o.zH)(x,i,s)*x%s,w=(0,o.zH)(g,f,s)*g%s,m=(0,o.zH)(w,u,s)*w%s,v=(0,o.zH)(m,f,s)*g%s,E=(0,o.zH)(v,t,s)*d%s,_=(0,o.zH)(E,a,s)*x%s,B=(0,o.zH)(_,r,s)*h%s,U=(0,o.zH)(B,c,s);if(!l.eql(l.sqr(U),e))throw Error("Cannot find square root");return U}}),h=(0,i.s)({a:BigInt(0),b:BigInt(7),Fp:l,n:a,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-f*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),n=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=BigInt("0x100000000000000000000000000000000"),s=u(t*e,a),c=u(-r*e,a),l=(0,o.zi)(e-s*t-c*n,a),h=(0,o.zi)(-s*r-c*t,a),d=l>i,p=h>i;if(d&&(l=a-l),p&&(h=a-h),l>i||h>i)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:d,k1:l,k2neg:p,k2:h}}}},n.sc);BigInt(0),h.ProjectivePoint},883085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV1State=void 0;let n=r(282269),i=r(245833),o={};function s(e,t,r){return e.msecs??=-1/0,e.nsecs??=0,t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=r.slice(10,16),e.node[0]|=1,e.clockseq=(r[8]<<8|r[9])&16383),e.msecs=t,e}function a(e,t,r,n,i,o,s=0){if(e.length<16)throw Error("Random bytes length must be >= 16");if(o){if(s<0||s+16>o.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`)}else o=new Uint8Array(16),s=0;t??=Date.now(),r??=0,n??=(e[8]<<8|e[9])&16383,i??=e.slice(10,16);let f=((0xfffffff&(t+=122192928e5))*1e4+r)%0x100000000;o[s++]=f>>>24&255,o[s++]=f>>>16&255,o[s++]=f>>>8&255,o[s++]=255&f;let c=t/0x100000000*1e4&0xfffffff;o[s++]=c>>>8&255,o[s++]=255&c,o[s++]=c>>>24&15|16,o[s++]=c>>>16&255,o[s++]=n>>>8|128,o[s++]=255&n;for(let e=0;e<6;++e)o[s++]=i[e];return o}t.updateV1State=s,t.default=function(e,t,r){let f,c=e?._v6??!1;if(e){let t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e)f=a(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.nsecs,e.clockseq,e.node,t,r);else{let e=Date.now(),i=(0,n.default)();s(o,e,i),f=a(i,o.msecs,o.nsecs,c?void 0:o.clockseq,c?void 0:o.node,t,r)}return t??(0,i.unsafeStringify)(f)}},942302:(e,t,r)=>{"use strict";r.d(t,{vE:()=>f,kb:()=>s});var n=r(260996),i=r(576744),o=class extends i{socket;constructor(e,t,r){super(),this.socket=new window.WebSocket(e,r),this.socket.onopen=()=>
1this.emit("open"),this.socket.onmessage=e=>this.emit("message",e.data),this.socket.onerror=e=>this.emit("error",e),this.socket.onclose=e=>{this.emit("close",e.code,e.reason)}}send(e,t,r){let n=r||t;try{this.socket.send(e),n()}catch(e){n(e)}}close(e,t){this.socket.close(e,t)}addEventListener(e,t,r){this.socket.addEventListener(e,t,r)}};function s(e,t){return new o(e,t)}var a=class{encode(e){return JSON.stringify(e)}decode(e){return JSON.parse(e)}},f=class extends i{address;rpc_id;queue;options;autoconnect;ready;reconnect;reconnect_timer_id;reconnect_interval;max_reconnects;rest_options;current_reconnects;generate_request_id;socket;webSocketFactory;dataPack;constructor(e,t="ws://localhost:8080",{autoconnect:r=!0,reconnect:n=!0,reconnect_interval:i=1e3,max_reconnects:o=5,...s}={},f,c){super(),this.webSocketFactory=e,this.queue={},this.rpc_id=0,this.address=t,this.autoconnect=r,this.ready=!1,this.reconnect=n,this.reconnect_timer_id=void 0,this.reconnect_interval=i,this.max_reconnects=o,this.rest_options=s,this.current_reconnects=0,this.generate_request_id=f||(()=>++this.rpc_id),c?this.dataPack=c:this.dataPack=new a,this.autoconnect&&this._connect(this.address,{autoconnect:this.autoconnect,reconnect:this.reconnect,reconnect_interval:this.reconnect_interval,max_reconnects:this.max_reconnects,...this.rest_options})}connect(){this.socket||this._connect(this.address,{autoconnect:this.autoconnect,reconnect:this.reconnect,reconnect_interval:this.reconnect_interval,max_reconnects:this.max_reconnects,...this.rest_options})}call(e,t,r,n){return n||"object"!=typeof r||(n=r,r=null),new Promise((i,o)=>
vendor: 2,474 bytes, line 1
1{if(!this.ready)return o(Error("socket not ready"));let s=this.generate_request_id(e,t);this.socket.send(this.dataPack.encode({jsonrpc:"2.0",method:e,params:t||void 0,id:s}),n,e=>{if(e)return o(e);this.queue[s]={promise:[i,o]},r&&(this.queue[s].timeout=setTimeout(()=>{delete this.queue[s],o(Error("reply timeout"))},r))})})}async login(e){let t=await this.call("rpc.login",e);if(!t)throw Error("authentication failed");return t}async listMethods(){return await this.call("__listMethods")}notify(e,t){return new Promise((r,n)=>{if(!this.ready)return n(Error("socket not ready"));this.socket.send(this.dataPack.encode({jsonrpc:"2.0",method:e,params:t}),e=>{if(e)return n(e);r()})})}async subscribe(e){"string"==typeof e&&(e=[e]);let t=await this.call("rpc.on",e);if("string"==typeof e&&"ok"!==t[e])throw Error("Failed subscribing to an event '"+e+"' with: "+t[e]);return t}async unsubscribe(e){"string"==typeof e&&(e=[e]);let t=await this.call("rpc.off",e);if("string"==typeof e&&"ok"!==t[e])throw Error("Failed unsubscribing from an event with: "+t);return t}close(e,t){this.socket.close(e||1e3,t)}setAutoReconnect(e){this.reconnect=e}setReconnectInterval(e){this.reconnect_interval=e}setMaxReconnects(e){this.max_reconnects=e}_connect(e,t){clearTimeout(this.reconnect_timer_id),this.socket=this.webSocketFactory(e,t),this.socket.addEventListener("open",()=>{this.ready=!0,this.emit("open"),this.current_reconnects=0}),this.socket.addEventListener("message",({data:e})=>{e instanceof ArrayBuffer&&(e=n.Buffer.from(e).toString());try{e=this.dataPack.decode(e)}catch(e){return}if(e.notification&&this.listeners(e.notification).length){if(!Object.keys(e.params).length)return this.emit(e.notification);let t=[e.notification];if(e.params.constructor===Object)t.push(e.params);else for(let r=0;r<e.params.length;r++)t.push(e.params[r]);return Promise.resolve().then(()=>{this.emit.apply(this,t)})}if(!this.queue[e.id])return e.method?Promise.resolve().then(()=>{this.emit(e.method,e?.params)}):void 0;"error"in e=="result"in e&&this.queue[e.id].promise[1](Error('Server response malformed. Response must include either "result" or "error", but not both.')),this.queue[e.id].timeout&&clearTimeout(this.queue[e.id].timeout),e.error?this.queue[e.id].promise[1](e.error):this.queue[e.id].promise[0](e.result),delete this.queue[e.id]}),this.socket.addEventListener("error",e=>this.emit("error",e)),this.socket.addEventListener("close",({code:r,reason:n})=>{this.ready&&setTimeout(()=>
1this.emit("close",r,n),0),this.ready=!1,this.socket=void 0,1e3!==r&&(this.current_reconnects++,this.reconnect&&(this.max_reconnects>this.current_reconnects||0===this.max_reconnects)&&(this.reconnect_timer_id=setTimeout(()=>this._connect(e,t),this.reconnect_interval)))})}}},948607:(e,t,r)=>{"use strict";r.d(t,{Vw:()=>k,DO:()=>s,CC:()=>f,sd:()=>a,Fe:()=>o,Ht:()=>c,My:()=>v,AE:()=>A,tY:()=>L,uH:()=>l,Id:()=>O,qj:()=>j,ZG:()=>D,O8:()=>h,aT:()=>B,aY:()=>i,K_:()=>S,po:()=>T,aZ:()=>p,Ow:()=>d,fd:()=>g,Y1:()=>x,ZJ:()=>I,DH:()=>u,AI:()=>U});let n="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function i(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function o(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function s(e,...t){if(!i(e))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error("Uint8Array expected of length "+t+", got length="+e.length)}function a(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.createHasher");o(e.outputLen),o(e.blockLen)}function f(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function c(e,t){s(e);let r=t.outputLen;if(e.length<r)throw Error("digestInto() expects output buffer of length at least "+r)}function u(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function l(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function h(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function d(e,t){return e<<32-t|e>>>t}function p(e,t){return e<<t|e>>>32-t>>>0}let y=68===new Uint8Array(new Uint32Array([0x11223344]).buffer)[0];function b(e){return e<<24&0xff000000|e<<8&0xff0000|e>>>8&65280|e>>>24&255}let x=y?e=>e:e=>b(e),g=y?e=>e:function(e){for(let t=0;t<e.length;t++)e[t]=b(e[t]);return e},w="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,m=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function v(e){if(s(e),w)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=m[e[r]];return t}let E={_0:48,_9:57,A:65,F:70,a:97,f:102};function _(e){return e>=E._0&&e<=E._9?e-E._0:e>=E.A&&e<=E.F?e-(E.A-10):e>=E.a&&e<=E.f?e-(E.a-10):void 0}function B(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(w)return Uint8Array.fromHex(e);let t=e.length,r=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=_(e.charCodeAt(i)),o=_(e.charCodeAt(i+1));if(void 0===r||void 0===o)throw Error('hex string expected, got non-hex character "'+(e[i]+e[i+1])+'" at index '+i);n[t]=16*r+o}return n}function U(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function A(e){return new TextDecoder().decode(e)}function I(e){return"string"==typeof e&&(e=U(e)),s(e),e}function S(e){return"string"==typeof e&&(e=U(e)),s(e),e}function O(...e){let t=0;for(let r=0;r<e.length;r++){let n=e[r];s(n),t+=n.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let i=e[t];r.set(i,n),n+=i.length}return r}function L(e,t){if(void 0!==t&&"[object Object]"!==({}).toString.call(t))throw Error("options should be object or undefined");return Object.assign(e,t)}class k{}function j(e){let t=t=>e().update(I(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function D(e){let t=(t,r)=>e(r).update(I(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function T(e=32){if(n&&"function"==typeof n.getRandomValues)return n.getRandomValues(new Uint8Array(e));if(n&&"function"==typeof n.randomBytes)return Uint8Array.from(n.randomBytes(e));throw Error("crypto.getRandomValues must be defined")}},962062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=t.stringToBytes=void 0;let n=r(594927),i=r(245833);function o(e){let t=new Uint8Array((e=unescape(encodeURIComponent(e))).length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}t.stringToBytes=o,t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t.default=function(e,t,r,s,a,f){let c="string"==typeof r?o(r):r,u="string"==typeof s?(0,n.default)(s):s;
1if("string"==typeof s&&(s=(0,n.default)(s)),s?.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+c.length);if(l.set(u),l.set(c,u.length),(l=t(l))[6]=15&l[6]|e,l[8]=63&l[8]|128,a){if((f=f||0)<0||f+16>a.length)throw RangeError(`UUID byte range ${f}:${f+15} is out of buffer bounds`);for(let e=0;e<16;++e)a[f+e]=l[e];return a}return(0,i.unsafeStringify)(l)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.