1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,467078,e=>{"use strict";var t=e.i(569934),r=e.i(853532);function n(e,n){let a=(e.details||"").toLowerCase(),i=e instanceof t.BaseError?e.walk(e=>e?.code===r.ExecutionRevertedError.code):e;return i instanceof t.BaseError?new r.ExecutionRevertedError({cause:e,message:i.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:n?.maxFeePerGas}):r.FeeCapTooLowError.nodeMessage.test(a)?new r.FeeCapTooLowError({cause:e,maxFeePerGas:n?.maxFeePerGas}):r.NonceTooHighError.nodeMessage.test(a)?new r.NonceTooHighError({cause:e,nonce:n?.nonce}):r.NonceTooLowError.nodeMessage.test(a)?new r.NonceTooLowError({cause:e,nonce:n?.nonce}):r.NonceMaxValueError.nodeMessage.test(a)?new r.NonceMaxValueError({cause:e,nonce:n?.nonce}):r.InsufficientFundsError.nodeMessage.test(a)?new r.InsufficientFundsError({cause:e}):r.IntrinsicGasTooHighError.nodeMessage.test(a)?new r.IntrinsicGasTooHighError({cause:e,gas:n?.gas}):r.IntrinsicGasTooLowError.nodeMessage.test(a)?new r.IntrinsicGasTooLowError({cause:e,gas:n?.gas}):r.TransactionTypeNotSupportedError.nodeMessage.test(a)?new r.TransactionTypeNotSupportedError({cause:e}):r.TipAboveFeeCapError.nodeMessage.test(a)?new r.TipAboveFeeCapError({cause:e,maxFeePerGas:n?.maxFeePerGas,maxPriorityFeePerGas:n?.maxPriorityFeePerGas}):new r.UnknownNodeError({cause:e})}e.i(95767),e.i(383856),e.s(["getNodeError",()=>n])},264404,190521,e=>{"use strict";function t(e,t){let{format:r}=t;if(!r)return{};let n={};return!function t(r){for(let a of Object.keys(r))a in e&&(n[a]=e[a]),r[a]&&"object"==typeof r[a]&&!Array.isArray(r[a])&&t(r[a])}(r(e||{})),n}e.s(["extract",()=>t],264404);var r=e.i(675107);e.i(445024);let n={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function a(e,t){let a={};return void 0!==e.authorizationList&&(a.authorizationList=e.authorizationList.map(e=>({address:e.address,r:e.r?(0,r.numberToHex)(BigInt(e.r)):e.r,s:e.s?(0,r.numberToHex)(BigInt(e.s)):e.s,chainId:(0,r.numberToHex)(e.chainId),nonce:(0,r.numberToHex)(e.nonce),...void 0!==e.yParity?{yParity:(0,r.numberToHex)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,r.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,r.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,r.numberToHex)(e.gas)),void 0!==e.gasPrice&&(a.gasPrice=(0,r.numberToHex)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(a.maxFeePerBlobGas=(0,r.numberToHex)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(a.maxFeePerGas=(0,r.numberToHex)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=(0,r.numberToHex)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(a.nonce=(0,r.numberToHex)(e.nonce)),void 0!==e.to&&(a.to=e.to),void 0!==e.type&&(a.type=n[e.type]),void 0!==e.value&&(a.value=(0,r.numberToHex)(e.value)),a}e.s(["formatTransactionRequest",()=>a],190521)},353464,e=>{"use strict";var t=e.i(189991),r=e.i(674768),n=e.i(608861),a=e.i(853532),i=e.i(796516);function o(e){let{account:o,maxFeePerGas:s,maxPriorityFeePerGas:f,to:c}=e,b=o?(0,t.parseAccount)(o):void 0;if(b&&!(0,i.isAddress)(b.address))throw new n.InvalidAddressError({address:b.address});if(c&&!(0,i.isAddress)(c))throw new n.InvalidAddressError({address:c});if(s&&s>r.maxUint256)throw new a.FeeCapTooHighError({maxFeePerGas:s});if(f&&s&&f>s)throw new a.TipAboveFeeCapError({maxFeePerGas:s,maxPriorityFeePerGas:f})}e.s(["assertRequest",()=>o])},806685,e=>{"use strict";var t=e.i(608861),r=e.i(796516);function n(e,n){if(!(0,r.isAddress)(e,{strict:!1}))throw new t.InvalidAddressError({address:e});if(!(0,r.isAddress)(n,{strict:!1}))throw new t.InvalidAddressError({address:n});return e.toLowerCase()===n.toLowerCase()}e.s(["isAddressEqual",()=>n])},249311,e=>{"use strict";var t=e.i(70204),r=e.i(823838),n=e.i(795),a=e.i(401319),i=e.i(790063),o=e.i(400564),s=e.i(8406),f=e.i(450323),c=e.i(675107);function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};void 0!==t.size&&(0,f.assertSize)(e,{size:t.size});let r=(0,c.bytesToHex)(e);return(0,f.hexToNumber)(r,t)}var l=e.i(769936),d=e.i(704434);function u(e,u){let y="string"==typeof u?(0,l.hexToBytes)(u):u,m=(0,n.createCursor)(y);if(0===(0,a.size)(y)&&e.length>0)throw new t.AbiDecodingZeroDataError;if((0,a.size)(u)&&32>(0,a.size)(u))throw new t.AbiDecodingDataSizeTooSmallError({data:"string"==typeof u?u:(0,c.bytesToHex)(u),params:e,size:(0,a.size)(u)});let g=0,h=[];for(let n=0;n<e.length;++n){let a=e[n];g<y.length&&m.setPosition(g);let[l,u]=function e(n,a,l){let{staticPosition:u}=l,y=(0,d.getArrayComponents)(a.type);if(y){let[t,r]=y;return function(t,r,n){let{length:a,staticPosition:i}=n;if(null===a){let n=i+b(t.readBytes(32)),a=n+32;t.setPosition(n);let o=b(t.readBytes(32)),s=p(r),f=0,c=[];for(let n=0;n<o;++n){t.setPosition(a+(s?32*n:f));let[i,o]=e(t,r,{staticPosition:a});f+=o,c.push(i),0===o&&(t.assertReadLimit(),t._touch())}return t.setPosition(i+32),[c,32]}if(p(r)){let n=i+b(t.readBytes(32)),o=[];for(let i=0;i<a;++i){t.setPosition(n+32*i);let[a]=e(t,r,{staticPosition:n});o.push(a)}return t.setPosition(i+32),[o,32]}let o=0,s=[];for(let n=0;n<a;++n){let[n,a]=e(t,r,{staticPosition:i+o});o+=a,s.push(n),0===a&&(t.assertReadLimit(),t._touch())}return[s,o]}(n,{...a,type:r},{length:t,staticPosition:u})}if("tuple"===a.type)return function(t,r,n){let{staticPosition:a}=n,i=0===r.components.length||r.components.some(e=>{let{name:t}=e;return!t}),o=i?[]:{},s=0;if(p(r)){let n=a+b(t.readBytes(32));for(let a=0;a<r.components.length;++a){let f=r.components[a];t.setPosition(n+s);let[c,b]=e(t,f,{staticPosition:n});s+=b,o[i?a:f?.name]=c}return t.setPosition(a+32),[o,32]}for(let n=0;n<r.components.length;++n){let f=r.components[n],[c,b]=e(t,f,{staticPosition:a});o[i?n:f?.name]=c,s+=b}return[o,s]}(n,a,{staticPosition:u});if("address"===a.type){let e;return e=n.readBytes(32),[(0,r.checksumAddress)((0,c.bytesToHex)((0,i.sliceBytes)(e,-20))),32]}if("bool"===a.type)return[function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e;if(void 0!==t.size&&((0,f.assertSize)(r,{size:t.size}),r=(0,s.trim)(r)),r.length>1||r[0]>1)throw new o.InvalidBytesBooleanError(r);return!!r[0]}(n.readBytes(32),{size:32}),32];if(a.type.startsWith("bytes"))return function(e,t,r){let{staticPosition:n}=r,[a,i]=t.type.split("bytes");if(!i){let t=b(e.readBytes(32));e.setPosition(n+t);
1let r=b(e.readBytes(32));if(0===r)return e.setPosition(n+32),["0x",32];let a=e.readBytes(r);return e.setPosition(n+32),[(0,c.bytesToHex)(a),32]}return[(0,c.bytesToHex)(e.readBytes(Number.parseInt(i,10),32)),32]}(n,a,{staticPosition:u});if(a.type.startsWith("uint")||a.type.startsWith("int")){var m,g;let e,t,r;return m=n,e=(g=a).type.startsWith("int"),t=Number.parseInt(g.type.split("int")[1]||"256",10),r=m.readBytes(32),[t>48?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};void 0!==t.size&&(0,f.assertSize)(e,{size:t.size});let r=(0,c.bytesToHex)(e);return(0,f.hexToBigInt)(r,t)}(r,{signed:e}):b(r,{signed:e}),32]}if("string"===a.type)return function(e,t){let{staticPosition:r}=t,n=b(e.readBytes(32));e.setPosition(r+n);let a=b(e.readBytes(32));if(0===a)return e.setPosition(r+32),["",32];let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e;return void 0!==t.size&&((0,f.assertSize)(r,{size:t.size}),r=(0,s.trim)(r,{dir:"right"})),new TextDecoder().decode(r)}(e.readBytes(a,32));return e.setPosition(r+32),[i,32]}(n,{staticPosition:u});throw new t.InvalidAbiDecodingTypeError(a.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(m,a,{staticPosition:0});g+=u,h.push(l)}return h}function p(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(p);let r=(0,d.getArrayComponents)(e.type);return!!(r&&p({...e,type:r[1]}))}e.s(["decodeAbiParameters",()=>u],249311)},727343,e=>{"use strict";e.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"}])},878023,959953,62570,e=>{"use strict";var t=e.i(189991),r=e.i(727343),n=e.i(70204),a=e.i(790063),i=e.i(879617),o=e.i(249311),s=e.i(332881);function f(e){let{abi:t,data:f,cause:c}=e,b=(0,a.slice)(f,0,4);if("0x"===b)throw new n.AbiDecodingZeroDataError({cause:c});let l=[...t||[],r.solidityError,r.solidityPanic].find(e=>"error"===e.type&&b===(0,i.toFunctionSelector)((0,s.formatAbiItem)(e)));if(!l)throw new n.AbiErrorSignatureNotFoundError(b,{docsPath:"/docs/contract/decodeErrorResult",cause:c});return{abiItem:l,args:"inputs"in l&&l.inputs&&l.inputs.length>0?(0,o.decodeAbiParameters)(l.inputs,(0,a.slice)(f,4)):void 0,errorName:l.name}}e.s(["decodeErrorResult",()=>f],959953);var c=e.i(34888);function b(e){let{abiItem:t,args:r,includeFunctionName:n=!0,includeName:a=!1}=e;if("name"in t&&"inputs"in t&&t.inputs)return`${n?t.name:""}(${t.inputs.map((e,t)=>`${a&&e.name?`${e.name}: `:""}${"object"==typeof r[t]?(0,c.stringify)(r[t]):r[t]}`).join(", ")})`}var l=e.i(627173),d=e.i(285973),u=e.i(976486),p=e.i(569934),y=p;class m extends y.BaseError{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class g extends y.BaseError{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function h(e){return e.reduce((e,t)=>{let{slot:r,value:n}=t;return`${e} ${r}: ${n} 2`},"")}function v(e){return e.reduce((e,t)=>{let{address:r,...n}=t,a=`${e} ${r}: 3`;return n.nonce&&(a+=` nonce: ${n.nonce} 4`),n.balance&&(a+=` balance: ${n.balance} 5`),n.code&&(a+=` code: ${n.code} 6`),n.state&&(a+=" state:\n",a+=h(n.state)),n.stateDiff&&(a+=" stateDiff:\n",a+=h(n.stateDiff)),a}," State Override:\n").slice(0,-1)}e.s(["AccountStateConflictError",()=>m,"StateAssignmentConflictError",()=>g,"prettyStateOverride",()=>v],62570);var w=e.i(393702),x=e.i(363710);class E extends p.BaseError{constructor(e,{account:r,docsPath:n,chain:a,data:i,gas:o,gasPrice:s,maxFeePerGas:f,maxPriorityFeePerGas:c,nonce:b,to:l,value:p,stateOverride:y}){const m=r?(0,t.parseAccount)(r):void 0;let g=(0,w.prettyPrint)({from:m?.address,to:l,value:void 0!==p&&`${(0,d.formatEther)(p)} ${a?.nativeCurrency?.symbol||"ETH"}`,data:i,gas:o,gasPrice:void 0!==s&&`${(0,u.formatGwei)(s)} gwei`,maxFeePerGas:void 0!==f&&`${(0,u.formatGwei)(f)} gwei`,maxPriorityFeePerGas:void 0!==c&&`${(0,u.formatGwei)(c)} gwei`,nonce:b});y&&(g+=` 7${v(y)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",g].filter(
7Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class $ extends p.BaseError{constructor(e,{abi:t,args:r,contractAddress:n,docsPath:a,functionName:i,sender:o}){const f=(0,l.getAbiItem)({abi:t,args:r,name:i}),c=f?b({abiItem:f,args:r,includeFunctionName:!1,includeName:!1}):void 0,d=f?(0,s.formatAbiItem)(f,{includeName:!0}):void 0,u=(0,w.prettyPrint)({address:n&&(0,x.getContractAddress)(n),function:d,args:c&&"()"!==c&&`${[...Array(i?.length??0).keys()].map(()=>" ").join("")}${c}`,sender:o});super(e.shortMessage||`An unknown error occurred while executing the contract function "${i}".`,{cause:e,docsPath:a,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],u&&"Contract Call:",u].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=n,this.functionName=i,this.sender=o}}class P extends p.BaseError{constructor({abi:e,data:t,functionName:a,message:i,cause:o}){let c,l,d,u,p;if(t&&"0x"!==t)try{const{abiItem:n,errorName:a,args:i}=l=f({abi:e,data:t,cause:o});if("Error"===a)u=i[0];else if("Panic"===a){const[e]=i;u=r.panicReasons[e]}else{const e=n?(0,s.formatAbiItem)(n,{includeName:!0}):void 0,t=n&&i?b({abiItem:n,args:i,includeFunctionName:!1,includeName:!1}):void 0;d=[e?`Error: ${e}`:"",t&&"()"!==t?` ${[...Array(a?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){c=e}else i&&(u=i);c instanceof n.AbiErrorSignatureNotFoundError&&(p=c.signature,d=[`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(u&&"execution reverted"!==u||p?[`The contract function "${a}" reverted with the following ${p?"signature":"reason"}:`,u||p].join("\n"):`The contract function "${a}" reverted.`,{cause:c??o,metaMessages:d,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=l,this.raw=t,this.reason=u,this.signature=p}}class A extends p.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 S extends p.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 B extends p.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",()=>E,"ContractFunctionExecutionError",()=>$,"ContractFunctionRevertedError",()=>P,"ContractFunctionZeroDataError",()=>A,"CounterfactualDeploymentFailedError",()=>S,"RawContractError",()=>B],878023)},826051,e=>{"use strict";var t=e.i(608861),r=e.i(587286),n=e.i(62570),a=e.i(796516),i=e.i(675107);function o(e){if(e&&0!==e.length)return e.reduce((e,t)=>
7{let{slot:n,value:a}=t;if(66!==n.length)throw new r.InvalidBytesLengthError({size:n.length,targetSize:66,type:"hex"});if(66!==a.length)throw new r.InvalidBytesLengthError({size:a.length,targetSize:66,type:"hex"});return e[n]=a,e},{})}function s(e){if(!e)return;let r={};for(let{address:s,...f}of e){if(!(0,a.isAddress)(s,{strict:!1}))throw new t.InvalidAddressError({address:s});if(r[s])throw new n.AccountStateConflictError({address:s});r[s]=function(e){let{balance:t,nonce:r,state:a,stateDiff:s,code:f}=e,c={};if(void 0!==f&&(c.code=f),void 0!==t&&(c.balance=(0,i.numberToHex)(t)),void 0!==r&&(c.nonce=(0,i.numberToHex)(r)),void 0!==a&&(c.state=o(a)),void 0!==s){if(c.state)throw new n.StateAssignmentConflictError;c.stateDiff=o(s)}return c}(f)}return r}e.s(["serializeStateOverride",()=>s])},606580,e=>{"use strict";var t=e.i(569934),r=e.i(675107);function n(e){let{blockHash:n,blockNumber:a,blockTag:i,requireCanonical:o}=e;if(void 0!==o&&!n)throw new t.BaseError("`requireCanonical` can only be provided when `blockHash` is set.");return n?o?{blockHash:n,requireCanonical:o}:{blockHash:n}:"bigint"==typeof a?(0,r.numberToHex)(a):i??"latest"}e.s(["formatBlockParameter",()=>n])},600547,e=>{"use strict";var t=e.i(70204),r=e.i(249311),n=e.i(627173);let a="/docs/contract/decodeFunctionResult";function i(e){let{abi:i,args:o,functionName:s,data:f}=e,c=i[0];if(s){let e=(0,n.getAbiItem)({abi:i,args:o,name:s});if(!e)throw new t.AbiFunctionNotFoundError(s,{docsPath:a});c=e}if("function"!==c.type)throw new t.AbiFunctionNotFoundError(void 0,{docsPath:a});if(!c.outputs)throw new t.AbiFunctionOutputsNotFoundError(c.name,{docsPath:a});let b=(0,r.decodeAbiParameters)(c.outputs,f);return b&&b.length>1?b:b&&1===b.length?b[0]:void 0}e.s(["decodeFunctionResult",()=>i])},137195,61460,815373,589513,88776,902094,618697,845824,382721,759384,284251,944318,904119,472503,e=>{"use strict";var t=e.i(788035);let r=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function n(e){return r.test(e)}function a(e){return(0,t.execTyped)(r,e)}let i=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function o(e){return i.test(e)}function s(e){return(0,t.execTyped)(i,e)}let f=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/;function c(e){return f.test(e)}function b(e){return(0,t.execTyped)(f,e)}let l=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;function d(e){return l.test(e)}function u(e){return(0,t.execTyped)(l,e)}let p=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/;function y(e){return p.test(e)}function m(e){return(0,t.execTyped)(p,e)}let g=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/;function h(e){return g.test(e)}function v(e){return(0,t.execTyped)(g,e)}let w=/^receive\(\) external payable$/;function x(e){return w.test(e)}let E=new Set(["memory","indexed","storage","calldata"]),$=new Set(["indexed"]),P=new Set(["calldata","memory","storage"]);e.s(["eventModifiers",0,$,"execConstructorSignature",()=>m,"execErrorSignature",()=>a,"execEventSignature",()=>s,"execFallbackSignature",()=>v,"execFunctionSignature",()=>b,"execStructSignature",()=>u,"functionModifiers",0,P,"isConstructorSignature",()=>y,"isErrorSignature",()=>n,"isEventSignature",()=>o,"isFallbackSignature",()=>h,"isFunctionSignature",()=>c,"isReceiveSignature",()=>x,"isStructSignature",()=>d,"modifiers",0,E],61460);class A extends Error{constructor(e,t={}){const r=t.cause instanceof A?t.cause.details:t.cause?.message?t.cause.message:t.details,n=t.cause instanceof A&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...n?[`Docs: https://abitype.dev${n}`]:[],...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=n,this.metaMessages=t.metaMessages,this.shortMessage=e}}class S 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"})}}class B 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 O 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",()=>S,"UnknownSolidityTypeError",()=>O,"UnknownTypeError",()=>B],815373);class I 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"})}}class T extends A{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class z 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 C 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 j 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 M extends A{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invali
7d."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}e.s(["InvalidAbiParametersError",()=>I,"InvalidAbiTypeParameterError",()=>M,"InvalidFunctionModifierError",()=>j,"InvalidModifierError",()=>C,"InvalidParameterError",()=>T,"SolidityProtectedKeywordError",()=>z],589513);class F 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 N extends A{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class R 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 H 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 k 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 D=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 G(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(c(e))return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=b(e);if(!r)throw new F({signature:e,type:"function"});let n=Z(r.parameters),a=[],i=n.length;for(let e=0;e<i;e++)a.push(V(n[e],{modifiers:P,structs:t,type:"function"}));let o=[];if(r.returns){let e=Z(r.returns),n=e.length;for(let r=0;r<n;r++)o.push(V(e[r],{modifiers:P,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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=s(e);if(!r)throw new F({signature:e,type:"event"});let n=Z(r.parameters),a=[],i=n.length;for(let e=0;e<i;e++)a.push(V(n[e],{modifiers:$,structs:t,type:"event"}));return{name:r.name,type:"event",inputs:a}}(e,t);if(n(e))return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a(e);if(!r)throw new F({signature:e,type:"error"});let n=Z(r.parameters),i=[],o=n.length;for(let e=0;e<o;e++)i.push(V(n[e],{structs:t,type:"error"}));return{name:r.name,type:"error",inputs:i}}(e,t);if(y(e))return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=m(e);if(!r)throw new F({signature:e,type:"constructor"});let n=Z(r.parameters),a=[],i=n.length;for(let e=0;e<i;e++)a.push(V(n[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:r.stateMutability??"nonpayable",inputs:a}}(e,t);if(h(e)){var r=e;let t=v(r);if(!t)throw new F({signature:r,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}if(x(e))return{type:"receive",stateMutability:"payable"};throw new N({signature:e})}let L=/^(?<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$_]*))?$/,_=/^u?int$/;function V(e,r){var n,a;let i,o=function(e,t,r){let n="";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}`:""}]`;n+=`(${e[0]}{${t}})`}return t?`${t}:${e}${n}`:`${e}${n}`}(e,r?.type,r?.structs);if(D.has(o))return D.get(o);let s=t.isTupleRegex.test(e),f=(0,t.execTyped)(s?U:L,e);if(!f)throw new T({param:e});if(f.name&&("address"===(n=f.name)||"bool"===n||"function"===n||"string"===n||"tuple"===n||t.bytesRegex.test(n)||t.integerRegex.test(n)||W.test(n)))throw new z({param:e,name:f.name});let c=f.name?{name:f.name}:{},b="indexed"===f.modifier?{indexed:!0}:{},l=r?.structs??{},d={};if(s){i="tuple";let e=Z(f.type),t=[],r=e.length;for(let n=0;n<r;n++)t.push(V(e[n],{structs:l}));d={components:t}}else if(f.type in l)i="tuple",d={components:l[f.type]};else if(_.test(f.type))i=`${f.type}256`;else if("address payable"===f.type)i="address";else if(i=f.type,r?.type!=="struct"&&!q(i))throw new O({type:i});if(f.modifier){if(!r?.modifiers?.has?.(f.modifier))throw new C({param:e,type:r?.type,modifier:f.modifier});if(P.has(f.modifier)&&(a=i,!f.array&&"bytes"!==a&&"string"!==a&&"tuple"!==a)
7)throw new j({param:e,type:r?.type,modifier:f.modifier})}let u={type:`${i}${f.array??""}`,...c,...b,...d};return D.set(o,u),u}function Z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=e.trim().length;for(let i=0;i<a;i++){let a=e[i],o=e.slice(i+1);switch(a){case",":return 0===n?Z(o,[...t,r.trim()]):Z(o,t,`${r}${a}`,n);case"(":return Z(o,t,`${r}${a}`,n+1);case")":return Z(o,t,`${r}${a}`,n-1);default:return Z(o,t,`${r}${a}`,n)}}if(""===r)return t;if(0!==n)throw new k({current:r,depth:n});return t.push(r.trim()),t}function q(e){return"address"===e||"bool"===e||"function"===e||"string"===e||t.bytesRegex.test(e)||t.integerRegex.test(e)}let W=/^(?: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 J(e){let r={},n=e.length;for(let t=0;t<n;t++){let n=e[t];if(!d(n))continue;let a=u(n);if(!a)throw new F({signature:n,type:"struct"});let i=a.properties.split(";"),o=[],s=i.length;for(let e=0;e<s;e++){let t=i[e].trim();if(!t)continue;let r=V(t,{type:"struct"});o.push(r)}if(!o.length)throw new R({signature:n});r[a.name]=o}let a={},i=Object.entries(r),o=i.length;for(let e=0;e<o;e++){let[n,o]=i[e];a[n]=function e(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set,i=[],o=r.length;for(let s=0;s<o;s++){let o=r[s];if(t.isTupleRegex.test(o.type))i.push(o);else{let r=(0,t.execTyped)(K,o.type);if(!r?.type)throw new M({abiParameter:o});let{array:s,type:f}=r;if(f in n){if(a.has(f))throw new H({type:f});i.push({...o,type:`tuple${s??""}`,components:e(n[f],n,new Set([...a,f]))})}else if(q(f))i.push(o);else throw new B({type:f})}}return i}(o,r)}return a}e.s(["isSolidityType",()=>q,"parseAbiParameter",()=>V,"parseSignature",()=>G,"splitParameters",()=>Z],88776);let K=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;function Y(e){let t=J(e),r=[],n=e.length;for(let a=0;a<n;a++){let n=e[a];d(n)||r.push(G(n,t))}return r}e.s(["parseStructs",()=>J],902094),e.s(["parseAbi",()=>Y],137195),e.s(["IntegerOutOfRangeError",()=>e0,"InvalidLengthError",()=>e5,"SizeExceedsPaddingSizeError",()=>e9,"SizeOverflowError",()=>e8,"SliceOffsetOutOfBoundsError",()=>e2,"concat",()=>eD,"from",()=>eG,"fromBoolean",()=>eL,"fromBytes",()=>eU,"fromNumber",()=>e_,"fromString",()=>eV,"padLeft",()=>eZ,"padRight",()=>eq,"size",()=>eJ,"slice",()=>eW,"toBigInt",()=>eY,"toNumber",()=>eX,"trimLeft",()=>eK,"validate",()=>eQ],284251);var X=e.i(5450);function Q(){return"0.1.1"}function ee(e){if(!e)return"";let t=Object.entries(e).map(e=>{let[t,r]=e;return void 0===r||!1===r?null:[t,r]}).filter(Boolean),r=t.reduce((e,t)=>{let[r]=t;return Math.max(e,r.length)},0);return t.map(e=>{let[t,n]=e;return` ${`${t}:`.padEnd(r+1)} ${n}`}).join("\n")}e.s(["InvalidBytesBooleanError",()=>ej,"InvalidBytesTypeError",()=>eM,"SizeExceedsPaddingSizeError",()=>eR,"SizeOverflowError",()=>eF,"SliceOffsetOutOfBoundsError",()=>eN,"assert",()=>el,"concat",()=>ed,"from",()=>eu,"fromArray",()=>ep,"fromBoolean",()=>ey,"fromHex",()=>em,"fromNumber",()=>eg,"fromString",()=>eh,"isEqual",()=>ev,"padLeft",()=>ew,"padRight",()=>ex,"random",()=>eE,"size",()=>e$,"slice",()=>eP,"toBigInt",()=>eA,"toBoolean",()=>eS,"toHex",()=>eB,"toNumber",()=>eO,"toString",()=>eI,"trimLeft",()=>eT,"trimRight",()=>ez,"validate",()=>eC],759384),e.s(["getVersion",()=>Q,"prettyPrint",()=>ee],618697);class et extends Error{static setStaticOptions(e){et.prototype.docsOrigin=e.docsOrigin,et.prototype.showVersion=e.showVersion,et.prototype.version=e.version}constructor(e,t={}){const r=(()=>{if(t.cause instanceof et){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})(),n=t.cause instanceof et&&t.cause.docsPath||t.docsPath,a=t.docsOrigin??et.prototype.docsOrigin,i=`${a}${n??""}
7`,o=!!(t.version??et.prototype.showVersion),s=t.version??et.prototype.version;super([e||"An error occurred.",...t.metaMessages?["",...t.metaMessages]:[],...r||n||o?["",r?`Details: ${r}`:void 0,n?`See: ${i}`: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=i,this.docsOrigin=a,this.docsPath=n,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 er(e,t){if(e$(e)>t)throw new eF({givenSize:e$(e),maxSize:t})}Object.defineProperty(et,"defaultStaticOptions",{enumerable:!0,configurable:!0,writable:!0,value:{docsOrigin:"https://oxlib.sh",showVersion:!1,version:`ox@${Q()}`}}),et.setStaticOptions(et.defaultStaticOptions),e.s(["BaseError",()=>et],845824);function en(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function ea(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{dir:r,size:n=32}=t;if(0===n)return e;if(e.length>n)throw new eR({size:e.length,targetSize:n,type:"Bytes"});let a=new Uint8Array(n);for(let t=0;t<n;t++){let i="right"===r;a[i?t:n-t-1]=e[i?t:e.length-t-1]}return a}function ei(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{dir:r="left"}=t,n=e,a=0;for(let e=0;e<n.length-1;e++)if("0"===n["left"===r?e:n.length-e-1].toString())a++;else break;return"left"===r?n.slice(a):n.slice(0,n.length-a)}function eo(e,t){if(eJ(e)>t)throw new e8({givenSize:eJ(e),maxSize:t})}function es(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{dir:r,size:n=32}=t;if(0===n)return e;let a=e.replace("0x","");if(a.length>2*n)throw new e9({size:Math.ceil(a.length/2),targetSize:n,type:"Hex"});return`0x${a["right"===r?"padEnd":"padStart"](2*n,"0")}`}function ef(e,t,r){return JSON.stringify(e,(e,r)=>"function"==typeof t?t(e,r):"bigint"==typeof r?r.toString()+"#__bigint":r,r)}e.s(["stringify",()=>ef],382721);let ec=new TextDecoder,eb=new TextEncoder;function el(e){if(!(e instanceof Uint8Array)&&(!e||"object"!=typeof e||!("BYTES_PER_ELEMENT"in e)||1!==e.BYTES_PER_ELEMENT||"Uint8Array"!==e.constructor.name))throw new eM(e)}function ed(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=0;for(let e of t)n+=e.length;let a=new Uint8Array(n);for(let e=0,r=0;e<t.length;e++){let n=t[e];a.set(n,r),r+=n.length}return a}function eu(e){return e instanceof Uint8Array?e:"string"==typeof e?em(e):ep(e)}function ep(e){return e instanceof Uint8Array?e:new Uint8Array(e)}function ey(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{size:r}=t,n=new Uint8Array(1);return(n[0]=Number(e),"number"==typeof r)?(er(n,r),ew(n,r)):n}function em(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{size:r}=t,n=e;r&&(eo(e,r),n=eq(e,r));let a=n.slice(2);a.length%2&&(a=`0${a}`);let i=a.length/2,o=new Uint8Array(i);for(let e=0,t=0;e<i;e++){let r=en(a.charCodeAt(t++)),n=en(a.charCodeAt(t++));if(void 0===r||void 0===n)throw new et(`Invalid byte sequence ("${a[t-2]}${a[t-1]}" in "${a}").`);o[e]=r<<4|n}return o}function eg(e,t){return em(e_(e,t))}function eh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{size:r}=t,n=eb.encode(e);return"number"==typeof r?(er(n,r),ex(n,r)):n}function ev(e,t){return(0,X.equalBytes)(e,t)}function ew(e,t){return ea(e,{dir:"left",size:t})}function ex(e,t){return ea(e,{dir:"right",size:t})}function eE(e){return crypto.getRandomValues(new Uint8Array(e))}function e$(e){return e.length}function eP(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{strict:a}=n;
7if("number"==typeof t&&t>0&&t>e$(e)-1)throw new eN({offset:t,position:"start",size:e$(e)});let i=e.slice(t,r);return a&&function(e,t,r){if("number"==typeof t&&"number"==typeof r&&e$(e)!==r-t)throw new eN({offset:r,position:"end",size:e$(e)})}(i,t,r),i}function eA(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{size:r}=t;return void 0!==r&&er(e,r),eY(eU(e,t),t)}function eS(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{size:r}=t,n=e;if(void 0!==r&&(er(n,r),n=eT(n)),n.length>1||n[0]>1)throw new ej(n);return!!n[0]}function eB(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return eU(e,t)}function eO(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{size:r}=t;return void 0!==r&&er(e,r),eX(eU(e,t),t)}function eI(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{size:r}=t,n=e;return void 0!==r&&(er(n,r),n=ez(n)),ec.decode(n)}function eT(e){return ei(e,{dir:"left"})}function ez(e){return ei(e,{dir:"right"})}function eC(e){try{return el(e),!0}catch{return!1}}class ej extends et{constructor(e){super(`Bytes value \`${e}\` is not a valid boolean.`,{metaMessages:["The bytes array must contain a single byte of either a `0` or `1` value."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesBooleanError"})}}class eM extends et{constructor(e){super(`Value \`${"object"==typeof e?ef(e):e}\` of type \`${typeof e}\` is an invalid Bytes value.`,{metaMessages:["Bytes values must be of type `Bytes`."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesTypeError"})}}class eF extends et{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:"Bytes.SizeOverflowError"})}}class eN extends et{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:"Bytes.SliceOffsetOutOfBoundsError"})}}class eR extends et{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:"Bytes.SizeExceedsPaddingSizeError"})}}let eH=new TextEncoder,ek=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function eD(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return`0x${t.reduce((e,t)=>e+t.replace("0x",""),"")}`}function eG(e){return e instanceof Uint8Array?eU(e):Array.isArray(e)?eU(new Uint8Array(e)):e}function eL(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=`0x${Number(e)}`;return"number"==typeof t.size?(eo(r,t.size),eZ(r,t.size)):r}function eU(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="";for(let t=0;t<e.length;t++)r+=ek[e[t]];let n=`0x${r}`;return"number"==typeof t.size?(eo(n,t.size),eq(n,t.size)):n}function e_(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{signed:n,size:a}=r,i=BigInt(e);a?t=n?(1n<<8n*BigInt(a)-1n)-1n:2n**(8n*BigInt(a))-1n:"number"==typeof e&&(t=BigInt(Number.MAX_SAFE_INTEGER));let o="bigint"==typeof t&&n?-t-1n:0;if(t&&i>t||i<o){let r="bigint"==typeof e?"n":"";throw new e0({max:t?`${t}${r}`:void 0,min:`${o}${r}`,signed:n,size:a,value:`${e}${r}`})}let s=(n&&i<0?BigInt.asUintN(8*a,BigInt(i)):i).toString(16),f=`0x${s}`;return a?eZ(f,a):f}function eV(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return eU(eH.encode(e),t)}function eZ(e,t){return es(e,{dir:"left",size:t})}function eq(e,t){return es(e,{dir:"right",size:t})}function eW(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{strict:a}=n;if("number"==typeof t&&t>0&&t>eJ(e)-1)throw new e2({offset:t,position:"start",size:eJ(e)});let i=`0x${e.replace("0x","").slice((t??0)*2,(r??e.length)*2)}`;return a&&function(e,t,r){if("number"==typeof t&&"number"==typeof r&&eJ(e)!==r-t)throw new e2({offset:r,position:"end",size:eJ(e)})}(i,t,r),i}function eJ(e){return Math.ceil((e.length-2)/2)}function eK(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{dir:r="left"}=t,n=e.replace("0x",""),a=0;for(let e=0;e<n.length-1;e++)if("0"===n["left"===r?e:n.length-e-1].toString())a++;else break;return"0"===(n="left"===r?n.slice(a):n.slice(0,n.length-a))?"0x":"right"===r&&n.length%2==1?`0x${n}0`:`0x${n}`}(e,{dir:"left"})}function eY(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{signed:r}=t;t.size&&eo(e,t.size);let n=BigInt(e);if(!r)return n;let a=(1n<<8n*BigInt((e.length-2)/2))-1n;return n<=a>>1n?n:n-a-1n}function eX(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{signed:r,size:n}=t;return r||n?Number(eY(e,t)):Number(e)}function eQ(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{strict:r=!1}=t;try{return!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{strict:r=!1}=t;if(!e||"string"!=typeof e)throw new e1(e);if(r&&!/^0x[0-9a-fA-F]*$/.test(e)||!e.startsWith("0x"))throw new e6(e)}(e,{strict:r}),!0}catch{return!1}}class e0 extends et{constructor({max:e,min:t,signed:r,size:n,value:a}){super(`Number \`${a}\` is not in safe${n?` ${8*n}-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 e1 extends et{constructor(e){super(`Value \`${"object"==typeof e?ef(e):e}\` of type \`${typeof e}
7\` 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 e6 extends et{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 e5 extends et{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 e8 extends et{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 e2 extends et{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 e9 extends et{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 e3(e){return{address:e.address,amount:e_(e.amount),index:e_(e.index),validatorIndex:e_(e.validatorIndex)}}function e4(e){return{..."bigint"==typeof e.baseFeePerGas&&{baseFeePerGas:e_(e.baseFeePerGas)},..."bigint"==typeof e.blobBaseFee&&{blobBaseFee:e_(e.blobBaseFee)},..."string"==typeof e.feeRecipient&&{feeRecipient:e.feeRecipient},..."bigint"==typeof e.gasLimit&&{gasLimit:e_(e.gasLimit)},..."bigint"==typeof e.number&&{number:e_(e.number)},..."bigint"==typeof e.prevRandao&&{prevRandao:e_(e.prevRandao)},..."bigint"==typeof e.time&&{time:e_(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(e3)}}}e.s(["toRpc",()=>e4],944318),e.s(["aggregate3Signature",0,"0x82ad56cb"],904119),e.s(["deploylessCallViaBytecodeBytecode",0,"0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe","deploylessCallViaFactoryBytecode",0,"0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de82602083
70160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe","erc6492SignatureValidatorByteCode",0,"0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848
7603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572","multicall3Bytecode",0,"0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9
7150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033"],472503)},289169,e=>{"use strict";var t=e.i(70204),r=e.i(147526),n=e.i(704434);let a="/docs/contract/encodeDeployData";function i(e){let{abi:i,args:o,bytecode:s}=e;if(!o||0===o.length)return s;let f=i.find(e=>"type"in e&&"constructor"===e.type);if(!f)throw new t.AbiConstructorNotFoundError({docsPath:a});if(!("inputs"in f)||!f.inputs||0===f.inputs.length)throw new t.AbiConstructorParamsNotFoundError({docsPath:a});let c=(0,n.encodeAbiParameters)(f.inputs,o);return(0,r.concatHex)([s,c])}e.s(["encodeDeployData",()=>i])},404195,e=>{"use strict";var t=e.i(505880);function r(e){let{blockNumber:r,chain:n,contract:a}=e,i=n?.contracts?.[a];if(!i)throw new t.ChainDoesNotSupportContract({chain:n,contract:{name:a}});if(r&&i.blockCreated&&i.blockCreated>r)throw new t.ChainDoesNotSupportContract({blockNumber:r,chain:n,contract:{name:a,blockCreated:i.blockCreated}});return i.address}e.s(["getChainContractAddress",()=>r])}
7,779690,e=>{"use strict";var t=e.i(878023),r=e.i(853532),n=e.i(467078);function a(e,a){let i,{docsPath:o,...s}=a,f=(i=(0,n.getNodeError)(e,s))instanceof r.UnknownNodeError?e:i;return new t.CallExecutionError(f,{docsPath:o,...s})}e.s(["getCallError",()=>a])},989509,e=>{"use strict";var t=e.i(137195),r=e.i(944318),n=e.i(189991),a=e.i(752012),i=e.i(904119),o=e.i(472503),s=e.i(569934),f=e.i(505880),c=e.i(878023),b=e.i(363710),l=e.i(600547),d=e.i(289169),u=e.i(656679),p=e.i(806685),y=e.i(606580),m=e.i(404195),g=e.i(779690),h=e.i(264404),v=e.i(190521),w=e.i(871706),x=e.i(826051),E=e.i(353464);async function $(a,l){let{account:u=a.account,authorizationList:m,batch:w=!!a.batch?.multicall,blockHash:$,blockNumber:P,blockTag:A=a.experimental_blockTag??"latest",requireCanonical:I,accessList:T,blobs:z,blockOverrides:C,code:j,data:M,factory:F,factoryData:N,gas:R,gasPrice:H,maxFeePerBlobGas:k,maxFeePerGas:D,maxPriorityFeePerGas:G,nonce:L,requestOptions:U,to:_,value:V,stateOverride:Z,...q}=l,W=u?(0,n.parseAccount)(u):void 0;if(j&&(F||N))throw new s.BaseError("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(j&&_)throw new s.BaseError("Cannot provide both `code` & `to` as parameters.");let J=j&&M,K=F&&N&&_&&M,Y=J||K,X=J?O({code:j,data:M}):K?function(e){let{data:r,factory:n,factoryData:a,to:i}=e;return(0,d.encodeDeployData)({abi:(0,t.parseAbi)(["constructor(address, bytes, address, bytes)"]),bytecode:o.deploylessCallViaFactoryBytecode,args:[i,r,n,a]})}({data:M,factory:F,factoryData:N,to:_}):M;try{let e;(0,E.assertRequest)(l);let t=(0,y.formatBlockParameter)({blockHash:$,blockNumber:P,blockTag:A,requireCanonical:I}),n=C?r.toRpc(C):void 0,o=(0,x.serializeStateOverride)(Z),s=a.chain?.formatters?.transactionRequest?.format,c=(s||v.formatTransactionRequest)({...(0,h.extract)(q,{format:s}),accessList:T,account:W,authorizationList:m,blobs:z,data:X,gas:R,gasPrice:H,maxFeePerBlobGas:k,maxFeePerGas:D,maxPriorityFeePerGas:G,nonce:L,to:Y?void 0:_,value:V},"call");if(w&&function(e){let{request:t}=e,{data:r,to:n,...a}=t;return!(!r||r.startsWith(i.aggregate3Signature))&&!!n&&!(Object.values(a).filter(e=>void 0!==e).length>0)}({request:c})&&!n&&void 0===$)try{var Q,ee;let{deployless:e=!1}="object"==typeof a.batch?.multicall?a.batch.multicall:{},t=B(a,{blockNumber:P,deployless:e});if(!t||(Q=o,ee=t,!(Q&&Object.keys(Q).some(e=>(0,p.isAddressEqual)(e,ee)))))return await S(a,{...c,blockHash:$,blockNumber:P,blockTag:A,multicallAddress:t,requestOptions:U,requireCanonical:I,rpcStateOverride:o})}catch(e){if(!(e instanceof f.ClientChainNotConfiguredError)&&!(e instanceof f.ChainDoesNotSupportContract))throw e}let b=(e=[c,t],o&&n?[...e,o,n]:o?[...e,o]:n?[...e,{},n]:e),d=await a.request({method:"eth_call",params:b},U);if("0x"===d)return{data:void 0};return{data:d}}catch(i){if(U?.signal?.aborted)throw(0,b.getAbortError)(U.signal);if((0,b.isAbortError)(i))throw i;let t=function(e){if(!(e instanceof s.BaseError))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(i),{offchainLookup:r,offchainLookupSignature:n}=await e.A(101139);if(!1!==a.ccipRead&&t?.slice(0,10)===n&&_)return{data:await r(a,{data:t,requestOptions:U,to:_})};if(Y&&t?.slice(0,10)==="0x101bb98d")throw new c.CounterfactualDeploymentFailedError({factory:F});throw(0,g.getCallError)(i,{...l,account:W,chain:a.chain})}}let P=0,A=new WeakMap;async function S(e,t){let{batchSize:r=1024,deployless:n=!1,wait:i=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockHash:s,blockNumber:f,blockTag:b=e.experimental_blockTag??"latest",requireCanonical:d,data:p,multicallAddress:m,requestOptions:g,rpcStateOverride:h,to:v}=t,x=void 0!==m?m:B(e,{blockNumber:f,deployless:n}),E=(0,y.formatBlockParameter)({blockHash:s,blockNumber:f,blockTag:b,requireCanonical:d}),$="string"==typeof E?E:JSON.stringify(E),S=h?`.${JSON.stringify(h)}`:"",{schedule:I}=(0,w.createBatchScheduler)({id:`${e.uid}.${$}.${function(e){if(!e)return"default";let t=A.get(e);if(void 0!==t)return t;let r=P++;return A.set(e,r),r}(g)}${S}`,wait:i,shouldSplitBatch:e=>e.reduce((e,t)=>{let{data:r}=t;return e+(r.length-2)},0)>2*r,fn:async t=>{let r=t.map(e=>
7({allowFailure:!0,callData:e.data,target:e.to})),n=(0,u.encodeFunctionData)({abi:a.multicall3Abi,args:[r],functionName:"aggregate3"}),i={...null===x?{data:O({code:o.multicall3Bytecode,data:n})}:{to:x,data:n}},s=await e.request({method:"eth_call",params:h?[i,E,h]:[i,E]},g);return(0,l.decodeFunctionResult)({abi:a.multicall3Abi,args:[r],functionName:"aggregate3",data:s||"0x"})}}),[{returnData:T,success:z}]=await I({data:p,to:v});if(!z)throw new c.RawContractError({data:T});return"0x"===T?{data:void 0}:{data:T}}function B(e,t){let{blockNumber:r,deployless:n}=t;if(n)return null;if(e.chain)return(0,m.getChainContractAddress)({blockNumber:r,chain:e.chain,contract:"multicall3"});throw new f.ClientChainNotConfiguredError}function O(e){let{code:r,data:n}=e;return(0,d.encodeDeployData)({abi:(0,t.parseAbi)(["constructor(bytes, bytes)"]),bytecode:o.deploylessCallViaBytecodeBytecode,args:[r,n]})}e.s(["call",()=>$])}]);
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.