-
Notifications
You must be signed in to change notification settings - Fork 0
/
15.77384753e1ffc77d307f.js
1 lines (1 loc) · 279 KB
/
15.77384753e1ffc77d307f.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{"/wnW":function(e,t,r){"use strict";r.d(t,"a",function(){return o});const o="random/5.4.0"},"4VAs":function(e,t,r){"use strict";r.r(t),r.d(t,"ethers",function(){return i}),r.d(t,"Signer",function(){return Fe}),r.d(t,"Wallet",function(){return io}),r.d(t,"VoidSigner",function(){return Pe}),r.d(t,"getDefaultProvider",function(){return Ba}),r.d(t,"providers",function(){return o}),r.d(t,"BaseContract",function(){return Ge}),r.d(t,"Contract",function(){return xe}),r.d(t,"ContractFactory",function(){return _e}),r.d(t,"BigNumber",function(){return l.a}),r.d(t,"FixedNumber",function(){return tt}),r.d(t,"constants",function(){return co}),r.d(t,"errors",function(){return u.a}),r.d(t,"logger",function(){return Qa}),r.d(t,"utils",function(){return a}),r.d(t,"wordlists",function(){return fr}),r.d(t,"version",function(){return Ka}),r.d(t,"Wordlist",function(){return Rt});var o={};r.r(o),r.d(o,"Provider",function(){return Ae}),r.d(o,"BaseProvider",function(){return fn}),r.d(o,"Resolver",function(){return mn}),r.d(o,"UrlJsonRpcProvider",function(){return jn}),r.d(o,"FallbackProvider",function(){return ga}),r.d(o,"AlchemyProvider",function(){return Gn}),r.d(o,"AlchemyWebSocketProvider",function(){return Hn}),r.d(o,"CloudflareProvider",function(){return _n}),r.d(o,"EtherscanProvider",function(){return Wn}),r.d(o,"InfuraProvider",function(){return va}),r.d(o,"InfuraWebSocketProvider",function(){return fa}),r.d(o,"JsonRpcProvider",function(){return Jn}),r.d(o,"JsonRpcBatchProvider",function(){return Ta}),r.d(o,"NodesmithProvider",function(){return ya}),r.d(o,"PocketProvider",function(){return Oa}),r.d(o,"StaticJsonRpcProvider",function(){return Nn}),r.d(o,"Web3Provider",function(){return ka}),r.d(o,"WebSocketProvider",function(){return Rn}),r.d(o,"IpcProvider",function(){return ma}),r.d(o,"JsonRpcSigner",function(){return Pn}),r.d(o,"getDefaultProvider",function(){return Ba}),r.d(o,"getNetwork",function(){return vo}),r.d(o,"isCommunityResource",function(){return Wo}),r.d(o,"isCommunityResourcable",function(){return Yo}),r.d(o,"showThrottleMessage",function(){return en}),r.d(o,"Formatter",function(){return qo});var n={};r.r(n),r.d(n,"decode",function(){return No}),r.d(n,"encode",function(){return jo});var a={};r.r(a),r.d(a,"AbiCoder",function(){return le}),r.d(a,"defaultAbiCoder",function(){return ce}),r.d(a,"Fragment",function(){return z}),r.d(a,"ConstructorFragment",function(){return Y}),r.d(a,"ErrorFragment",function(){return ee}),r.d(a,"EventFragment",function(){return Z}),r.d(a,"FunctionFragment",function(){return W}),r.d(a,"ParamType",function(){return U}),r.d(a,"FormatTypes",function(){return x}),r.d(a,"checkResultErrors",function(){return g}),r.d(a,"Logger",function(){return u.b}),r.d(a,"RLP",function(){return Xa}),r.d(a,"_fetchData",function(){return xo}),r.d(a,"fetchJson",function(){return _o}),r.d(a,"poll",function(){return Uo}),r.d(a,"checkProperties",function(){return c.b}),r.d(a,"deepCopy",function(){return c.c}),r.d(a,"defineReadOnly",function(){return c.d}),r.d(a,"getStatic",function(){return c.e}),r.d(a,"resolveProperties",function(){return c.f}),r.d(a,"shallowCopy",function(){return c.g}),r.d(a,"arrayify",function(){return s.a}),r.d(a,"concat",function(){return s.b}),r.d(a,"stripZeros",function(){return s.o}),r.d(a,"zeroPad",function(){return s.p}),r.d(a,"isBytes",function(){return s.j}),r.d(a,"isBytesLike",function(){return s.k}),r.d(a,"defaultPath",function(){return Cr}),r.d(a,"HDNode",function(){return kr}),r.d(a,"SigningKey",function(){return wt.a}),r.d(a,"Interface",function(){return fe}),r.d(a,"LogDescription",function(){return de}),r.d(a,"TransactionDescription",function(){return he}),r.d(a,"base58",function(){return St}),r.d(a,"base64",function(){return n}),r.d(a,"hexlify",function(){return s.i}),r.d(a,"isHexString",function(){return s.l}),r.d(a,"hexConcat",function(){return s.c}),r.d(a,"hexStripZeros",function(){return s.f}),r.d(a,"hexValue",function(){return s.g}),r.d(a,"hexZeroPad",function(){return s.h}),r.d(a,"hexDataLength",function(){return s.d}),r.d(a,"hexDataSlice",function(){return s.e}),r.d(a,"nameprep",function(){return Bo}),r.d(a,"_toEscapedUtf8String",function(){return M.d}),r.d(a,"toUtf8Bytes",function(){return M.f}),r.d(a,"toUtf8CodePoints",function(){return M.g}),r.d(a,"toUtf8String",function(){return M.h}),r.d(a,"Utf8ErrorFuncs",function(){return M.b}),r.d(a,"formatBytes32String",function(){return Ia}),r.d(a,"parseBytes32String",function(){return Ha}),r.d(a,"hashMessage",function(){return nt}),r.d(a,"namehash",function(){return Do}),r.d(a,"isValidName",function(){return Ro}),r.d(a,"id",function(){return v.a}),r.d(a,"_TypedDataEncoder",function(){return At}),r.d(a,"getAddress",function(){return f.a}),r.d(a,"getIcapAddress",function(){return f.d}),r.d(a,"getContractAddress",function(){return f.b}),r.d(a,"getCreate2Address",function(){return f.c}),r.d(a,"isAddress",function(){return f.e}),r.d(a,"formatEther",function(){return za}),r.d(a,"parseEther",function(){return Za}),r.d(a,"formatUnits",function(){return Ua}),r.d(a,"parseUnits",function(){return Va}),r.d(a,"commify",function(){return _a}),r.d(a,"computeHmac",function(){return Bt}),r.d(a,"keccak256",function(){return T.a}),r.d(a,"ripemd160",function(){return Ct}),r.d(a,"sha256",function(){return kt}),r.d(a,"sha512",function(){return Jt}),r.d(a,"randomBytes",function(){return Rr.a}),r.d(a,"shuffled",function(){return $n}),r.d(a,"solidityPack",function(){return Da}),r.d(a,"solidityKeccak256",function(){return Na}),r.d(a,"soliditySha256",function(){return ja}),r.d(a,"splitSignature",function(){return s.n}),r.d(a,"joinSignature",function(){return s.m}),r.d(a,"accessListify",function(){return Ce.accessListify}),r.d(a,"parseTransaction",function(){return Ce.parse}),r.d(a,"serializeTransaction",function(){return Ce.serialize}),r.d(a,"TransactionTypes",function(){return Ce.TransactionTypes}),r.d(a,"getJsonWalletAddress",function(){return oo}),r.d(a,"computeAddress",function(){return Ce.computeAddress}),r.d(a,"recoverAddress",function(){return Ce.recoverAddress}),r.d(a,"computePublicKey",function(){return wt.b}),r.d(a,"recoverPublicKey",function(){return wt.c}),r.d(a,"verifyMessage",function(){return so}),r.d(a,"verifyTypedData",function(){return lo}),r.d(a,"getAccountPath",function(){return Mr}),r.d(a,"mnemonicToEntropy",function(){return Br}),r.d(a,"entropyToMnemonic",function(){return Lr}),r.d(a,"isValidMnemonic",function(){return wr}),r.d(a,"mnemonicToSeed",function(){return Jr}),r.d(a,"SupportedAlgorithm",function(){return Et}),r.d(a,"UnicodeNormalizationForm",function(){return M.a}),r.d(a,"Utf8ErrorReason",function(){return M.c}),r.d(a,"Indexed",function(){return me});var i={};r.r(i),r.d(i,"Signer",function(){return Fe}),r.d(i,"Wallet",function(){return io}),r.d(i,"VoidSigner",function(){return Pe}),r.d(i,"getDefaultProvider",function(){return Ba}),r.d(i,"providers",function(){return o}),r.d(i,"BaseContract",function(){return Ge}),r.d(i,"Contract",function(){return xe}),r.d(i,"ContractFactory",function(){return _e}),r.d(i,"BigNumber",function(){return l.a}),r.d(i,"FixedNumber",function(){return tt}),r.d(i,"constants",function(){return co}),r.d(i,"errors",function(){return u.a}),r.d(i,"logger",function(){return Qa}),r.d(i,"utils",function(){return a}),r.d(i,"wordlists",function(){return fr}),r.d(i,"version",function(){return Ka}),r.d(i,"Wordlist",function(){return Rt});var s=r("VJ7P"),l=r("4218"),c=r("m9oY"),u=r("/7J2");const d="abi/5.4.0",h=new u.b(d);function g(e){const t=[],r=function(e,o){if(Array.isArray(o))for(let a in o){const i=e.slice();i.push(a);try{r(i,o[a])}catch(n){t.push({path:i,error:n})}}};return r([],e),t}class m{constructor(e,t,r,o){this.name=e,this.type=t,this.localName=r,this.dynamic=o}_throwError(e,t){h.throwArgumentError(e,this.localName,t)}}class p{constructor(e){Object(c.d)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}get data(){return Object(s.c)(this._data)}get length(){return this._dataLength}_writeData(e){return this._data.push(e),this._dataLength+=e.length,e.length}appendWriter(e){return this._writeData(Object(s.b)(e._data))}writeBytes(e){let t=Object(s.a)(e);const r=t.length%this.wordSize;return r&&(t=Object(s.b)([t,this._padding.slice(r)])),this._writeData(t)}_getValue(e){let t=Object(s.a)(l.a.from(e));return t.length>this.wordSize&&h.throwError("value out-of-bounds",u.b.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:t.length}),t.length%this.wordSize&&(t=Object(s.b)([this._padding.slice(t.length%this.wordSize),t])),t}writeValue(e){return this._writeData(this._getValue(e))}writeUpdatableValue(){const e=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,t=>{this._data[e]=this._getValue(t)}}}class b{constructor(e,t,r,o){Object(c.d)(this,"_data",Object(s.a)(e)),Object(c.d)(this,"wordSize",t||32),Object(c.d)(this,"_coerceFunc",r),Object(c.d)(this,"allowLoose",o),this._offset=0}get data(){return Object(s.i)(this._data)}get consumed(){return this._offset}static coerce(e,t){let r=e.match("^u?int([0-9]+)$");return r&&parseInt(r[1])<=48&&(t=t.toNumber()),t}coerce(e,t){return this._coerceFunc?this._coerceFunc(e,t):b.coerce(e,t)}_peekBytes(e,t,r){let o=Math.ceil(t/this.wordSize)*this.wordSize;return this._offset+o>this._data.length&&(this.allowLoose&&r&&this._offset+t<=this._data.length?o=t:h.throwError("data out-of-bounds",u.b.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+o})),this._data.slice(this._offset,this._offset+o)}subReader(e){return new b(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(e,t){let r=this._peekBytes(0,e,!!t);return this._offset+=r.length,r.slice(0,e)}readValue(){return l.a.from(this.readBytes(this.wordSize))}}var f=r("Oxwv"),v=r("NaiW"),T=r("b1pR");class A extends m{constructor(e){super("address","address",e,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(e,t){try{Object(f.a)(t)}catch(r){this._throwError(r.message,t)}return e.writeValue(t)}decode(e){return Object(f.a)(Object(s.h)(e.readValue().toHexString(),20))}}class y extends m{constructor(e){super(e.name,e.type,void 0,e.dynamic),this.coder=e}defaultValue(){return this.coder.defaultValue()}encode(e,t){return this.coder.encode(e,t)}decode(e){return this.coder.decode(e)}}const S=new u.b(d);function E(e,t,r){let o=null;if(Array.isArray(r))o=r;else if(r&&"object"==typeof r){let e={};o=t.map(t=>{const o=t.localName;return o||S.throwError("cannot encode object for signature with missing names",u.b.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:r}),e[o]&&S.throwError("cannot encode object for signature with duplicate names",u.b.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:r}),e[o]=!0,r[o]})}else S.throwArgumentError("invalid tuple value","tuple",r);t.length!==o.length&&S.throwArgumentError("types/value length mismatch","tuple",r);let n=new p(e.wordSize),a=new p(e.wordSize),i=[];t.forEach((e,t)=>{let r=o[t];if(e.dynamic){let t=a.length;e.encode(a,r);let o=n.writeUpdatableValue();i.push(e=>{o(e+t)})}else e.encode(n,r)}),i.forEach(e=>{e(n.length)});let s=e.appendWriter(n);return s+=e.appendWriter(a),s}function O(e,t){let r=[],o=e.subReader(0);t.forEach(t=>{let n=null;if(t.dynamic){let r=e.readValue(),i=o.subReader(r.toNumber());try{n=t.decode(i)}catch(a){if(a.code===u.b.errors.BUFFER_OVERRUN)throw a;n=a,n.baseType=t.name,n.name=t.localName,n.type=t.type}}else try{n=t.decode(e)}catch(a){if(a.code===u.b.errors.BUFFER_OVERRUN)throw a;n=a,n.baseType=t.name,n.name=t.localName,n.type=t.type}null!=n&&r.push(n)});const n=t.reduce((e,t)=>{const r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e},{});t.forEach((e,t)=>{let o=e.localName;if(!o||1!==n[o])return;if("length"===o&&(o="_length"),null!=r[o])return;const a=r[t];a instanceof Error?Object.defineProperty(r,o,{get:()=>{throw a}}):r[o]=a});for(let a=0;a<r.length;a++){const e=r[a];e instanceof Error&&Object.defineProperty(r,a,{get:()=>{throw e}})}return Object.freeze(r)}class F extends m{constructor(e,t,r){super("array",e.type+"["+(t>=0?t:"")+"]",r,-1===t||e.dynamic),this.coder=e,this.length=t}defaultValue(){const e=this.coder.defaultValue(),t=[];for(let r=0;r<this.length;r++)t.push(e);return t}encode(e,t){Array.isArray(t)||this._throwError("expected array value",t);let r=this.length;-1===r&&(r=t.length,e.writeValue(t.length)),S.checkArgumentCount(t.length,r,"coder array"+(this.localName?" "+this.localName:""));let o=[];for(let n=0;n<t.length;n++)o.push(this.coder);return E(e,o,t)}decode(e){let t=this.length;-1===t&&(t=e.readValue().toNumber(),32*t>e._data.length&&S.throwError("insufficient data length",u.b.errors.BUFFER_OVERRUN,{length:e._data.length,count:t}));let r=[];for(let o=0;o<t;o++)r.push(new y(this.coder));return e.coerce(this.name,O(e,r))}}class P extends m{constructor(e){super("bool","bool",e,!1)}defaultValue(){return!1}encode(e,t){return e.writeValue(t?1:0)}decode(e){return e.coerce(this.type,!e.readValue().isZero())}}class C extends m{constructor(e,t){super(e,e,t,!0)}defaultValue(){return"0x"}encode(e,t){t=Object(s.a)(t);let r=e.writeValue(t.length);return r+=e.writeBytes(t),r}decode(e){return e.readBytes(e.readValue().toNumber(),!0)}}class k extends C{constructor(e){super("bytes",e)}decode(e){return e.coerce(this.name,Object(s.i)(super.decode(e)))}}class J extends m{constructor(e,t){let r="bytes"+String(e);super(r,r,t,!1),this.size=e}defaultValue(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)}encode(e,t){let r=Object(s.a)(t);return r.length!==this.size&&this._throwError("incorrect data length",t),e.writeBytes(r)}decode(e){return e.coerce(this.name,Object(s.i)(e.readBytes(this.size)))}}class B extends m{constructor(e){super("null","",e,!1)}defaultValue(){return null}encode(e,t){return null!=t&&this._throwError("not null",t),e.writeBytes([])}decode(e){return e.readBytes(0),e.coerce(this.name,null)}}var L=r("nVZa");class w extends m{constructor(e,t,r){const o=(t?"int":"uint")+8*e;super(o,o,r,!1),this.size=e,this.signed=t}defaultValue(){return 0}encode(e,t){let r=l.a.from(t),o=L.b.mask(8*e.wordSize);if(this.signed){let e=o.mask(8*this.size-1);(r.gt(e)||r.lt(e.add(L.e).mul(L.d)))&&this._throwError("value out-of-bounds",t)}else(r.lt(L.h)||r.gt(o.mask(8*this.size)))&&this._throwError("value out-of-bounds",t);return r=r.toTwos(8*this.size).mask(8*this.size),this.signed&&(r=r.fromTwos(8*this.size).toTwos(8*e.wordSize)),e.writeValue(r)}decode(e){let t=e.readValue().mask(8*this.size);return this.signed&&(t=t.fromTwos(8*this.size)),e.coerce(this.name,t)}}var M=r("UnNr");class R extends C{constructor(e){super("string",e)}defaultValue(){return""}encode(e,t){return super.encode(e,Object(M.f)(t))}decode(e){return Object(M.h)(super.decode(e))}}class D extends m{constructor(e,t){let r=!1;const o=[];e.forEach(e=>{e.dynamic&&(r=!0),o.push(e.type)}),super("tuple","tuple("+o.join(",")+")",t,r),this.coders=e}defaultValue(){const e=[];this.coders.forEach(t=>{e.push(t.defaultValue())});const t=this.coders.reduce((e,t)=>{const r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e},{});return this.coders.forEach((r,o)=>{let n=r.localName;n&&1===t[n]&&("length"===n&&(n="_length"),null==e[n]&&(e[n]=e[o]))}),Object.freeze(e)}encode(e,t){return E(e,this.coders,t)}decode(e){return e.coerce(this.name,O(e,this.coders))}}const N=new u.b(d),j={};let X={calldata:!0,memory:!0,storage:!0},I={calldata:!0,memory:!0};function H(e,t){if("bytes"===e||"string"===e){if(X[t])return!0}else if("address"===e){if("payable"===t)return!0}else if((e.indexOf("[")>=0||"tuple"===e)&&I[t])return!0;return(X[t]||"payable"===t)&&N.throwArgumentError("invalid modifier","name",t),!1}function G(e,t){for(let r in t)Object(c.d)(e,r,t[r])}const x=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),_=new RegExp(/^(.*)\[([0-9]*)\]$/);class U{constructor(e,t){e!==j&&N.throwError("use fromString",u.b.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),G(this,t);let r=this.type.match(_);G(this,r?{arrayLength:parseInt(r[2]||"-1"),arrayChildren:U.fromObject({type:r[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(e){if(e||(e=x.sighash),x[e]||N.throwArgumentError("invalid format type","format",e),e===x.json){let t={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(t.indexed=this.indexed),this.components&&(t.components=this.components.map(t=>JSON.parse(t.format(e)))),JSON.stringify(t)}let t="";return"array"===this.baseType?(t+=this.arrayChildren.format(e),t+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(e!==x.sighash&&(t+=this.type),t+="("+this.components.map(t=>t.format(e)).join(e===x.full?", ":",")+")"):t+=this.type,e!==x.sighash&&(!0===this.indexed&&(t+=" indexed"),e===x.full&&this.name&&(t+=" "+this.name)),t}static from(e,t){return"string"==typeof e?U.fromString(e,t):U.fromObject(e)}static fromObject(e){return U.isParamType(e)?e:new U(j,{name:e.name||null,type:te(e.type),indexed:null==e.indexed?null:!!e.indexed,components:e.components?e.components.map(U.fromObject):null})}static fromString(e,t){return r=function(e,t){let r=e;function o(t){N.throwArgumentError(`unexpected character at position ${t}`,"param",e)}function n(e){let r={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(r.indexed=!1),r}e=e.replace(/\s/g," ");let a={type:"",name:"",state:{allowType:!0}},i=a;for(let s=0;s<e.length;s++){let r=e[s];switch(r){case"(":i.state.allowType&&""===i.type?i.type="tuple":i.state.allowParams||o(s),i.state.allowType=!1,i.type=te(i.type),i.components=[n(i)],i=i.components[0];break;case")":delete i.state,"indexed"===i.name&&(t||o(s),i.indexed=!0,i.name=""),H(i.type,i.name)&&(i.name=""),i.type=te(i.type);let e=i;i=i.parent,i||o(s),delete e.parent,i.state.allowParams=!1,i.state.allowName=!0,i.state.allowArray=!0;break;case",":delete i.state,"indexed"===i.name&&(t||o(s),i.indexed=!0,i.name=""),H(i.type,i.name)&&(i.name=""),i.type=te(i.type);let a=n(i.parent);i.parent.components.push(a),delete i.parent,i=a;break;case" ":i.state.allowType&&""!==i.type&&(i.type=te(i.type),delete i.state.allowType,i.state.allowName=!0,i.state.allowParams=!0),i.state.allowName&&""!==i.name&&("indexed"===i.name?(t||o(s),i.indexed&&o(s),i.indexed=!0,i.name=""):H(i.type,i.name)?i.name="":i.state.allowName=!1);break;case"[":i.state.allowArray||o(s),i.type+=r,i.state.allowArray=!1,i.state.allowName=!1,i.state.readArray=!0;break;case"]":i.state.readArray||o(s),i.type+=r,i.state.readArray=!1,i.state.allowArray=!0,i.state.allowName=!0;break;default:i.state.allowType?(i.type+=r,i.state.allowParams=!0,i.state.allowArray=!0):i.state.allowName?(i.name+=r,delete i.state.allowArray):i.state.readArray?i.type+=r:o(s)}}return i.parent&&N.throwArgumentError("unexpected eof","param",e),delete a.state,"indexed"===i.name?(t||o(r.length-7),i.indexed&&o(r.length-7),i.indexed=!0,i.name=""):H(i.type,i.name)&&(i.name=""),a.type=te(a.type),a}(e,!!t),U.fromObject({name:r.name,type:r.type,indexed:r.indexed,components:r.components});var r}static isParamType(e){return!(null==e||!e._isParamType)}}function V(e,t){return function(e){e=e.trim();let t=[],r="",o=0;for(let n=0;n<e.length;n++){let a=e[n];","===a&&0===o?(t.push(r),r=""):(r+=a,"("===a?o++:")"===a&&(o--,-1===o&&N.throwArgumentError("unbalanced parenthesis","value",e)))}return r&&t.push(r),t}(e).map(e=>U.fromString(e,t))}class z{constructor(e,t){e!==j&&N.throwError("use a static from method",u.b.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),G(this,t),this._isFragment=!0,Object.freeze(this)}static from(e){return z.isFragment(e)?e:"string"==typeof e?z.fromString(e):z.fromObject(e)}static fromObject(e){if(z.isFragment(e))return e;switch(e.type){case"function":return W.fromObject(e);case"event":return Z.fromObject(e);case"constructor":return Y.fromObject(e);case"error":return ee.fromObject(e);case"fallback":case"receive":return null}return N.throwArgumentError("invalid fragment object","value",e)}static fromString(e){return"event"===(e=(e=(e=e.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?Z.fromString(e.substring(5).trim()):"function"===e.split(" ")[0]?W.fromString(e.substring(8).trim()):"constructor"===e.split("(")[0].trim()?Y.fromString(e.trim()):"error"===e.split(" ")[0]?ee.fromString(e.substring(5).trim()):N.throwArgumentError("unsupported fragment","value",e)}static isFragment(e){return!(!e||!e._isFragment)}}class Z extends z{format(e){if(e||(e=x.sighash),x[e]||N.throwArgumentError("invalid format type","format",e),e===x.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map(t=>JSON.parse(t.format(e)))});let t="";return e!==x.sighash&&(t+="event "),t+=this.name+"("+this.inputs.map(t=>t.format(e)).join(e===x.full?", ":",")+") ",e!==x.sighash&&this.anonymous&&(t+="anonymous "),t.trim()}static from(e){return"string"==typeof e?Z.fromString(e):Z.fromObject(e)}static fromObject(e){if(Z.isEventFragment(e))return e;"event"!==e.type&&N.throwArgumentError("invalid event object","value",e);const t={name:oe(e.name),anonymous:e.anonymous,inputs:e.inputs?e.inputs.map(U.fromObject):[],type:"event"};return new Z(j,t)}static fromString(e){let t=e.match(ne);t||N.throwArgumentError("invalid event string","value",e);let r=!1;return t[3].split(" ").forEach(e=>{switch(e.trim()){case"anonymous":r=!0;break;case"":break;default:N.warn("unknown modifier: "+e)}}),Z.fromObject({name:t[1].trim(),anonymous:r,inputs:V(t[2],!0),type:"event"})}static isEventFragment(e){return e&&e._isFragment&&"event"===e.type}}function K(e,t){t.gas=null;let r=e.split("@");return 1!==r.length?(r.length>2&&N.throwArgumentError("invalid human-readable ABI signature","value",e),r[1].match(/^[0-9]+$/)||N.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=l.a.from(r[1]),r[0]):e}function Q(e,t){t.constant=!1,t.payable=!1,t.stateMutability="nonpayable",e.split(" ").forEach(e=>{switch(e.trim()){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"nonpayable":t.payable=!1,t.stateMutability="nonpayable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+e)}})}function q(e){let t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&N.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&N.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||N.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.stateMutability=t.constant?"view":t.payable?"payable":"nonpayable",t.payable&&t.constant&&N.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&N.throwArgumentError("unable to determine stateMutability","value",e),t}class Y extends z{format(e){if(e||(e=x.sighash),x[e]||N.throwArgumentError("invalid format type","format",e),e===x.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(t=>JSON.parse(t.format(e)))});e===x.sighash&&N.throwError("cannot format a constructor for sighash",u.b.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let t="constructor("+this.inputs.map(t=>t.format(e)).join(e===x.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()}static from(e){return"string"==typeof e?Y.fromString(e):Y.fromObject(e)}static fromObject(e){if(Y.isConstructorFragment(e))return e;"constructor"!==e.type&&N.throwArgumentError("invalid constructor object","value",e);let t=q(e);t.constant&&N.throwArgumentError("constructor cannot be constant","value",e);const r={name:null,type:e.type,inputs:e.inputs?e.inputs.map(U.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?l.a.from(e.gas):null};return new Y(j,r)}static fromString(e){let t={type:"constructor"},r=(e=K(e,t)).match(ne);return r&&"constructor"===r[1].trim()||N.throwArgumentError("invalid constructor string","value",e),t.inputs=V(r[2].trim(),!1),Q(r[3].trim(),t),Y.fromObject(t)}static isConstructorFragment(e){return e&&e._isFragment&&"constructor"===e.type}}class W extends Y{format(e){if(e||(e=x.sighash),x[e]||N.throwArgumentError("invalid format type","format",e),e===x.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(t=>JSON.parse(t.format(e))),outputs:this.outputs.map(t=>JSON.parse(t.format(e)))});let t="";return e!==x.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map(t=>t.format(e)).join(e===x.full?", ":",")+") ",e!==x.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map(t=>t.format(e)).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()}static from(e){return"string"==typeof e?W.fromString(e):W.fromObject(e)}static fromObject(e){if(W.isFunctionFragment(e))return e;"function"!==e.type&&N.throwArgumentError("invalid function object","value",e);let t=q(e);const r={type:e.type,name:oe(e.name),constant:t.constant,inputs:e.inputs?e.inputs.map(U.fromObject):[],outputs:e.outputs?e.outputs.map(U.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?l.a.from(e.gas):null};return new W(j,r)}static fromString(e){let t={type:"function"},r=(e=K(e,t)).split(" returns ");r.length>2&&N.throwArgumentError("invalid function string","value",e);let o=r[0].match(ne);if(o||N.throwArgumentError("invalid function signature","value",e),t.name=o[1].trim(),t.name&&oe(t.name),t.inputs=V(o[2],!1),Q(o[3].trim(),t),r.length>1){let o=r[1].match(ne);""==o[1].trim()&&""==o[3].trim()||N.throwArgumentError("unexpected tokens","value",e),t.outputs=V(o[2],!1)}else t.outputs=[];return W.fromObject(t)}static isFunctionFragment(e){return e&&e._isFragment&&"function"===e.type}}function $(e){const t=e.format();return"Error(string)"!==t&&"Panic(uint256)"!==t||N.throwArgumentError(`cannot specify user defined ${t} error`,"fragment",e),e}class ee extends z{format(e){if(e||(e=x.sighash),x[e]||N.throwArgumentError("invalid format type","format",e),e===x.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map(t=>JSON.parse(t.format(e)))});let t="";return e!==x.sighash&&(t+="error "),t+=this.name+"("+this.inputs.map(t=>t.format(e)).join(e===x.full?", ":",")+") ",t.trim()}static from(e){return"string"==typeof e?ee.fromString(e):ee.fromObject(e)}static fromObject(e){if(ee.isErrorFragment(e))return e;"error"!==e.type&&N.throwArgumentError("invalid error object","value",e);const t={type:e.type,name:oe(e.name),inputs:e.inputs?e.inputs.map(U.fromObject):[]};return $(new ee(j,t))}static fromString(e){let t={type:"error"},r=e.match(ne);return r||N.throwArgumentError("invalid error signature","value",e),t.name=r[1].trim(),t.name&&oe(t.name),t.inputs=V(r[2],!1),$(ee.fromObject(t))}static isErrorFragment(e){return e&&e._isFragment&&"error"===e.type}}function te(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}const re=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function oe(e){return e&&e.match(re)||N.throwArgumentError(`invalid identifier "${e}"`,"value",e),e}const ne=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$"),ae=new u.b(d),ie=new RegExp(/^bytes([0-9]*)$/),se=new RegExp(/^(u?int)([0-9]*)$/);class le{constructor(e){ae.checkNew(new.target,le),Object(c.d)(this,"coerceFunc",e||null)}_getCoder(e){switch(e.baseType){case"address":return new A(e.name);case"bool":return new P(e.name);case"string":return new R(e.name);case"bytes":return new k(e.name);case"array":return new F(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new D((e.components||[]).map(e=>this._getCoder(e)),e.name);case"":return new B(e.name)}let t=e.type.match(se);if(t){let r=parseInt(t[2]||"256");return(0===r||r>256||r%8!=0)&&ae.throwArgumentError("invalid "+t[1]+" bit length","param",e),new w(r/8,"int"===t[1],e.name)}if(t=e.type.match(ie),t){let r=parseInt(t[1]);return(0===r||r>32)&&ae.throwArgumentError("invalid bytes length","param",e),new J(r,e.name)}return ae.throwArgumentError("invalid type","type",e.type)}_getWordSize(){return 32}_getReader(e,t){return new b(e,this._getWordSize(),this.coerceFunc,t)}_getWriter(){return new p(this._getWordSize())}getDefaultValue(e){const t=e.map(e=>this._getCoder(U.from(e)));return new D(t,"_").defaultValue()}encode(e,t){e.length!==t.length&&ae.throwError("types/values length mismatch",u.b.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});const r=e.map(e=>this._getCoder(U.from(e))),o=new D(r,"_"),n=this._getWriter();return o.encode(n,t),n.data}decode(e,t,r){const o=e.map(e=>this._getCoder(U.from(e)));return new D(o,"_").decode(this._getReader(Object(s.a)(t),r))}}const ce=new le,ue=new u.b(d);class de extends c.a{}class he extends c.a{}class ge extends c.a{}class me extends c.a{static isIndexed(e){return!(!e||!e._isIndexed)}}const pe={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function be(e,t){const r=new Error(`deferred error during ABI decoding triggered accessing ${e}`);return r.error=t,r}class fe{constructor(e){ue.checkNew(new.target,fe);let t=[];t="string"==typeof e?JSON.parse(e):e,Object(c.d)(this,"fragments",t.map(e=>z.from(e)).filter(e=>null!=e)),Object(c.d)(this,"_abiCoder",Object(c.e)(new.target,"getAbiCoder")()),Object(c.d)(this,"functions",{}),Object(c.d)(this,"errors",{}),Object(c.d)(this,"events",{}),Object(c.d)(this,"structs",{}),this.fragments.forEach(e=>{let t=null;switch(e.type){case"constructor":return this.deploy?void ue.warn("duplicate definition - constructor"):void Object(c.d)(this,"deploy",e);case"function":t=this.functions;break;case"event":t=this.events;break;case"error":t=this.errors;break;default:return}let r=e.format();t[r]?ue.warn("duplicate definition - "+r):t[r]=e}),this.deploy||Object(c.d)(this,"deploy",Y.from({payable:!1,type:"constructor"})),Object(c.d)(this,"_isInterface",!0)}format(e){e||(e=x.full),e===x.sighash&&ue.throwArgumentError("interface does not support formatting sighash","format",e);const t=this.fragments.map(t=>t.format(e));return e===x.json?JSON.stringify(t.map(e=>JSON.parse(e))):t}static getAbiCoder(){return ce}static getAddress(e){return Object(f.a)(e)}static getSighash(e){return Object(s.e)(Object(v.a)(e.format()),0,4)}static getEventTopic(e){return Object(v.a)(e.format())}getFunction(e){if(Object(s.l)(e)){for(const t in this.functions)if(e===this.getSighash(t))return this.functions[t];ue.throwArgumentError("no matching function","sighash",e)}if(-1===e.indexOf("(")){const t=e.trim(),r=Object.keys(this.functions).filter(e=>e.split("(")[0]===t);return 0===r.length?ue.throwArgumentError("no matching function","name",t):r.length>1&&ue.throwArgumentError("multiple matching functions","name",t),this.functions[r[0]]}const t=this.functions[W.fromString(e).format()];return t||ue.throwArgumentError("no matching function","signature",e),t}getEvent(e){if(Object(s.l)(e)){const t=e.toLowerCase();for(const e in this.events)if(t===this.getEventTopic(e))return this.events[e];ue.throwArgumentError("no matching event","topichash",t)}if(-1===e.indexOf("(")){const t=e.trim(),r=Object.keys(this.events).filter(e=>e.split("(")[0]===t);return 0===r.length?ue.throwArgumentError("no matching event","name",t):r.length>1&&ue.throwArgumentError("multiple matching events","name",t),this.events[r[0]]}const t=this.events[Z.fromString(e).format()];return t||ue.throwArgumentError("no matching event","signature",e),t}getError(e){if(Object(s.l)(e)){const t=Object(c.e)(this.constructor,"getSighash");for(const r in this.errors)if(e===t(this.errors[r]))return this.errors[r];ue.throwArgumentError("no matching error","sighash",e)}if(-1===e.indexOf("(")){const t=e.trim(),r=Object.keys(this.errors).filter(e=>e.split("(")[0]===t);return 0===r.length?ue.throwArgumentError("no matching error","name",t):r.length>1&&ue.throwArgumentError("multiple matching errors","name",t),this.errors[r[0]]}const t=this.errors[W.fromString(e).format()];return t||ue.throwArgumentError("no matching error","signature",e),t}getSighash(e){if("string"==typeof e)try{e=this.getFunction(e)}catch(t){try{e=this.getError(e)}catch(r){throw t}}return Object(c.e)(this.constructor,"getSighash")(e)}getEventTopic(e){return"string"==typeof e&&(e=this.getEvent(e)),Object(c.e)(this.constructor,"getEventTopic")(e)}_decodeParams(e,t){return this._abiCoder.decode(e,t)}_encodeParams(e,t){return this._abiCoder.encode(e,t)}encodeDeploy(e){return this._encodeParams(this.deploy.inputs,e||[])}decodeErrorResult(e,t){"string"==typeof e&&(e=this.getError(e));const r=Object(s.a)(t);return Object(s.i)(r.slice(0,4))!==this.getSighash(e)&&ue.throwArgumentError(`data signature does not match error ${e.name}.`,"data",Object(s.i)(r)),this._decodeParams(e.inputs,r.slice(4))}encodeErrorResult(e,t){return"string"==typeof e&&(e=this.getError(e)),Object(s.i)(Object(s.b)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))}decodeFunctionData(e,t){"string"==typeof e&&(e=this.getFunction(e));const r=Object(s.a)(t);return Object(s.i)(r.slice(0,4))!==this.getSighash(e)&&ue.throwArgumentError(`data signature does not match function ${e.name}.`,"data",Object(s.i)(r)),this._decodeParams(e.inputs,r.slice(4))}encodeFunctionData(e,t){return"string"==typeof e&&(e=this.getFunction(e)),Object(s.i)(Object(s.b)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))}decodeFunctionResult(e,t){"string"==typeof e&&(e=this.getFunction(e));let r=Object(s.a)(t),o=null,n=null,a=null,i=null;switch(r.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,r)}catch(l){}break;case 4:{const e=Object(s.i)(r.slice(0,4)),t=pe[e];if(t)n=this._abiCoder.decode(t.inputs,r.slice(4)),a=t.name,i=t.signature,t.reason&&(o=n[0]);else try{const t=this.getError(e);n=this._abiCoder.decode(t.inputs,r.slice(4)),a=t.name,i=t.format()}catch(l){console.log(l)}break}}return ue.throwError("call revert exception",u.b.errors.CALL_EXCEPTION,{method:e.format(),errorArgs:n,errorName:a,errorSignature:i,reason:o})}encodeFunctionResult(e,t){return"string"==typeof e&&(e=this.getFunction(e)),Object(s.i)(this._abiCoder.encode(e.outputs,t||[]))}encodeFilterTopics(e,t){"string"==typeof e&&(e=this.getEvent(e)),t.length>e.inputs.length&&ue.throwError("too many arguments for "+e.format(),u.b.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:t});let r=[];e.anonymous||r.push(this.getEventTopic(e));const o=(e,t)=>"string"===e.type?Object(v.a)(t):"bytes"===e.type?Object(T.a)(Object(s.i)(t)):("address"===e.type&&this._abiCoder.encode(["address"],[t]),Object(s.h)(Object(s.i)(t),32));for(t.forEach((t,n)=>{let a=e.inputs[n];a.indexed?null==t?r.push(null):"array"===a.baseType||"tuple"===a.baseType?ue.throwArgumentError("filtering with tuples or arrays not supported","contract."+a.name,t):Array.isArray(t)?r.push(t.map(e=>o(a,e))):r.push(o(a,t)):null!=t&&ue.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+a.name,t)});r.length&&null===r[r.length-1];)r.pop();return r}encodeEventLog(e,t){"string"==typeof e&&(e=this.getEvent(e));const r=[],o=[],n=[];return e.anonymous||r.push(this.getEventTopic(e)),t.length!==e.inputs.length&&ue.throwArgumentError("event arguments/values mismatch","values",t),e.inputs.forEach((e,a)=>{const i=t[a];if(e.indexed)if("string"===e.type)r.push(Object(v.a)(i));else if("bytes"===e.type)r.push(Object(T.a)(i));else{if("tuple"===e.baseType||"array"===e.baseType)throw new Error("not implemented");r.push(this._abiCoder.encode([e.type],[i]))}else o.push(e),n.push(i)}),{data:this._abiCoder.encode(o,n),topics:r}}decodeEventLog(e,t,r){if("string"==typeof e&&(e=this.getEvent(e)),null!=r&&!e.anonymous){let t=this.getEventTopic(e);Object(s.l)(r[0],32)&&r[0].toLowerCase()===t||ue.throwError("fragment/topic mismatch",u.b.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:t,value:r[0]}),r=r.slice(1)}let o=[],n=[],a=[];e.inputs.forEach((e,t)=>{e.indexed?"string"===e.type||"bytes"===e.type||"tuple"===e.baseType||"array"===e.baseType?(o.push(U.fromObject({type:"bytes32",name:e.name})),a.push(!0)):(o.push(e),a.push(!1)):(n.push(e),a.push(!1))});let i=null!=r?this._abiCoder.decode(o,Object(s.b)(r)):null,l=this._abiCoder.decode(n,t,!0),c=[],d=0,h=0;e.inputs.forEach((e,t)=>{if(e.indexed)if(null==i)c[t]=new me({_isIndexed:!0,hash:null});else if(a[t])c[t]=new me({_isIndexed:!0,hash:i[h++]});else try{c[t]=i[h++]}catch(r){c[t]=r}else try{c[t]=l[d++]}catch(r){c[t]=r}if(e.name&&null==c[e.name]){const r=c[t];r instanceof Error?Object.defineProperty(c,e.name,{get:()=>{throw be(`property ${JSON.stringify(e.name)}`,r)}}):c[e.name]=r}});for(let s=0;s<c.length;s++){const e=c[s];e instanceof Error&&Object.defineProperty(c,s,{get:()=>{throw be(`index ${s}`,e)}})}return Object.freeze(c)}parseTransaction(e){let t=this.getFunction(e.data.substring(0,10).toLowerCase());return t?new he({args:this._abiCoder.decode(t.inputs,"0x"+e.data.substring(10)),functionFragment:t,name:t.name,signature:t.format(),sighash:this.getSighash(t),value:l.a.from(e.value||"0")}):null}parseLog(e){let t=this.getEvent(e.topics[0]);return!t||t.anonymous?null:new de({eventFragment:t,name:t.name,signature:t.format(),topic:this.getEventTopic(t),args:this.decodeEventLog(t,e.data,e.topics)})}parseError(e){const t=Object(s.i)(e);let r=this.getError(t.substring(0,10).toLowerCase());return r?new ge({args:this._abiCoder.decode(r.inputs,"0x"+t.substring(10)),errorFragment:r,name:r.name,signature:r.format(),sighash:this.getSighash(r)}):null}static isInterface(e){return!(!e||!e._isInterface)}}const ve=new u.b("abstract-provider/5.4.0");class Te extends c.a{static isForkEvent(e){return!(!e||!e._isForkEvent)}}class Ae{constructor(){ve.checkAbstract(new.target,Ae),Object(c.d)(this,"_isProvider",!0)}getFeeData(){return e=this,void 0,r=function*(){const{block:e,gasPrice:t}=yield Object(c.f)({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch(e=>null)});let r=null,o=null;return e&&e.baseFeePerGas&&(o=l.a.from("1000000000"),r=e.baseFeePerGas.mul(2).add(o)),{maxFeePerGas:r,maxPriorityFeePerGas:o,gasPrice:t}},new((t=void 0)||(t=Promise))(function(o,n){function a(e){try{s(r.next(e))}catch(t){n(t)}}function i(e){try{s(r.throw(e))}catch(t){n(t)}}function s(e){var r;e.done?o(e.value):(r=e.value,r instanceof t?r:new t(function(e){e(r)})).then(a,i)}s((r=r.apply(e,[])).next())});var e,t,r}addListener(e,t){return this.on(e,t)}removeListener(e,t){return this.off(e,t)}static isProvider(e){return!(!e||!e._isProvider)}}var ye=function(e,t,r,o){return new(r||(r=Promise))(function(n,a){function i(e){try{l(o.next(e))}catch(t){a(t)}}function s(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((o=o.apply(e,t||[])).next())})};const Se=new u.b("abstract-signer/5.4.1"),Ee=["accessList","chainId","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],Oe=[u.b.errors.INSUFFICIENT_FUNDS,u.b.errors.NONCE_EXPIRED,u.b.errors.REPLACEMENT_UNDERPRICED];class Fe{constructor(){Se.checkAbstract(new.target,Fe),Object(c.d)(this,"_isSigner",!0)}getBalance(e){return ye(this,void 0,void 0,function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),e)})}getTransactionCount(e){return ye(this,void 0,void 0,function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),e)})}estimateGas(e){return ye(this,void 0,void 0,function*(){this._checkProvider("estimateGas");const t=yield Object(c.f)(this.checkTransaction(e));return yield this.provider.estimateGas(t)})}call(e,t){return ye(this,void 0,void 0,function*(){this._checkProvider("call");const r=yield Object(c.f)(this.checkTransaction(e));return yield this.provider.call(r,t)})}sendTransaction(e){return ye(this,void 0,void 0,function*(){this._checkProvider("sendTransaction");const t=yield this.populateTransaction(e),r=yield this.signTransaction(t);return yield this.provider.sendTransaction(r)})}getChainId(){return ye(this,void 0,void 0,function*(){return this._checkProvider("getChainId"),(yield this.provider.getNetwork()).chainId})}getGasPrice(){return ye(this,void 0,void 0,function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()})}getFeeData(){return ye(this,void 0,void 0,function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()})}resolveName(e){return ye(this,void 0,void 0,function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(e)})}checkTransaction(e){for(const r in e)-1===Ee.indexOf(r)&&Se.throwArgumentError("invalid transaction key: "+r,"transaction",e);const t=Object(c.g)(e);return t.from=null==t.from?this.getAddress():Promise.all([Promise.resolve(t.from),this.getAddress()]).then(t=>(t[0].toLowerCase()!==t[1].toLowerCase()&&Se.throwArgumentError("from address mismatch","transaction",e),t[0])),t}populateTransaction(e){return ye(this,void 0,void 0,function*(){const t=yield Object(c.f)(this.checkTransaction(e));null!=t.to&&(t.to=Promise.resolve(t.to).then(e=>ye(this,void 0,void 0,function*(){if(null==e)return null;const t=yield this.resolveName(e);return null==t&&Se.throwArgumentError("provided ENS name resolves to null","tx.to",e),t})),t.to.catch(e=>{}));const r=null!=t.maxFeePerGas||null!=t.maxPriorityFeePerGas;if(null==t.gasPrice||2!==t.type&&!r?0!==t.type&&1!==t.type||!r||Se.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",e):Se.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",e),2!==t.type&&null!=t.type||null==t.maxFeePerGas||null==t.maxPriorityFeePerGas)if(0===t.type||1===t.type)null==t.gasPrice&&(t.gasPrice=this.getGasPrice());else{const e=yield this.getFeeData();if(null==t.type)if(null!=e.maxFeePerGas&&null!=e.maxPriorityFeePerGas)if(t.type=2,null!=t.gasPrice){const e=t.gasPrice;delete t.gasPrice,t.maxFeePerGas=e,t.maxPriorityFeePerGas=e}else null==t.maxFeePerGas&&(t.maxFeePerGas=e.maxFeePerGas),null==t.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=e.maxPriorityFeePerGas);else null!=e.gasPrice?(r&&Se.throwError("network does not support EIP-1559",u.b.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==t.gasPrice&&(t.gasPrice=e.gasPrice),t.type=0):Se.throwError("failed to get consistent fee data",u.b.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===t.type&&(null==t.maxFeePerGas&&(t.maxFeePerGas=e.maxFeePerGas),null==t.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=e.maxPriorityFeePerGas))}else t.type=2;return null==t.nonce&&(t.nonce=this.getTransactionCount("pending")),null==t.gasLimit&&(t.gasLimit=this.estimateGas(t).catch(e=>{if(Oe.indexOf(e.code)>=0)throw e;return Se.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",u.b.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,tx:t})})),t.chainId=null==t.chainId?this.getChainId():Promise.all([Promise.resolve(t.chainId),this.getChainId()]).then(t=>(0!==t[1]&&t[0]!==t[1]&&Se.throwArgumentError("chainId address mismatch","transaction",e),t[0])),yield Object(c.f)(t)})}_checkProvider(e){this.provider||Se.throwError("missing provider",u.b.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})}static isSigner(e){return!(!e||!e._isSigner)}}class Pe extends Fe{constructor(e,t){Se.checkNew(new.target,Pe),super(),Object(c.d)(this,"address",e),Object(c.d)(this,"provider",t||null)}getAddress(){return Promise.resolve(this.address)}_fail(e,t){return Promise.resolve().then(()=>{Se.throwError(e,u.b.errors.UNSUPPORTED_OPERATION,{operation:t})})}signMessage(e){return this._fail("VoidSigner cannot sign messages","signMessage")}signTransaction(e){return this._fail("VoidSigner cannot sign transactions","signTransaction")}_signTypedData(e,t,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")}connect(e){return new Pe(this.address,e)}}var Ce=r("WsP5"),ke=function(e,t,r,o){return new(r||(r=Promise))(function(n,a){function i(e){try{l(o.next(e))}catch(t){a(t)}}function s(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((o=o.apply(e,t||[])).next())})};const Je=new u.b("contracts/5.4.1"),Be={chainId:!0,data:!0,from:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};function Le(e,t){return ke(this,void 0,void 0,function*(){const r=yield t;try{return Object(f.a)(r)}catch(n){}e||Je.throwError("a provider or signer is needed to resolve ENS names",u.b.errors.UNSUPPORTED_OPERATION,{operation:"resolveName"});const o=yield e.resolveName(r);return null==o&&Je.throwArgumentError("resolver or addr is not configured for ENS name","name",r),o})}function we(e,t,r){return ke(this,void 0,void 0,function*(){return Array.isArray(r)?yield Promise.all(r.map((r,o)=>we(e,Array.isArray(t)?t[o]:t[r.name],r))):"address"===r.type?yield Le(e,t):"tuple"===r.type?yield we(e,t,r.components):"array"===r.baseType?Array.isArray(t)?yield Promise.all(t.map(t=>we(e,t,r.arrayChildren))):Promise.reject(new Error("invalid value for array")):t})}function Me(e,t,r){return ke(this,void 0,void 0,function*(){let o={};r.length===t.inputs.length+1&&"object"==typeof r[r.length-1]&&(o=Object(c.g)(r.pop())),Je.checkArgumentCount(r.length,t.inputs.length,"passed to contract"),e.signer?o.from=o.from?Object(c.f)({override:Le(e.signer,o.from),signer:e.signer.getAddress()}).then(e=>ke(this,void 0,void 0,function*(){return Object(f.a)(e.signer)!==e.override&&Je.throwError("Contract with a Signer cannot override from",u.b.errors.UNSUPPORTED_OPERATION,{operation:"overrides.from"}),e.override})):e.signer.getAddress():o.from&&(o.from=Le(e.provider,o.from));const n=yield Object(c.f)({args:we(e.signer||e.provider,r,t.inputs),address:e.resolvedAddress,overrides:Object(c.f)(o)||{}}),a=e.interface.encodeFunctionData(t,n.args),i={data:a,to:n.address},d=n.overrides;if(null!=d.nonce&&(i.nonce=l.a.from(d.nonce).toNumber()),null!=d.gasLimit&&(i.gasLimit=l.a.from(d.gasLimit)),null!=d.gasPrice&&(i.gasPrice=l.a.from(d.gasPrice)),null!=d.maxFeePerGas&&(i.maxFeePerGas=l.a.from(d.maxFeePerGas)),null!=d.maxPriorityFeePerGas&&(i.maxPriorityFeePerGas=l.a.from(d.maxPriorityFeePerGas)),null!=d.from&&(i.from=d.from),null!=d.type&&(i.type=d.type),null!=d.accessList&&(i.accessList=Object(Ce.accessListify)(d.accessList)),null==i.gasLimit&&null!=t.gas){let e=21e3;const r=Object(s.a)(a);for(let t=0;t<r.length;t++)e+=4,r[t]&&(e+=64);i.gasLimit=l.a.from(t.gas).add(e)}if(d.value){const e=l.a.from(d.value);e.isZero()||t.payable||Je.throwError("non-payable method cannot override value",u.b.errors.UNSUPPORTED_OPERATION,{operation:"overrides.value",value:o.value}),i.value=e}delete o.nonce,delete o.gasLimit,delete o.gasPrice,delete o.from,delete o.value,delete o.type,delete o.accessList,delete o.maxFeePerGas,delete o.maxPriorityFeePerGas;const h=Object.keys(o).filter(e=>null!=o[e]);return h.length&&Je.throwError(`cannot override ${h.map(e=>JSON.stringify(e)).join(",")}`,u.b.errors.UNSUPPORTED_OPERATION,{operation:"overrides",overrides:h}),i})}function Re(e,t,r){const o=e.signer||e.provider;return function(...n){return ke(this,void 0,void 0,function*(){let a;if(n.length===t.inputs.length+1&&"object"==typeof n[n.length-1]){const e=Object(c.g)(n.pop());null!=e.blockTag&&(a=yield e.blockTag),delete e.blockTag,n.push(e)}null!=e.deployTransaction&&(yield e._deployed(a));const i=yield Me(e,t,n),s=yield o.call(i,a);try{let o=e.interface.decodeFunctionResult(t,s);return r&&1===t.outputs.length&&(o=o[0]),o}catch(l){throw l.code===u.b.errors.CALL_EXCEPTION&&(l.address=e.address,l.args=n,l.transaction=i),l}})}}function De(e,t,r){return t.constant?Re(e,t,r):function(e,t){return function(...r){return ke(this,void 0,void 0,function*(){e.signer||Je.throwError("sending a transaction requires a signer",u.b.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),null!=e.deployTransaction&&(yield e._deployed());const o=yield Me(e,t,r),n=yield e.signer.sendTransaction(o),a=n.wait.bind(n);return n.wait=t=>a(t).then(t=>(t.events=t.logs.map(r=>{let o=Object(c.c)(r),n=null;try{n=e.interface.parseLog(r)}catch(a){}return n&&(o.args=n.args,o.decode=(t,r)=>e.interface.decodeEventLog(n.eventFragment,t,r),o.event=n.name,o.eventSignature=n.signature),o.removeListener=()=>e.provider,o.getBlock=()=>e.provider.getBlock(t.blockHash),o.getTransaction=()=>e.provider.getTransaction(t.transactionHash),o.getTransactionReceipt=()=>Promise.resolve(t),o}),t)),n})}}(e,t)}function Ne(e){return!e.address||null!=e.topics&&0!==e.topics.length?(e.address||"*")+"@"+(e.topics?e.topics.map(e=>Array.isArray(e)?e.join("|"):e).join(":"):""):"*"}class je{constructor(e,t){Object(c.d)(this,"tag",e),Object(c.d)(this,"filter",t),this._listeners=[]}addListener(e,t){this._listeners.push({listener:e,once:t})}removeListener(e){let t=!1;this._listeners=this._listeners.filter(r=>!(!t&&r.listener===e&&(t=!0,1)))}removeAllListeners(){this._listeners=[]}listeners(){return this._listeners.map(e=>e.listener)}listenerCount(){return this._listeners.length}run(e){const t=this.listenerCount();return this._listeners=this._listeners.filter(t=>{const r=e.slice();return setTimeout(()=>{t.listener.apply(this,r)},0),!t.once}),t}prepareEvent(e){}getEmit(e){return[e]}}class Xe extends je{constructor(){super("error",null)}}class Ie extends je{constructor(e,t,r,o){const n={address:e};let a=t.getEventTopic(r);o?(a!==o[0]&&Je.throwArgumentError("topic mismatch","topics",o),n.topics=o.slice()):n.topics=[a],super(Ne(n),n),Object(c.d)(this,"address",e),Object(c.d)(this,"interface",t),Object(c.d)(this,"fragment",r)}prepareEvent(e){super.prepareEvent(e),e.event=this.fragment.name,e.eventSignature=this.fragment.format(),e.decode=(e,t)=>this.interface.decodeEventLog(this.fragment,e,t);try{e.args=this.interface.decodeEventLog(this.fragment,e.data,e.topics)}catch(t){e.args=null,e.decodeError=t}}getEmit(e){const t=g(e.args);if(t.length)throw t[0].error;const r=(e.args||[]).slice();return r.push(e),r}}class He extends je{constructor(e,t){super("*",{address:e}),Object(c.d)(this,"address",e),Object(c.d)(this,"interface",t)}prepareEvent(e){super.prepareEvent(e);try{const t=this.interface.parseLog(e);e.event=t.name,e.eventSignature=t.signature,e.decode=(e,r)=>this.interface.decodeEventLog(t.eventFragment,e,r),e.args=t.args}catch(t){}}}class Ge{constructor(e,t,r){Je.checkNew(new.target,xe),Object(c.d)(this,"interface",Object(c.e)(new.target,"getInterface")(t)),null==r?(Object(c.d)(this,"provider",null),Object(c.d)(this,"signer",null)):Fe.isSigner(r)?(Object(c.d)(this,"provider",r.provider||null),Object(c.d)(this,"signer",r)):Ae.isProvider(r)?(Object(c.d)(this,"provider",r),Object(c.d)(this,"signer",null)):Je.throwArgumentError("invalid signer or provider","signerOrProvider",r),Object(c.d)(this,"callStatic",{}),Object(c.d)(this,"estimateGas",{}),Object(c.d)(this,"functions",{}),Object(c.d)(this,"populateTransaction",{}),Object(c.d)(this,"filters",{});{const e={};Object.keys(this.interface.events).forEach(t=>{const r=this.interface.events[t];Object(c.d)(this.filters,t,(...e)=>({address:this.address,topics:this.interface.encodeFilterTopics(r,e)})),e[r.name]||(e[r.name]=[]),e[r.name].push(t)}),Object.keys(e).forEach(t=>{const r=e[t];1===r.length?Object(c.d)(this.filters,t,this.filters[r[0]]):Je.warn(`Duplicate definition of ${t} (${r.join(", ")})`)})}if(Object(c.d)(this,"_runningEvents",{}),Object(c.d)(this,"_wrappedEmits",{}),null==e&&Je.throwArgumentError("invalid contract address or ENS name","addressOrName",e),Object(c.d)(this,"address",e),this.provider)Object(c.d)(this,"resolvedAddress",Le(this.provider,e));else try{Object(c.d)(this,"resolvedAddress",Promise.resolve(Object(f.a)(e)))}catch(a){Je.throwError("provider is required to use ENS name as contract address",u.b.errors.UNSUPPORTED_OPERATION,{operation:"new Contract"})}const o={},n={};Object.keys(this.interface.functions).forEach(e=>{const t=this.interface.functions[e];if(n[e])Je.warn(`Duplicate ABI entry for ${JSON.stringify(e)}`);else{n[e]=!0;{const r=t.name;o[r]||(o[r]=[]),o[r].push(e)}null==this[e]&&Object(c.d)(this,e,De(this,t,!0)),null==this.functions[e]&&Object(c.d)(this.functions,e,De(this,t,!1)),null==this.callStatic[e]&&Object(c.d)(this.callStatic,e,Re(this,t,!0)),null==this.populateTransaction[e]&&Object(c.d)(this.populateTransaction,e,function(e,t){return function(...r){return Me(e,t,r)}}(this,t)),null==this.estimateGas[e]&&Object(c.d)(this.estimateGas,e,function(e,t){const r=e.signer||e.provider;return function(...o){return ke(this,void 0,void 0,function*(){r||Je.throwError("estimate require a provider or signer",u.b.errors.UNSUPPORTED_OPERATION,{operation:"estimateGas"});const n=yield Me(e,t,o);return yield r.estimateGas(n)})}}(this,t))}}),Object.keys(o).forEach(e=>{const t=o[e];if(t.length>1)return;const r=t[0];try{null==this[e]&&Object(c.d)(this,e,this[r])}catch(n){}null==this.functions[e]&&Object(c.d)(this.functions,e,this.functions[r]),null==this.callStatic[e]&&Object(c.d)(this.callStatic,e,this.callStatic[r]),null==this.populateTransaction[e]&&Object(c.d)(this.populateTransaction,e,this.populateTransaction[r]),null==this.estimateGas[e]&&Object(c.d)(this.estimateGas,e,this.estimateGas[r])})}static getContractAddress(e){return Object(f.b)(e)}static getInterface(e){return fe.isInterface(e)?e:new fe(e)}deployed(){return this._deployed()}_deployed(e){return this._deployedPromise||(this._deployedPromise=this.deployTransaction?this.deployTransaction.wait().then(()=>this):this.provider.getCode(this.address,e).then(e=>("0x"===e&&Je.throwError("contract not deployed",u.b.errors.UNSUPPORTED_OPERATION,{contractAddress:this.address,operation:"getDeployed"}),this))),this._deployedPromise}fallback(e){this.signer||Je.throwError("sending a transactions require a signer",u.b.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});const t=Object(c.g)(e||{});return["from","to"].forEach(function(e){null!=t[e]&&Je.throwError("cannot override "+e,u.b.errors.UNSUPPORTED_OPERATION,{operation:e})}),t.to=this.resolvedAddress,this.deployed().then(()=>this.signer.sendTransaction(t))}connect(e){"string"==typeof e&&(e=new Pe(e,this.provider));const t=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&Object(c.d)(t,"deployTransaction",this.deployTransaction),t}attach(e){return new this.constructor(e,this.interface,this.signer||this.provider)}static isIndexed(e){return me.isIndexed(e)}_normalizeRunningEvent(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e}_getRunningEvent(e){if("string"==typeof e){if("error"===e)return this._normalizeRunningEvent(new Xe);if("event"===e)return this._normalizeRunningEvent(new je("event",null));if("*"===e)return this._normalizeRunningEvent(new He(this.address,this.interface));const t=this.interface.getEvent(e);return this._normalizeRunningEvent(new Ie(this.address,this.interface,t))}if(e.topics&&e.topics.length>0){try{const t=e.topics[0];if("string"!=typeof t)throw new Error("invalid topic");const r=this.interface.getEvent(t);return this._normalizeRunningEvent(new Ie(this.address,this.interface,r,e.topics))}catch(t){}const r={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new je(Ne(r),r))}return this._normalizeRunningEvent(new He(this.address,this.interface))}_checkRunningEvents(e){if(0===e.listenerCount()){delete this._runningEvents[e.tag];const t=this._wrappedEmits[e.tag];t&&e.filter&&(this.provider.off(e.filter,t),delete this._wrappedEmits[e.tag])}}_wrapEvent(e,t,r){const o=Object(c.c)(t);return o.removeListener=()=>{r&&(e.removeListener(r),this._checkRunningEvents(e))},o.getBlock=()=>this.provider.getBlock(t.blockHash),o.getTransaction=()=>this.provider.getTransaction(t.transactionHash),o.getTransactionReceipt=()=>this.provider.getTransactionReceipt(t.transactionHash),e.prepareEvent(o),o}_addEventListener(e,t,r){if(this.provider||Je.throwError("events require a provider or a signer with a provider",u.b.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(t,r),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){const r=r=>{let o=this._wrapEvent(e,r,t);if(null==o.decodeError)try{const t=e.getEmit(o);this.emit(e.filter,...t)}catch(n){o.decodeError=n.error}null!=e.filter&&this.emit("event",o),null!=o.decodeError&&this.emit("error",o.decodeError,o)};this._wrappedEmits[e.tag]=r,null!=e.filter&&this.provider.on(e.filter,r)}}queryFilter(e,t,r){const o=this._getRunningEvent(e),n=Object(c.g)(o.filter);return"string"==typeof t&&Object(s.l)(t,32)?(null!=r&&Je.throwArgumentError("cannot specify toBlock with blockhash","toBlock",r),n.blockHash=t):(n.fromBlock=null!=t?t:0,n.toBlock=null!=r?r:"latest"),this.provider.getLogs(n).then(e=>e.map(e=>this._wrapEvent(o,e,null)))}on(e,t){return this._addEventListener(this._getRunningEvent(e),t,!1),this}once(e,t){return this._addEventListener(this._getRunningEvent(e),t,!0),this}emit(e,...t){if(!this.provider)return!1;const r=this._getRunningEvent(e),o=r.run(t)>0;return this._checkRunningEvents(r),o}listenerCount(e){return this.provider?null==e?Object.keys(this._runningEvents).reduce((e,t)=>e+this._runningEvents[t].listenerCount(),0):this._getRunningEvent(e).listenerCount():0}listeners(e){if(!this.provider)return[];if(null==e){const e=[];for(let t in this._runningEvents)this._runningEvents[t].listeners().forEach(t=>{e.push(t)});return e}return this._getRunningEvent(e).listeners()}removeAllListeners(e){if(!this.provider)return this;if(null==e){for(const e in this._runningEvents){const t=this._runningEvents[e];t.removeAllListeners(),this._checkRunningEvents(t)}return this}const t=this._getRunningEvent(e);return t.removeAllListeners(),this._checkRunningEvents(t),this}off(e,t){if(!this.provider)return this;const r=this._getRunningEvent(e);return r.removeListener(t),this._checkRunningEvents(r),this}removeListener(e,t){return this.off(e,t)}}class xe extends Ge{}class _e{constructor(e,t,r){let o=null;o="string"==typeof t?t:Object(s.j)(t)?Object(s.i)(t):t&&"string"==typeof t.object?t.object:"!","0x"!==o.substring(0,2)&&(o="0x"+o),(!Object(s.l)(o)||o.length%2)&&Je.throwArgumentError("invalid bytecode","bytecode",t),r&&!Fe.isSigner(r)&&Je.throwArgumentError("invalid signer","signer",r),Object(c.d)(this,"bytecode",o),Object(c.d)(this,"interface",Object(c.e)(new.target,"getInterface")(e)),Object(c.d)(this,"signer",r||null)}getDeployTransaction(...e){let t={};if(e.length===this.interface.deploy.inputs.length+1&&"object"==typeof e[e.length-1]){t=Object(c.g)(e.pop());for(const e in t)if(!Be[e])throw new Error("unknown transaction override "+e)}return["data","from","to"].forEach(e=>{null!=t[e]&&Je.throwError("cannot override "+e,u.b.errors.UNSUPPORTED_OPERATION,{operation:e})}),t.value&&(l.a.from(t.value).isZero()||this.interface.deploy.payable||Je.throwError("non-payable constructor cannot override value",u.b.errors.UNSUPPORTED_OPERATION,{operation:"overrides.value",value:t.value})),Je.checkArgumentCount(e.length,this.interface.deploy.inputs.length," in Contract constructor"),t.data=Object(s.i)(Object(s.b)([this.bytecode,this.interface.encodeDeploy(e)])),t}deploy(...e){return ke(this,void 0,void 0,function*(){let t={};e.length===this.interface.deploy.inputs.length+1&&(t=e.pop()),Je.checkArgumentCount(e.length,this.interface.deploy.inputs.length," in Contract constructor");const r=yield we(this.signer,e,this.interface.deploy.inputs);r.push(t);const o=this.getDeployTransaction(...r),n=yield this.signer.sendTransaction(o),a=Object(c.e)(this.constructor,"getContractAddress")(n),i=Object(c.e)(this.constructor,"getContract")(a,this.interface,this.signer);return Object(c.d)(i,"deployTransaction",n),i})}attach(e){return this.constructor.getContract(e,this.interface,this.signer)}connect(e){return new this.constructor(this.interface,this.bytecode,e)}static fromSolidity(e,t){null==e&&Je.throwError("missing compiler output",u.b.errors.MISSING_ARGUMENT,{argument:"compilerOutput"}),"string"==typeof e&&(e=JSON.parse(e));let r=null;return e.bytecode?r=e.bytecode:e.evm&&e.evm.bytecode&&(r=e.evm.bytecode),new this(e.abi,r,t)}static getInterface(e){return xe.getInterface(e)}static getContractAddress(e){return Object(f.b)(e)}static getContract(e,t,r){return new xe(e,t,r)}}var Ue=r("qWAS");const Ve=new u.b(Ue.a),ze={},Ze=l.a.from(0),Ke=l.a.from(-1);function Qe(e,t,r,o){const n={fault:t,operation:r};return void 0!==o&&(n.value=o),Ve.throwError(e,u.b.errors.NUMERIC_FAULT,n)}let qe="0";for(;qe.length<256;)qe+=qe;function Ye(e){if("number"!=typeof e)try{e=l.a.from(e).toNumber()}catch(t){}return"number"==typeof e&&e>=0&&e<=256&&!(e%1)?"1"+qe.substring(0,e):Ve.throwArgumentError("invalid decimal size","decimals",e)}function We(e,t){null==t&&(t=0);const r=Ye(t),o=(e=l.a.from(e)).lt(Ze);o&&(e=e.mul(Ke));let n=e.mod(r).toString();for(;n.length<r.length-1;)n="0"+n;n=n.match(/^([0-9]*[1-9]|0)(0*)/)[1];const a=e.div(r).toString();return e=1===r.length?a:a+"."+n,o&&(e="-"+e),e}function $e(e,t){null==t&&(t=0);const r=Ye(t);"string"==typeof e&&e.match(/^-?[0-9.,]+$/)||Ve.throwArgumentError("invalid decimal value","value",e);const o="-"===e.substring(0,1);o&&(e=e.substring(1)),"."===e&&Ve.throwArgumentError("missing value","value",e);const n=e.split(".");n.length>2&&Ve.throwArgumentError("too many decimal points","value",e);let a=n[0],i=n[1];for(a||(a="0"),i||(i="0"),i.replace(/^([0-9]*?)(0*)$/,(e,t,r)=>t).length>r.length-1&&Qe("fractional component exceeds decimals","underflow","parseFixed");i.length<r.length-1;)i+="0";const s=l.a.from(a),c=l.a.from(i);let u=s.mul(r).add(c);return o&&(u=u.mul(Ke)),u}class et{constructor(e,t,r,o){e!==ze&&Ve.throwError("cannot use FixedFormat constructor; use FixedFormat.from",u.b.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=t,this.width=r,this.decimals=o,this.name=(t?"":"u")+"fixed"+String(r)+"x"+String(o),this._multiplier=Ye(o),Object.freeze(this)}static from(e){if(e instanceof et)return e;"number"==typeof e&&(e=`fixed128x${e}`);let t=!0,r=128,o=18;if("string"==typeof e)if("fixed"===e);else if("ufixed"===e)t=!1;else{const n=e.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);n||Ve.throwArgumentError("invalid fixed format","format",e),t="u"!==n[1],r=parseInt(n[2]),o=parseInt(n[3])}else if(e){const n=(t,r,o)=>null==e[t]?o:(typeof e[t]!==r&&Ve.throwArgumentError("invalid fixed format ("+t+" not "+r+")","format."+t,e[t]),e[t]);t=n("signed","boolean",t),r=n("width","number",r),o=n("decimals","number",o)}return r%8&&Ve.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",r),o>80&&Ve.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",o),new et(ze,t,r,o)}}class tt{constructor(e,t,r,o){Ve.checkNew(new.target,tt),e!==ze&&Ve.throwError("cannot use FixedNumber constructor; use FixedNumber.from",u.b.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=o,this._hex=t,this._value=r,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&Ve.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);const t=$e(this._value,this.format.decimals),r=$e(e._value,e.format.decimals);return tt.fromValue(t.add(r),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);const t=$e(this._value,this.format.decimals),r=$e(e._value,e.format.decimals);return tt.fromValue(t.sub(r),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);const t=$e(this._value,this.format.decimals),r=$e(e._value,e.format.decimals);return tt.fromValue(t.mul(r).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);const t=$e(this._value,this.format.decimals),r=$e(e._value,e.format.decimals);return tt.fromValue(t.mul(this.format._multiplier).div(r),this.format.decimals,this.format)}floor(){const e=this.toString().split(".");1===e.length&&e.push("0");let t=tt.from(e[0],this.format);const r=!e[1].match(/^(0*)$/);return this.isNegative()&&r&&(t=t.subUnsafe(rt.toFormat(t.format))),t}ceiling(){const e=this.toString().split(".");1===e.length&&e.push("0");let t=tt.from(e[0],this.format);const r=!e[1].match(/^(0*)$/);return!this.isNegative()&&r&&(t=t.addUnsafe(rt.toFormat(t.format))),t}round(e){null==e&&(e=0);const t=this.toString().split(".");if(1===t.length&&t.push("0"),(e<0||e>80||e%1)&&Ve.throwArgumentError("invalid decimal count","decimals",e),t[1].length<=e)return this;const r=tt.from("1"+qe.substring(0,e),this.format),o=ot.toFormat(this.format);return this.mulUnsafe(r).addUnsafe(o).floor().divUnsafe(r)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(e){if(null==e)return this._hex;e%8&&Ve.throwArgumentError("invalid byte width","width",e);const t=l.a.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return Object(s.h)(t,e/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return tt.fromString(this._value,e)}static fromValue(e,t,r){return null!=r||null==t||Object(l.d)(t)||(r=t,t=null),null==t&&(t=0),null==r&&(r="fixed"),tt.fromString(We(e,t),et.from(r))}static fromString(e,t){null==t&&(t="fixed");const r=et.from(t),o=$e(e,r.decimals);!r.signed&&o.lt(Ze)&&Qe("unsigned value cannot be negative","overflow","value",e);let n=null;r.signed?n=o.toTwos(r.width).toHexString():(n=o.toHexString(),n=Object(s.h)(n,r.width/8));const a=We(o,r.decimals);return new tt(ze,n,a,r)}static fromBytes(e,t){null==t&&(t="fixed");const r=et.from(t);if(Object(s.a)(e).length>r.width/8)throw new Error("overflow");let o=l.a.from(e);r.signed&&(o=o.fromTwos(r.width));const n=o.toTwos((r.signed?0:1)+r.width).toHexString(),a=We(o,r.decimals);return new tt(ze,n,a,r)}static from(e,t){if("string"==typeof e)return tt.fromString(e,t);if(Object(s.j)(e))return tt.fromBytes(e,t);try{return tt.fromValue(e,0,t)}catch(r){if(r.code!==u.b.errors.INVALID_ARGUMENT)throw r}return Ve.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!(!e||!e._isFixedNumber)}}const rt=tt.from(1),ot=tt.from("0.5");function nt(e){return"string"==typeof e&&(e=Object(M.f)(e)),Object(T.a)(Object(s.b)([Object(M.f)("\x19Ethereum Signed Message:\n"),Object(M.f)(String(e.length)),e]))}const at="hash/5.4.0",it=new u.b(at),st=new Uint8Array(32);st.fill(0);const lt=l.a.from(-1),ct=l.a.from(0),ut=l.a.from(1),dt=l.a.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),ht=Object(s.h)(ut.toHexString(),32),gt=Object(s.h)(ct.toHexString(),32),mt={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},pt=["name","version","chainId","verifyingContract","salt"];function bt(e){return function(t){return"string"!=typeof t&&it.throwArgumentError(`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,t),t}}const ft={name:bt("name"),version:bt("version"),chainId:function(e){try{return l.a.from(e).toString()}catch(t){}return it.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",e)},verifyingContract:function(e){try{return Object(f.a)(e).toLowerCase()}catch(t){}return it.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){try{const t=Object(s.a)(e);if(32!==t.length)throw new Error("bad length");return Object(s.i)(t)}catch(t){}return it.throwArgumentError('invalid domain value "salt"',"domain.salt",e)}};function vt(e){{const t=e.match(/^(u?)int(\d*)$/);if(t){const r=""===t[1],o=parseInt(t[2]||"256");(o%8!=0||o>256||t[2]&&t[2]!==String(o))&&it.throwArgumentError("invalid numeric width","type",e);const n=dt.mask(r?o-1:o),a=r?n.add(ut).mul(lt):ct;return function(t){const r=l.a.from(t);return(r.lt(a)||r.gt(n))&&it.throwArgumentError(`value out-of-bounds for ${e}`,"value",t),Object(s.h)(r.toTwos(256).toHexString(),32)}}}{const t=e.match(/^bytes(\d+)$/);if(t){const r=parseInt(t[1]);return(0===r||r>32||t[1]!==String(r))&&it.throwArgumentError("invalid bytes width","type",e),function(t){return Object(s.a)(t).length!==r&&it.throwArgumentError(`invalid length for ${e}`,"value",t),function(e){const t=Object(s.a)(e),r=t.length%32;return r?Object(s.c)([t,st.slice(r)]):Object(s.i)(t)}(t)}}}switch(e){case"address":return function(e){return Object(s.h)(Object(f.a)(e),32)};case"bool":return function(e){return e?ht:gt};case"bytes":return function(e){return Object(T.a)(e)};case"string":return function(e){return Object(v.a)(e)}}return null}function Tt(e,t){return`${e}(${t.map(({name:e,type:t})=>t+" "+e).join(",")})`}class At{constructor(e){Object(c.d)(this,"types",Object.freeze(Object(c.c)(e))),Object(c.d)(this,"_encoderCache",{}),Object(c.d)(this,"_types",{});const t={},r={},o={};Object.keys(e).forEach(e=>{t[e]={},r[e]=[],o[e]={}});for(const a in e){const o={};e[a].forEach(n=>{o[n.name]&&it.throwArgumentError(`duplicate variable name ${JSON.stringify(n.name)} in ${JSON.stringify(a)}`,"types",e),o[n.name]=!0;const i=n.type.match(/^([^\x5b]*)(\x5b|$)/)[1];i===a&&it.throwArgumentError(`circular type reference to ${JSON.stringify(i)}`,"types",e),vt(i)||(r[i]||it.throwArgumentError(`unknown type ${JSON.stringify(i)}`,"types",e),r[i].push(a),t[a][i]=!0)})}const n=Object.keys(r).filter(e=>0===r[e].length);0===n.length?it.throwArgumentError("missing primary type","types",e):n.length>1&&it.throwArgumentError(`ambiguous primary types or unused types: ${n.map(e=>JSON.stringify(e)).join(", ")}`,"types",e),Object(c.d)(this,"primaryType",n[0]),function n(a,i){i[a]&&it.throwArgumentError(`circular type reference to ${JSON.stringify(a)}`,"types",e),i[a]=!0,Object.keys(t[a]).forEach(e=>{r[e]&&(n(e,i),Object.keys(i).forEach(t=>{o[t][e]=!0}))}),delete i[a]}(this.primaryType,{});for(const a in o){const t=Object.keys(o[a]);t.sort(),this._types[a]=Tt(a,e[a])+t.map(t=>Tt(t,e[t])).join("")}}getEncoder(e){let t=this._encoderCache[e];return t||(t=this._encoderCache[e]=this._getEncoder(e)),t}_getEncoder(e){{const t=vt(e);if(t)return t}const t=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(t){const e=t[1],r=this.getEncoder(e),o=parseInt(t[3]);return t=>{o>=0&&t.length!==o&&it.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t);let n=t.map(r);return this._types[e]&&(n=n.map(T.a)),Object(T.a)(Object(s.c)(n))}}const r=this.types[e];if(r){const t=Object(v.a)(this._types[e]);return e=>{const o=r.map(({name:t,type:r})=>{const o=this.getEncoder(r)(e[t]);return this._types[r]?Object(T.a)(o):o});return o.unshift(t),Object(s.c)(o)}}return it.throwArgumentError(`unknown type: ${e}`,"type",e)}encodeType(e){const t=this._types[e];return t||it.throwArgumentError(`unknown type: ${JSON.stringify(e)}`,"name",e),t}encodeData(e,t){return this.getEncoder(e)(t)}hashStruct(e,t){return Object(T.a)(this.encodeData(e,t))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,t,r){if(vt(e))return r(e,t);const o=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(o){const e=o[1],n=parseInt(o[3]);return n>=0&&t.length!==n&&it.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t),t.map(t=>this._visit(e,t,r))}const n=this.types[e];return n?n.reduce((e,{name:o,type:n})=>(e[o]=this._visit(n,t[o],r),e),{}):it.throwArgumentError(`unknown type: ${e}`,"type",e)}visit(e,t){return this._visit(this.primaryType,e,t)}static from(e){return new At(e)}static getPrimaryType(e){return At.from(e).primaryType}static hashStruct(e,t,r){return At.from(t).hashStruct(e,r)}static hashDomain(e){const t=[];for(const r in e){const o=mt[r];o||it.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(r)}`,"domain",e),t.push({name:r,type:o})}return t.sort((e,t)=>pt.indexOf(e.name)-pt.indexOf(t.name)),At.hashStruct("EIP712Domain",{EIP712Domain:t},e)}static encode(e,t,r){return Object(s.c)(["0x1901",At.hashDomain(e),At.from(t).hash(r)])}static hash(e,t,r){return Object(T.a)(At.encode(e,t,r))}static resolveNames(e,t,r,o){return n=this,void 0,i=function*(){e=Object(c.g)(e);const n={};e.verifyingContract&&!Object(s.l)(e.verifyingContract,20)&&(n[e.verifyingContract]="0x");const a=At.from(t);a.visit(r,(e,t)=>("address"!==e||Object(s.l)(t,20)||(n[t]="0x"),t));for(const e in n)n[e]=yield o(e);return e.verifyingContract&&n[e.verifyingContract]&&(e.verifyingContract=n[e.verifyingContract]),r=a.visit(r,(e,t)=>"address"===e&&n[t]?n[t]:t),{domain:e,value:r}},new((a=void 0)||(a=Promise))(function(e,t){function r(e){try{s(i.next(e))}catch(r){t(r)}}function o(e){try{s(i.throw(e))}catch(r){t(r)}}function s(t){var n;t.done?e(t.value):(n=t.value,n instanceof a?n:new a(function(e){e(n)})).then(r,o)}s((i=i.apply(n,[])).next())});var n,a,i}static getPayload(e,t,r){At.hashDomain(e);const o={},n=[];pt.forEach(t=>{const r=e[t];null!=r&&(o[t]=ft[t](r),n.push({name:t,type:mt[t]}))});const a=At.from(t),i=Object(c.g)(t);return i.EIP712Domain?it.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",t):i.EIP712Domain=n,a.encode(r),{types:i,domain:o,primaryType:a.primaryType,message:a.visit(r,(e,t)=>{if(e.match(/^bytes(\d*)/))return Object(s.i)(Object(s.a)(t));if(e.match(/^u?int/))return l.a.from(t).toString();switch(e){case"address":return t.toLowerCase();case"bool":return!!t;case"string":return"string"!=typeof t&&it.throwArgumentError("invalid string","value",t),t}return it.throwArgumentError("unsupported type","type",e)})}}}class yt{constructor(e){Object(c.d)(this,"alphabet",e),Object(c.d)(this,"base",e.length),Object(c.d)(this,"_alphabetMap",{}),Object(c.d)(this,"_leader",e.charAt(0));for(let t=0;t<e.length;t++)this._alphabetMap[e.charAt(t)]=t}encode(e){let t=Object(s.a)(e);if(0===t.length)return"";let r=[0];for(let n=0;n<t.length;++n){let e=t[n];for(let t=0;t<r.length;++t)e+=r[t]<<8,r[t]=e%this.base,e=e/this.base|0;for(;e>0;)r.push(e%this.base),e=e/this.base|0}let o="";for(let n=0;0===t[n]&&n<t.length-1;++n)o+=this._leader;for(let n=r.length-1;n>=0;--n)o+=this.alphabet[r[n]];return o}decode(e){if("string"!=typeof e)throw new TypeError("Expected String");let t=[];if(0===e.length)return new Uint8Array(t);t.push(0);for(let r=0;r<e.length;r++){let o=this._alphabetMap[e[r]];if(void 0===o)throw new Error("Non-base"+this.base+" character");let n=o;for(let e=0;e<t.length;++e)n+=t[e]*this.base,t[e]=255&n,n>>=8;for(;n>0;)t.push(255&n),n>>=8}for(let r=0;e[r]===this._leader&&r<e.length-1;++r)t.push(0);return Object(s.a)(new Uint8Array(t.reverse()))}}new yt("abcdefghijklmnopqrstuvwxyz234567");const St=new yt("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");var Et,Ot=r("fZJM"),Ft=r.n(Ot);!function(e){e.sha256="sha256",e.sha512="sha512"}(Et||(Et={}));const Pt=new u.b("sha2/5.4.0");function Ct(e){return"0x"+Ft.a.ripemd160().update(Object(s.a)(e)).digest("hex")}function kt(e){return"0x"+Ft.a.sha256().update(Object(s.a)(e)).digest("hex")}function Jt(e){return"0x"+Ft.a.sha512().update(Object(s.a)(e)).digest("hex")}function Bt(e,t,r){return Et[e]||Pt.throwError("unsupported algorithm "+e,u.b.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:e}),"0x"+Ft.a.hmac(Ft.a[e],Object(s.a)(t)).update(Object(s.a)(r)).digest("hex")}function Lt(e,t,r,o,n){let a;e=Object(s.a)(e),t=Object(s.a)(t);let i=1;const l=new Uint8Array(o),c=new Uint8Array(t.length+4);let u,d;c.set(t);for(let h=1;h<=i;h++){c[t.length]=h>>24&255,c[t.length+1]=h>>16&255,c[t.length+2]=h>>8&255,c[t.length+3]=255&h;let g=Object(s.a)(Bt(n,e,c));a||(a=g.length,d=new Uint8Array(a),i=Math.ceil(o/a),u=o-(i-1)*a),d.set(g);for(let t=1;t<r;t++){g=Object(s.a)(Bt(n,e,g));for(let e=0;e<a;e++)d[e]^=g[e]}const m=(h-1)*a,p=h===i?u:a;l.set(Object(s.a)(d).slice(0,p),m)}return Object(s.i)(l)}var wt=r("rhxT");const Mt=new u.b("wordlists/5.4.0");class Rt{constructor(e){Mt.checkAbstract(new.target,Rt),Object(c.d)(this,"locale",e)}split(e){return e.toLowerCase().split(/ +/g)}join(e){return e.join(" ")}static check(e){const t=[];for(let r=0;r<2048;r++){const o=e.getWord(r);if(r!==e.getWordIndex(o))return"0x";t.push(o)}return Object(v.a)(t.join("\n")+"\n")}static register(e,t){t||(t=e.locale)}}let Dt=null;function Nt(e){if(null==Dt&&(Dt="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"!==Rt.check(e)))throw Dt=null,new Error("BIP39 Wordlist for en (English) FAILED")}const jt=new class extends Rt{constructor(){super("cz")}getWord(e){return Nt(this),Dt[e]}getWordIndex(e){return Nt(this),Dt.indexOf(e)}};Rt.register(jt);let Xt=null;function It(e){if(null==Xt&&(Xt="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==Rt.check(e)))throw Xt=null,new Error("BIP39 Wordlist for en (English) FAILED")}const Ht=new class extends Rt{constructor(){super("en")}getWord(e){return It(this),Xt[e]}getWordIndex(e){return It(this),Xt.indexOf(e)}};Rt.register(Ht);const Gt={};let xt=null;function _t(e){return Mt.checkNormalize(),Object(M.h)(Array.prototype.filter.call(Object(M.f)(e.normalize("NFD").toLowerCase()),e=>e>=65&&e<=90||e>=97&&e<=123))}function Ut(e){if(null==xt&&(xt="A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(e=>function(e){const t=[];return Array.prototype.forEach.call(Object(M.f)(e),e=>{47===e?(t.push(204),t.push(129)):126===e?(t.push(110),t.push(204),t.push(131)):t.push(e)}),Object(M.h)(t)}(e)),xt.forEach((e,t)=>{Gt[_t(e)]=t}),"0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"!==Rt.check(e)))throw xt=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}const Vt=new class extends Rt{constructor(){super("es")}getWord(e){return Ut(this),xt[e]}getWordIndex(e){return Ut(this),Gt[_t(e)]}};Rt.register(Vt);let zt=null;const Zt={};function Kt(e){return Mt.checkNormalize(),Object(M.h)(Array.prototype.filter.call(Object(M.f)(e.normalize("NFD").toLowerCase()),e=>e>=65&&e<=90||e>=97&&e<=123))}function Qt(e){if(null==zt&&(zt="AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(e=>function(e){const t=[];return Array.prototype.forEach.call(Object(M.f)(e),e=>{47===e?(t.push(204),t.push(129)):45===e?(t.push(204),t.push(128)):t.push(e)}),Object(M.h)(t)}(e)),zt.forEach((e,t)=>{Zt[Kt(e)]=t}),"0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"!==Rt.check(e)))throw zt=null,new Error("BIP39 Wordlist for fr (French) FAILED")}const qt=new class extends Rt{constructor(){super("fr")}getWord(e){return Qt(this),zt[e]}getWordIndex(e){return Qt(this),Zt[Kt(e)]}};Rt.register(qt);const Yt=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSF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QIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm","ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC","BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD","QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD","IJBEJqXZJ"];let Wt=null;function $t(e){return Object(s.i)(Object(M.f)(e))}function er(e){if(null!==Wt)return;Wt=[];const t={};function r(e){let r="";for(let o=0;o<e.length;o++){let n=e[o];const a=t[n];!1!==a&&(a&&(n=a),r+=n)}return r}t[Object(M.h)([227,130,154])]=!1,t[Object(M.h)([227,130,153])]=!1,t[Object(M.h)([227,130,133])]=Object(M.h)([227,130,134]),t[Object(M.h)([227,129,163])]=Object(M.h)([227,129,164]),t[Object(M.h)([227,130,131])]=Object(M.h)([227,130,132]),t[Object(M.h)([227,130,135])]=Object(M.h)([227,130,136]);for(let o=3;o<=9;o++){const e=Yt[o-3];for(let t=0;t<e.length;t+=o){const r=[];for(let n=0;n<o;n++){const o="~~AzB~X~a~KN~Q~D~S~C~G~E~Y~p~L~I~O~eH~g~V~hxyumi~~U~~Z~~v~~s~~dkoblPjfnqwMcRTr~W~~~F~~~~~Jt".indexOf(e[t+n]);r.push(227),r.push(64&o?130:129),r.push(128+(63&o))}Wt.push(Object(M.h)(r))}}if(Wt.sort(function(e,t){return(e=r(e))<(t=r(t))?-1:e>t?1:0}),"0xe3818de38284e3818f"===$t(Wt[442])&&"0xe3818de38283e3818f"===$t(Wt[443])){const e=Wt[442];Wt[442]=Wt[443],Wt[443]=e}if("0xcb36b09e6baa935787fd762ce65e80b0c6a8dabdfbc3a7f86ac0e2c4fd111600"!==Rt.check(e))throw Wt=null,new Error("BIP39 Wordlist for ja (Japanese) FAILED")}const tr=new class extends Rt{constructor(){super("ja")}getWord(e){return er(this),Wt[e]}getWordIndex(e){return er(this),Wt.indexOf(e)}split(e){return Mt.checkNormalize(),e.split(/(?:\u3000| )+/g)}join(e){return e.join("\u3000")}};Rt.register(tr);const rr=["OYAa","ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJ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LXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg","HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb","AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl"];let or=null;function nr(e){if(null==or&&(or=[],rr.forEach((e,t)=>{t+=4;for(let o=0;o<e.length;o+=t){let n="";for(let a=0;a<t;a++)n+=((r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*".indexOf(e[o+a]))>=40?r=r+168-40:r>=19&&(r=r+97-19),Object(M.h)([225,132+(r>>6),128+(63&r)]));or.push(n)}var r}),or.sort(),"0xf9eddeace9c5d3da9c93cf7d3cd38f6a13ed3affb933259ae865714e8a3ae71a"!==Rt.check(e)))throw or=null,new Error("BIP39 Wordlist for ko (Korean) FAILED")}const ar=new class extends Rt{constructor(){super("ko")}getWord(e){return nr(this),or[e]}getWordIndex(e){return nr(this),or.indexOf(e)}};Rt.register(ar);let ir=null;function sr(e){if(null==ir&&(ir="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"!==Rt.check(e)))throw ir=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}const lr=new class extends Rt{constructor(){super("it")}getWord(e){return sr(this),ir[e]}getWordIndex(e){return sr(this),ir.indexOf(e)}};Rt.register(lr);const cr="}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN<di,AM=W5%QO&ka&ua,hM^tm=zV=JA=wR&+X]7P&NB#4J#5L|/b[dA}tJ<Do&6m&u2[U1&Kb.HM&mC=w0&MW<rY,Hq#6M}QG,13&wP}Jp]Ow%ue&Kg<HP<D9~4k~9T&I2_c6$9T#9/[C5~7O~4a=cs&O7=KK=An&l9$6U$8A&uD&QI|/Y&bg}Ux&F2#6b}E2&JN&kW&kp=U/&bb=Xl<Cj}k+~5J#6L&5z&9i}b4&Fo,ho(X0_g3~4O$Fz&QE<HN=Ww]6/%GF-Vw=tj&/D&PN#9g=YO}cL&Of&PI~5I&Ip=vU=IW#9G;0o-wU}ss&QR<BT&R9=tk$PY_dh&Pq-yh]7T,nj.Xu=EP&76=cI&Fs*Xg}z7$Gb&+I=DF,AF=cA}rL#7j=Dz&3y<Aa$52=PQ}b0(iY$Fa}oL&xV#6U=ec=WZ,xh%RY<dp#9N&Fl&44=WH*A7=sh&TB&8P=07;u+&PK}uh}J5#72)V/=xC,AB$k0&f6;1E|+5=1B,3v]6n&wR%b+&xx]7f=Ol}fl;+D^wG]7E;nB;uh^Ir&l5=JL,nS=cf=g5;u6|/Q$Gc=MH%Hg#5d%M6^86=U+$Gz,l/,ir^5y&Ba&/F-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R<CA#6t<Fv|/I,IS,EG<F2(Xy$/n<Fa(h9}+9_2o&N4#7X<Zq|+f_Dp=dt&na,Ca=NJ)jY=8C=YG=s6&Q+<DO}D3=xB&R1(lw;Qn<bF(Cu|/B}HV=SS&n7,10&u0]Dm%A6^4Q=WR(TD=Xo<GH,Rj(l8)bP&n/=LM&CF,F5&ml=PJ;0k=LG=tq,Rh,D6@4i=1p&+9=YC%er_Mh;nI;0q=Fw]80=xq=FM$Gv;v6&nc;wK%H2&Kj;vs,AA=YP,66}bI(qR~5U=6q~4b$Ni=K5.X3$So&Iu(p+]8G=Cf=RY(TS_O3(iH&57=fE=Dg_Do#9z#7H;FK{qd_2k%JR}en&gh_z8;Rx}9p<cN_Ne,DO;LN_7o~/p=NF=5Y}gN<ce<C1,QE]Wv=3u<BC}GK]yq}DY&u/_hj=II(pz&rC,jV&+Z}ut=NQ;Cg-SR_ZS,+o=u/;Oy_RK_QF(Fx&xP}Wr&TA,Uh&g1=yr{ax[VF$Pg(YB;Ox=Vy;+W(Sp}XV%dd&33(l/]l4#4Y}OE=6c=bw(A7&9t%wd&N/&mo,JH&Qe)fm=Ao}fu=tH",ur={zh_cn:null,zh_tw:null},dr={zh_cn:"0x17bcc4d8547e5a7135e365d1ab443aaae95e76d8230c2782c67305d4f21497a1",zh_tw:"0x51e720e90c7b87bec1d70eb6e74a21a449bd3ec9c020b01d3a40ed991b60ce5d"},hr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function gr(e){if(null!==ur[e.locale])return;ur[e.locale]=[];let t=0;for(let r=0;r<2048;r++){const o="~!@#$%^&*_-=[]{}|;:,.()<>?".indexOf(cr[3*r]),n=[228+(o>>2),128+hr.indexOf(cr[3*r+1]),128+hr.indexOf(cr[3*r+2])];if("zh_tw"===e.locale)for(let e=o%4;e<3;e++)n[e]=hr.indexOf("FAZDC6BALcLZCA+GBARCW8wNCcDDZ8LVFBOqqDUiou+M42TFAyERXFb7EjhP+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RofAG6Nxydi8Bki8BhGJbBAJKzbJxkZSlF9Q2Cu8oKqggB9hBArwLLqEBWEtFowy8XK8bEyw9snT+BeyFk1ZCSrdmgfEwFePTgCjELBEnIbjaDDPJm36rG9pztcEzT8dGk23SBhXBB1H4z+OWze0ooFzz8pDBYFvp9j9tvFByf9y4EFdVnz026CGR5qMr7fxMHN8UUdlyJAzlTBDRC28k+L4FB8078ljyD91tUj1ocnTs8vdEf7znbzm+GIjEZnoZE5rnLL700Xc7yHfz05nWxy03vBB9YGHYOWxgMQGBCR24CVYNE1hpfKxN0zKnfJDmmMgMmBWqNbjfSyFCBWSCGCgR8yFXiHyEj+VtD1FB3FpC1zI0kFbzifiKTLm9yq5zFmur+q8FHqjoOBWsBPiDbnCC2ErunV6cJ6TygXFYHYp7MKN9RUlSIS8/xBAGYLzeqUnBF4QbsTuUkUqGs6CaiDWKWjQK9EJkjpkTmNCPYXL"[t++])+(0==e?228:128);ur[e.locale].push(Object(M.h)(n))}if(Rt.check(e)!==dr[e.locale])throw ur[e.locale]=null,new Error("BIP39 Wordlist for "+e.locale+" (Chinese) FAILED")}class mr extends Rt{constructor(e){super("zh_"+e)}getWord(e){return gr(this),ur[this.locale][e]}getWordIndex(e){return gr(this),ur[this.locale].indexOf(e)}split(e){return(e=e.replace(/(?:\u3000| )+/g,"")).split("")}}const pr=new mr("cn");Rt.register(pr),Rt.register(pr,"zh");const br=new mr("tw");Rt.register(br);const fr={cz:jt,en:Ht,es:Vt,fr:qt,it:lr,ja:tr,ko:ar,zh:pr,zh_cn:pr,zh_tw:br},vr=new u.b("hdnode/5.4.0"),Tr=l.a.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Ar=Object(M.f)("Bitcoin seed"),yr=2147483648;function Sr(e){return(1<<e)-1<<8-e}function Er(e){return Object(s.h)(Object(s.i)(e),32)}function Or(e){return St.encode(Object(s.b)([e,Object(s.e)(kt(kt(e)),0,4)]))}function Fr(e){if(null==e)return fr.en;if("string"==typeof e){const t=fr[e];return null==t&&vr.throwArgumentError("unknown locale","wordlist",e),t}return e}const Pr={},Cr="m/44'/60'/0'/0/0";class kr{constructor(e,t,r,o,n,a,i,l){if(vr.checkNew(new.target,kr),e!==Pr)throw new Error("HDNode constructor cannot be called directly");if(t){const e=new wt.a(t);Object(c.d)(this,"privateKey",e.privateKey),Object(c.d)(this,"publicKey",e.compressedPublicKey)}else Object(c.d)(this,"privateKey",null),Object(c.d)(this,"publicKey",Object(s.i)(r));Object(c.d)(this,"parentFingerprint",o),Object(c.d)(this,"fingerprint",Object(s.e)(Ct(kt(this.publicKey)),0,4)),Object(c.d)(this,"address",Object(Ce.computeAddress)(this.publicKey)),Object(c.d)(this,"chainCode",n),Object(c.d)(this,"index",a),Object(c.d)(this,"depth",i),null==l?(Object(c.d)(this,"mnemonic",null),Object(c.d)(this,"path",null)):"string"==typeof l?(Object(c.d)(this,"mnemonic",null),Object(c.d)(this,"path",l)):(Object(c.d)(this,"mnemonic",l),Object(c.d)(this,"path",l.path))}get extendedKey(){if(this.depth>=256)throw new Error("Depth too large!");return Or(Object(s.b)([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",Object(s.i)(this.depth),this.parentFingerprint,Object(s.h)(Object(s.i)(this.index),4),this.chainCode,null!=this.privateKey?Object(s.b)(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new kr(Pr,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(e){if(e>4294967295)throw new Error("invalid index - "+String(e));let t=this.path;t&&(t+="/"+(2147483647&e));const r=new Uint8Array(37);if(e&yr){if(!this.privateKey)throw new Error("cannot derive child of neutered node");r.set(Object(s.a)(this.privateKey),1),t&&(t+="'")}else r.set(Object(s.a)(this.publicKey));for(let s=24;s>=0;s-=8)r[33+(s>>3)]=e>>24-s&255;const o=Object(s.a)(Bt(Et.sha512,this.chainCode,r)),n=o.slice(0,32),a=o.slice(32);let i=null,c=null;this.privateKey?i=Er(l.a.from(n).add(this.privateKey).mod(Tr)):c=new wt.a(Object(s.i)(n))._addPoint(this.publicKey);let u=t;const d=this.mnemonic;return d&&(u=Object.freeze({phrase:d.phrase,path:t,locale:d.locale||"en"})),new kr(Pr,i,c,this.fingerprint,Er(a),e,this.depth+1,u)}derivePath(e){const t=e.split("/");if(0===t.length||"m"===t[0]&&0!==this.depth)throw new Error("invalid path - "+e);"m"===t[0]&&t.shift();let r=this;for(let o=0;o<t.length;o++){const e=t[o];if(e.match(/^[0-9]+'$/)){const t=parseInt(e.substring(0,e.length-1));if(t>=yr)throw new Error("invalid path index - "+e);r=r._derive(yr+t)}else{if(!e.match(/^[0-9]+$/))throw new Error("invalid path component - "+e);{const t=parseInt(e);if(t>=yr)throw new Error("invalid path index - "+e);r=r._derive(t)}}}return r}static _fromSeed(e,t){const r=Object(s.a)(e);if(r.length<16||r.length>64)throw new Error("invalid seed");const o=Object(s.a)(Bt(Et.sha512,Ar,r));return new kr(Pr,Er(o.slice(0,32)),null,"0x00000000",Er(o.slice(32)),0,0,t)}static fromMnemonic(e,t,r){return e=Lr(Br(e,r=Fr(r)),r),kr._fromSeed(Jr(e,t),{phrase:e,path:"m",locale:r.locale})}static fromSeed(e){return kr._fromSeed(e,null)}static fromExtendedKey(e){const t=St.decode(e);82===t.length&&Or(t.slice(0,78))===e||vr.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const r=t[4],o=Object(s.i)(t.slice(5,9)),n=parseInt(Object(s.i)(t.slice(9,13)).substring(2),16),a=Object(s.i)(t.slice(13,45)),i=t.slice(45,78);switch(Object(s.i)(t.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new kr(Pr,null,Object(s.i)(i),o,a,n,r,null);case"0x0488ade4":case"0x04358394 ":if(0!==i[0])break;return new kr(Pr,Object(s.i)(i.slice(1)),null,o,a,n,r,null)}return vr.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function Jr(e,t){t||(t="");const r=Object(M.f)("mnemonic"+t,M.a.NFKD);return Lt(Object(M.f)(e,M.a.NFKD),r,2048,64,"sha512")}function Br(e,t){t=Fr(t),vr.checkNormalize();const r=t.split(e);if(r.length%3!=0)throw new Error("invalid mnemonic");const o=Object(s.a)(new Uint8Array(Math.ceil(11*r.length/8)));let n=0;for(let s=0;s<r.length;s++){let e=t.getWordIndex(r[s].normalize("NFKD"));if(-1===e)throw new Error("invalid mnemonic");for(let t=0;t<11;t++)e&1<<10-t&&(o[n>>3]|=1<<7-n%8),n++}const a=32*r.length/3,i=Sr(r.length/3);if((Object(s.a)(kt(o.slice(0,a/8)))[0]&i)!=(o[o.length-1]&i))throw new Error("invalid checksum");return Object(s.i)(o.slice(0,a/8))}function Lr(e,t){if(t=Fr(t),(e=Object(s.a)(e)).length%4!=0||e.length<16||e.length>32)throw new Error("invalid entropy");const r=[0];let o=11;for(let i=0;i<e.length;i++)o>8?(r[r.length-1]<<=8,r[r.length-1]|=e[i],o-=8):(r[r.length-1]<<=o,r[r.length-1]|=e[i]>>8-o,r.push(e[i]&(1<<8-o)-1),o+=3);const n=e.length/4,a=Object(s.a)(kt(e))[0]&Sr(n);return r[r.length-1]<<=n,r[r.length-1]|=a>>8-n,t.join(r.map(e=>t.getWord(e)))}function wr(e,t){try{return Br(e,t),!0}catch(r){}return!1}function Mr(e){return("number"!=typeof e||e<0||e>=yr||e%1)&&vr.throwArgumentError("invalid account index","index",e),`m/44'/60'/${e}'/0/0`}var Rr=r("bkUu"),Dr=r("sebv"),Nr=r.n(Dr),jr=r("n2qG"),Xr=r.n(jr);function Ir(e){return"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),Object(s.a)(e)}function Hr(e,t){for(e=String(e);e.length<t;)e="0"+e;return e}function Gr(e){return"string"==typeof e?Object(M.f)(e,M.a.NFKC):Object(s.a)(e)}function xr(e,t){let r=e;const o=t.toLowerCase().split("/");for(let n=0;n<o.length;n++){let e=null;for(const t in r)if(t.toLowerCase()===o[n]){e=r[t];break}if(null===e)return null;r=e}return r}function _r(e){const t=Object(s.a)(e);t[6]=15&t[6]|64,t[8]=63&t[8]|128;const r=Object(s.i)(t);return[r.substring(2,10),r.substring(10,14),r.substring(14,18),r.substring(18,22),r.substring(22,34)].join("-")}const Ur="json-wallets/5.4.0",Vr=new u.b(Ur);function zr(e){return null!=e&&e.mnemonic&&e.mnemonic.phrase}class Zr extends c.a{isKeystoreAccount(e){return!(!e||!e._isKeystoreAccount)}}function Kr(e,t){const r=Ir(xr(e,"crypto/ciphertext"));if(Object(s.i)(Object(T.a)(Object(s.b)([t.slice(16,32),r]))).substring(2)!==xr(e,"crypto/mac").toLowerCase())throw new Error("invalid password");const o=function(e,t,r){if("aes-128-ctr"===xr(e,"crypto/cipher")){const o=Ir(xr(e,"crypto/cipherparams/iv")),n=new Nr.a.Counter(o),a=new Nr.a.ModeOfOperation.ctr(t,n);return Object(s.a)(a.decrypt(r))}return null}(e,t.slice(0,16),r);o||Vr.throwError("unsupported cipher",u.b.errors.UNSUPPORTED_OPERATION,{operation:"decrypt"});const n=t.slice(32,64),a=Object(Ce.computeAddress)(o);if(e.address){let t=e.address.toLowerCase();if("0x"!==t.substring(0,2)&&(t="0x"+t),Object(f.a)(t)!==a)throw new Error("address mismatch")}const i={_isKeystoreAccount:!0,address:a,privateKey:Object(s.i)(o)};if("0.1"===xr(e,"x-ethers/version")){const t=Ir(xr(e,"x-ethers/mnemonicCiphertext")),r=Ir(xr(e,"x-ethers/mnemonicCounter")),o=new Nr.a.Counter(r),a=new Nr.a.ModeOfOperation.ctr(n,o),c=xr(e,"x-ethers/path")||Cr,d=xr(e,"x-ethers/locale")||"en",h=Object(s.a)(a.decrypt(t));try{const e=Lr(h,d),t=kr.fromMnemonic(e,null,d).derivePath(c);if(t.privateKey!=i.privateKey)throw new Error("mnemonic mismatch");i.mnemonic=t.mnemonic}catch(l){if(l.code!==u.b.errors.INVALID_ARGUMENT||"wordlist"!==l.argument)throw l}}return new Zr(i)}function Qr(e,t,r,o,n){return Object(s.a)(Lt(e,t,r,o,n))}function qr(e,t,r,o,n){return Promise.resolve(Qr(e,t,r,o,n))}function Yr(e,t,r,o,n){const a=Gr(t),i=xr(e,"crypto/kdf");if(i&&"string"==typeof i){const t=function(e,t){return Vr.throwArgumentError("invalid key-derivation function parameters",e,t)};if("scrypt"===i.toLowerCase()){const r=Ir(xr(e,"crypto/kdfparams/salt")),s=parseInt(xr(e,"crypto/kdfparams/n")),l=parseInt(xr(e,"crypto/kdfparams/r")),c=parseInt(xr(e,"crypto/kdfparams/p"));s&&l&&c||t("kdf",i),0!=(s&s-1)&&t("N",s);const u=parseInt(xr(e,"crypto/kdfparams/dklen"));return 32!==u&&t("dklen",u),o(a,r,s,l,c,64,n)}if("pbkdf2"===i.toLowerCase()){const o=Ir(xr(e,"crypto/kdfparams/salt"));let n=null;const i=xr(e,"crypto/kdfparams/prf");"hmac-sha256"===i?n="sha256":"hmac-sha512"===i?n="sha512":t("prf",i);const s=parseInt(xr(e,"crypto/kdfparams/c")),l=parseInt(xr(e,"crypto/kdfparams/dklen"));return 32!==l&&t("dklen",l),r(a,o,s,l,n)}}return Vr.throwArgumentError("unsupported key-derivation function","kdf",i)}const Wr=new u.b(Ur);class $r extends c.a{isCrowdsaleAccount(e){return!(!e||!e._isCrowdsaleAccount)}}function eo(e,t){const r=JSON.parse(e);t=Gr(t);const o=Object(f.a)(xr(r,"ethaddr")),n=Ir(xr(r,"encseed"));n&&n.length%16==0||Wr.throwArgumentError("invalid encseed","json",e);const a=Object(s.a)(Lt(t,t,2e3,32,"sha256")).slice(0,16),i=n.slice(0,16),l=n.slice(16),c=new Nr.a.ModeOfOperation.cbc(a,i),u=Nr.a.padding.pkcs7.strip(Object(s.a)(c.decrypt(l)));let d="";for(let s=0;s<u.length;s++)d+=String.fromCharCode(u[s]);const h=Object(M.f)(d),g=Object(T.a)(h);return new $r({_isCrowdsaleAccount:!0,address:o,privateKey:g})}function to(e){let t=null;try{t=JSON.parse(e)}catch(r){return!1}return t.encseed&&t.ethaddr}function ro(e){let t=null;try{t=JSON.parse(e)}catch(r){return!1}return!(!t.version||parseInt(t.version)!==t.version||3!==parseInt(t.version))}function oo(e){if(to(e))try{return Object(f.a)(JSON.parse(e).ethaddr)}catch(t){return null}if(ro(e))try{return Object(f.a)(JSON.parse(e).address)}catch(t){return null}return null}var no=function(e,t,r,o){return new(r||(r=Promise))(function(n,a){function i(e){try{l(o.next(e))}catch(t){a(t)}}function s(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((o=o.apply(e,t||[])).next())})};const ao=new u.b("wallet/5.4.0");class io extends Fe{constructor(e,t){if(ao.checkNew(new.target,io),super(),null!=(r=e)&&Object(s.l)(r.privateKey,32)&&null!=r.address){const t=new wt.a(e.privateKey);if(Object(c.d)(this,"_signingKey",()=>t),Object(c.d)(this,"address",Object(Ce.computeAddress)(this.publicKey)),this.address!==Object(f.a)(e.address)&&ao.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),function(e){const t=e.mnemonic;return t&&t.phrase}(e)){const t=e.mnemonic;Object(c.d)(this,"_mnemonic",()=>({phrase:t.phrase,path:t.path||Cr,locale:t.locale||"en"}));const r=this.mnemonic,o=kr.fromMnemonic(r.phrase,null,r.locale).derivePath(r.path);Object(Ce.computeAddress)(o.privateKey)!==this.address&&ao.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else Object(c.d)(this,"_mnemonic",()=>null)}else{if(wt.a.isSigningKey(e))"secp256k1"!==e.curve&&ao.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),Object(c.d)(this,"_signingKey",()=>e);else{"string"==typeof e&&e.match(/^[0-9a-f]*$/i)&&64===e.length&&(e="0x"+e);const t=new wt.a(e);Object(c.d)(this,"_signingKey",()=>t)}Object(c.d)(this,"_mnemonic",()=>null),Object(c.d)(this,"address",Object(Ce.computeAddress)(this.publicKey))}var r;t&&!Ae.isProvider(t)&&ao.throwArgumentError("invalid provider","provider",t),Object(c.d)(this,"provider",t||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(e){return new io(this,e)}signTransaction(e){return Object(c.f)(e).then(t=>{null!=t.from&&(Object(f.a)(t.from)!==this.address&&ao.throwArgumentError("transaction from address mismatch","transaction.from",e.from),delete t.from);const r=this._signingKey().signDigest(Object(T.a)(Object(Ce.serialize)(t)));return Object(Ce.serialize)(t,r)})}signMessage(e){return no(this,void 0,void 0,function*(){return Object(s.m)(this._signingKey().signDigest(nt(e)))})}_signTypedData(e,t,r){return no(this,void 0,void 0,function*(){const o=yield At.resolveNames(e,t,r,e=>(null==this.provider&&ao.throwError("cannot resolve ENS names without a provider",u.b.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:e}),this.provider.resolveName(e)));return Object(s.m)(this._signingKey().signDigest(At.hash(o.domain,t,o.value)))})}encrypt(e,t,r){if("function"!=typeof t||r||(r=t,t={}),r&&"function"!=typeof r)throw new Error("invalid callback");return t||(t={}),function(e,t,r,o){try{if(Object(f.a)(e.address)!==Object(Ce.computeAddress)(e.privateKey))throw new Error("address/privateKey mismatch");if(zr(e)){const t=e.mnemonic;if(kr.fromMnemonic(t.phrase,null,t.locale).derivePath(t.path||Cr).privateKey!=e.privateKey)throw new Error("mnemonic mismatch")}}catch(v){return Promise.reject(v)}"function"!=typeof r||o||(o=r,r={}),r||(r={});const n=Object(s.a)(e.privateKey),a=Gr(t);let i=null,l=null,c=null;if(zr(e)){const t=e.mnemonic;i=Object(s.a)(Br(t.phrase,t.locale||"en")),l=t.path||Cr,c=t.locale||"en"}let u=r.client;u||(u="ethers.js");let d=null;d=r.salt?Object(s.a)(r.salt):Object(Rr.a)(32);let h=null;if(r.iv){if(h=Object(s.a)(r.iv),16!==h.length)throw new Error("invalid iv")}else h=Object(Rr.a)(16);let g=null;if(r.uuid){if(g=Object(s.a)(r.uuid),16!==g.length)throw new Error("invalid uuid")}else g=Object(Rr.a)(16);let m=1<<17,p=8,b=1;return r.scrypt&&(r.scrypt.N&&(m=r.scrypt.N),r.scrypt.r&&(p=r.scrypt.r),r.scrypt.p&&(b=r.scrypt.p)),Xr.a.scrypt(a,d,m,p,b,64,o).then(t=>{const r=(t=Object(s.a)(t)).slice(0,16),o=t.slice(16,32),a=t.slice(32,64),f=new Nr.a.Counter(h),v=new Nr.a.ModeOfOperation.ctr(r,f),A=Object(s.a)(v.encrypt(n)),y=Object(T.a)(Object(s.b)([o,A])),S={address:e.address.substring(2).toLowerCase(),id:_r(g),version:3,Crypto:{cipher:"aes-128-ctr",cipherparams:{iv:Object(s.i)(h).substring(2)},ciphertext:Object(s.i)(A).substring(2),kdf:"scrypt",kdfparams:{salt:Object(s.i)(d).substring(2),n:m,dklen:32,p:b,r:p},mac:y.substring(2)}};if(i){const e=Object(Rr.a)(16),t=new Nr.a.Counter(e),r=new Nr.a.ModeOfOperation.ctr(a,t),o=Object(s.a)(r.encrypt(i)),n=new Date,d=n.getUTCFullYear()+"-"+Hr(n.getUTCMonth()+1,2)+"-"+Hr(n.getUTCDate(),2)+"T"+Hr(n.getUTCHours(),2)+"-"+Hr(n.getUTCMinutes(),2)+"-"+Hr(n.getUTCSeconds(),2)+".0Z";S["x-ethers"]={client:u,gethFilename:"UTC--"+d+"--"+S.address,mnemonicCounter:Object(s.i)(e).substring(2),mnemonicCiphertext:Object(s.i)(o).substring(2),path:l,locale:c,version:"0.1"}}return JSON.stringify(S)})}(this,e,t,r)}static createRandom(e){let t=Object(Rr.a)(16);e||(e={}),e.extraEntropy&&(t=Object(s.a)(Object(s.e)(Object(T.a)(Object(s.b)([t,e.extraEntropy])),0,16)));const r=Lr(t,e.locale);return io.fromMnemonic(r,e.path,e.locale)}static fromEncryptedJson(e,t,r){return function(e,t,r){if(to(e)){r&&r(0);const o=eo(e,t);return r&&r(1),Promise.resolve(o)}return ro(e)?function(e,t,r){return o=this,a=function*(){const o=JSON.parse(e);return Kr(o,yield Yr(o,t,qr,Xr.a.scrypt,r))},new((n=void 0)||(n=Promise))(function(e,t){function r(e){try{s(a.next(e))}catch(r){t(r)}}function i(e){try{s(a.throw(e))}catch(r){t(r)}}function s(t){var o;t.done?e(t.value):(o=t.value,o instanceof n?o:new n(function(e){e(o)})).then(r,i)}s((a=a.apply(o,[])).next())});var o,n,a}(e,t,r):Promise.reject(new Error("invalid JSON wallet"))}(e,t,r).then(e=>new io(e))}static fromEncryptedJsonSync(e,t){return new io(function(e,t){if(to(e))return eo(e,t);if(ro(e))return function(e,t){const r=JSON.parse(e);return Kr(r,Yr(r,t,Qr,Xr.a.syncScrypt))}(e,t);throw new Error("invalid JSON wallet")}(e,t))}static fromMnemonic(e,t,r){return t||(t=Cr),new io(kr.fromMnemonic(e,null,r).derivePath(t))}}function so(e,t){return Object(Ce.recoverAddress)(nt(e),t)}function lo(e,t,r,o){return Object(Ce.recoverAddress)(At.hash(e,t,r),o)}var co=r("tGuN");const uo=new u.b("networks/5.4.1");function ho(e){const t=function(t,r){null==r&&(r={});const o=[];if(t.InfuraProvider)try{o.push(new t.InfuraProvider(e,r.infura))}catch(n){}if(t.EtherscanProvider){const r=["ropsten"];try{const n=new t.EtherscanProvider(e);n.network&&-1===r.indexOf(n.network.name)&&o.push(n)}catch(n){}}if(t.AlchemyProvider)try{o.push(new t.AlchemyProvider(e,r.alchemy))}catch(n){}if(t.PocketProvider){const r=["goerli","ropsten","rinkeby"];try{const n=new t.PocketProvider(e);n.network&&-1===r.indexOf(n.network.name)&&o.push(n)}catch(n){}}if(t.CloudflareProvider)try{o.push(new t.CloudflareProvider(e))}catch(n){}if(0===o.length)return null;if(t.FallbackProvider){let n=1;return null!=r.quorum?n=r.quorum:"homestead"===e&&(n=2),new t.FallbackProvider(o,n)}return o[0]};return t.renetwork=function(e){return ho(e)},t}function go(e,t){const r=function(r,o){return r.JsonRpcProvider?new r.JsonRpcProvider(e,t):null};return r.renetwork=function(t){return go(e,t)},r}const mo={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:ho("homestead")},po={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:ho("ropsten")},bo={chainId:63,name:"classicMordor",_defaultProvider:go("https://www.ethercluster.com/mordor","classicMordor")},fo={unspecified:{chainId:0,name:"unspecified"},homestead:mo,mainnet:mo,morden:{chainId:2,name:"morden"},ropsten:po,testnet:po,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:ho("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:ho("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:ho("goerli")},classic:{chainId:61,name:"classic",_defaultProvider:go("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:bo,classicTestnet:bo,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:go("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic"},maticmum:{chainId:80001,name:"maticmum"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function vo(e){if(null==e)return null;if("number"==typeof e){for(const t in fo){const r=fo[t];if(r.chainId===e)return{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress||null,_defaultProvider:r._defaultProvider||null}}return{chainId:e,name:"unknown"}}if("string"==typeof e){const t=fo[e];return null==t?null:{name:t.name,chainId:t.chainId,ensAddress:t.ensAddress,_defaultProvider:t._defaultProvider||null}}const t=fo[e.name];if(!t)return"number"!=typeof e.chainId&&uo.throwArgumentError("invalid network chainId","network",e),e;0!==e.chainId&&e.chainId!==t.chainId&&uo.throwArgumentError("network chainId mismatch","network",e);let r=e._defaultProvider||null;var o;return null==r&&t._defaultProvider&&(r=(o=t._defaultProvider)&&"function"==typeof o.renetwork?t._defaultProvider.renetwork(e):t._defaultProvider),{name:e.name,chainId:t.chainId,ensAddress:e.ensAddress||t.ensAddress||null,_defaultProvider:r}}var To=r("SHcd");function Ao(e,t){t||(t=function(e){return[parseInt(e,16)]});let r=0,o={};return e.split(",").forEach(e=>{let n=e.split(":");r+=parseInt(n[0],16),o[r]=t(n[1])}),o}function yo(e){let t=0;return e.split(",").map(e=>{let r=e.split("-");1===r.length?r[1]="0":""===r[1]&&(r[1]="1");let o=t+parseInt(r[0],16);return t=parseInt(r[1],16),{l:o,h:t}})}function So(e,t){let r=0;for(let o=0;o<t.length;o++){let n=t[o];if(r+=n.l,e>=r&&e<=r+n.h&&(e-r)%(n.d||1)==0){if(n.e&&-1!==n.e.indexOf(e-r))continue;return n}}return null}const Eo=yo("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),Oo="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(e=>parseInt(e,16)),Fo=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],Po=Ao("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),Co=Ao("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),ko=Ao("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",function(e){if(e.length%4!=0)throw new Error("bad data");let t=[];for(let r=0;r<e.length;r+=4)t.push(parseInt(e.substring(r,r+4),16));return t}),Jo=yo("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");function Bo(e){if(e.match(/^[a-z0-9-]*$/i)&&e.length<=59)return e.toLowerCase();let t=Object(M.g)(e);var r;r=t.map(e=>Oo.indexOf(e)>=0||e>=65024&&e<=65039?[]:function(e){let t=So(e,Fo);if(t)return[e+t.s];let r=Po[e];if(r)return r;let o=Co[e];return o?[e+o[0]]:ko[e]||null}(e)||[e]),t=r.reduce((e,t)=>(t.forEach(t=>{e.push(t)}),e),[]),t=Object(M.g)(Object(M.e)(t),M.a.NFKC),t.forEach(e=>{if(So(e,Jo))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")}),t.forEach(e=>{if(So(e,Eo))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")});let o=Object(M.e)(t);if("-"===o.substring(0,1)||"--"===o.substring(2,4)||"-"===o.substring(o.length-1))throw new Error("invalid hyphen");if(o.length>63)throw new Error("too long");return o}const Lo=new u.b(at),wo=new Uint8Array(32);wo.fill(0);const Mo=new RegExp("^((.*)\\.)?([^.]+)$");function Ro(e){try{const t=e.split(".");for(let e=0;e<t.length;e++)if(0===Bo(t[e]).length)throw new Error("empty");return!0}catch(t){}return!1}function Do(e){"string"!=typeof e&&Lo.throwArgumentError("invalid ENS name; not a string","name",e);let t=e,r=wo;for(;t.length;){const o=t.match(Mo);null!=o&&""!==o[2]||Lo.throwArgumentError("invalid ENS address; missing component","name",e);const n=Object(M.f)(Bo(o[3]));r=Object(T.a)(Object(s.b)([r,Object(T.a)(n)])),t=o[2]||""}return Object(s.i)(r)}function No(e){e=atob(e);const t=[];for(let r=0;r<e.length;r++)t.push(e.charCodeAt(r));return Object(s.a)(t)}function jo(e){e=Object(s.a)(e);let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function Xo(e,t){return r=this,void 0,n=function*(){null==t&&(t={});const r={method:t.method||"GET",headers:t.headers||{},body:t.body||void 0,mode:"cors",cache:"no-cache",credentials:"same-origin",redirect:"follow",referrer:"client"},o=yield fetch(e,r),n=yield o.arrayBuffer(),a={};return o.headers.forEach?o.headers.forEach((e,t)=>{a[t.toLowerCase()]=e}):o.headers.keys().forEach(e=>{a[e.toLowerCase()]=o.headers.get(e)}),{headers:a,statusCode:o.status,statusMessage:o.statusText,body:Object(s.a)(new Uint8Array(n))}},new((o=void 0)||(o=Promise))(function(e,t){function a(e){try{s(n.next(e))}catch(r){t(r)}}function i(e){try{s(n.throw(e))}catch(r){t(r)}}function s(t){var r;t.done?e(t.value):(r=t.value,r instanceof o?r:new o(function(e){e(r)})).then(a,i)}s((n=n.apply(r,[])).next())});var r,o,n}const Io=new u.b("web/5.4.0");function Ho(e){return new Promise(t=>{setTimeout(t,e)})}function Go(e,t){if(null==e)return null;if("string"==typeof e)return e;if(Object(s.k)(e)){if(t&&("text"===t.split("/")[0]||"application/json"===t.split(";")[0].trim()))try{return Object(M.h)(e)}catch(r){}return Object(s.i)(e)}return e}function xo(e,t,r){const o="object"==typeof e&&null!=e.throttleLimit?e.throttleLimit:12;Io.assertArgument(o>0&&o%1==0,"invalid connection throttle limit","connection.throttleLimit",o);const n="object"==typeof e?e.throttleCallback:null,a="object"==typeof e&&"number"==typeof e.throttleSlotInterval?e.throttleSlotInterval:100;Io.assertArgument(a>0&&a%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",a);const i={};let s=null;const l={method:"GET"};let c=!1,d=12e4;if("string"==typeof e)s=e;else if("object"==typeof e){if(null!=e&&null!=e.url||Io.throwArgumentError("missing URL","connection.url",e),s=e.url,"number"==typeof e.timeout&&e.timeout>0&&(d=e.timeout),e.headers)for(const t in e.headers)i[t.toLowerCase()]={key:t,value:String(e.headers[t])},["if-none-match","if-modified-since"].indexOf(t.toLowerCase())>=0&&(c=!0);if(l.allowGzip=!!e.allowGzip,null!=e.user&&null!=e.password){"https:"!==s.substring(0,6)&&!0!==e.allowInsecureAuthentication&&Io.throwError("basic authentication requires a secure https url",u.b.errors.INVALID_ARGUMENT,{argument:"url",url:s,user:e.user,password:"[REDACTED]"});const t=e.user+":"+e.password;i.authorization={key:"Authorization",value:"Basic "+jo(Object(M.f)(t))}}}t&&(l.method="POST",l.body=t,null==i["content-type"]&&(i["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==i["content-length"]&&(i["content-length"]={key:"Content-Length",value:String(t.length)}));const h={};Object.keys(i).forEach(e=>{const t=i[e];h[t.key]=t.value}),l.headers=h;const g=function(){let e=null;return{promise:new Promise(function(t,r){d&&(e=setTimeout(()=>{null!=e&&(e=null,r(Io.makeError("timeout",u.b.errors.TIMEOUT,{requestBody:Go(l.body,h["content-type"]),requestMethod:l.method,timeout:d,url:s})))},d))}),cancel:function(){null!=e&&(clearTimeout(e),e=null)}}}(),m=function(){return e=this,void 0,i=function*(){for(let t=0;t<o;t++){let i=null;try{if(i=yield Xo(s,l),429===i.statusCode&&t<o){let e=!0;if(n&&(e=yield n(t,s)),e){let e=0;const r=i.headers["retry-after"];e="string"==typeof r&&r.match(/^[1-9][0-9]*$/)?1e3*parseInt(r):a*parseInt(String(Math.random()*Math.pow(2,t))),yield Ho(e);continue}}}catch(e){i=e.response,null==i&&(g.cancel(),Io.throwError("missing response",u.b.errors.SERVER_ERROR,{requestBody:Go(l.body,h["content-type"]),requestMethod:l.method,serverError:e,url:s}))}let d=i.body;if(c&&304===i.statusCode?d=null:(i.statusCode<200||i.statusCode>=300)&&(g.cancel(),Io.throwError("bad response",u.b.errors.SERVER_ERROR,{status:i.statusCode,headers:i.headers,body:Go(d,i.headers?i.headers["content-type"]:null),requestBody:Go(l.body,h["content-type"]),requestMethod:l.method,url:s})),r)try{const e=yield r(d,i);return g.cancel(),e}catch(e){if(e.throttleRetry&&t<o){let e=!0;if(n&&(e=yield n(t,s)),e){const e=a*parseInt(String(Math.random()*Math.pow(2,t)));yield Ho(e);continue}}g.cancel(),Io.throwError("processing response error",u.b.errors.SERVER_ERROR,{body:Go(d,i.headers?i.headers["content-type"]:null),error:e,requestBody:Go(l.body,h["content-type"]),requestMethod:l.method,url:s})}return g.cancel(),d}return Io.throwError("failed response",u.b.errors.SERVER_ERROR,{requestBody:Go(l.body,h["content-type"]),requestMethod:l.method,url:s})},new((t=void 0)||(t=Promise))(function(r,o){function n(e){try{s(i.next(e))}catch(t){o(t)}}function a(e){try{s(i.throw(e))}catch(t){o(t)}}function s(e){var o;e.done?r(e.value):(o=e.value,o instanceof t?o:new t(function(e){e(o)})).then(n,a)}s((i=i.apply(e,[])).next())});var e,t,i}();return Promise.race([g.promise,m])}function _o(e,t,r){let o=null;if(null!=t){o=Object(M.f)(t);const r="string"==typeof e?{url:e}:Object(c.g)(e);r.headers?0!==Object.keys(r.headers).filter(e=>"content-type"===e.toLowerCase()).length||(r.headers=Object(c.g)(r.headers),r.headers["content-type"]="application/json"):r.headers={"content-type":"application/json"},e=r}return xo(e,o,(e,t)=>{let o=null;if(null!=e)try{o=JSON.parse(Object(M.h)(e))}catch(n){Io.throwError("invalid JSON",u.b.errors.SERVER_ERROR,{body:e,error:n})}return r&&(o=r(o,t)),o})}function Uo(e,t){return t||(t={}),null==(t=Object(c.g)(t)).floor&&(t.floor=0),null==t.ceiling&&(t.ceiling=1e4),null==t.interval&&(t.interval=250),new Promise(function(r,o){let n=null,a=!1;const i=()=>!a&&(a=!0,n&&clearTimeout(n),!0);t.timeout&&(n=setTimeout(()=>{i()&&o(new Error("timeout"))},t.timeout));const s=t.retryLimit;let l=0;!function n(){return e().then(function(e){if(void 0!==e)i()&&r(e);else if(t.oncePoll)t.oncePoll.once("poll",n);else if(t.onceBlock)t.onceBlock.once("block",n);else if(!a){if(l++,l>s)return void(i()&&o(new Error("retry limit reached")));let e=t.interval*parseInt(String(Math.random()*Math.pow(2,l)));e<t.floor&&(e=t.floor),e>t.ceiling&&(e=t.ceiling),setTimeout(n,e)}return null},function(e){i()&&o(e)})}()})}var Vo=r("vyt/"),zo=r.n(Vo);const Zo="providers/5.4.3";var Ko=r("wAtr");const Qo=new u.b(Zo);class qo{constructor(){Qo.checkNew(new.target,qo),this.formats=this.getDefaultFormats()}getDefaultFormats(){const e={},t=this.address.bind(this),r=this.bigNumber.bind(this),o=this.blockTag.bind(this),n=this.data.bind(this),a=this.hash.bind(this),i=this.hex.bind(this),s=this.number.bind(this),l=this.type.bind(this);return e.transaction={hash:a,type:l,accessList:qo.allowNull(this.accessList.bind(this),null),blockHash:qo.allowNull(a,null),blockNumber:qo.allowNull(s,null),transactionIndex:qo.allowNull(s,null),confirmations:qo.allowNull(s,null),from:t,gasPrice:qo.allowNull(r),maxPriorityFeePerGas:qo.allowNull(r),maxFeePerGas:qo.allowNull(r),gasLimit:r,to:qo.allowNull(t,null),value:r,nonce:s,data:n,r:qo.allowNull(this.uint256),s:qo.allowNull(this.uint256),v:qo.allowNull(s),creates:qo.allowNull(t,null),raw:qo.allowNull(n)},e.transactionRequest={from:qo.allowNull(t),nonce:qo.allowNull(s),gasLimit:qo.allowNull(r),gasPrice:qo.allowNull(r),maxPriorityFeePerGas:qo.allowNull(r),maxFeePerGas:qo.allowNull(r),to:qo.allowNull(t),value:qo.allowNull(r),data:qo.allowNull(e=>this.data(e,!0)),type:qo.allowNull(s),accessList:qo.allowNull(this.accessList.bind(this),null)},e.receiptLog={transactionIndex:s,blockNumber:s,transactionHash:a,address:t,topics:qo.arrayOf(a),data:n,logIndex:s,blockHash:a},e.receipt={to:qo.allowNull(this.address,null),from:qo.allowNull(this.address,null),contractAddress:qo.allowNull(t,null),transactionIndex:s,root:qo.allowNull(i),gasUsed:r,logsBloom:qo.allowNull(n),blockHash:a,transactionHash:a,logs:qo.arrayOf(this.receiptLog.bind(this)),blockNumber:s,confirmations:qo.allowNull(s,null),cumulativeGasUsed:r,effectiveGasPrice:qo.allowNull(r),status:qo.allowNull(s),type:l},e.block={hash:a,parentHash:a,number:s,timestamp:s,nonce:qo.allowNull(i),difficulty:this.difficulty.bind(this),gasLimit:r,gasUsed:r,miner:t,extraData:n,transactions:qo.allowNull(qo.arrayOf(a)),baseFeePerGas:qo.allowNull(r)},e.blockWithTransactions=Object(c.g)(e.block),e.blockWithTransactions.transactions=qo.allowNull(qo.arrayOf(this.transactionResponse.bind(this))),e.filter={fromBlock:qo.allowNull(o,void 0),toBlock:qo.allowNull(o,void 0),blockHash:qo.allowNull(a,void 0),address:qo.allowNull(t,void 0),topics:qo.allowNull(this.topics.bind(this),void 0)},e.filterLog={blockNumber:qo.allowNull(s),blockHash:qo.allowNull(a),transactionIndex:s,removed:qo.allowNull(this.boolean.bind(this)),address:t,data:qo.allowFalsish(n,"0x"),topics:qo.arrayOf(a),transactionHash:a,logIndex:s},e}accessList(e){return Object(Ce.accessListify)(e||[])}number(e){return"0x"===e?0:l.a.from(e).toNumber()}type(e){return"0x"===e||null==e?0:l.a.from(e).toNumber()}bigNumber(e){return l.a.from(e)}boolean(e){if("boolean"==typeof e)return e;if("string"==typeof e){if("true"===(e=e.toLowerCase()))return!0;if("false"===e)return!1}throw new Error("invalid boolean - "+e)}hex(e,t){return"string"==typeof e&&(t||"0x"===e.substring(0,2)||(e="0x"+e),Object(s.l)(e))?e.toLowerCase():Qo.throwArgumentError("invalid hash","value",e)}data(e,t){const r=this.hex(e,t);if(r.length%2!=0)throw new Error("invalid data; odd-length - "+e);return r}address(e){return Object(f.a)(e)}callAddress(e){if(!Object(s.l)(e,32))return null;const t=Object(f.a)(Object(s.e)(e,12));return t===Ko.a?null:t}contractAddress(e){return Object(f.b)(e)}blockTag(e){if(null==e)return"latest";if("earliest"===e)return"0x0";if("latest"===e||"pending"===e)return e;if("number"==typeof e||Object(s.l)(e))return Object(s.g)(e);throw new Error("invalid blockTag")}hash(e,t){const r=this.hex(e,t);return 32!==Object(s.d)(r)?Qo.throwArgumentError("invalid hash","value",e):r}difficulty(e){if(null==e)return null;const t=l.a.from(e);try{return t.toNumber()}catch(r){}return null}uint256(e){if(!Object(s.l)(e))throw new Error("invalid uint256");return Object(s.h)(e,32)}_block(e,t){return null!=e.author&&null==e.miner&&(e.miner=e.author),qo.check(t,e)}block(e){return this._block(e,this.formats.block)}blockWithTransactions(e){return this._block(e,this.formats.blockWithTransactions)}transactionRequest(e){return qo.check(this.formats.transactionRequest,e)}transactionResponse(e){null!=e.gas&&null==e.gasLimit&&(e.gasLimit=e.gas),e.to&&l.a.from(e.to).isZero()&&(e.to="0x0000000000000000000000000000000000000000"),null!=e.input&&null==e.data&&(e.data=e.input),null==e.to&&null==e.creates&&(e.creates=this.contractAddress(e)),1===e.type&&null==e.accessList&&(e.accessList=[]);const t=qo.check(this.formats.transaction,e);if(null!=e.chainId){let r=e.chainId;Object(s.l)(r)&&(r=l.a.from(r).toNumber()),t.chainId=r}else{let r=e.networkId;null==r&&null==t.v&&(r=e.chainId),Object(s.l)(r)&&(r=l.a.from(r).toNumber()),"number"!=typeof r&&null!=t.v&&(r=(t.v-35)/2,r<0&&(r=0),r=parseInt(r)),"number"!=typeof r&&(r=0),t.chainId=r}return t.blockHash&&"x"===t.blockHash.replace(/0/g,"")&&(t.blockHash=null),t}transaction(e){return Object(Ce.parse)(e)}receiptLog(e){return qo.check(this.formats.receiptLog,e)}receipt(e){const t=qo.check(this.formats.receipt,e);if(null!=t.root)if(t.root.length<=4){const e=l.a.from(t.root).toNumber();0===e||1===e?(null!=t.status&&t.status!==e&&Qo.throwArgumentError("alt-root-status/status mismatch","value",{root:t.root,status:t.status}),t.status=e,delete t.root):Qo.throwArgumentError("invalid alt-root-status","value.root",t.root)}else 66!==t.root.length&&Qo.throwArgumentError("invalid root hash","value.root",t.root);return null!=t.status&&(t.byzantium=!0),t}topics(e){return Array.isArray(e)?e.map(e=>this.topics(e)):null!=e?this.hash(e,!0):null}filter(e){return qo.check(this.formats.filter,e)}filterLog(e){return qo.check(this.formats.filterLog,e)}static check(e,t){const r={};for(const n in e)try{const o=e[n](t[n]);void 0!==o&&(r[n]=o)}catch(o){throw o.checkKey=n,o.checkValue=t[n],o}return r}static allowNull(e,t){return function(r){return null==r?t:e(r)}}static allowFalsish(e,t){return function(r){return r?e(r):t}}static arrayOf(e){return function(t){if(!Array.isArray(t))throw new Error("not an array");const r=[];return t.forEach(function(t){r.push(e(t))}),r}}}function Yo(e){return e&&"function"==typeof e.isCommunityResource}function Wo(e){return Yo(e)&&e.isCommunityResource()}let $o=!1;function en(){$o||($o=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}var tn=function(e,t,r,o){return new(r||(r=Promise))(function(n,a){function i(e){try{l(o.next(e))}catch(t){a(t)}}function s(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((o=o.apply(e,t||[])).next())})};const rn=new u.b(Zo);function on(e){return null==e?"null":(32!==Object(s.d)(e)&&rn.throwArgumentError("invalid topic","topic",e),e.toLowerCase())}function nn(e){for(e=e.slice();e.length>0&&null==e[e.length-1];)e.pop();return e.map(e=>{if(Array.isArray(e)){const t={};e.forEach(e=>{t[on(e)]=!0});const r=Object.keys(t);return r.sort(),r.join("|")}return on(e)}).join("&")}function an(e){if("string"==typeof e){if(e=e.toLowerCase(),32===Object(s.d)(e))return"tx:"+e;if(-1===e.indexOf(":"))return e}else{if(Array.isArray(e))return"filter:*:"+nn(e);if(Te.isForkEvent(e))throw rn.warn("not implemented"),new Error("not implemented");if(e&&"object"==typeof e)return"filter:"+(e.address||"*")+":"+nn(e.topics||[])}throw new Error("invalid event - "+e)}function sn(){return(new Date).getTime()}function ln(e){return new Promise(t=>{setTimeout(t,e)})}const cn=["block","network","pending","poll"];class un{constructor(e,t,r){Object(c.d)(this,"tag",e),Object(c.d)(this,"listener",t),Object(c.d)(this,"once",r)}get event(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}get type(){return this.tag.split(":")[0]}get hash(){const e=this.tag.split(":");return"tx"!==e[0]?null:e[1]}get filter(){const e=this.tag.split(":");if("filter"!==e[0])return null;const t=e[1],r=""===(o=e[2])?[]:o.split(/&/g).map(e=>{if(""===e)return[];const t=e.split("|").map(e=>"null"===e?null:e);return 1===t.length?t[0]:t});var o;const n={};return r.length>0&&(n.topics=r),t&&"*"!==t&&(n.address=t),n}pollable(){return this.tag.indexOf(":")>=0||cn.indexOf(this.tag)>=0}}const dn={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function hn(e){return Object(s.h)(l.a.from(e).toHexString(),32)}function gn(e){return St.encode(Object(s.b)([e,Object(s.e)(kt(kt(e)),0,4)]))}class mn{constructor(e,t,r){Object(c.d)(this,"provider",e),Object(c.d)(this,"name",r),Object(c.d)(this,"address",e.formatter.address(t))}_fetchBytes(e,t){return tn(this,void 0,void 0,function*(){const r={to:this.address,data:Object(s.c)([e,Do(this.name),t||"0x"])};try{const e=yield this.provider.call(r);if("0x"===e)return null;const t=l.a.from(Object(s.e)(e,0,32)).toNumber(),o=l.a.from(Object(s.e)(e,t,t+32)).toNumber();return Object(s.e)(e,t+32,t+32+o)}catch(o){return null}})}_getAddress(e,t){const r=dn[String(e)];if(null==r&&rn.throwError(`unsupported coin type: ${e}`,u.b.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${e})`}),"eth"===r.ilk)return this.provider.formatter.address(t);const o=Object(s.a)(t);if(null!=r.p2pkh){const e=t.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(e){const t=parseInt(e[1],16);if(e[2].length===2*t&&t>=1&&t<=75)return gn(Object(s.b)([[r.p2pkh],"0x"+e[2]]))}}if(null!=r.p2sh){const e=t.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(e){const t=parseInt(e[1],16);if(e[2].length===2*t&&t>=1&&t<=75)return gn(Object(s.b)([[r.p2sh],"0x"+e[2]]))}}if(null!=r.prefix){const e=o[1];let t=o[0];if(0===t?20!==e&&32!==e&&(t=-1):t=-1,t>=0&&o.length===2+e&&e>=1&&e<=75){const e=zo.a.toWords(o.slice(2));return e.unshift(t),zo.a.encode(r.prefix,e)}}return null}getAddress(e){return tn(this,void 0,void 0,function*(){if(null==e&&(e=60),60===e)try{const e={to:this.address,data:"0x3b3b57de"+Do(this.name).substring(2)},t=yield this.provider.call(e);return"0x"===t||t===To.a?null:this.provider.formatter.callAddress(t)}catch(o){if(o.code===u.b.errors.CALL_EXCEPTION)return null;throw o}const t=yield this._fetchBytes("0xf1cb7e06",hn(e));if(null==t||"0x"===t)return null;const r=this._getAddress(e,t);return null==r&&rn.throwError("invalid or unsupported coin data",u.b.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${e})`,coinType:e,data:t}),r})}getContentHash(){return tn(this,void 0,void 0,function*(){const e=yield this._fetchBytes("0xbc1c58d1");if(null==e||"0x"===e)return null;const t=e.match(/^0xe3010170(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);if(t){const e=parseInt(t[3],16);if(t[4].length===2*e)return"ipfs://"+St.encode("0x"+t[1])}const r=e.match(/^0xe40101fa011b20([0-9a-f]*)$/);return r&&64===r[1].length?"bzz://"+r[1]:rn.throwError("invalid or unsupported content hash data",u.b.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:e})})}getText(e){return tn(this,void 0,void 0,function*(){let t=Object(M.f)(e);t=Object(s.b)([hn(64),hn(t.length),t]),t.length%32!=0&&(t=Object(s.b)([t,Object(s.h)("0x",32-e.length%32)]));const r=yield this._fetchBytes("0x59d1d43c",Object(s.i)(t));return null==r||"0x"===r?null:Object(M.h)(r)})}}let pn=null,bn=1;class fn extends Ae{constructor(e){if(rn.checkNew(new.target,Ae),super(),this._events=[],this._emitted={block:-2},this.formatter=new.target.getFormatter(),Object(c.d)(this,"anyNetwork","any"===e),this.anyNetwork&&(e=this.detectNetwork()),e instanceof Promise)this._networkPromise=e,e.catch(e=>{}),this._ready().catch(e=>{});else{const t=Object(c.e)(new.target,"getNetwork")(e);t?(Object(c.d)(this,"_network",t),this.emit("network",t,null)):rn.throwArgumentError("invalid network","network",e)}this._maxInternalBlockNumber=-1024,this._lastBlockNumber=-2,this._pollingInterval=4e3,this._fastQueryDate=0}_ready(){return tn(this,void 0,void 0,function*(){if(null==this._network){let t=null;if(this._networkPromise)try{t=yield this._networkPromise}catch(e){}null==t&&(t=yield this.detectNetwork()),t||rn.throwError("no network detected",u.b.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=t:Object(c.d)(this,"_network",t),this.emit("network",t,null))}return this._network})}get ready(){return Uo(()=>this._ready().then(e=>e,e=>{if(e.code!==u.b.errors.NETWORK_ERROR||"noNetwork"!==e.event)throw e}))}static getFormatter(){return null==pn&&(pn=new qo),pn}static getNetwork(e){return vo(null==e?"homestead":e)}_getInternalBlockNumber(e){return tn(this,void 0,void 0,function*(){if(yield this._ready(),e>0)for(;this._internalBlockNumber;){const t=this._internalBlockNumber;try{const r=yield t;if(sn()-r.respTime<=e)return r.blockNumber;break}catch(o){if(this._internalBlockNumber===t)break}}const t=sn(),r=Object(c.f)({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then(e=>null,e=>e)}).then(({blockNumber:e,networkError:o})=>{if(o)throw this._internalBlockNumber===r&&(this._internalBlockNumber=null),o;const n=sn();return(e=l.a.from(e).toNumber())<this._maxInternalBlockNumber&&(e=this._maxInternalBlockNumber),this._maxInternalBlockNumber=e,this._setFastBlockNumber(e),{blockNumber:e,reqTime:t,respTime:n}});return this._internalBlockNumber=r,r.catch(e=>{this._internalBlockNumber===r&&(this._internalBlockNumber=null)}),(yield r).blockNumber})}poll(){return tn(this,void 0,void 0,function*(){const e=bn++,t=[];let r=null;try{r=yield this._getInternalBlockNumber(100+this.pollingInterval/2)}catch(o){return void this.emit("error",o)}if(this._setFastBlockNumber(r),this.emit("poll",e,r),r!==this._lastBlockNumber){if(-2===this._emitted.block&&(this._emitted.block=r-1),Math.abs(this._emitted.block-r)>1e3)rn.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${r})`),this.emit("error",rn.makeError("network block skew detected",u.b.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(let e=this._emitted.block+1;e<=r;e++)this.emit("block",e);this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach(e=>{if("block"===e)return;const t=this._emitted[e];"pending"!==t&&r-t>12&&delete this._emitted[e]})),-2===this._lastBlockNumber&&(this._lastBlockNumber=r-1),this._events.forEach(e=>{switch(e.type){case"tx":{const r=e.hash;let o=this.getTransactionReceipt(r).then(e=>e&&null!=e.blockNumber?(this._emitted["t:"+r]=e.blockNumber,this.emit(r,e),null):null).catch(e=>{this.emit("error",e)});t.push(o);break}case"filter":{const o=e.filter;o.fromBlock=this._lastBlockNumber+1,o.toBlock=r;const n=this.getLogs(o).then(e=>{0!==e.length&&e.forEach(e=>{this._emitted["b:"+e.blockHash]=e.blockNumber,this._emitted["t:"+e.transactionHash]=e.blockNumber,this.emit(o,e)})}).catch(e=>{this.emit("error",e)});t.push(n);break}}}),this._lastBlockNumber=r,Promise.all(t).then(()=>{this.emit("didPoll",e)}).catch(e=>{this.emit("error",e)})}else this.emit("didPoll",e)})}resetEventsBlock(e){this._lastBlockNumber=e-1,this.polling&&this.poll()}get network(){return this._network}detectNetwork(){return tn(this,void 0,void 0,function*(){return rn.throwError("provider does not support network detection",u.b.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})})}getNetwork(){return tn(this,void 0,void 0,function*(){const e=yield this._ready(),t=yield this.detectNetwork();if(e.chainId!==t.chainId){if(this.anyNetwork)return this._network=t,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",t,e),yield ln(0),this._network;const r=rn.makeError("underlying network changed",u.b.errors.NETWORK_ERROR,{event:"changed",network:e,detectedNetwork:t});throw this.emit("error",r),r}return e})}get blockNumber(){return this._getInternalBlockNumber(100+this.pollingInterval/2).then(e=>{this._setFastBlockNumber(e)},e=>{}),null!=this._fastBlockNumber?this._fastBlockNumber:-1}get polling(){return null!=this._poller}set polling(e){e&&!this._poller?(this._poller=setInterval(()=>{this.poll()},this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout(()=>{this.poll(),this._bootstrapPoll=setTimeout(()=>{this._poller||this.poll(),this._bootstrapPoll=null},this.pollingInterval)},0))):!e&&this._poller&&(clearInterval(this._poller),this._poller=null)}get pollingInterval(){return this._pollingInterval}set pollingInterval(e){if("number"!=typeof e||e<=0||parseInt(String(e))!=e)throw new Error("invalid polling interval");this._pollingInterval=e,this._poller&&(clearInterval(this._poller),this._poller=setInterval(()=>{this.poll()},this._pollingInterval))}_getFastBlockNumber(){const e=sn();return e-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=e,this._fastBlockNumberPromise=this.getBlockNumber().then(e=>((null==this._fastBlockNumber||e>this._fastBlockNumber)&&(this._fastBlockNumber=e),this._fastBlockNumber))),this._fastBlockNumberPromise}_setFastBlockNumber(e){null!=this._fastBlockNumber&&e<this._fastBlockNumber||(this._fastQueryDate=sn(),(null==this._fastBlockNumber||e>this._fastBlockNumber)&&(this._fastBlockNumber=e,this._fastBlockNumberPromise=Promise.resolve(e)))}waitForTransaction(e,t,r){return tn(this,void 0,void 0,function*(){return this._waitForTransaction(e,null==t?1:t,r||0,null)})}_waitForTransaction(e,t,r,o){return tn(this,void 0,void 0,function*(){const n=yield this.getTransactionReceipt(e);return(n?n.confirmations:0)>=t?n:new Promise((n,a)=>{const i=[];let s=!1;const l=function(){return!!s||(s=!0,i.forEach(e=>{e()}),!1)},c=e=>{e.confirmations<t||l()||n(e)};if(this.on(e,c),i.push(()=>{this.removeListener(e,c)}),o){let r=o.startBlock,n=null;const c=i=>tn(this,void 0,void 0,function*(){s||(yield ln(1e3),this.getTransactionCount(o.from).then(d=>tn(this,void 0,void 0,function*(){if(!s){if(d<=o.nonce)r=i;else{{const t=yield this.getTransaction(e);if(t&&null!=t.blockNumber)return}for(null==n&&(n=r-3,n<o.startBlock&&(n=o.startBlock));n<=i;){if(s)return;const r=yield this.getBlockWithTransactions(n);for(let n=0;n<r.transactions.length;n++){const i=r.transactions[n];if(i.hash===e)return;if(i.from===o.from&&i.nonce===o.nonce){if(s)return;const r=yield this.waitForTransaction(i.hash,t);if(l())return;let n="replaced";return i.data===o.data&&i.to===o.to&&i.value.eq(o.value)?n="repriced":"0x"===i.data&&i.from===i.to&&i.value.isZero()&&(n="cancelled"),void a(rn.makeError("transaction was replaced",u.b.errors.TRANSACTION_REPLACED,{cancelled:"replaced"===n||"cancelled"===n,reason:n,replacement:this._wrapTransaction(i),hash:e,receipt:r}))}}n++}}s||this.once("block",c)}}),e=>{s||this.once("block",c)}))});if(s)return;this.once("block",c),i.push(()=>{this.removeListener("block",c)})}if("number"==typeof r&&r>0){const e=setTimeout(()=>{l()||a(rn.makeError("timeout exceeded",u.b.errors.TIMEOUT,{timeout:r}))},r);e.unref&&e.unref(),i.push(()=>{clearTimeout(e)})}})})}getBlockNumber(){return tn(this,void 0,void 0,function*(){return this._getInternalBlockNumber(0)})}getGasPrice(){return tn(this,void 0,void 0,function*(){yield this.getNetwork();const e=yield this.perform("getGasPrice",{});try{return l.a.from(e)}catch(t){return rn.throwError("bad result from backend",u.b.errors.SERVER_ERROR,{method:"getGasPrice",result:e,error:t})}})}getBalance(e,t){return tn(this,void 0,void 0,function*(){yield this.getNetwork();const r=yield Object(c.f)({address:this._getAddress(e),blockTag:this._getBlockTag(t)}),o=yield this.perform("getBalance",r);try{return l.a.from(o)}catch(n){return rn.throwError("bad result from backend",u.b.errors.SERVER_ERROR,{method:"getBalance",params:r,result:o,error:n})}})}getTransactionCount(e,t){return tn(this,void 0,void 0,function*(){yield this.getNetwork();const r=yield Object(c.f)({address:this._getAddress(e),blockTag:this._getBlockTag(t)}),o=yield this.perform("getTransactionCount",r);try{return l.a.from(o).toNumber()}catch(n){return rn.throwError("bad result from backend",u.b.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:o,error:n})}})}getCode(e,t){return tn(this,void 0,void 0,function*(){yield this.getNetwork();const r=yield Object(c.f)({address:this._getAddress(e),blockTag:this._getBlockTag(t)}),o=yield this.perform("getCode",r);try{return Object(s.i)(o)}catch(n){return rn.throwError("bad result from backend",u.b.errors.SERVER_ERROR,{method:"getCode",params:r,result:o,error:n})}})}getStorageAt(e,t,r){return tn(this,void 0,void 0,function*(){yield this.getNetwork();const o=yield Object(c.f)({address:this._getAddress(e),blockTag:this._getBlockTag(r),position:Promise.resolve(t).then(e=>Object(s.g)(e))}),n=yield this.perform("getStorageAt",o);try{return Object(s.i)(n)}catch(a){return rn.throwError("bad result from backend",u.b.errors.SERVER_ERROR,{method:"getStorageAt",params:o,result:n,error:a})}})}_wrapTransaction(e,t,r){if(null!=t&&32!==Object(s.d)(t))throw new Error("invalid response - sendTransaction");const o=e;return null!=t&&e.hash!==t&&rn.throwError("Transaction hash mismatch from Provider.sendTransaction.",u.b.errors.UNKNOWN_ERROR,{expectedHash:e.hash,returnedHash:t}),o.wait=(t,o)=>tn(this,void 0,void 0,function*(){let n;null==t&&(t=1),null==o&&(o=0),0!==t&&null!=r&&(n={data:e.data,from:e.from,nonce:e.nonce,to:e.to,value:e.value,startBlock:r});const a=yield this._waitForTransaction(e.hash,t,o,n);return null==a&&0===t?null:(this._emitted["t:"+e.hash]=a.blockNumber,0===a.status&&rn.throwError("transaction failed",u.b.errors.CALL_EXCEPTION,{transactionHash:e.hash,transaction:e,receipt:a}),a)}),o}sendTransaction(e){return tn(this,void 0,void 0,function*(){yield this.getNetwork();const t=yield Promise.resolve(e).then(e=>Object(s.i)(e)),r=this.formatter.transaction(e);null==r.confirmations&&(r.confirmations=0);const o=yield this._getInternalBlockNumber(100+2*this.pollingInterval);try{const e=yield this.perform("sendTransaction",{signedTransaction:t});return this._wrapTransaction(r,e,o)}catch(n){throw n.transaction=r,n.transactionHash=r.hash,n}})}_getTransactionRequest(e){return tn(this,void 0,void 0,function*(){const t=yield e,r={};return["from","to"].forEach(e=>{null!=t[e]&&(r[e]=Promise.resolve(t[e]).then(e=>e?this._getAddress(e):null))}),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach(e=>{null!=t[e]&&(r[e]=Promise.resolve(t[e]).then(e=>e?l.a.from(e):null))}),["type"].forEach(e=>{null!=t[e]&&(r[e]=Promise.resolve(t[e]).then(e=>null!=e?e:null))}),t.accessList&&(r.accessList=this.formatter.accessList(t.accessList)),["data"].forEach(e=>{null!=t[e]&&(r[e]=Promise.resolve(t[e]).then(e=>e?Object(s.i)(e):null))}),this.formatter.transactionRequest(yield Object(c.f)(r))})}_getFilter(e){return tn(this,void 0,void 0,function*(){e=yield e;const t={};return null!=e.address&&(t.address=this._getAddress(e.address)),["blockHash","topics"].forEach(r=>{null!=e[r]&&(t[r]=e[r])}),["fromBlock","toBlock"].forEach(r=>{null!=e[r]&&(t[r]=this._getBlockTag(e[r]))}),this.formatter.filter(yield Object(c.f)(t))})}call(e,t){return tn(this,void 0,void 0,function*(){yield this.getNetwork();const r=yield Object(c.f)({transaction:this._getTransactionRequest(e),blockTag:this._getBlockTag(t)}),o=yield this.perform("call",r);try{return Object(s.i)(o)}catch(n){return rn.throwError("bad result from backend",u.b.errors.SERVER_ERROR,{method:"call",params:r,result:o,error:n})}})}estimateGas(e){return tn(this,void 0,void 0,function*(){yield this.getNetwork();const t=yield Object(c.f)({transaction:this._getTransactionRequest(e)}),r=yield this.perform("estimateGas",t);try{return l.a.from(r)}catch(o){return rn.throwError("bad result from backend",u.b.errors.SERVER_ERROR,{method:"estimateGas",params:t,result:r,error:o})}})}_getAddress(e){return tn(this,void 0,void 0,function*(){const t=yield this.resolveName(e);return null==t&&rn.throwError("ENS name not configured",u.b.errors.UNSUPPORTED_OPERATION,{operation:`resolveName(${JSON.stringify(e)})`}),t})}_getBlock(e,t){return tn(this,void 0,void 0,function*(){yield this.getNetwork(),e=yield e;let r=-128;const o={includeTransactions:!!t};if(Object(s.l)(e,32))o.blockHash=e;else try{o.blockTag=this.formatter.blockTag(yield this._getBlockTag(e)),Object(s.l)(o.blockTag)&&(r=parseInt(o.blockTag.substring(2),16))}catch(n){rn.throwArgumentError("invalid block hash or block tag","blockHashOrBlockTag",e)}return Uo(()=>tn(this,void 0,void 0,function*(){const e=yield this.perform("getBlock",o);if(null==e)return null!=o.blockHash&&null==this._emitted["b:"+o.blockHash]||null!=o.blockTag&&r>this._emitted.block?null:void 0;if(t){let t=null;for(let o=0;o<e.transactions.length;o++){const r=e.transactions[o];if(null==r.blockNumber)r.confirmations=0;else if(null==r.confirmations){null==t&&(t=yield this._getInternalBlockNumber(100+2*this.pollingInterval));let e=t-r.blockNumber+1;e<=0&&(e=1),r.confirmations=e}}const r=this.formatter.blockWithTransactions(e);return r.transactions=e.transactions.map(e=>this._wrapTransaction(e)),r}return this.formatter.block(e)}),{oncePoll:this})})}getBlock(e){return this._getBlock(e,!1)}getBlockWithTransactions(e){return this._getBlock(e,!0)}getTransaction(e){return tn(this,void 0,void 0,function*(){yield this.getNetwork(),e=yield e;const t={transactionHash:this.formatter.hash(e,!0)};return Uo(()=>tn(this,void 0,void 0,function*(){const r=yield this.perform("getTransaction",t);if(null==r)return null==this._emitted["t:"+e]?null:void 0;const o=this.formatter.transactionResponse(r);if(null==o.blockNumber)o.confirmations=0;else if(null==o.confirmations){let e=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-o.blockNumber+1;e<=0&&(e=1),o.confirmations=e}return this._wrapTransaction(o)}),{oncePoll:this})})}getTransactionReceipt(e){return tn(this,void 0,void 0,function*(){yield this.getNetwork(),e=yield e;const t={transactionHash:this.formatter.hash(e,!0)};return Uo(()=>tn(this,void 0,void 0,function*(){const r=yield this.perform("getTransactionReceipt",t);if(null==r)return null==this._emitted["t:"+e]?null:void 0;if(null==r.blockHash)return;const o=this.formatter.receipt(r);if(null==o.blockNumber)o.confirmations=0;else if(null==o.confirmations){let e=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-o.blockNumber+1;e<=0&&(e=1),o.confirmations=e}return o}),{oncePoll:this})})}getLogs(e){return tn(this,void 0,void 0,function*(){yield this.getNetwork();const t=yield Object(c.f)({filter:this._getFilter(e)}),r=yield this.perform("getLogs",t);return r.forEach(e=>{null==e.removed&&(e.removed=!1)}),qo.arrayOf(this.formatter.filterLog.bind(this.formatter))(r)})}getEtherPrice(){return tn(this,void 0,void 0,function*(){return yield this.getNetwork(),this.perform("getEtherPrice",{})})}_getBlockTag(e){return tn(this,void 0,void 0,function*(){if("number"==typeof(e=yield e)&&e<0){e%1&&rn.throwArgumentError("invalid BlockTag","blockTag",e);let t=yield this._getInternalBlockNumber(100+2*this.pollingInterval);return t+=e,t<0&&(t=0),this.formatter.blockTag(t)}return this.formatter.blockTag(e)})}getResolver(e){return tn(this,void 0,void 0,function*(){try{const t=yield this._getResolver(e);return null==t?null:new mn(this,t,e)}catch(t){return null}})}_getResolver(e){return tn(this,void 0,void 0,function*(){const t=yield this.getNetwork();t.ensAddress||rn.throwError("network does not support ENS",u.b.errors.UNSUPPORTED_OPERATION,{operation:"ENS",network:t.name});const r={to:t.ensAddress,data:"0x0178b8bf"+Do(e).substring(2)};try{return this.formatter.callAddress(yield this.call(r))}catch(o){if(o.code===u.b.errors.CALL_EXCEPTION)return null;throw o}})}resolveName(e){return tn(this,void 0,void 0,function*(){e=yield e;try{return Promise.resolve(this.formatter.address(e))}catch(r){if(Object(s.l)(e))throw r}"string"!=typeof e&&rn.throwArgumentError("invalid ENS name","name",e);const t=yield this.getResolver(e);return t?yield t.getAddress():null})}lookupAddress(e){return tn(this,void 0,void 0,function*(){e=yield e;const t=(e=this.formatter.address(e)).substring(2).toLowerCase()+".addr.reverse",r=yield this._getResolver(t);if(!r)return null;let o=Object(s.a)(yield this.call({to:r,data:"0x691f3431"+Do(t).substring(2)}));if(o.length<32||!l.a.from(o.slice(0,32)).eq(32))return null;if(o=o.slice(32),o.length<32)return null;const n=l.a.from(o.slice(0,32)).toNumber();if(o=o.slice(32),n>o.length)return null;const a=Object(M.h)(o.slice(0,n));return(yield this.resolveName(a))!=e?null:a})}perform(e,t){return rn.throwError(e+" not implemented",u.b.errors.NOT_IMPLEMENTED,{operation:e})}_startEvent(e){this.polling=this._events.filter(e=>e.pollable()).length>0}_stopEvent(e){this.polling=this._events.filter(e=>e.pollable()).length>0}_addEventListener(e,t,r){const o=new un(an(e),t,r);return this._events.push(o),this._startEvent(o),this}on(e,t){return this._addEventListener(e,t,!1)}once(e,t){return this._addEventListener(e,t,!0)}emit(e,...t){let r=!1,o=[],n=an(e);return this._events=this._events.filter(e=>e.tag!==n||(setTimeout(()=>{e.listener.apply(this,t)},0),r=!0,!e.once||(o.push(e),!1))),o.forEach(e=>{this._stopEvent(e)}),r}listenerCount(e){if(!e)return this._events.length;let t=an(e);return this._events.filter(e=>e.tag===t).length}listeners(e){if(null==e)return this._events.map(e=>e.listener);let t=an(e);return this._events.filter(e=>e.tag===t).map(e=>e.listener)}off(e,t){if(null==t)return this.removeAllListeners(e);const r=[];let o=!1,n=an(e);return this._events=this._events.filter(e=>e.tag!==n||e.listener!=t||!!o||(o=!0,r.push(e),!1)),r.forEach(e=>{this._stopEvent(e)}),this}removeAllListeners(e){let t=[];if(null==e)t=this._events,this._events=[];else{const r=an(e);this._events=this._events.filter(e=>e.tag!==r||(t.push(e),!1))}return t.forEach(e=>{this._stopEvent(e)}),this}}var vn=function(e,t,r,o){return new(r||(r=Promise))(function(n,a){function i(e){try{l(o.next(e))}catch(t){a(t)}}function s(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((o=o.apply(e,t||[])).next())})};const Tn=new u.b(Zo),An=["call","estimateGas"];function yn(e,t,r){if("call"===e&&t.code===u.b.errors.SERVER_ERROR){const e=t.error;if(e&&e.message.match("reverted")&&Object(s.l)(e.data))return e.data;Tn.throwError("missing revert data in call exception",u.b.errors.CALL_EXCEPTION,{error:t,data:"0x"})}let o=t.message;t.code===u.b.errors.SERVER_ERROR&&t.error&&"string"==typeof t.error.message?o=t.error.message:"string"==typeof t.body?o=t.body:"string"==typeof t.responseText&&(o=t.responseText),o=(o||"").toLowerCase();const n=r.transaction||r.signedTransaction;throw o.match(/insufficient funds|base fee exceeds gas limit/)&&Tn.throwError("insufficient funds for intrinsic transaction cost",u.b.errors.INSUFFICIENT_FUNDS,{error:t,method:e,transaction:n}),o.match(/nonce too low/)&&Tn.throwError("nonce has already been used",u.b.errors.NONCE_EXPIRED,{error:t,method:e,transaction:n}),o.match(/replacement transaction underpriced/)&&Tn.throwError("replacement fee too low",u.b.errors.REPLACEMENT_UNDERPRICED,{error:t,method:e,transaction:n}),o.match(/only replay-protected/)&&Tn.throwError("legacy pre-eip-155 transactions not supported",u.b.errors.UNSUPPORTED_OPERATION,{error:t,method:e,transaction:n}),An.indexOf(e)>=0&&o.match(/gas required exceeds allowance|always failing transaction|execution reverted/)&&Tn.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",u.b.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:n}),t}function Sn(e){return new Promise(function(t){setTimeout(t,e)})}function En(e){if(e.error){const t=new Error(e.error.message);throw t.code=e.error.code,t.data=e.error.data,t}return e.result}function On(e){return e?e.toLowerCase():e}const Fn={};class Pn extends Fe{constructor(e,t,r){if(Tn.checkNew(new.target,Pn),super(),e!==Fn)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");Object(c.d)(this,"provider",t),null==r&&(r=0),"string"==typeof r?(Object(c.d)(this,"_address",this.provider.formatter.address(r)),Object(c.d)(this,"_index",null)):"number"==typeof r?(Object(c.d)(this,"_index",r),Object(c.d)(this,"_address",null)):Tn.throwArgumentError("invalid address or index","addressOrIndex",r)}connect(e){return Tn.throwError("cannot alter JSON-RPC Signer connection",u.b.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}connectUnchecked(){return new Cn(Fn,this.provider,this._address||this._index)}getAddress(){return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then(e=>(e.length<=this._index&&Tn.throwError("unknown account #"+this._index,u.b.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),this.provider.formatter.address(e[this._index])))}sendUncheckedTransaction(e){e=Object(c.g)(e);const t=this.getAddress().then(e=>(e&&(e=e.toLowerCase()),e));if(null==e.gasLimit){const r=Object(c.g)(e);r.from=t,e.gasLimit=this.provider.estimateGas(r)}return null!=e.to&&(e.to=Promise.resolve(e.to).then(e=>vn(this,void 0,void 0,function*(){if(null==e)return null;const t=yield this.provider.resolveName(e);return null==t&&Tn.throwArgumentError("provided ENS name resolves to null","tx.to",e),t}))),Object(c.f)({tx:Object(c.f)(e),sender:t}).then(({tx:t,sender:r})=>{null!=t.from?t.from.toLowerCase()!==r&&Tn.throwArgumentError("from address mismatch","transaction",e):t.from=r;const o=this.provider.constructor.hexlifyTransaction(t,{from:!0});return this.provider.send("eth_sendTransaction",[o]).then(e=>e,e=>yn("sendTransaction",e,o))})}signTransaction(e){return Tn.throwError("signing transactions is unsupported",u.b.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}sendTransaction(e){return vn(this,void 0,void 0,function*(){const t=yield this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval),r=yield this.sendUncheckedTransaction(e);try{return yield Uo(()=>vn(this,void 0,void 0,function*(){const e=yield this.provider.getTransaction(r);if(null!==e)return this.provider._wrapTransaction(e,r,t)}),{oncePoll:this.provider})}catch(o){throw o.transactionHash=r,o}})}signMessage(e){return vn(this,void 0,void 0,function*(){const t="string"==typeof e?Object(M.f)(e):e,r=yield this.getAddress();return yield this.provider.send("eth_sign",[r.toLowerCase(),Object(s.i)(t)])})}_signTypedData(e,t,r){return vn(this,void 0,void 0,function*(){const o=yield At.resolveNames(e,t,r,e=>this.provider.resolveName(e)),n=yield this.getAddress();return yield this.provider.send("eth_signTypedData_v4",[n.toLowerCase(),JSON.stringify(At.getPayload(o.domain,t,o.value))])})}unlock(e){return vn(this,void 0,void 0,function*(){const t=this.provider,r=yield this.getAddress();return t.send("personal_unlockAccount",[r.toLowerCase(),e,null])})}}class Cn extends Pn{sendTransaction(e){return this.sendUncheckedTransaction(e).then(e=>({hash:e,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:t=>this.provider.waitForTransaction(e,t)}))}}const kn={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};class Jn extends fn{constructor(e,t){Tn.checkNew(new.target,Jn);let r=t;null==r&&(r=new Promise((e,t)=>{setTimeout(()=>{this.detectNetwork().then(t=>{e(t)},e=>{t(e)})},0)})),super(r),e||(e=Object(c.e)(this.constructor,"defaultUrl")()),"string"==typeof e?Object(c.d)(this,"connection",Object.freeze({url:e})):Object(c.d)(this,"connection",Object.freeze(Object(c.g)(e))),this._nextId=42}get _cache(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache}static defaultUrl(){return"http://localhost:8545"}detectNetwork(){return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout(()=>{this._cache.detectNetwork=null},0)),this._cache.detectNetwork}_uncachedDetectNetwork(){return vn(this,void 0,void 0,function*(){yield Sn(0);let e=null;try{e=yield this.send("eth_chainId",[])}catch(t){try{e=yield this.send("net_version",[])}catch(t){}}if(null!=e){const r=Object(c.e)(this.constructor,"getNetwork");try{return r(l.a.from(e).toNumber())}catch(t){return Tn.throwError("could not detect network",u.b.errors.NETWORK_ERROR,{chainId:e,event:"invalidNetwork",serverError:t})}}return Tn.throwError("could not detect network",u.b.errors.NETWORK_ERROR,{event:"noNetwork"})})}getSigner(e){return new Pn(Fn,this,e)}getUncheckedSigner(e){return this.getSigner(e).connectUnchecked()}listAccounts(){return this.send("eth_accounts",[]).then(e=>e.map(e=>this.formatter.address(e)))}send(e,t){const r={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:Object(c.c)(r),provider:this});const o=["eth_chainId","eth_blockNumber"].indexOf(e)>=0;if(o&&this._cache[e])return this._cache[e];const n=_o(this.connection,JSON.stringify(r),En).then(e=>(this.emit("debug",{action:"response",request:r,response:e,provider:this}),e),e=>{throw this.emit("debug",{action:"response",error:e,request:r,provider:this}),e});return o&&(this._cache[e]=n,setTimeout(()=>{this._cache[e]=null},0)),n}prepareRequest(e,t){switch(e){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[On(t.address),t.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[On(t.address),t.blockTag]];case"getCode":return["eth_getCode",[On(t.address),t.blockTag]];case"getStorageAt":return["eth_getStorageAt",[On(t.address),t.position,t.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[t.signedTransaction]];case"getBlock":return t.blockTag?["eth_getBlockByNumber",[t.blockTag,!!t.includeTransactions]]:t.blockHash?["eth_getBlockByHash",[t.blockHash,!!t.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[t.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[t.transactionHash]];case"call":return["eth_call",[Object(c.e)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0}),t.blockTag]];case"estimateGas":return["eth_estimateGas",[Object(c.e)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0})]];case"getLogs":return t.filter&&null!=t.filter.address&&(t.filter.address=On(t.filter.address)),["eth_getLogs",[t.filter]]}return null}perform(e,t){return vn(this,void 0,void 0,function*(){if("call"===e||"estimateGas"===e){const e=t.transaction;if(e&&null!=e.type&&l.a.from(e.type).isZero()&&null==e.maxFeePerGas&&null==e.maxPriorityFeePerGas){const r=yield this.getFeeData();null==r.maxFeePerGas&&null==r.maxPriorityFeePerGas&&((t=Object(c.g)(t)).transaction=Object(c.g)(e),delete t.transaction.type)}}const r=this.prepareRequest(e,t);null==r&&Tn.throwError(e+" not implemented",u.b.errors.NOT_IMPLEMENTED,{operation:e});try{return yield this.send(r[0],r[1])}catch(o){return yn(e,o,t)}})}_startEvent(e){"pending"===e.tag&&this._startPending(),super._startEvent(e)}_startPending(){if(null!=this._pendingFilter)return;const e=this,t=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=t,t.then(function(r){return function o(){e.send("eth_getFilterChanges",[r]).then(function(r){if(e._pendingFilter!=t)return null;let o=Promise.resolve();return r.forEach(function(t){e._emitted["t:"+t.toLowerCase()]="pending",o=o.then(function(){return e.getTransaction(t).then(function(t){return e.emit("pending",t),null})})}),o.then(function(){return Sn(1e3)})}).then(function(){if(e._pendingFilter==t)return setTimeout(function(){o()},0),null;e.send("eth_uninstallFilter",[r])}).catch(e=>{})}(),r}).catch(e=>{})}_stopEvent(e){"pending"===e.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),super._stopEvent(e)}static hexlifyTransaction(e,t){const r=Object(c.g)(kn);if(t)for(const n in t)t[n]&&(r[n]=!0);Object(c.b)(e,r);const o={};return["gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach(function(t){if(null==e[t])return;const r=Object(s.g)(e[t]);"gasLimit"===t&&(t="gas"),o[t]=r}),["from","to","data"].forEach(function(t){null!=e[t]&&(o[t]=Object(s.i)(e[t]))}),e.accessList&&(o.accessList=Object(Ce.accessListify)(e.accessList)),o}}let Bn=null;try{if(Bn=WebSocket,null==Bn)throw new Error("inject please")}catch(qa){const e=new u.b(Zo);Bn=function(){e.throwError("WebSockets not supported in this environment",u.b.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var Ln=function(e,t,r,o){return new(r||(r=Promise))(function(n,a){function i(e){try{l(o.next(e))}catch(t){a(t)}}function s(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((o=o.apply(e,t||[])).next())})};const wn=new u.b(Zo);let Mn=1;class Rn extends Jn{constructor(e,t){"any"===t&&wn.throwError("WebSocketProvider does not support 'any' network yet",u.b.errors.UNSUPPORTED_OPERATION,{operation:"network:any"}),super(e,t),this._pollingInterval=-1,this._wsReady=!1,Object(c.d)(this,"_websocket",new Bn(this.connection.url)),Object(c.d)(this,"_requests",{}),Object(c.d)(this,"_subs",{}),Object(c.d)(this,"_subIds",{}),Object(c.d)(this,"_detectNetwork",super.detectNetwork()),this._websocket.onopen=()=>{this._wsReady=!0,Object.keys(this._requests).forEach(e=>{this._websocket.send(this._requests[e].payload)})},this._websocket.onmessage=e=>{const t=e.data,r=JSON.parse(t);if(null!=r.id){const e=String(r.id),o=this._requests[e];if(delete this._requests[e],void 0!==r.result)o.callback(null,r.result),this.emit("debug",{action:"response",request:JSON.parse(o.payload),response:r.result,provider:this});else{let e=null;r.error?(e=new Error(r.error.message||"unknown error"),Object(c.d)(e,"code",r.error.code||null),Object(c.d)(e,"response",t)):e=new Error("unknown error"),o.callback(e,void 0),this.emit("debug",{action:"response",error:e,request:JSON.parse(o.payload),provider:this})}}else if("eth_subscription"===r.method){const e=this._subs[r.params.subscription];e&&e.processFunc(r.params.result)}else console.warn("this should not happen")};const r=setInterval(()=>{this.emit("poll")},1e3);r.unref&&r.unref()}detectNetwork(){return this._detectNetwork}get pollingInterval(){return 0}resetEventsBlock(e){wn.throwError("cannot reset events block on WebSocketProvider",u.b.errors.UNSUPPORTED_OPERATION,{operation:"resetEventBlock"})}set pollingInterval(e){wn.throwError("cannot set polling interval on WebSocketProvider",u.b.errors.UNSUPPORTED_OPERATION,{operation:"setPollingInterval"})}poll(){return Ln(this,void 0,void 0,function*(){return null})}set polling(e){e&&wn.throwError("cannot set polling on WebSocketProvider",u.b.errors.UNSUPPORTED_OPERATION,{operation:"setPolling"})}send(e,t){const r=Mn++;return new Promise((o,n)=>{const a=JSON.stringify({method:e,params:t,id:r,jsonrpc:"2.0"});this.emit("debug",{action:"request",request:JSON.parse(a),provider:this}),this._requests[String(r)]={callback:function(e,t){return e?n(e):o(t)},payload:a},this._wsReady&&this._websocket.send(a)})}static defaultUrl(){return"ws://localhost:8546"}_subscribe(e,t,r){return Ln(this,void 0,void 0,function*(){let o=this._subIds[e];null==o&&(o=Promise.all(t).then(e=>this.send("eth_subscribe",e)),this._subIds[e]=o);const n=yield o;this._subs[n]={tag:e,processFunc:r}})}_startEvent(e){switch(e.type){case"block":this._subscribe("block",["newHeads"],e=>{const t=l.a.from(e.number).toNumber();this._emitted.block=t,this.emit("block",t)});break;case"pending":this._subscribe("pending",["newPendingTransactions"],e=>{this.emit("pending",e)});break;case"filter":this._subscribe(e.tag,["logs",this._getFilter(e.filter)],t=>{null==t.removed&&(t.removed=!1),this.emit(e.filter,this.formatter.filterLog(t))});break;case"tx":{const t=e=>{const t=e.hash;this.getTransactionReceipt(t).then(e=>{e&&this.emit(t,e)})};t(e),this._subscribe("tx",["newHeads"],e=>{this._events.filter(e=>"tx"===e.type).forEach(t)});break}case"debug":case"poll":case"willPoll":case"didPoll":case"error":break;default:console.log("unhandled:",e)}}_stopEvent(e){let t=e.tag;if("tx"===e.type){if(this._events.filter(e=>"tx"===e.type).length)return;t="tx"}else if(this.listenerCount(e.event))return;const r=this._subIds[t];r&&(delete this._subIds[t],r.then(e=>{this._subs[e]&&(delete this._subs[e],this.send("eth_unsubscribe",[e]))}))}destroy(){return Ln(this,void 0,void 0,function*(){this._websocket.readyState===Bn.CONNECTING&&(yield new Promise(e=>{this._websocket.onopen=function(){e(!0)},this._websocket.onerror=function(){e(!1)}})),this._websocket.close(1e3)})}}const Dn=new u.b(Zo);class Nn extends Jn{detectNetwork(){const e=Object.create(null,{detectNetwork:{get:()=>super.detectNetwork}});return t=this,void 0,o=function*(){let t=this.network;return null==t&&(t=yield e.detectNetwork.call(this),t||Dn.throwError("no network detected",u.b.errors.UNKNOWN_ERROR,{}),null==this._network&&(Object(c.d)(this,"_network",t),this.emit("network",t,null))),t},new((r=void 0)||(r=Promise))(function(e,n){function a(e){try{s(o.next(e))}catch(t){n(t)}}function i(e){try{s(o.throw(e))}catch(t){n(t)}}function s(t){var o;t.done?e(t.value):(o=t.value,o instanceof r?o:new r(function(e){e(o)})).then(a,i)}s((o=o.apply(t,[])).next())});var t,r,o}}class jn extends Nn{constructor(e,t){Dn.checkAbstract(new.target,jn),e=Object(c.e)(new.target,"getNetwork")(e),t=Object(c.e)(new.target,"getApiKey")(t),super(Object(c.e)(new.target,"getUrl")(e,t),e),"string"==typeof t?Object(c.d)(this,"apiKey",t):null!=t&&Object.keys(t).forEach(e=>{Object(c.d)(this,e,t[e])})}_startPending(){Dn.warn("WARNING: API provider does not support pending filters")}isCommunityResource(){return!1}getSigner(e){return Dn.throwError("API provider does not support signing",u.b.errors.UNSUPPORTED_OPERATION,{operation:"getSigner"})}listAccounts(){return Promise.resolve([])}static getApiKey(e){return e}static getUrl(e,t){return Dn.throwError("not implemented; sub-classes must override getUrl",u.b.errors.NOT_IMPLEMENTED,{operation:"getUrl"})}}const Xn=new u.b(Zo),In="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";class Hn extends Rn{constructor(e,t){const r=new Gn(e,t);super(r.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi."),r.network),Object(c.d)(this,"apiKey",r.apiKey)}isCommunityResource(){return this.apiKey===In}}class Gn extends jn{static getWebSocketProvider(e,t){return new Hn(e,t)}static getApiKey(e){return null==e?In:(e&&"string"!=typeof e&&Xn.throwArgumentError("invalid apiKey","apiKey",e),e)}static getUrl(e,t){let r=null;switch(e.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"ropsten":r="eth-ropsten.alchemyapi.io/v2/";break;case"rinkeby":r="eth-rinkeby.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.alchemyapi.io/v2/";break;case"kovan":r="eth-kovan.alchemyapi.io/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;default:Xn.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+t,throttleCallback:(e,r)=>(t===In&&en(),Promise.resolve(!0))}}perform(e,t){const r=Object.create(null,{perform:{get:()=>super.perform}});return o=this,void 0,a=function*(){return("estimateGas"===e&&2===t.transaction.type||"sendTransaction"===e&&"0x02"===t.signedTransaction.substring(0,4))&&Xn.throwError("AlchemyProvider does not currently support EIP-1559",u.b.errors.UNSUPPORTED_OPERATION,{operation:e,transaction:t.transaction}),r.perform.call(this,e,t)},new((n=void 0)||(n=Promise))(function(e,t){function r(e){try{s(a.next(e))}catch(r){t(r)}}function i(e){try{s(a.throw(e))}catch(r){t(r)}}function s(t){var o;t.done?e(t.value):(o=t.value,o instanceof n?o:new n(function(e){e(o)})).then(r,i)}s((a=a.apply(o,[])).next())});var o,n,a}isCommunityResource(){return this.apiKey===In}}const xn=new u.b(Zo);class _n extends jn{static getApiKey(e){return null!=e&&xn.throwArgumentError("apiKey not supported for cloudflare","apiKey",e),null}static getUrl(e,t){let r=null;switch(e.name){case"homestead":r="https://cloudflare-eth.com/";break;default:xn.throwArgumentError("unsupported network","network",arguments[0])}return r}perform(e,t){const r=Object.create(null,{perform:{get:()=>super.perform}});return o=this,void 0,a=function*(){return"getBlockNumber"===e?(yield r.perform.call(this,"getBlock",{blockTag:"latest"})).number:r.perform.call(this,e,t)},new((n=void 0)||(n=Promise))(function(e,t){function r(e){try{s(a.next(e))}catch(r){t(r)}}function i(e){try{s(a.throw(e))}catch(r){t(r)}}function s(t){var o;t.done?e(t.value):(o=t.value,o instanceof n?o:new n(function(e){e(o)})).then(r,i)}s((a=a.apply(o,[])).next())});var o,n,a}}var Un=function(e,t,r,o){return new(r||(r=Promise))(function(n,a){function i(e){try{l(o.next(e))}catch(t){a(t)}}function s(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((o=o.apply(e,t||[])).next())})};const Vn=new u.b(Zo);function zn(e){const t={};for(let r in e){if(null==e[r])continue;let o=e[r];"type"===r&&0===o||(o={type:!0,gasLimit:!0,gasPrice:!0,maxFeePerGs:!0,maxPriorityFeePerGas:!0,nonce:!0,value:!0}[r]?Object(s.g)(Object(s.i)(o)):"accessList"===r?"["+Object(Ce.accessListify)(o).map(e=>`{address:"${e.address}",storageKeys:["${e.storageKeys.join('","')}"]}`).join(",")+"]":Object(s.i)(o),t[r]=o)}return t}function Zn(e){if(0==e.status&&("No records found"===e.message||"No transactions found"===e.message))return e.result;if(1!=e.status||"OK"!=e.message){const t=new Error("invalid response");throw t.result=JSON.stringify(e),(e.result||"").toLowerCase().indexOf("rate limit")>=0&&(t.throttleRetry=!0),t}return e.result}function Kn(e){if(e&&0==e.status&&"NOTOK"==e.message&&(e.result||"").toLowerCase().indexOf("rate limit")>=0){const t=new Error("throttled response");throw t.result=JSON.stringify(e),t.throttleRetry=!0,t}if("2.0"!=e.jsonrpc){const t=new Error("invalid response");throw t.result=JSON.stringify(e),t}if(e.error){const t=new Error(e.error.message||"unknown error");throw e.error.code&&(t.code=e.error.code),e.error.data&&(t.data=e.error.data),t}return e.result}function Qn(e){if("pending"===e)throw new Error("pending not supported");return"latest"===e?e:parseInt(e.substring(2),16)}const qn="9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB";function Yn(e,t,r){if("call"===e&&t.code===u.b.errors.SERVER_ERROR){const e=t.error;if(e&&(e.message.match(/reverted/i)||e.message.match(/VM execution error/i))){let r=e.data;if(r&&(r="0x"+r.replace(/^.*0x/i,"")),Object(s.l)(r))return r;Vn.throwError("missing revert data in call exception",u.b.errors.CALL_EXCEPTION,{error:t,data:"0x"})}}let o=t.message;throw t.code===u.b.errors.SERVER_ERROR&&(t.error&&"string"==typeof t.error.message?o=t.error.message:"string"==typeof t.body?o=t.body:"string"==typeof t.responseText&&(o=t.responseText)),o=(o||"").toLowerCase(),o.match(/insufficient funds/)&&Vn.throwError("insufficient funds for intrinsic transaction cost",u.b.errors.INSUFFICIENT_FUNDS,{error:t,method:e,transaction:r}),o.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&Vn.throwError("nonce has already been used",u.b.errors.NONCE_EXPIRED,{error:t,method:e,transaction:r}),o.match(/another transaction with same nonce/)&&Vn.throwError("replacement fee too low",u.b.errors.REPLACEMENT_UNDERPRICED,{error:t,method:e,transaction:r}),o.match(/execution failed due to an exception|execution reverted/)&&Vn.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",u.b.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:r}),t}class Wn extends fn{constructor(e,t){Vn.checkNew(new.target,Wn),super(e),Object(c.d)(this,"baseUrl",this.getBaseUrl()),Object(c.d)(this,"apiKey",t||qn)}getBaseUrl(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"ropsten":return"https://api-ropsten.etherscan.io";case"rinkeby":return"https://api-rinkeby.etherscan.io";case"kovan":return"https://api-kovan.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io"}return Vn.throwArgumentError("unsupported network","network",name)}getUrl(e,t){const r=Object.keys(t).reduce((e,r)=>{const o=t[r];return null!=o&&(e+=`&${r}=${o}`),e},"");return`${this.baseUrl}/api?module=${e}${r}${this.apiKey?`&apikey=${this.apiKey}`:""}`}getPostUrl(){return`${this.baseUrl}/api`}getPostData(e,t){return t.module=e,t.apikey=this.apiKey,t}fetch(e,t,r){return Un(this,void 0,void 0,function*(){const o=r?this.getPostUrl():this.getUrl(e,t),n=r?this.getPostData(e,t):null,a="proxy"===e?Kn:Zn;this.emit("debug",{action:"request",request:o,provider:this});const i={url:o,throttleSlotInterval:1e3,throttleCallback:(e,t)=>(this.isCommunityResource()&&en(),Promise.resolve(!0))};let s=null;n&&(i.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},s=Object.keys(n).map(e=>`${e}=${n[e]}`).join("&"));const l=yield _o(i,s,a||Kn);return this.emit("debug",{action:"response",request:o,response:Object(c.c)(l),provider:this}),l})}detectNetwork(){return Un(this,void 0,void 0,function*(){return this.network})}perform(e,t){const r=Object.create(null,{perform:{get:()=>super.perform}});return Un(this,void 0,void 0,function*(){switch(e){case"getBlockNumber":return this.fetch("proxy",{action:"eth_blockNumber"});case"getGasPrice":return this.fetch("proxy",{action:"eth_gasPrice"});case"getBalance":return this.fetch("account",{action:"balance",address:t.address,tag:t.blockTag});case"getTransactionCount":return this.fetch("proxy",{action:"eth_getTransactionCount",address:t.address,tag:t.blockTag});case"getCode":return this.fetch("proxy",{action:"eth_getCode",address:t.address,tag:t.blockTag});case"getStorageAt":return this.fetch("proxy",{action:"eth_getStorageAt",address:t.address,position:t.position,tag:t.blockTag});case"sendTransaction":return this.fetch("proxy",{action:"eth_sendRawTransaction",hex:t.signedTransaction},!0).catch(e=>Yn("sendTransaction",e,t.signedTransaction));case"getBlock":if(t.blockTag)return this.fetch("proxy",{action:"eth_getBlockByNumber",tag:t.blockTag,boolean:t.includeTransactions?"true":"false"});throw new Error("getBlock by blockHash not implemented");case"getTransaction":return this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:t.transactionHash});case"getTransactionReceipt":return this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:t.transactionHash});case"call":{if("latest"!==t.blockTag)throw new Error("EtherscanProvider does not support blockTag for call");const e=zn(t.transaction);e.module="proxy",e.action="eth_call";try{return yield this.fetch("proxy",e,!0)}catch(qa){return Yn("call",qa,t.transaction)}}case"estimateGas":{const e=zn(t.transaction);e.module="proxy",e.action="eth_estimateGas";try{return yield this.fetch("proxy",e,!0)}catch(qa){return Yn("estimateGas",qa,t.transaction)}}case"getLogs":{const e={action:"getLogs"};if(t.filter.fromBlock&&(e.fromBlock=Qn(t.filter.fromBlock)),t.filter.toBlock&&(e.toBlock=Qn(t.filter.toBlock)),t.filter.address&&(e.address=t.filter.address),t.filter.topics&&t.filter.topics.length>0&&(t.filter.topics.length>1&&Vn.throwError("unsupported topic count",u.b.errors.UNSUPPORTED_OPERATION,{topics:t.filter.topics}),1===t.filter.topics.length)){const r=t.filter.topics[0];"string"==typeof r&&66===r.length||Vn.throwError("unsupported topic format",u.b.errors.UNSUPPORTED_OPERATION,{topic0:r}),e.topic0=r}const r=yield this.fetch("logs",e);let o={};for(let t=0;t<r.length;t++){const e=r[t];if(null==e.blockHash){if(null==o[e.blockNumber]){const t=yield this.getBlock(e.blockNumber);t&&(o[e.blockNumber]=t.hash)}e.blockHash=o[e.blockNumber]}}return r}case"getEtherPrice":return"homestead"!==this.network.name?0:parseFloat((yield this.fetch("stats",{action:"ethprice"})).ethusd)}return r.perform.call(this,e,t)})}getHistory(e,t,r){return Un(this,void 0,void 0,function*(){const o={action:"txlist",address:yield this.resolveName(e),startblock:null==t?0:t,endblock:null==r?99999999:r,sort:"asc"};return(yield this.fetch("account",o)).map(e=>{["contractAddress","to"].forEach(function(t){""==e[t]&&delete e[t]}),null==e.creates&&null!=e.contractAddress&&(e.creates=e.contractAddress);const t=this.formatter.transactionResponse(e);return e.timeStamp&&(t.timestamp=parseInt(e.timeStamp)),t})})}isCommunityResource(){return this.apiKey===qn}}function $n(e){for(let t=(e=e.slice()).length-1;t>0;t--){const r=Math.floor(Math.random()*(t+1)),o=e[t];e[t]=e[r],e[r]=o}return e}var ea=function(e,t,r,o){return new(r||(r=Promise))(function(n,a){function i(e){try{l(o.next(e))}catch(t){a(t)}}function s(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((o=o.apply(e,t||[])).next())})};const ta=new u.b(Zo);function ra(){return(new Date).getTime()}function oa(e){let t=null;for(let r=0;r<e.length;r++){const o=e[r];if(null==o)return null;t?t.name===o.name&&t.chainId===o.chainId&&(t.ensAddress===o.ensAddress||null==t.ensAddress&&null==o.ensAddress)||ta.throwArgumentError("provider mismatch","networks",e):t=o}return t}function na(e,t){e=e.slice().sort();const r=Math.floor(e.length/2);if(e.length%2)return e[r];const o=e[r-1],n=e[r];return null!=t&&Math.abs(o-n)>t?null:(o+n)/2}function aa(e){if(null===e)return"null";if("number"==typeof e||"boolean"==typeof e)return JSON.stringify(e);if("string"==typeof e)return e;if(l.a.isBigNumber(e))return e.toString();if(Array.isArray(e))return JSON.stringify(e.map(e=>aa(e)));if("object"==typeof e){const t=Object.keys(e);return t.sort(),"{"+t.map(t=>{let r=e[t];return r="function"==typeof r?"[function]":aa(r),JSON.stringify(t)+":"+r}).join(",")+"}"}throw new Error("unknown value type: "+typeof e)}let ia=1;function sa(e){let t=null,r=null,o=new Promise(o=>{t=function(){r&&(clearTimeout(r),r=null),o()},r=setTimeout(t,e)});return{cancel:t,getPromise:function(){return o},wait:e=>(o=o.then(e),o)}}const la=[u.b.errors.CALL_EXCEPTION,u.b.errors.INSUFFICIENT_FUNDS,u.b.errors.NONCE_EXPIRED,u.b.errors.REPLACEMENT_UNDERPRICED,u.b.errors.UNPREDICTABLE_GAS_LIMIT],ca=["address","args","errorArgs","errorSignature","method","transaction"];function ua(e,t){const r={weight:e.weight};return Object.defineProperty(r,"provider",{get:()=>e.provider}),e.start&&(r.start=e.start),t&&(r.duration=t-e.start),e.done&&(e.error?r.error=e.error:r.result=e.result||null),r}function da(e,t){return ea(this,void 0,void 0,function*(){const r=e.provider;return null!=r.blockNumber&&r.blockNumber>=t||-1===t?r:Uo(()=>new Promise((o,n)=>{setTimeout(function(){return o(r.blockNumber>=t?r:e.cancelled?null:void 0)},0)}),{oncePoll:r})})}function ha(e,t,r,o){return ea(this,void 0,void 0,function*(){let n=e.provider;switch(r){case"getBlockNumber":case"getGasPrice":return n[r]();case"getEtherPrice":if(n.getEtherPrice)return n.getEtherPrice();break;case"getBalance":case"getTransactionCount":case"getCode":return o.blockTag&&Object(s.l)(o.blockTag)&&(n=yield da(e,t)),n[r](o.address,o.blockTag||"latest");case"getStorageAt":return o.blockTag&&Object(s.l)(o.blockTag)&&(n=yield da(e,t)),n.getStorageAt(o.address,o.position,o.blockTag||"latest");case"getBlock":return o.blockTag&&Object(s.l)(o.blockTag)&&(n=yield da(e,t)),n[o.includeTransactions?"getBlockWithTransactions":"getBlock"](o.blockTag||o.blockHash);case"call":case"estimateGas":return o.blockTag&&Object(s.l)(o.blockTag)&&(n=yield da(e,t)),n[r](o.transaction);case"getTransaction":case"getTransactionReceipt":return n[r](o.transactionHash);case"getLogs":{let r=o.filter;return(r.fromBlock&&Object(s.l)(r.fromBlock)||r.toBlock&&Object(s.l)(r.toBlock))&&(n=yield da(e,t)),n.getLogs(r)}}return ta.throwError("unknown method error",u.b.errors.UNKNOWN_ERROR,{method:r,params:o})})}class ga extends fn{constructor(e,t){ta.checkNew(new.target,ga),0===e.length&&ta.throwArgumentError("missing providers","providers",e);const r=e.map((e,t)=>{if(Ae.isProvider(e)){const t=Wo(e)?2e3:750;return Object.freeze({provider:e,weight:1,stallTimeout:t,priority:1})}const r=Object(c.g)(e);null==r.priority&&(r.priority=1),null==r.stallTimeout&&(r.stallTimeout=Wo(e)?2e3:750),null==r.weight&&(r.weight=1);const o=r.weight;return(o%1||o>512||o<1)&&ta.throwArgumentError("invalid weight; must be integer in [1, 512]",`providers[${t}].weight`,o),Object.freeze(r)}),o=r.reduce((e,t)=>e+t.weight,0);null==t?t=o/2:t>o&&ta.throwArgumentError("quorum will always fail; larger than total weight","quorum",t);let n=oa(r.map(e=>e.provider.network));null==n&&(n=new Promise((e,t)=>{setTimeout(()=>{this.detectNetwork().then(e,t)},0)})),super(n),Object(c.d)(this,"providerConfigs",Object.freeze(r)),Object(c.d)(this,"quorum",t),this._highestBlockNumber=-1}detectNetwork(){return ea(this,void 0,void 0,function*(){return oa(yield Promise.all(this.providerConfigs.map(e=>e.provider.getNetwork())))})}perform(e,t){return ea(this,void 0,void 0,function*(){if("sendTransaction"===e){const e=yield Promise.all(this.providerConfigs.map(e=>e.provider.sendTransaction(t.signedTransaction).then(e=>e.hash,e=>e)));for(let t=0;t<e.length;t++){const r=e[t];if("string"==typeof r)return r}throw e[0]}-1===this._highestBlockNumber&&"getBlockNumber"!==e&&(yield this.getBlockNumber());const r=function(e,t,r){let o=aa;switch(t){case"getBlockNumber":return function(t){const r=t.map(e=>e.result);let o=na(t.map(e=>e.result),2);if(null!=o)return o=Math.ceil(o),r.indexOf(o+1)>=0&&o++,o>=e._highestBlockNumber&&(e._highestBlockNumber=o),e._highestBlockNumber};case"getGasPrice":return function(e){const t=e.map(e=>e.result);return t.sort(),t[Math.floor(t.length/2)]};case"getEtherPrice":return function(e){return na(e.map(e=>e.result))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":o=function(e){return null==e?null:((e=Object(c.g)(e)).confirmations=-1,aa(e))};break;case"getBlock":o=r.includeTransactions?function(e){return null==e?null:((e=Object(c.g)(e)).transactions=e.transactions.map(e=>((e=Object(c.g)(e)).confirmations=-1,e)),aa(e))}:function(e){return null==e?null:aa(e)};break;default:throw new Error("unknown method: "+t)}return function(e,t){return function(r){const o={};r.forEach(t=>{const r=e(t.result);o[r]||(o[r]={count:0,result:t.result}),o[r].count++});const n=Object.keys(o);for(let e=0;e<n.length;e++){const r=o[n[e]];if(r.count>=t)return r.result}}}(o,e.quorum)}(this,e,t),o=$n(this.providerConfigs.map(c.g));o.sort((e,t)=>e.priority-t.priority);const n=this._highestBlockNumber;let a=0,i=!0;for(;;){const s=ra();let l=o.filter(e=>e.runner&&s-e.start<e.stallTimeout).reduce((e,t)=>e+t.weight,0);for(;l<this.quorum&&a<o.length;){const r=o[a++],i=ia++;r.start=ra(),r.staller=sa(r.stallTimeout),r.staller.wait(()=>{r.staller=null}),r.runner=ha(r,n,e,t).then(o=>{r.done=!0,r.result=o,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:i,backend:ua(r,ra()),request:{method:e,params:Object(c.c)(t)},provider:this})},o=>{r.done=!0,r.error=o,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:i,backend:ua(r,ra()),request:{method:e,params:Object(c.c)(t)},provider:this})}),this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:i,backend:ua(r,null),request:{method:e,params:Object(c.c)(t)},provider:this}),l+=r.weight}const u=[];o.forEach(e=>{!e.done&&e.runner&&(u.push(e.runner),e.staller&&u.push(e.staller.getPromise()))}),u.length&&(yield Promise.race(u));const d=o.filter(e=>e.done&&null==e.error);if(d.length>=this.quorum){const e=r(d);if(void 0!==e)return o.forEach(e=>{e.staller&&e.staller.cancel(),e.cancelled=!0}),e;i||(yield sa(100).getPromise()),i=!1}const h=o.reduce((e,t)=>{if(!t.done||null==t.error)return e;const r=t.error.code;return la.indexOf(r)>=0&&(e[r]||(e[r]={error:t.error,weight:0}),e[r].weight+=t.weight),e},{});if(Object.keys(h).forEach(e=>{const t=h[e];if(t.weight<this.quorum)return;o.forEach(e=>{e.staller&&e.staller.cancel(),e.cancelled=!0});const r=t.error,n={};ca.forEach(e=>{null!=r[e]&&(n[e]=r[e])}),ta.throwError(r.reason||r.message,e,n)}),0===o.filter(e=>!e.done).length)break}return o.forEach(e=>{e.staller&&e.staller.cancel(),e.cancelled=!0}),ta.throwError("failed to meet quorum",u.b.errors.SERVER_ERROR,{method:e,params:t,results:o.map(e=>ua(e)),provider:this})})}}const ma=null,pa=new u.b(Zo),ba="84842078b09946638c03157f83405213";class fa extends Rn{constructor(e,t){const r=new va(e,t),o=r.connection;o.password&&pa.throwError("INFURA WebSocket project secrets unsupported",u.b.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"}),super(o.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/"),e),Object(c.d)(this,"apiKey",r.projectId),Object(c.d)(this,"projectId",r.projectId),Object(c.d)(this,"projectSecret",r.projectSecret)}isCommunityResource(){return this.projectId===ba}}class va extends jn{static getWebSocketProvider(e,t){return new fa(e,t)}static getApiKey(e){const t={apiKey:ba,projectId:ba,projectSecret:null};return null==e||("string"==typeof e?t.projectId=e:null!=e.projectSecret?(pa.assertArgument("string"==typeof e.projectId,"projectSecret requires a projectId","projectId",e.projectId),pa.assertArgument("string"==typeof e.projectSecret,"invalid projectSecret","projectSecret","[REDACTED]"),t.projectId=e.projectId,t.projectSecret=e.projectSecret):e.projectId&&(t.projectId=e.projectId),t.apiKey=t.projectId),t}static getUrl(e,t){let r=null;switch(e?e.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"ropsten":r="ropsten.infura.io";break;case"rinkeby":r="rinkeby.infura.io";break;case"kovan":r="kovan.infura.io";break;case"goerli":r="goerli.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;default:pa.throwError("unsupported network",u.b.errors.INVALID_ARGUMENT,{argument:"network",value:e})}const o={allowGzip:!0,url:"https://"+r+"/v3/"+t.projectId,throttleCallback:(e,r)=>(t.projectId===ba&&en(),Promise.resolve(!0))};return null!=t.projectSecret&&(o.user="",o.password=t.projectSecret),o}isCommunityResource(){return this.projectId===ba}}class Ta extends Jn{send(e,t){const r={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);const o={request:r,resolve:null,reject:null},n=new Promise((e,t)=>{o.resolve=e,o.reject=t});return this._pendingBatch.push(o),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(()=>{const e=this._pendingBatch;this._pendingBatch=null,this._pendingBatchAggregator=null;const t=e.map(e=>e.request);return this.emit("debug",{action:"requestBatch",request:Object(c.c)(t),provider:this}),_o(this.connection,JSON.stringify(t)).then(r=>{this.emit("debug",{action:"response",request:t,response:r,provider:this}),e.forEach((e,t)=>{const o=r[t];if(o.error){const t=new Error(o.error.message);t.code=o.error.code,t.data=o.error.data,e.reject(t)}else e.resolve(o.result)})},r=>{this.emit("debug",{action:"response",error:r,request:t,provider:this}),e.forEach(e=>{e.reject(r)})})},10)),n}}const Aa=new u.b(Zo);class ya extends jn{static getApiKey(e){return e&&"string"!=typeof e&&Aa.throwArgumentError("invalid apiKey","apiKey",e),e||"ETHERS_JS_SHARED"}static getUrl(e,t){Aa.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");let r=null;switch(e.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:Aa.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+t}}const Sa=new u.b(Zo),Ea={homestead:"6004bcd10040261633ade990",ropsten:"6004bd4d0040261633ade991",rinkeby:"6004bda20040261633ade994",goerli:"6004bd860040261633ade992"};class Oa extends jn{constructor(e,t){if(null==t){const r=Object(c.e)(new.target,"getNetwork")(e);if(r){const e=Ea[r.name];e&&(t={applicationId:e,loadBalancer:!0})}null==t&&Sa.throwError("unsupported network",u.b.errors.INVALID_ARGUMENT,{argument:"network",value:e})}super(e,t)}static getApiKey(e){null==e&&Sa.throwArgumentError("PocketProvider.getApiKey does not support null apiKey","apiKey",e);const t={applicationId:null,loadBalancer:!1,applicationSecretKey:null};return"string"==typeof e?t.applicationId=e:null!=e.applicationSecretKey?(Sa.assertArgument("string"==typeof e.applicationId,"applicationSecretKey requires an applicationId","applicationId",e.applicationId),Sa.assertArgument("string"==typeof e.applicationSecretKey,"invalid applicationSecretKey","applicationSecretKey","[REDACTED]"),t.applicationId=e.applicationId,t.applicationSecretKey=e.applicationSecretKey,t.loadBalancer=!!e.loadBalancer):e.applicationId?(Sa.assertArgument("string"==typeof e.applicationId,"apiKey.applicationId must be a string","apiKey.applicationId",e.applicationId),t.applicationId=e.applicationId,t.loadBalancer=!!e.loadBalancer):Sa.throwArgumentError("unsupported PocketProvider apiKey","apiKey",e),t}static getUrl(e,t){let r=null;switch(e?e.name:"unknown"){case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"goerli":r="eth-goerli.gateway.pokt.network";break;default:Sa.throwError("unsupported network",u.b.errors.INVALID_ARGUMENT,{argument:"network",value:e})}let o=null;o=t.loadBalancer?`https://${r}/v1/lb/${t.applicationId}`:`https://${r}/v1/${t.applicationId}`;const n={url:o,headers:{}};return null!=t.applicationSecretKey&&(n.user="",n.password=t.applicationSecretKey),n}isCommunityResource(){return this.applicationId===Ea[this.network.name]}}const Fa=new u.b(Zo);let Pa=1;function Ca(e,t){const r="Web3LegacyFetcher";return function(o,n){"eth_sign"==o&&(e.isMetaMask||e.isStatus)&&(o="personal_sign",n=[n[1],n[0]]);const a={method:o,params:n,id:Pa++,jsonrpc:"2.0"};return new Promise((e,o)=>{this.emit("debug",{action:"request",fetcher:r,request:Object(c.c)(a),provider:this}),t(a,(t,n)=>{if(t)return this.emit("debug",{action:"response",fetcher:r,error:t,request:a,provider:this}),o(t);if(this.emit("debug",{action:"response",fetcher:r,request:a,response:n,provider:this}),n.error){const e=new Error(n.error.message);return e.code=n.error.code,e.data=n.error.data,o(e)}e(n.result)})})}}class ka extends Jn{constructor(e,t){Fa.checkNew(new.target,ka),null==e&&Fa.throwArgumentError("missing provider","provider",e);let r=null,o=null,n=null;"function"==typeof e?(r="unknown:",o=e):(r=e.host||e.path||"",!r&&e.isMetaMask&&(r="metamask"),n=e,e.request?(""===r&&(r="eip-1193:"),o=function(e){return function(t,r){null==r&&(r=[]),"eth_sign"==t&&(e.isMetaMask||e.isStatus)&&(t="personal_sign",r=[r[1],r[0]]);const o={method:t,params:r};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:Object(c.c)(o),provider:this}),e.request(o).then(e=>(this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:o,response:e,provider:this}),e),e=>{throw this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:o,error:e,provider:this}),e})}}(e)):e.sendAsync?o=Ca(e,e.sendAsync.bind(e)):e.send?o=Ca(e,e.send.bind(e)):Fa.throwArgumentError("unsupported provider","provider",e),r||(r="unknown:")),super(r,t),Object(c.d)(this,"jsonRpcFetchFunc",o),Object(c.d)(this,"provider",n)}send(e,t){return this.jsonRpcFetchFunc(e,t)}}const Ja=new u.b(Zo);function Ba(e,t){if(null==e&&(e="homestead"),"string"==typeof e){const t=e.match(/^(ws|http)s?:/i);if(t)switch(t[1]){case"http":return new Jn(e);case"ws":return new Rn(e);default:Ja.throwArgumentError("unsupported URL scheme","network",e)}}const r=vo(e);return r&&r._defaultProvider||Ja.throwError("unsupported getDefaultProvider network",u.b.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:e}),r._defaultProvider({FallbackProvider:ga,AlchemyProvider:Gn,CloudflareProvider:_n,EtherscanProvider:Wn,InfuraProvider:va,JsonRpcProvider:Jn,NodesmithProvider:ya,PocketProvider:Oa,Web3Provider:ka,IpcProvider:ma},t)}const La=new RegExp("^bytes([0-9]+)$"),wa=new RegExp("^(u?int)([0-9]*)$"),Ma=new RegExp("^(.*)\\[([0-9]*)\\]$");function Ra(e,t,r){switch(e){case"address":return r?Object(s.p)(t,32):Object(s.a)(t);case"string":return Object(M.f)(t);case"bytes":return Object(s.a)(t);case"bool":return t=t?"0x01":"0x00",r?Object(s.p)(t,32):Object(s.a)(t)}let o=e.match(wa);if(o){let n=parseInt(o[2]||"256");if(o[2]&&String(n)!==o[2]||n%8!=0||0===n||n>256)throw new Error("invalid number type - "+e);return r&&(n=256),t=l.a.from(t).toTwos(n),Object(s.p)(t,n/8)}if(o=e.match(La),o){const n=parseInt(o[1]);if(String(n)!==o[1]||0===n||n>32)throw new Error("invalid bytes type - "+e);if(Object(s.a)(t).byteLength!==n)throw new Error("invalid value for "+e);return r?Object(s.a)((t+"0000000000000000000000000000000000000000000000000000000000000000").substring(0,66)):t}if(o=e.match(Ma),o&&Array.isArray(t)){const r=o[1];if(parseInt(o[2]||String(t.length))!=t.length)throw new Error("invalid value for "+e);const n=[];return t.forEach(function(e){n.push(Ra(r,e,!0))}),Object(s.b)(n)}throw new Error("invalid type - "+e)}function Da(e,t){if(e.length!=t.length)throw new Error("type/value count mismatch");const r=[];return e.forEach(function(e,o){r.push(Ra(e,t[o]))}),Object(s.i)(Object(s.b)(r))}function Na(e,t){return Object(T.a)(Da(e,t))}function ja(e,t){return kt(Da(e,t))}var Xa=r("4WVH");function Ia(e){const t=Object(M.f)(e);if(t.length>31)throw new Error("bytes32 string must be less than 32 bytes");return Object(s.i)(Object(s.b)([t,To.a]).slice(0,32))}function Ha(e){const t=Object(s.a)(e);if(32!==t.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==t[31])throw new Error("invalid bytes32 string - no null terminator");let r=31;for(;0===t[r-1];)r--;return Object(M.h)(t.slice(0,r))}const Ga=new u.b("units/5.4.0"),xa=["wei","kwei","mwei","gwei","szabo","finney","ether"];function _a(e){const t=String(e).split(".");(t.length>2||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&Ga.throwArgumentError("invalid value","value",e);let r=t[0],o="";for("-"===r.substring(0,1)&&(o="-",r=r.substring(1));"0"===r.substring(0,1);)r=r.substring(1);""===r&&(r="0");let n="";for(2===t.length&&(n="."+(t[1]||"0"));n.length>2&&"0"===n[n.length-1];)n=n.substring(0,n.length-1);const a=[];for(;r.length;){if(r.length<=3){a.unshift(r);break}{const e=r.length-3;a.unshift(r.substring(e)),r=r.substring(0,e)}}return o+a.join(",")+n}function Ua(e,t){if("string"==typeof t){const e=xa.indexOf(t);-1!==e&&(t=3*e)}return We(e,null!=t?t:18)}function Va(e,t){if("string"!=typeof e&&Ga.throwArgumentError("value must be a string","value",e),"string"==typeof t){const e=xa.indexOf(t);-1!==e&&(t=3*e)}return $e(e,null!=t?t:18)}function za(e){return Ua(e,18)}function Za(e){return Va(e,18)}const Ka="ethers/5.4.3",Qa=new u.b(Ka);try{const e=window;null==e._ethers&&(e._ethers=i)}catch(qa){}},B3Rj:function(e,t,r){var o=r("QqcV");e.exports=o("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},SHcd:function(e,t,r){"use strict";r.d(t,"a",function(){return o});const o="0x0000000000000000000000000000000000000000000000000000000000000000"},bkUu:function(e,t,r){"use strict";(function(e){r.d(t,"a",function(){return c});var o=r("VJ7P"),n=r("/7J2"),a=r("/wnW");const i=new n.b(a.a);let s=null;try{if(s=window,null==s)throw new Error("try next")}catch(u){try{if(s=e,null==s)throw new Error("try next")}catch(u){s={}}}let l=s.crypto||s.msCrypto;function c(e){(e<=0||e>1024||e%1)&&i.throwArgumentError("invalid length","length",e);const t=new Uint8Array(e);return l.getRandomValues(t),Object(o.a)(t)}l&&l.getRandomValues||(i.warn("WARNING: Missing strong random number source"),l={getRandomValues:function(e){return i.throwError("no secure random source avaialble",n.b.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}})}).call(this,r("yLpj"))},tGuN:function(e,t,r){"use strict";r.r(t),r.d(t,"AddressZero",function(){return o.a}),r.d(t,"NegativeOne",function(){return n.d}),r.d(t,"Zero",function(){return n.h}),r.d(t,"One",function(){return n.e}),r.d(t,"Two",function(){return n.f}),r.d(t,"WeiPerEther",function(){return n.g}),r.d(t,"MaxUint256",function(){return n.b}),r.d(t,"MinInt256",function(){return n.c}),r.d(t,"MaxInt256",function(){return n.a}),r.d(t,"HashZero",function(){return a.a}),r.d(t,"EtherSymbol",function(){return i});var o=r("wAtr"),n=r("nVZa"),a=r("SHcd");const i="\u039e"},wAtr:function(e,t,r){"use strict";r.d(t,"a",function(){return o});const o="0x0000000000000000000000000000000000000000"}}]);