/*! For license information please see tornado.umd.min.js.LICENSE.txt */
!function(e,a){"object"==typeofexports&&"object"==typeofmodule?module.exports=a():"function"==typeofdefine&&define.amd?define([],a):"object"==typeofexports?exports.Tornado=a():e.Tornado=a()}(self,(()=>(()=>{var__webpack_modules__={66289:(e,a)=>{"use strict";functiont(e){if(Array.isArray(e)){consta=[];letc=0;for(letf=0;f<e.length;f++){constd=t(e[f]);a.push(d),c+=d.length}returnl(d(c,192),...a)}consta=g(e);return1===a.length&&a[0]<128?a:l(d(a.length,128),a)}functionc(e,a,t){if(t>e.length)thrownewError("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");returne.slice(a,t)}functionf(e){if(0===e[0])thrownewError("invalid RLP: extra zeros");returno(b(e))}functiond(e,a){if(e<56)returnUint8Array.from([e+a]);constt=h(e),c=h(a+55+t.length/2);returnUint8Array.from(s(c+t))}functionr(e,a=!1){if(null==e||0===e.length)returnUint8Array.from([]);constt=n(g(e));if(a)returnt;if(0!==t.remainder.length)thrownewError("invalid RLP: remainder must be zero");returnt.data}functionn(e){leta,t,d,r,i;constb=[],o=e[0];if(o<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(o<=183){if(a=o-127,d=128===o?Uint8Array.from([]):c(e,1,a),2===a&&d[0]<128)thrownewError("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:d,remainder:e.slice(a)}}if(o<=191){if(t=o-182,e.length-1<t)thrownewError("invalid RLP: not enough bytes for string length");if(a=f(c(e,1,t)),a<=55)thrownewError("invalid RLP: expected string length to be greater than 55");returnd=c(e,t,a+t),{data:d,remainder:e.slice(a+t)}}if(o<=247){for(a=o-191,r=c(e,1,a);r.length;)i=n(r),b.push(i.data),r=i.remainder;return{data:b,remainder:e.slice(a)}}{if(t=o-246,a=f(c(e,1,t)),a<56)thrownewError("invalid RLP: encoded list too short");constd=t+a;if(d>e.length)thrownewError("invalid RLP: total length is larger than the data");for(r=c(e,t,d);r.length;)i=n(r),b.push(i.data),r=i.remainder;return{data:b,remainder:e.slice(d)}}}Object.defineProperty(a,"__esModule",{value:!0}),a.RLP=a.utils=a.decode=a.encode=void0,a.encode=t,a.decode=r;consti=Array.from({length:256},((e,a)=>a.toString(16).padStart(2,"0")));functionb(e){leta="";for(lett=0;t<e.length;t++)a+=i[e[t]];returna}functiono(e){consta=Number.parseInt(e,16);if(Number.isNaN(a))thrownewError("Invalid byte sequence");returna}functions(e){if("string"!=typeofe)thrownewTypeError("hexToBytes: expected string, got "+typeofe);if(e.length%2)thrownewError("hexToBytes: received invalid unpadded hex");consta=newUint8Array(e.length/2);for(lett=0;t<a.length;t++){constc=2*t;a[t]=o(e.slice(c,c+2))}returna}functionl(...e){if(1===e.length)returne[0];consta=e.reduce(((e,a)=>e+a.length),0),t=newUint8Array(a);for(leta=0,c=0;a<e.length;a++){constf=e[a];t.set(f,c),c+=f.length}returnt}functionu(e){return(newTextEncoder).encode(e)}functionh(e){if(e<0)thrownewError("Invalid integer as argument, must be unsigned!");consta=e.toString(16);returna.length%2?`0${a}`:a}functionp(e){returne.length>=2&&"0"===e[0]&&"x"===e[1]}functiong(e){if(einstanceofUint8Array)returne;if("string"==typeofe)returnp(e)?s((a="string"!=typeof(t=e)?t:p(t)?t.slice(2):t).length%2?`0${a}`:a):u(e);vara,t;if("number"==typeofe||"bigint"==typeofe)returne?s(h(e)):Uint8Array.from([]);if(null==e)returnUint8Array.from([]);thrownewError("toBytes: received unsupported type "+typeofe)}a.utils={bytesToHex:b,concatBytes:l,hexToBytes:s,utf8ToBytes:u},a.RLP={encode:t,decode:r}},16284:(e,a,t)=>{"use strict";varc=t(48287).Buffer;Object.defineProperty(a,"__esModule",{value:!0}),a.accountBodyToRLP=a.accountBodyToSlim=a.accountBodyFromSlim=a.isZeroAddress=a.zeroAddress=a.importPublic=a.privateToAddress=a.privateToPublic=a.publicToAddress=a.pubToAddress=a.isValidPublic=a.isValidPrivate=a.generateAddress2=a.generateAddress=a.isValidChecksumAddress=a.toChecksumAddress=a.isValidAddress=a.Account=void0;constf=t(66289),d=t(32019),r=t(26513),n=t(82672),i=t(77312),b=t(89838),o=t(35546),s=t(59498),l=BigInt(0);classu{constructor(e=l,a=l,t=b.KECCAK256_RLP,c=b.KECCAK256_NULL){this.nonce=e,this.bal