1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,382909,448417,704097,523182,846756,902938,154485,119066,282373,910603,987085,e=>{"use strict";var t=e.i(301339);let r=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function i(e){return r.test(e)}function a(e){return(0,t.execTyped)(r,e)}let n=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function o(e){return n.test(e)}function s(e){return(0,t.execTyped)(n,e)}let c=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/;function f(e){return c.test(e)}function b(e){return(0,t.execTyped)(c,e)}let d=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;function u(e){return d.test(e)}function l(e){return(0,t.execTyped)(d,e)}let p=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/;function h(e){return p.test(e)}function m(e){return(0,t.execTyped)(p,e)}let y=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/;function g(e){return y.test(e)}function v(e){return(0,t.execTyped)(y,e)}let w=/^receive\(\) external payable$/;function x(e){return w.test(e)}let E=new Set(["memory","indexed","storage","calldata"]),P=new Set(["indexed"]),$=new Set(["calldata","memory","storage"]);e.s(["eventModifiers",0,P,"execConstructorSignature",0,m,"execErrorSignature",0,a,"execEventSignature",0,s,"execFallbackSignature",0,v,"execFunctionSignature",0,b,"execStructSignature",0,l,"functionModifiers",0,$,"isConstructorSignature",0,h,"isErrorSignature",0,i,"isEventSignature",0,o,"isFallbackSignature",0,g,"isFunctionSignature",0,f,"isReceiveSignature",0,x,"isStructSignature",0,u,"modifiers",0,E],448417);class A extends Error{constructor(e,t={}){const r=t.cause instanceof A?t.cause.details:t.cause?.message?t.cause.message:t.details,i=t.cause instanceof A&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...i?[`Docs: https://abitype.dev${i}`]:[],...r?[`Details: ${r}`]:[],"Version: [email protected]"].join("\n")),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),t.cause&&(this.cause=t.cause),this.details=r,this.docsPath=i,this.metaMessages=t.metaMessages,this.shortMessage=e}}class T extends A{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class C extends A{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}e.s(["InvalidAbiItemError",0,class extends A{constructor({signature:e}){super("Failed to parse ABI item.",{details:`parseAbiItem(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}},"UnknownSolidityTypeError",0,C,"UnknownTypeError",0,T],704097);class I extends A{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class B extends A{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class S extends A{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class F extends A{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${r}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class O extends A{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invali
1d."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}e.s(["InvalidAbiParametersError",0,class extends A{constructor({params:e}){super("Failed to parse ABI parameters.",{details:`parseAbiParameters(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}},"InvalidAbiTypeParameterError",0,O,"InvalidFunctionModifierError",0,F,"InvalidModifierError",0,S,"InvalidParameterError",0,I,"SolidityProtectedKeywordError",0,B],523182);class M extends A{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class R extends A{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class z extends A{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class N extends A{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class j extends A{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}let H=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function k(e,t={}){if(f(e))return function(e,t={}){let r=b(e);if(!r)throw new M({signature:e,type:"function"});let i=V(r.parameters),a=[],n=i.length;for(let e=0;e<n;e++)a.push(G(i[e],{modifiers:$,structs:t,type:"function"}));let o=[];if(r.returns){let e=V(r.returns),i=e.length;for(let r=0;r<i;r++)o.push(G(e[r],{modifiers:$,structs:t,type:"function"}))}return{name:r.name,type:"function",stateMutability:r.stateMutability??"nonpayable",inputs:a,outputs:o}}(e,t);if(o(e))return function(e,t={}){let r=s(e);if(!r)throw new M({signature:e,type:"event"});let i=V(r.parameters),a=[],n=i.length;for(let e=0;e<n;e++)a.push(G(i[e],{modifiers:P,structs:t,type:"event"}));return{name:r.name,type:"event",inputs:a}}(e,t);if(i(e))return function(e,t={}){let r=a(e);if(!r)throw new M({signature:e,type:"error"});let i=V(r.parameters),n=[],o=i.length;for(let e=0;e<o;e++)n.push(G(i[e],{structs:t,type:"error"}));return{name:r.name,type:"error",inputs:n}}(e,t);if(h(e))return function(e,t={}){let r=m(e);if(!r)throw new M({signature:e,type:"constructor"});let i=V(r.parameters),a=[],n=i.length;for(let e=0;e<n;e++)a.push(G(i[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:r.stateMutability??"nonpayable",inputs:a}}(e,t);if(g(e)){var r=e;let t=v(r);if(!t)throw new M({signature:r,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}if(x(e))return{type:"receive",stateMutability:"payable"};throw new R({signature:e})}let D=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\spayable)?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,U=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,L=/^u?int$/;function G(e,r){var i,a;let n,o=function(e,t,r){let i="";if(r)for(let e of Object.entries(r)){if(!e)continue;let t="";for(let r of e[1])t+=`[${r.type}${r.name?`:${r.name}`:""}]`;i+=`(${e[0]}{${t}})`}return t?`${t}:${e}${i}`:`${e}${i}`}(e,r?.type,r?.structs);if(H.has(o))return H.get(o);let s=t.isTupleRegex.test(e),c=(0,t.execTyped)(s?U:D,e);if(!c)throw new I({param:e});if(c.name&&("address"===(i=c.name)||"bool"===i||"function"===i||"string"===i||"tuple"===i||t.bytesRegex.test(i)||t.integerRegex.test(i)||Z.test(i)))throw new B({param:e,name:c.name});let f=c.name?{name:c.name}:{},b="indexed"===c.modifier?{indexed:!0}:{},d=r?.structs??{},u={};if(s){n="tuple";let e=V(c.type),t=[],r=e.length;for(let i=0;i<r;i++)t.push(G(e[i],{structs:d}));u={components:t}}else if(c.type in d)n="tuple",u={components:d[c.type]};else if(L.test(c.type))n=`${c.type}256`;else if("address payable"===c.type)n="address";else if(n=c.type,r?.type!=="struct"&&!_(n))throw new C({type:n});if(c.modifier){if(!r?.modifiers?.has?.(c.modifier))throw new S({param:e,type:r?.type,modifier:c.modifier});if($.has(c.modifier)&&(a=n,!c.array&&"bytes"!==a&&"string"!==a&&"tuple"!==a)
1)throw new F({param:e,type:r?.type,modifier:c.modifier})}let l={type:`${n}${c.array??""}`,...f,...b,...u};return H.set(o,l),l}function V(e,t=[],r="",i=0){let a=e.trim().length;for(let n=0;n<a;n++){let a=e[n],o=e.slice(n+1);switch(a){case",":return 0===i?V(o,[...t,r.trim()]):V(o,t,`${r}${a}`,i);case"(":return V(o,t,`${r}${a}`,i+1);case")":return V(o,t,`${r}${a}`,i-1);default:return V(o,t,`${r}${a}`,i)}}if(""===r)return t;if(0!==i)throw new j({current:r,depth:i});return t.push(r.trim()),t}function _(e){return"address"===e||"bool"===e||"function"===e||"string"===e||t.bytesRegex.test(e)||t.integerRegex.test(e)}let Z=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function q(e){let r={},i=e.length;for(let t=0;t<i;t++){let i=e[t];if(!u(i))continue;let a=l(i);if(!a)throw new M({signature:i,type:"struct"});let n=a.properties.split(";"),o=[],s=n.length;for(let e=0;e<s;e++){let t=n[e].trim();if(!t)continue;let r=G(t,{type:"struct"});o.push(r)}if(!o.length)throw new z({signature:i});r[a.name]=o}let a={},n=Object.entries(r),o=n.length;for(let e=0;e<o;e++){let[i,o]=n[e];a[i]=function e(r=[],i={},a=new Set){let n=[],o=r.length;for(let s=0;s<o;s++){let o=r[s];if(t.isTupleRegex.test(o.type))n.push(o);else{let r=(0,t.execTyped)(W,o.type);if(!r?.type)throw new O({abiParameter:o});let{array:s,type:c}=r;if(c in i){if(a.has(c))throw new N({type:c});n.push({...o,type:`tuple${s??""}`,components:e(i[c],i,new Set([...a,c]))})}else if(_(c))n.push(o);else throw new T({type:c})}}return n}(o,r)}return a}e.s(["isSolidityType",0,_,"parseAbiParameter",0,G,"parseSignature",0,k,"splitParameters",0,V],846756);let W=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;e.s(["parseStructs",0,q],902938),e.s(["parseAbi",0,function(e){let t=q(e),r=[],i=e.length;for(let a=0;a<i;a++){let i=e[a];u(i)||r.push(k(i,t))}return r}],382909),e.s(["IntegerOutOfRangeError",()=>eg,"InvalidLengthError",()=>ex,"SizeExceedsPaddingSizeError",()=>e$,"SizeOverflowError",()=>eE,"SliceOffsetOutOfBoundsError",()=>eP,"concat",()=>ea,"from",()=>en,"fromBoolean",()=>eo,"fromBytes",()=>es,"fromNumber",()=>ec,"fromString",()=>ef,"padLeft",()=>eb,"padRight",()=>ed,"size",()=>el,"slice",()=>eu,"toBigInt",()=>eh,"toNumber",()=>em,"trimLeft",()=>ep,"validate",()=>ey],910603);class K extends Error{static setStaticOptions(e){K.prototype.docsOrigin=e.docsOrigin,K.prototype.showVersion=e.showVersion,K.prototype.version=e.version}constructor(e,t={}){const r=(()=>{if(t.cause instanceof K){if(t.cause.details)return t.cause.details;if(t.cause.shortMessage)return t.cause.shortMessage}return t.cause&&"details"in t.cause&&"string"==typeof t.cause.details?t.cause.details:t.cause?.message?t.cause.message:t.details})(),i=t.cause instanceof K&&t.cause.docsPath||t.docsPath,a=t.docsOrigin??K.prototype.docsOrigin,n=`${a}${i??""}`,o=!!(t.version??K.prototype.showVersion),s=t.version??K.prototype.version;super([e||"An error occurred.",...t.metaMessages?["",...t.metaMessages]:[],...r||i||o?["",r?`Details: ${r}`:void 0,i?`See: ${n}`:void 0,o?`Version: ${s}`:void 0]:[]].filter(e=>"string"==typeof e).join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsOrigin",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"showVersion",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.cause=t.cause,this.details=r,this.docs=n,this.docsOrigin=a,this.docsPath=i,this.shortMessage=e,this.showVersion=o,this.version=s}walk(e){return function e(t,r){return r?.(t)?t:t&&"object"==typeof t&&"cause"in t&&t.cause?e(t.cause,r):r?null:t}(this,e)}}function J(e,t){if(el(e)>t)throw new eE({givenSize:el(e),maxSize:t})}function Y(e,t){if("number"==typeof t&&t>0&&t>el(e)-1)throw new eP({offset:t,position:"start",size:el(e)})}function X(e,t,r){if("number"==typeof t&&"number"==typeof r&&el(e)!==r-t)throw new eP({offset:r,position:"end",size:el(e)})}function Q(e,t={}){let{dir:r,size:i=32}=t;if(0===i)return e;let a=e.replace("0x","");if(a.length>2*i)throw new e$({size:Math.ceil(a.length/2),targetSize:i,type:"Hex"});return`0x${a["right"===r?"padEnd":"padStart"](2*i,"0")}`}function ee(e,t={}){let{dir:r="left"}=t,i=e.replace("0x",""),a=0;for(let e=0;e<i.length-1;e++)if("0"===i["left"===r?e:i.length-e-1].toString())a++;else break;return"0"===(i="left"===r?i.slice(a):i.slice(0,i.length-a))?"0x":"right"===r&&i.length%2==1?`0x${i}0`:`0x${i}`}function et(e,t,r){return JSON.stringify(e,(e,r)=>"function"==typeof t?t(e,r):"bigint"==typeof r?r.toString()+"#__bigint":r,r)}Object.defineProperty(K,"defaultStaticOptions",{enumerable:!0,configurable:!0,writable:!0,value:{docsOrigin:"https://oxlib.sh",showVersion:!1,version:"[email protected]"}}),K.setStaticOptions(K.defaultStaticOptions),e.s(["BaseError",0,K],154485),e.s(["assertEndOffset",()=>X,"assertSize",()=>J,"assertStartOffset",()=>Y,"pad",()=>Q,"trim",()=>ee],119066),e.s(["stringify",0,et],282373);let er=new TextEncoder,ei=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function ea(...e){return`0x${e.reduce((e,t)=>
1e+t.replace("0x",""),"")}`}function en(e){return e instanceof Uint8Array?es(e):Array.isArray(e)?es(new Uint8Array(e)):e}function eo(e,t={}){let r=`0x${Number(e)}`;return"number"==typeof t.size?(J(r,t.size),eb(r,t.size)):r}function es(e,t={}){let r="";for(let t=0;t<e.length;t++)r+=ei[e[t]];let i=`0x${r}`;return"number"==typeof t.size?(J(i,t.size),ed(i,t.size)):i}function ec(e,t={}){let r,{signed:i,size:a}=t,n=BigInt(e);a?r=i?(1n<<8n*BigInt(a)-1n)-1n:2n**(8n*BigInt(a))-1n:"number"==typeof e&&(r=BigInt(Number.MAX_SAFE_INTEGER));let o="bigint"==typeof r&&i?-r-1n:0;if(r&&n>r||n<o){let t="bigint"==typeof e?"n":"";throw new eg({max:r?`${r}${t}`:void 0,min:`${o}${t}`,signed:i,size:a,value:`${e}${t}`})}let s=(i&&n<0?BigInt.asUintN(8*a,BigInt(n)):n).toString(16),c=`0x${s}`;return a?eb(c,a):c}function ef(e,t={}){return es(er.encode(e),t)}function eb(e,t){return Q(e,{dir:"left",size:t})}function ed(e,t){return Q(e,{dir:"right",size:t})}function eu(e,t,r,i={}){let{strict:a}=i;Y(e,t);let n=`0x${e.replace("0x","").slice((t??0)*2,(r??e.length)*2)}`;return a&&X(n,t,r),n}function el(e){return Math.ceil((e.length-2)/2)}function ep(e){return ee(e,{dir:"left"})}function eh(e,t={}){let{signed:r}=t;t.size&&J(e,t.size);let i=BigInt(e);if(!r)return i;let a=(1n<<8n*BigInt((e.length-2)/2))-1n;return i<=a>>1n?i:i-a-1n}function em(e,t={}){let{signed:r,size:i}=t;return r||i?Number(eh(e,t)):Number(e)}function ey(e,t={}){let{strict:r=!1}=t;try{return!function(e,t={}){let{strict:r=!1}=t;if(!e||"string"!=typeof e)throw new ev(e);if(r&&!/^0x[0-9a-fA-F]*$/.test(e)||!e.startsWith("0x"))throw new ew(e)}(e,{strict:r}),!0}catch{return!1}}class eg extends K{constructor({max:e,min:t,signed:r,size:i,value:a}){super(`Number \`${a}\` is not in safe${i?` ${8*i}-bit`:""}${r?" signed":" unsigned"} integer range ${e?`(\`${t}\` to \`${e}\`)`:`(above \`${t}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class ev extends K{constructor(e){super(`Value \`${"object"==typeof e?et(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class ew extends K{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class ex extends K{constructor(e){super(`Hex value \`"${e}"\` is an odd length (${e.length-2} nibbles).`,{metaMessages:["It must be an even length."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidLengthError"})}}class eE extends K{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class eP extends K{constructor({offset:e,position:t,size:r}){super(`Slice ${"start"===t?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${r}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class e$ extends K{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}function eA(e){return{address:e.address,amount:ec(e.amount),index:ec(e.index),validatorIndex:ec(e.validatorIndex)}}e.s(["toRpc",0,function(e){return{..."bigint"==typeof e.baseFeePerGas&&{baseFeePerGas:ec(e.baseFeePerGas)},..."bigint"==typeof e.blobBaseFee&&{blobBaseFee:ec(e.blobBaseFee)},..."string"==typeof e.feeRecipient&&{feeRecipient:e.feeRecipient}
1,..."bigint"==typeof e.gasLimit&&{gasLimit:ec(e.gasLimit)},..."bigint"==typeof e.number&&{number:ec(e.number)},..."bigint"==typeof e.prevRandao&&{prevRandao:ec(e.prevRandao)},..."bigint"==typeof e.time&&{time:ec(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(eA)}}}],987085)},706720,e=>{"use strict";e.s(["parseAccount",0,function(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}])},707134,884148,e=>{"use strict";var t=e.i(382909),r=e.i(987085),i=e.i(706720),a=e.i(496918),n=e.i(562323),o=e.i(910782),s=e.i(264192),c=e.i(127057),f=e.i(302544),b=e.i(590296),d=e.i(249963),u=e.i(946437),l=e.i(254381),p=e.i(803348),h=e.i(315261),m=e.i(396454),y=e.i(984163),g=e.i(922573),v=e.i(598290),w=e.i(651931),x=e.i(259090),E=e.i(918921),P=e.i(108637);function $(e){let{account:t,maxFeePerGas:r,maxPriorityFeePerGas:a,to:n}=e,o=t?(0,i.parseAccount)(t):void 0;if(o&&!(0,P.isAddress)(o.address))throw new x.InvalidAddressError({address:o.address});if(n&&!(0,P.isAddress)(n))throw new x.InvalidAddressError({address:n});if(r&&r>w.maxUint256)throw new E.FeeCapTooHighError({maxFeePerGas:r});if(a&&r&&a>r)throw new E.TipAboveFeeCapError({maxFeePerGas:r,maxPriorityFeePerGas:a})}async function A(a,b){let{account:u=a.account,authorizationList:l,batch:g=!!a.batch?.multicall,blockNumber:w,blockTag:x=a.experimental_blockTag??"latest",accessList:E,blobs:P,blockOverrides:A,code:I,data:B,factory:S,factoryData:F,gas:O,gasPrice:M,maxFeePerBlobGas:R,maxFeePerGas:z,maxPriorityFeePerGas:N,nonce:j,to:H,value:k,stateOverride:D,...U}=b,L=u?(0,i.parseAccount)(u):void 0;if(I&&(S||F))throw new s.BaseError("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(I&&H)throw new s.BaseError("Cannot provide both `code` & `to` as parameters.");let G=I&&B,V=S&&F&&H&&B,_=G||V,Z=G?C({code:I,data:B}):V?function(e){let{data:r,factory:i,factoryData:a,to:n}=e;return(0,d.encodeDeployData)({abi:(0,t.parseAbi)(["constructor(address, bytes, address, bytes)"]),bytecode:o.deploylessCallViaFactoryBytecode,args:[n,r,i,a]})}({data:B,factory:S,factoryData:F,to:H}):B;try{let e;$(b);let t=("bigint"==typeof w?(0,p.numberToHex)(w):void 0)||x,i=A?r.toRpc(A):void 0,o=(0,v.serializeStateOverride)(D),s=a.chain?.formatters?.transactionRequest?.format,f=(s||y.formatTransactionRequest)({...(0,m.extract)(U,{format:s}),accessList:E,account:L,authorizationList:l,blobs:P,data:Z,gas:O,gasPrice:M,maxFeePerBlobGas:R,maxFeePerGas:z,maxPriorityFeePerGas:N,nonce:j,to:_?void 0:H,value:k},"call");if(g&&function({request:e}){let{data:t,to:r,...i}=e;return!(!t||t.startsWith(n.aggregate3Signature))&&!!r&&!(Object.values(i).filter(e=>void 0!==e).length>0)}({request:f})&&!o&&!i)try{return await T(a,{...f,blockNumber:w,blockTag:x})}catch(e){if(!(e instanceof c.ClientChainNotConfiguredError)&&!(e instanceof c.ChainDoesNotSupportContract))throw e}let d=(e=[f,t],o&&i?[...e,o,i]:o?[...e,o]:i?[...e,{},i]:e),u=await a.request({method:"eth_call",params:d});if("0x"===u)return{data:void 0};return{data:u}}catch(n){let t=function(e){if(!(e instanceof s.BaseError))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(n),{offchainLookup:r,offchainLookupSignature:i}=await e.A(317482);if(!1!==a.ccipRead&&t?.slice(0,10)===i&&H)return{data:await r(a,{data:t,to:H})};if(_&&t?.slice(0,10)==="0x101bb98d")throw new f.CounterfactualDeploymentFailedError({factory:S});throw(0,h.getCallError)(n,{...b,account:L,chain:a.chain})}}async function T(e,t){let{batchSize:r=1024,deployless:i=!1,wait:n=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:s,blockTag:d=e.experimental_blockTag??"latest",data:h,to:m}=t,y=(()=>{if(i)return null;if(t.multicallAddress)return t.multicallAddress;if(e.chain)return(0,l.getChainContractAddress)({blockNumber:s,chain:e.chain,contract:"multicall3"});throw new c.ClientChainNotConfiguredError})(),v=("bigint"==typeof s?(0,p.numberToHex)(s):void 0)||d,{schedule:w}=(0,g.createBatchScheduler)({id:`${e.uid}.${v}`,wait:n,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*r,fn:async t=>{let r=t.map(e=>({allowFailure:!0,callData:e.data,target:e.to})),i=(0,u.encodeFunctionData)({abi:a.multicall3Abi,args:[r],functionName:"aggregate3"}),n=await e.request({method:"eth_call",params:[{...null===y?{data:C({code:o.multicall3Bytecode,data:i})}:{to:y,data:i}},v]});return(0,b.decodeFunctionResult)({abi:a.multicall3Abi,args:[r],functionName:"aggregate3",data:n||"0x"})}}),[{returnData:x,success:E}]=await w({data:h,to:m});if(!E)throw new f.RawContractError({data:x});return"0x"===x?{data:void 0}:{data:x}}
1function C(e){let{code:r,data:i}=e;return(0,d.encodeDeployData)({abi:(0,t.parseAbi)(["constructor(bytes, bytes)"]),bytecode:o.deploylessCallViaBytecodeBytecode,args:[r,i]})}e.s(["assertRequest",0,$],884148),e.s(["call",0,A],707134)},562323,910782,e=>{"use strict";e.s(["aggregate3Signature",0,"0x82ad56cb"],562323),e.s(["deploylessCallViaBytecodeBytecode",0,"0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe","deploylessCallViaFactoryBytecode",0,"0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe","erc6492SignatureValidatorByteCode",0,"0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b8152
160206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848
1603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572","multicall3Bytecode",0,"0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9
1150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033"],910782)},651931,e=>{"use strict";e.s(["maxUint256",0,2n**256n-1n])},794282,e=>{"use strict";
1e.s(["panicReasons",0,{1:"An `assert` condition failed.",17:"Arithmetic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},"solidityError",0,{inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},"solidityPanic",0,{inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}])},127057,e=>{"use strict";var t=e.i(264192);class r extends t.BaseError{constructor({blockNumber:e,chain:t,contract:r}){super(`Chain "${t.name}" does not support contract "${r.name}".`,{metaMessages:["This could be due to any of the following:",...e&&r.blockCreated&&r.blockCreated>e?[`- The contract "${r.name}" was not deployed until block ${r.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${r.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class i extends t.BaseError{constructor({chain:e,currentChainId:t}){super(`The current chain of the wallet (id: ${t}) does not match the target chain for the transaction (id: ${e.id} â ${e.name}).`,{metaMessages:[`Current Chain ID: ${t}`,`Expected Chain ID: ${e.id} â ${e.name}`],name:"ChainMismatchError"})}}class a extends t.BaseError{constructor(){super("No chain was provided to the request.\nPlease provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient.",{name:"ChainNotFoundError"})}}class n extends t.BaseError{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class o extends t.BaseError{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
1" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}e.s(["ChainDoesNotSupportContract",0,r,"ChainMismatchError",0,i,"ChainNotFoundError",0,a,"ClientChainNotConfiguredError",0,n,"InvalidChainIdError",0,o])},302544,e=>{"use strict";var t=e.i(706720),r=e.i(794282),i=e.i(164003),a=e.i(189542),n=e.i(31568),o=e.i(580057),s=e.i(974467),c=e.i(422636),f=e.i(793654),b=e.i(264192),d=e.i(379588),u=e.i(863309),l=e.i(308953);class p extends b.BaseError{constructor(e,{account:r,docsPath:i,chain:a,data:n,gas:o,gasPrice:f,maxFeePerGas:b,maxPriorityFeePerGas:l,nonce:p,to:h,value:m,stateOverride:y}){const g=r?(0,t.parseAccount)(r):void 0;let v=(0,u.prettyPrint)({from:g?.address,to:h,value:void 0!==m&&`${(0,s.formatEther)(m)} ${a?.nativeCurrency?.symbol||"ETH"}`,data:n,gas:o,gasPrice:void 0!==f&&`${(0,c.formatGwei)(f)} gwei`,maxFeePerGas:void 0!==b&&`${(0,c.formatGwei)(b)} gwei`,maxPriorityFeePerGas:void 0!==l&&`${(0,c.formatGwei)(l)} gwei`,nonce:p});y&&(v+=` 2${(0,d.prettyStateOverride)(y)}`),super(e.shortMessage,{cause:e,docsPath:i,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",v].filter(
vendor: 4,830 bytes, line 2
2Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class h extends b.BaseError{constructor(e,{abi:t,args:r,contractAddress:i,docsPath:s,functionName:c,sender:f}){const b=(0,o.getAbiItem)({abi:t,args:r,name:c}),d=b?(0,n.formatAbiItemWithArgs)({abiItem:b,args:r,includeFunctionName:!1,includeName:!1}):void 0,p=b?(0,a.formatAbiItem)(b,{includeName:!0}):void 0,h=(0,u.prettyPrint)({address:i&&(0,l.getContractAddress)(i),function:p,args:d&&"()"!==d&&`${[...Array(c?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:f});super(e.shortMessage||`An unknown error occurred while executing the contract function "${c}".`,{cause:e,docsPath:s,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],h&&"Contract Call:",h].filter(Boolean),name:"ContractFunctionExecutionError"}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abi=t,this.args=r,this.cause=e,this.contractAddress=i,this.functionName=c,this.sender=f}}class m extends b.BaseError{constructor({abi:e,data:t,functionName:o,message:s,cause:c}){let b,d,u,l,p;if(t&&"0x"!==t)try{const{abiItem:o,errorName:s,args:f}=d=(0,i.decodeErrorResult)({abi:e,data:t,cause:c});if("Error"===s)l=f[0];else if("Panic"===s){const[e]=f;l=r.panicReasons[e]}else{const e=o?(0,a.formatAbiItem)(o,{includeName:!0}):void 0,t=o&&f?(0,n.formatAbiItemWithArgs)({abiItem:o,args:f,includeFunctionName:!1,includeName:!1}):void 0;u=[e?`Error: ${e}`:"",t&&"()"!==t?` ${[...Array(s?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){b=e}else s&&(l=s);b instanceof f.AbiErrorSignatureNotFoundError&&(p=b.signature,u=[`Unable to decode signature "${p}" as it was not found on the provided ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${p}.`]),super(l&&"execution reverted"!==l||p?[`The contract function "${o}" reverted with the following ${p?"signature":"reason"}:`,l||p].join("\n"):`The contract function "${o}" reverted.`,{cause:b??c,metaMessages:u,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=d,this.raw=t,this.reason=l,this.signature=p}}class y extends b.BaseError{constructor({functionName:e,cause:t}){super(`The contract function "${e}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${e}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError",cause:t})}}class g extends b.BaseError{constructor({factory:e}){super(`Deployment for counterfactual contract call failed${e?` for factory "${e}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class v extends b.BaseError{constructor({data:e,message:t}){super(t||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e}}e.s(["CallExecutionError",0,p,"ContractFunctionExecutionError",0,h,"ContractFunctionRevertedError",0,m,"ContractFunctionZeroDataError",0,y,"CounterfactualDeploymentFailedError",0,g,"RawContractError",0,v])},379588,e=>{"use strict";var t=e.i(264192);class r extends t.BaseError{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class i extends t.BaseError{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentC
2onflictError"})}}function a(e){return e.reduce((e,{slot:t,value:r})=>`${e} ${t}: ${r} 3`,"")}e.s(["AccountStateConflictError",0,r,"StateAssignmentConflictError",0,i,"prettyStateOverride",0,function(e){return e.reduce((e,{address:t,...r})=>{let i=`${e} ${t}: 4`;return r.nonce&&(i+=` nonce: ${r.nonce} 5`),r.balance&&(i+=` balance: ${r.balance} 6`),r.code&&(i+=` code: ${r.code} 7`),r.state&&(i+=" state:\n",i+=a(r.state)),r.stateDiff&&(i+=" stateDiff:\n",i+=a(r.stateDiff)),i}," State Override:\n").slice(0,-1)}])},863309,e=>{"use strict";var t=e.i(974467),r=e.i(422636),i=e.i(264192);function a(e){let t=Object.entries(e).map(([e,t])=>void 0===t||!1===t?null:[e,t]).filter(Boolean),r=t.reduce((e,[t])=>Math.max(e,t.length),0);return t.map(([e,t])=>` ${`${e}:`.padEnd(r+1)} ${t}`).join("\n")}i.BaseError;class n extends i.BaseError{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class o extends i.BaseError{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",a(e),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}i.BaseError,i.BaseError;class s extends i.BaseError{constructor({storageKey:e}){super(`Size for storage key "${e}" is invalid. Expected 32 bytes. Got ${Math.floor((e.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}class c extends i.BaseError{constructor(e,{account:i,docsPath:n,chain:o,data:s,gas:c,gasPrice:f,maxFeePerGas:b,maxPriorityFeePerGas:d,nonce:u,to:l,value:p}){const h=a({chain:o&&`${o?.name} (id: ${o?.id})`,from:i?.address,to:l,value:void 0!==p&&`${(0,t.formatEther)(p)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:s,gas:c,gasPrice:void 0!==f&&`${(0,r.formatGwei)(f)} gwei`,maxFeePerGas:void 0!==b&&`${(0,r.formatGwei)(b)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,r.formatGwei)(d)} gwei`,nonce:u});super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",h].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class f extends i.BaseError{constructor({blockHash:e,blockNumber:t,blockTag:r,hash:i,index:a}){let n="Transaction";r&&void 0!==a&&(n=`Transaction at block time "${r}" at index "${a}"`),e&&void 0!==a&&(n=`Transaction at block hash "${e}" at index "${a}"`),t&&void 0!==a&&(n=`Transaction at block number "${t}" at index "${a}"`),i&&(n=`Transaction with hash "${i}"`),super(`${n} could not be found.`,{name:"TransactionNotFoundError"})}}class b extends i.BaseError{constructor({hash:e}){super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`,{name:"TransactionReceiptNotFoundError"})}}class d extends i.BaseError{constructor({receipt:e}){super(`Transaction with hash "${e.transactionHash}" reverted.`,{metaMessages:['The receipt marked the transaction as "reverted". This could mean that the function on the contract you are trying to call threw an error.'," ","You can attempt to extract the revert reason by:","- calling the `simulateContract` or `simulateCalls` Action with the `abi` and `functionName` of the contract","- using the `call` Action with raw `data`"],name:"TransactionReceiptRevertedError"}),Object.defineProperty(this,"receipt",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.receipt=e}}class u extends i.BaseError{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}e.s(["InvalidLegacyVError",0,n,"InvalidSerializableTransactionError",0,o,"InvalidStorageKeySizeError",0,s,"TransactionExecutionError",0,c,"TransactionNotFoundError",0,f,"TransactionReceiptNotFoundError",0,b,"TransactionReceiptRevertedError",0,d,"WaitForTransactionReceiptTimeoutError",0,u,"prettyPrint",0,a])},786899,e=>{"use strict";var t=e.i(793654),r=e.i(198670),i=e.i(319967),a=e.i(705466),n=e.i(957893),o=e.i(240310),s=e.i(861368),c=e.i(474
vendor: 4,404 bytes, line 7
7082),f=e.i(803348);function b(e,t={}){void 0!==t.size&&(0,c.assertSize)(e,{size:t.size});let r=(0,f.bytesToHex)(e,t);return(0,c.hexToNumber)(r,t)}var d=e.i(446896),u=e.i(386444);function l(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(l);let r=(0,u.getArrayComponents)(e.type);return!!(r&&l({...e,type:r[1]}))}e.s(["decodeAbiParameters",0,function(e,p){let h="string"==typeof p?(0,d.hexToBytes)(p):p,m=(0,i.createCursor)(h);if(0===(0,a.size)(h)&&e.length>0)throw new t.AbiDecodingZeroDataError;if((0,a.size)(p)&&32>(0,a.size)(p))throw new t.AbiDecodingDataSizeTooSmallError({data:"string"==typeof p?p:(0,f.bytesToHex)(p),params:e,size:(0,a.size)(p)});let y=0,g=[];for(let i=0;i<e.length;++i){let a=e[i];m.setPosition(y);let[d,p]=function e(i,a,{staticPosition:d}){let p=(0,u.getArrayComponents)(a.type);if(p){let[t,r]=p;return function(t,r,{length:i,staticPosition:a}){if(!i){let i=a+b(t.readBytes(32)),n=i+32;t.setPosition(i);let o=b(t.readBytes(32)),s=l(r),c=0,f=[];for(let i=0;i<o;++i){t.setPosition(n+(s?32*i:c));let[a,o]=e(t,r,{staticPosition:n});c+=o,f.push(a)}return t.setPosition(a+32),[f,32]}if(l(r)){let n=a+b(t.readBytes(32)),o=[];for(let a=0;a<i;++a){t.setPosition(n+32*a);let[i]=e(t,r,{staticPosition:n});o.push(i)}return t.setPosition(a+32),[o,32]}let n=0,o=[];for(let s=0;s<i;++s){let[i,s]=e(t,r,{staticPosition:a+n});n+=s,o.push(i)}return[o,n]}(i,{...a,type:r},{length:t,staticPosition:d})}if("tuple"===a.type)return function(t,r,{staticPosition:i}){let a=0===r.components.length||r.components.some(({name:e})=>!e),n=a?[]:{},o=0;if(l(r)){let s=i+b(t.readBytes(32));for(let i=0;i<r.components.length;++i){let c=r.components[i];t.setPosition(s+o);let[f,b]=e(t,c,{staticPosition:s});o+=b,n[a?i:c?.name]=f}return t.setPosition(i+32),[n,32]}for(let s=0;s<r.components.length;++s){let c=r.components[s],[f,b]=e(t,c,{staticPosition:i});n[a?s:c?.name]=f,o+=b}return[n,o]}(i,a,{staticPosition:d});if("address"===a.type){let e;return e=i.readBytes(32),[(0,r.checksumAddress)((0,f.bytesToHex)((0,n.sliceBytes)(e,-20))),32]}if("bool"===a.type)return[function(e,t={}){let r=e;if(void 0!==t.size&&((0,c.assertSize)(r,{size:t.size}),r=(0,o.trim)(r)),r.length>1||r[0]>1)throw new s.InvalidBytesBooleanError(r);return!!r[0]}(i.readBytes(32),{size:32}),32];if(a.type.startsWith("bytes"))return function(e,t,{staticPosition:r}){let[i,a]=t.type.split("bytes");if(!a){let t=b(e.readBytes(32));e.setPosition(r+t);let i=b(e.readBytes(32));if(0===i)return e.setPosition(r+32),["0x",32];let a=e.readBytes(i);return e.setPosition(r+32),[(0,f.bytesToHex)(a),32]}return[(0,f.bytesToHex)(e.readBytes(Number.parseInt(a,10),32)),32]}(i,a,{staticPosition:d});if(a.type.startsWith("uint")||a.type.startsWith("int")){var h,m;let e,t,r;return h=i,e=(m=a).type.startsWith("int"),t=Number.parseInt(m.type.split("int")[1]||"256",10),r=h.readBytes(32),[t>48?function(e,t={}){void 0!==t.size&&(0,c.assertSize)(e,{size:t.size});let r=(0,f.bytesToHex)(e,t);return(0,c.hexToBigInt)(r,t)}(r,{signed:e}):b(r,{signed:e}),32]}if("string"===a.type)return function(e,{staticPosition:t}){let r=b(e.readBytes(32));e.setPosition(t+r);let i=b(e.readBytes(32));if(0===i)return e.setPosition(t+32),["",32];let a=e.readBytes(i,32),n=function(e,t={}){let r=e;return void 0!==t.size&&((0,c.assertSize)(r,{size:t.size}),r=(0,o.trim)(r,{dir:"right"})),new TextDecoder().decode(r)}((0,o.trim)(a));return e.setPosition(t+32),[n,32]}(i,{staticPosition:d});throw new t.InvalidAbiDecodingTypeError(a.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(m,a,{staticPosition:0});y+=p,g.push(d)}return g}],786899)},164003,31568,e=>{"use strict";var t=e.i(794282),r=e.i(793654),i=e.i(957893),a=e.i(615370),n=e.i(786899),o=e.i(189542);e.s(["decodeErrorResult",0,function(e){let{abi:s,data:c,cause:f}=e,b=(0,i.slice)(c,0,4);if("0x"===b)throw new r.AbiDecodingZeroDataError({cause:f});let d=[...s||[],t.solidityError,t.solidityPanic].find(e=>"error"===e.type&&b===(0,a.toFunctionSelector)((0,o.formatAbiItem)(e)));if(!d)throw new r.AbiErrorSignatureNotFoundError(b,{docsPath:"/docs/contract/decodeErrorResult",cause:f});return{abiItem:d,args:"inputs"in d&&d.inputs&&d.inputs.length>0?(0,n.decodeAbiParameters)(d.inputs,(0,i.slice)(c,4)):void 0,errorName:d.name}}],164003);var s=e.i(847978);e.s(["formatAbiItemWithArgs",0,function({abiItem:e,args:t,includeFunctionName:r=!0,includeName:i=!1}
7){if("name"in e&&"inputs"in e&&e.inputs)return`${r?e.name:""}(${e.inputs.map((e,r)=>`${i&&e.name?`${e.name}: `:""}${"object"==typeof t[r]?(0,s.stringify)(t[r]):t[r]}`).join(", ")})`}],31568)},590296,e=>{"use strict";var t=e.i(793654),r=e.i(786899),i=e.i(580057);let a="/docs/contract/decodeFunctionResult";e.s(["decodeFunctionResult",0,function(e){let{abi:n,args:o,functionName:s,data:c}=e,f=n[0];if(s){let e=(0,i.getAbiItem)({abi:n,args:o,name:s});if(!e)throw new t.AbiFunctionNotFoundError(s,{docsPath:a});f=e}if("function"!==f.type)throw new t.AbiFunctionNotFoundError(void 0,{docsPath:a});if(!f.outputs)throw new t.AbiFunctionOutputsNotFoundError(f.name,{docsPath:a});let b=(0,r.decodeAbiParameters)(f.outputs,c);return b&&b.length>1?b:b&&1===b.length?b[0]:void 0}])},249963,e=>{"use strict";var t=e.i(793654),r=e.i(972010),i=e.i(386444);let a="/docs/contract/encodeDeployData";e.s(["encodeDeployData",0,function(e){let{abi:n,args:o,bytecode:s}=e;if(!o||0===o.length)return s;let c=n.find(e=>"type"in e&&"constructor"===e.type);if(!c)throw new t.AbiConstructorNotFoundError({docsPath:a});if(!("inputs"in c)||!c.inputs||0===c.inputs.length)throw new t.AbiConstructorParamsNotFoundError({docsPath:a});let f=(0,i.encodeAbiParameters)(c.inputs,o);return(0,r.concatHex)([s,f])}])},410213,e=>{"use strict";var t=e.i(259090),r=e.i(108637);e.s(["isAddressEqual",0,function(e,i){if(!(0,r.isAddress)(e,{strict:!1}))throw new t.InvalidAddressError({address:e});if(!(0,r.isAddress)(i,{strict:!1}))throw new t.InvalidAddressError({address:i});return e.toLowerCase()===i.toLowerCase()}])},254381,e=>{"use strict";var t=e.i(127057);e.s(["getChainContractAddress",0,function({blockNumber:e,chain:r,contract:i}){let a=r?.contracts?.[i];if(!a)throw new t.ChainDoesNotSupportContract({chain:r,contract:{name:i}});if(e&&a.blockCreated&&a.blockCreated>e)throw new t.ChainDoesNotSupportContract({blockNumber:e,chain:r,contract:{name:i,blockCreated:a.blockCreated}});return a.address}])},319967,434255,e=>{"use strict";var t=e.i(264192);class r extends t.BaseError{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class i extends t.BaseError{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class a extends t.BaseError{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}e.s(["NegativeOffsetError",0,r,"PositionOutOfBoundsError",0,i,"RecursiveReadLimitExceededError",0,a],434255);let n={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:1/0,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new a({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new i({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new r({offset:e});let t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new r({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let r=t??this.position;return this.assertPosition(r+e-1),this.bytes.subarray(r,r+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let r=this.inspectBytes(e);return this.position+=t??e,r},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===1/0)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};e.s(["createCursor",0,function(e,{recursiveReadLimit:t=8192}={}){let r=Object.create(n);return r.bytes=e,r.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),r.positionReadCount=new Map,r.recursiveReadLimit=t,r}],319967)},405725,67853,e=>{"use strict";var t=e.i(496918),r=e.i(794282),i=e.i(793654),a=e.i(957893),n=e.i(615370),o=e.i(786899),s=e.i(189542);function c(e){let{abi:t,data:r}=e,c=(0,a.slice)(r,0,4),f=t.find(e=>"function"===e.type&&c===(0,n.toFunctionSelector)((0,s.formatAbiItem)(e)));if(!f)throw new i.AbiFunctionSignatureNotFoundError(c,{docsPath:"/docs/contract/decodeFunctionData"});
7return{functionName:f.name,args:"inputs"in f&&f.inputs&&f.inputs.length>0?(0,o.decodeAbiParameters)(f.inputs,(0,a.slice)(r,4)):void 0}}e.s(["decodeFunctionData",0,c],67853);var f=e.i(972010),b=e.i(386444),d=e.i(580057);let u="/docs/contract/encodeErrorResult";function l(e){let{abi:t,errorName:r,args:a}=e,o=t[0];if(r){let e=(0,d.getAbiItem)({abi:t,args:a,name:r});if(!e)throw new i.AbiErrorNotFoundError(r,{docsPath:u});o=e}if("error"!==o.type)throw new i.AbiErrorNotFoundError(void 0,{docsPath:u});let c=(0,s.formatAbiItem)(o),l=(0,n.toFunctionSelector)(c),p="0x";if(a&&a.length>0){if(!o.inputs)throw new i.AbiErrorInputsNotFoundError(o.name,{docsPath:u});p=(0,b.encodeAbiParameters)(o.inputs,a)}return(0,f.concatHex)([l,p])}let p="/docs/contract/encodeFunctionResult",h="x-batch-gateway:true";async function m(e){let{data:a,ccipRequest:n}=e,{args:[o]}=c({abi:t.batchGatewayAbi,data:a}),s=[],f=[];return await Promise.all(o.map(async(e,i)=>{try{f[i]=e.urls.includes(h)?await m({data:e.data,ccipRequest:n}):await n(e),s[i]=!1}catch(e){var a;s[i]=!0,f[i]="HttpRequestError"===(a=e).name&&a.status?l({abi:t.batchGatewayAbi,errorName:"HttpError",args:[a.status,a.shortMessage]}):l({abi:[r.solidityError],errorName:"Error",args:["shortMessage"in a?a.shortMessage:a.message]})}})),function(e){let{abi:t,functionName:r,result:a}=e,n=t[0];if(r){let e=(0,d.getAbiItem)({abi:t,name:r});if(!e)throw new i.AbiFunctionNotFoundError(r,{docsPath:p});n=e}if("function"!==n.type)throw new i.AbiFunctionNotFoundError(void 0,{docsPath:p});if(!n.outputs)throw new i.AbiFunctionOutputsNotFoundError(n.name,{docsPath:p});let o=(()=>{if(0===n.outputs.length)return[];if(1===n.outputs.length)return[a];if(Array.isArray(a))return a;throw new i.InvalidArrayError(a)})();return(0,b.encodeAbiParameters)(n.outputs,o)}({abi:t.batchGatewayAbi,functionName:"query",result:[s,f]})}e.s(["localBatchGatewayRequest",0,m,"localBatchGatewayUrl",0,h],405725)},315261,429983,396454,e=>{"use strict";var t=e.i(302544),r=e.i(918921),i=e.i(264192);function a(e,t){let a=(e.details||"").toLowerCase(),n=e instanceof i.BaseError?e.walk(e=>e?.code===r.ExecutionRevertedError.code):e;return n instanceof i.BaseError?new r.ExecutionRevertedError({cause:e,message:n.details}):r.ExecutionRevertedError.nodeMessage.test(a)?new r.ExecutionRevertedError({cause:e,message:e.details}):r.FeeCapTooHighError.nodeMessage.test(a)?new r.FeeCapTooHighError({cause:e,maxFeePerGas:t?.maxFeePerGas}):r.FeeCapTooLowError.nodeMessage.test(a)?new r.FeeCapTooLowError({cause:e,maxFeePerGas:t?.maxFeePerGas}):r.NonceTooHighError.nodeMessage.test(a)?new r.NonceTooHighError({cause:e,nonce:t?.nonce}):r.NonceTooLowError.nodeMessage.test(a)?new r.NonceTooLowError({cause:e,nonce:t?.nonce}):r.NonceMaxValueError.nodeMessage.test(a)?new r.NonceMaxValueError({cause:e,nonce:t?.nonce}):r.InsufficientFundsError.nodeMessage.test(a)?new r.InsufficientFundsError({cause:e}):r.IntrinsicGasTooHighError.nodeMessage.test(a)?new r.IntrinsicGasTooHighError({cause:e,gas:t?.gas}):r.IntrinsicGasTooLowError.nodeMessage.test(a)?new r.IntrinsicGasTooLowError({cause:e,gas:t?.gas}):r.TransactionTypeNotSupportedError.nodeMessage.test(a)?new r.TransactionTypeNotSupportedError({cause:e}):r.TipAboveFeeCapError.nodeMessage.test(a)?new r.TipAboveFeeCapError({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new r.UnknownNodeError({cause:e})}e.s(["getNodeError",0,a],429983),e.s(["getCallError",0,function(e,{docsPath:i,...n}){let o,s=(o=a(e,n))instanceof r.UnknownNodeError?e:o;return new t.CallExecutionError(s,{docsPath:i,...n})}],315261),e.s(["extract",0,function(e,{format:t}){if(!t)return{};let r={};return!function t(i){for(let a of Object.keys(i))a in e&&(r[a]=e[a]),i[a]&&"object"==typeof i[a]&&!Array.isArray(i[a])&&t(i[a])}(t(e||{})),r}],396454)},505166,e=>{"use strict";e.s(["defineFormatter",0,function(e,t){return({exclude:r,format:i})=>({exclude:r,format:(e,a)=>{let n=t(e,a);if(r)for(let e of r)delete n[e];return{...n,...i(e,a)}},type:e})}])},984163,598290,e=>{"use strict";var t=e.i(803348);e.i(505166);let r={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};e.s(["formatTransactionRequest",0,function(e,i){let a={};return void 0!==e.authorizationList&&(a.authorizationList=e.authorizationList.map(e=>({address:e.address,r:e.r?(0,t.numberToHex)(BigInt(e.r)):e.r,s:e.s?(0,t.numberToHex)(BigInt(e.s)):e.s,chainId:(0,t.numberToHex)(e.chainId),nonce:(0,t.numberToHex)(e.nonce),...void 0!==e.yParity?{yParity:(0,t.numberToHex)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,t.numberToHex)(e.v)}:{}}))),void 0!==e.accessList&&(a.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(a.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?a.blobs=e.blobs.map(e=>(0,t.bytesToHex)(e)):a.blobs=e.blobs),void 0!==e.data&&(a.data=e.data),e.account&&(a.from=e.account.address),void 0!==e.from&&(a.from=e.from),void 0!==e.gas&&(a.gas=(0,t.numberToHex)(e.gas)),void 0!==e.gasPrice&&(a.gasPrice=(0,t.numberToHex)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(a.maxFeePerBlobGas=(0,t.numberToHex)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(a.maxFeePerGas=(0,t.numberToHex)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=(0,t.numberToHex)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(a.nonce=(0,t.numberToHex)(e.nonce)),void 0!==e.to&&(a.to=e.to),void 0!==e.type&&(a.type=r[e.type]),void 0!==e.value&&(
7a.value=(0,t.numberToHex)(e.value)),a}],984163);var i=e.i(259090),a=e.i(58644),n=e.i(379588),o=e.i(108637);function s(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:r})=>{if(66!==t.length)throw new a.InvalidBytesLengthError({size:t.length,targetSize:66,type:"hex"});if(66!==r.length)throw new a.InvalidBytesLengthError({size:r.length,targetSize:66,type:"hex"});return e[t]=r,e},{})}e.s(["serializeStateOverride",0,function(e){if(!e)return;let r={};for(let{address:a,...c}of e){if(!(0,o.isAddress)(a,{strict:!1}))throw new i.InvalidAddressError({address:a});if(r[a])throw new n.AccountStateConflictError({address:a});r[a]=function(e){let{balance:r,nonce:i,state:a,stateDiff:o,code:c}=e,f={};if(void 0!==c&&(f.code=c),void 0!==r&&(f.balance=(0,t.numberToHex)(r)),void 0!==i&&(f.nonce=(0,t.numberToHex)(i)),void 0!==a&&(f.state=s(a)),void 0!==o){if(f.state)throw new n.StateAssignmentConflictError;f.stateDiff=s(o)}return f}(c)}return r}],598290)},974467,e=>{"use strict";var t=e.i(624205),r=e.i(916891);e.s(["formatEther",0,function(e,i="wei"){return(0,r.formatUnits)(e,t.etherUnits[i])}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.