PageSourceSearch

https://agtopen.com/_next/static/chunks/5602-cc4d51de5472a400.js

js agtopen.com collected 2026-10-02 01:22:02 UTC 55,657 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5602],{17253:function(e,n,t){t.d(n,{T:function(){return r}});function r(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}},42039:function(e,n,t){t.d(n,{S:function(){return s},e:function(){return i}});var r=t(17253),o=t(47183);function i(e){let{batch:n,chain:t,ccipRead:i,dataSuffix:s,key:a="base",name:u="Base Client",type:c="base"}=e,l=e.experimental_blockTag??("number"==typeof t?.experimental_preconfirmationTime?"pending":void 0),d=t?.blockTime??12e3,f=e.pollingInterval??Math.min(Math.max(Math.floor(d/2),500),4e3),h=e.cacheTime??f,b=e.account?(0,r.T)(e.account):void 0,{config:p,request:m,value:g}=e.transport({account:b,chain:t,pollingInterval:f}),v={account:b,batch:n,cacheTime:h,ccipRead:i,chain:t,dataSuffix:s,key:a,name:u,pollingInterval:f,request:m,transport:{...p,...g},type:c,uid:(0,o.h)(),...l?{experimental_blockTag:l}:{}};return Object.assign(v,{extend:function e(n){return t=>{let r=t(n);for(let e in v)delete r[e];let o={...n,...r};return Object.assign(o,{extend:e(o)})}}(v)})}function s(){return null}},79184:function(e,n,t){t.d(n,{q:function(){return l}});var r=t(54786),o=t(7898),i=t(11878);let s=new(t(62232)).k(8192);var a=t(83170),u=t(23846),c=t(47183);function l({key:e,methods:n,name:t,request:l,retryCount:d=3,retryDelay:f=150,timeout:h,type:b},p){return{config:{key:e,methods:n,name:t,request:l,retryCount:d,retryDelay:f,timeout:h,type:b},request:function(e,n={}){return async(t,c={})=>{let{dedupe:l=!1,methods:d,retryDelay:f=150,retryCount:h=3,uid:b}={...n,...c},{method:p}=t;if(d?.exclude?.includes(p)||d?.include&&!d.include.includes(p))throw new i.gS(Error("method not supported"),{method:p});let m=l?function(e,n=0){let t=3735928559^n,r=1103547991^n;for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);t=Math.imul(t^o,2654435761),r=Math.imul(r^o,1597334677)}return t=Math.imul(t^t>>>16,2246822507)^Math.imul(r^r>>>16,3266489909),(4294967296*(2097151&(r=Math.imul(r^r>>>16,2246822507)^Math.imul(t^t>>>16,3266489909)))+(t>>>0)).toString(36)}(`${b}.${(0,u.P)(t)}`):void 0;return function(e,{enabled:n=!0,id:t}){if(!n||!t)return e();if(s.get(t))return s.get(t);let r=e().finally(()=>s.delete(t));return s.set(t,r),r}(()=>(0,a.J)(async()=>{try{return await e(t)}catch(e){switch(e.code){case i.s7.code:throw new i.s7(e);case i.B.code:throw new i.B(e);case i.LX.code:throw new i.LX(e,{method:t.method});case i.nY.code:throw new i.nY(e);case i.XS.code:throw new i.XS(e);case i.yR.code:throw new i.yR(e);case i.Og.code:throw new i.Og(e);case i.pT.code:throw new i.pT(e);case i.KB.code:throw new i.KB(e);case i.gS.code:throw new i.gS(e,{method:t.method});case i.Pv.code:throw new i.Pv(e);case i.GD.code:throw new i.GD(e);case i.ab.code:throw new i.ab(e);case i.PE.code:throw new i.PE(e);case i.Ts.code:throw new i.Ts(e);case i.u5.code:throw new i.u5(e);case i.I0.code:throw new i.I0(e);case i.x3.code:throw new i.x3(e);case i.vl.code:throw new i.vl(e);case i.Uu.code:throw new i.Uu(e);case i.Nt.code:throw new i.Nt(e);case i.EJ.code:throw new i.EJ(e);case i.fl.code:throw new i.fl(e);case i.NO.code:throw new i.NO(e);case i.r0.code:throw new i.r0(e);case 5e3:throw new i.ab(e);case i.UF.code:throw new i.UF(e);default:if(e instanceof r.G)throw e;throw new i.ir(e)}}},{delay:({count:e,error:n})=>{if(n&&n instanceof o.Gg){let e=n?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e,10)}return~~(1<<e)*f},retryCount:h,shouldRetry:({error:e})=>"code"in e&&"number"==typeof e.code?-1===e.code||e.code===i.Pv.code||e.code===i.XS.code||429===e.code:!(e instanceof o.Gg)||!e.status||403===e.status||408===e.status||413===e.status||429===e.status||500===e.status||502===e.status||503===e.status||504===e.status}),{enabled:l,id:m})}}(l,{methods:n,retryCount:d,retryDelay:f,uid:(0,c.h)()}),value:p}}},25156:function(e,n,t){t.d(n,{l:function(){return r}});let r=1},39953:function(e,n,t){t.d(n,{$7:function(){return y},$H:function(){return eG},$R:function(){return V},AO:function(){return ee},Ai:function(){return eO},B7:function(){return eE},BY:function(){return I},CV:function(){return e$},DK:function(){return m},DT:function(){return U},Df:function(){return en},EK:function(){return k},EV:function(){return ek},Ef:function(){return s},G:function(){return eN},Ge:function(){return f},I6:function(){return eF},JE:function(){return eh},KU:function(){return eS},Lg:function(){return el},M6:function(){return r},MB:function(){return q},Mk:function(){return ez},Mq:function(){return u},Mz:function(){return F},N3:function(){return eB},NF:function(){return E},OQ:function(){return x},P:function(){return O},P5:function(){return X},Ph:function(){return Q},Qt:function(){return C},RM:function(){return ej},Rs:function(){return eq},SJ:function(){return er},SS:function(){return A},SZ:function(){return b},T0:function(){return eU},TA:function(){return c},TB:function(){return R},UM:function(){return ew},Ur:function(){return J},VL:function(){return g},V_:function(){return M},WA:function(){return B},XJ:function(){return Z},Y:function(){return eI},Yt:function(){return L},Z7:function(){return h},ZF:function(){return G},aS:function(){return S},aZ:function(){return eM},bL:function(){return a},by:function(){return H},cB:function(){return l},d:function(){return i},fT:function(){return eC},gx:function(){return P},h:function(){return K},h7:function(){return eA},iA:function(){return ep},iW:function(){return N},jU:function(){return eR},kA:function(){return ef},l5:function(){return ev},lD:function(){return ey},ld:function(){return eg},m3:function(){return es},mK:function(){return T},mn:function(){return ec},mq:function(){return W},mx:function(){return eu},n:function(){return ex},n9:function(){return _},o2:function(){return d},oC:function(){return et},ob:function(){return eo},of:function(){return eT},pQ:function(){return eL},qE:function(){return z},qT:function(){return ei},rQ:function(){return v},rU:function(){return eb},sf:function(){return o},sl:function(){return D},tA:function(){return ed},uR:function(){return ea},vB:function(){return j},vJ:function(){return $},vh:function(){return w},w8:function(){return eV},x7:function(){return Y},yF:function(){return p},z$:function(){return eP},zL:function(){return eD},zg:function(){return em}});let r=2n**(8n-1n)-1n,o=2n**(16n-1n)-1n,i=2n**(24n-1n)-1n,s=2n**(32n-1n)-1n,a=2n**(40n-1n)-1n,u=2n**(48n-1n)-1n,c=2n**(56n-1n)-1n,l=2n**(64n-1n)-1n,d=2n**(72n-1n)-1n,f=2n**(80n-1n)-1n,h=2n**(88n-1n)-1n,b=2n**(96n-1n)-1n,p=2n**(104n-1n)-1n,m=2n**(112n-1n)-1n,g=2n**(120n-1n)-1n,v=2n**(128n-1n)-1n,y=2n**(136n-1n)-1n,w=2n**(144n-1n)-1n,x=2n**(152n-1n)-1n,P=2n**(160n-1n)-1n,$=2n**(168
1n-1n)-1n,G=2n**(176n-1n)-1n,E=2n**(184n-1n)-1n,T=2n**(192n-1n)-1n,I=2n**(200n-1n)-1n,M=2n**(208n-1n)-1n,B=2n**(216n-1n)-1n,z=2n**(224n-1n)-1n,U=2n**(232n-1n)-1n,O=2n**(240n-1n)-1n,R=2n**(248n-1n)-1n,j=2n**(256n-1n)-1n,C=-(2n**(8n-1n)),k=-(2n**(16n-1n)),N=-(2n**(24n-1n)),S=-(2n**(32n-1n)),A=-(2n**(40n-1n)),F=-(2n**(48n-1n)),L=-(2n**(56n-1n)),q=-(2n**(64n-1n)),V=-(2n**(72n-1n)),D=-(2n**(80n-1n)),_=-(2n**(88n-1n)),H=-(2n**(96n-1n)),J=-(2n**(104n-1n)),W=-(2n**(112n-1n)),Y=-(2n**(120n-1n)),X=-(2n**(128n-1n)),K=-(2n**(136n-1n)),Z=-(2n**(144n-1n)),Q=-(2n**(152n-1n)),ee=-(2n**(160n-1n)),en=-(2n**(168n-1n)),et=-(2n**(176n-1n)),er=-(2n**(184n-1n)),eo=-(2n**(192n-1n)),ei=-(2n**(200n-1n)),es=-(2n**(208n-1n)),ea=-(2n**(216n-1n)),eu=-(2n**(224n-1n)),ec=-(2n**(232n-1n)),el=-(2n**(240n-1n)),ed=-(2n**(248n-1n)),ef=-(2n**(256n-1n)),eh=2n**8n-1n,eb=2n**16n-1n,ep=2n**24n-1n,em=2n**32n-1n,eg=2n**40n-1n,ev=2n**48n-1n,ey=2n**56n-1n,ew=2n**64n-1n,ex=2n**72n-1n,eP=2n**80n-1n,e$=2n**88n-1n,eG=2n**96n-1n,eE=2n**104n-1n,eT=2n**112n-1n,eI=2n**120n-1n,eM=2n**128n-1n,eB=2n**136n-1n,ez=2n**144n-1n,eU=2n**152n-1n,eO=2n**160n-1n,eR=2n**168n-1n,ej=2n**176n-1n,eC=2n**184n-1n,ek=2n**192n-1n,eN=2n**200n-1n,eS=2n**208n-1n,eA=2n**216n-1n,eF=2n**224n-1n,eL=2n**232n-1n,eq=2n**240n-1n,eV=2n**248n-1n,eD=2n**256n-1n},48329:function(e,n,t){t.d(n,{Bd:function(){return i},Zn:function(){return o},ez:function(){return r}});let r={gwei:9,wei:18},o={ether:-9,wei:9},i={ether:-18,gwei:-9}},3491:function(e,n,t){t.d(n,{b:function(){return o}});var r=t(54786);class o extends r.G{constructor({address:e}){super(`Address "${e}" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}},54786:function(e,n,t){t.d(n,{G:function(){return s},M:function(){return i}});let r="2.48.2",o={getDocsUrl:({docsBaseUrl:e,docsPath:n="",docsSlug:t})=>n?`${e??"https://viem.sh"}${n}${t?`#${t}`:""}`:void 0,version:`viem@${r}`};function i(e){o=e}class s extends Error{constructor(e,n={}){let t=n.cause instanceof s?n.cause.details:n.cause?.message?n.cause.message:n.details,i=n.cause instanceof s&&n.cause.docsPath||n.docsPath,a=o.getDocsUrl?.({...n,docsPath:i});super([e||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...a?[`Docs: ${a}`]:[],...t?[`Details: ${t}`]:[],...o.version?[`Version: ${o.version}`]:[]].join("\n"),n.cause?{cause:n.cause}:void 0),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,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=t,this.docsPath=i,this.metaMessages=n.metaMessages,this.name=n.name??this.name,this.shortMessage=e,this.version=r}walk(e){return function e(n,t){return t?.(n)?n:n&&"object"==typeof n&&"cause"in n&&void 0!==n.cause?e(n.cause,t):t?null:n}(this,e)}}},43983:function(e,n,t){t.d(n,{RX:function(){return s},cJ:function(){return u},m7:function(){return i},xd:function(){return a}});var r=t(25156),o=t(54786);class i extends o.G{constructor({maxSize:e,size:n}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${n} bytes`],name:"BlobSizeTooLargeError"})}}class s extends o.G{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class a extends o.G{constructor({hash:e,size:n}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${n}`],name:"InvalidVersionedHashSizeError"})}}class u extends o.G{constructor({hash:e,version:n}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${r.l}`,`Received: ${n}`],name:"InvalidVersionedHashVersionError"})}}},96621:function(e,n,t){t.d(n,{Bk:function(){return s},Yl:function(){return i},hJ:function(){return u},mm:function(){return o},pZ:function(){return a}});var r=t(54786);class o extends r.G{constructor({blockNumber:e,chain:n,contract:t}){super(`Chain "${n.name}" does not support contract "${t.name}".`,{metaMessages:["This could be due to any of the following:",...e&&t.blockCreated&&t.blockCreated>e?[`- The contract "${t.name}" was not deployed until block ${t.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${t.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class i extends r.G{constructor({chain:e,currentChainId:n}){super(`The current chain of the wallet (id: ${n}) does not match the target chain for the transaction (id: ${e.id} – ${e.name}).`,{metaMessages:[`Current Chain ID:  ${n}`,`Expected Chain ID: ${e.id} – ${e.name}`],name:"ChainMismatchError"})}}class s extends r.G{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 a extends r.G{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class u extends r.G{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
1" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}},4579:function(e,n,t){t.d(n,{KD:function(){return s},T_:function(){return o},lQ:function(){return i}});var r=t(54786);class o extends r.G{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class i extends r.G{constructor({length:e,position:n}){super(`Position \`${n}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class s extends r.G{constructor({count:e,limit:n}){super(`Recursive read limit of \`${n}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}},22849:function(e,n,t){t.d(n,{$s:function(){return i},W_:function(){return s},mV:function(){return o}});var r=t(54786);class o extends r.G{constructor({offset:e,position:n,size:t}){super(`Slice ${"start"===n?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${t}).`,{name:"SliceOffsetOutOfBoundsError"})}}class i extends r.G{constructor({size:e,targetSize:n,type:t}){super(`${t.charAt(0).toUpperCase()}${t.slice(1).toLowerCase()} size (${e}) exceeds padding size (${n}).`,{name:"SizeExceedsPaddingSizeError"})}}class s extends r.G{constructor({size:e,targetSize:n,type:t}){super(`${t.charAt(0).toUpperCase()}${t.slice(1).toLowerCase()} is expected to be ${n} ${t} long, but is ${e} ${t} long.`,{name:"InvalidBytesLengthError"})}}},80662:function(e,n,t){t.d(n,{Cd:function(){return s},J5:function(){return o},M6:function(){return u},P9:function(){return a},yr:function(){return i}});var r=t(54786);class o extends r.G{constructor({max:e,min:n,signed:t,size:r,value:o}){super(`Number "${o}" is not in safe ${r?`${8*r}-bit ${t?"signed":"unsigned"} `:""}integer range ${e?`(${n} to ${e})`:`(above ${n})`}`,{name:"IntegerOutOfRangeError"})}}class i extends r.G{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class s extends r.G{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}class a extends r.G{constructor(e){super(`Hex value "${e}" is an odd length (${e.length}). It must be an even length.`,{name:"InvalidHexValueError"})}}class u extends r.G{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed ${n} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}},91858:function(e,n,t){t.d(n,{C_:function(){return d},G$:function(){return a},Hh:function(){return s},M_:function(){return i},WF:function(){return f},ZI:function(){return u},cj:function(){return m},cs:function(){return p},dR:function(){return h},pZ:function(){return b},se:function(){return l},vU:function(){return c}});var r=t(36049),o=t(54786);class i extends o.G{constructor({cause:e,message:n}={}){let t=n?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${t?`with reason: ${t}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(i,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(i,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class s extends o.G{constructor({cause:e,maxFeePerGas:n}={}){super(`The fee cap (\`maxFeePerGas\`${n?` = ${(0,r.o)(n)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(s,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/});class a extends o.G{constructor({cause:e,maxFeePerGas:n}={}){super(`The fee cap (\`maxFeePerGas\`${n?` = ${(0,r.o)(n)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class u extends o.G{constructor({cause:e,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class c extends o.G{constructor({cause:e,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}is lower than the current nonce of the account.
2Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class l extends o.G{constructor({cause:e,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class d extends o.G{constructor({cause:e}={}){super("The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.",{cause:e,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class f extends o.G{constructor({cause:e,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class h extends o.G{constructor({cause:e,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class b extends o.G{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(b,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class p extends o.G{constructor({cause:e,maxPriorityFeePerGas:n,maxFeePerGas:t}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${n?` = ${(0,r.o)(n)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${t?` = ${(0,r.o)(t)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class m extends o.G{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}},7898:function(e,n,t){t.d(n,{Cc:function(){return c},Gg:function(){return s},W5:function(){return l},bs:function(){return u},c9:function(){return a}});var r=t(23846),o=t(54786),i=t(79739);class s extends o.G{constructor({body:e,cause:n,details:t,headers:o,status:s,url:a}){super("HTTP request failed.",{cause:n,details:t,metaMessages:[s&&`Status: ${s}`,`URL: ${(0,i.G)(a)}`,e&&`Request body: ${(0,r.P)(e)}`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=e,this.headers=o,this.status=s,this.url=a}}class a extends o.G{constructor({body:e,cause:n,details:t,url:o}){super("WebSocket request failed.",{cause:n,details:t,metaMessages:[`URL: ${(0,i.G)(o)}`,e&&`Request body: ${(0,r.P)(e)}`].filter(Boolean),name:"WebSocketRequestError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=o}}class u extends o.G{constructor({body:e,error:n,url:t}){super("RPC Request failed.",{cause:n,details:n.message,metaMessages:[`URL: ${(0,i.G)(t)}`,`Request body: ${(0,r.P)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=n.code,this.data=n.data,this.url=t}}class c extends o.G{constructor({url:e}={}){super("The socket has been closed.",{metaMessages:[e&&`URL: ${(0,i.G)(e)}
2`].filter(Boolean),name:"SocketClosedError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=e}}class l extends o.G{constructor({body:e,url:n}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,i.G)(n)}`,`Request body: ${(0,r.P)(e)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=n}}},11878:function(e,n,t){t.d(n,{B:function(){return u},EJ:function(){return M},GD:function(){return v},I0:function(){return $},KB:function(){return p},LX:function(){return c},NO:function(){return z},Nt:function(){return I},Og:function(){return h},PE:function(){return w},Pv:function(){return g},Ts:function(){return x},UF:function(){return O},Uu:function(){return T},XS:function(){return d},ab:function(){return y},fl:function(){return B},gS:function(){return m},ir:function(){return R},lt:function(){return i},nY:function(){return l},pT:function(){return b},r0:function(){return U},s7:function(){return a},u5:function(){return P},vl:function(){return E},x3:function(){return G},yR:function(){return f},zZ:function(){return s}});var r=t(54786),o=t(7898);class i extends r.G{constructor(e,{code:n,docsPath:t,metaMessages:r,name:i,shortMessage:s}){super(s,{cause:e,docsPath:t,metaMessages:r||e?.metaMessages,name:i||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=i||e.name,this.code=e instanceof o.bs?e.code:n??-1}}class s extends i{constructor(e,n){super(e,n),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=n.data}}class a extends i{constructor(e){super(e,{code:a.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class u extends i{constructor(e){super(e,{code:u.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class c extends i{constructor(e,{method:n}={}){super(e,{code:c.code,name:"MethodNotFoundRpcError",shortMessage:`The method${n?` "${n}"`:""} does not exist / is not available.`})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class l extends i{constructor(e){super(e,{code:l.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class d extends i{constructor(e){super(e,{code:d.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class f extends i{constructor(e){super(e,{code:f.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class h extends i{constructor(e){super(e,{code:h.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class b extends i{constructor(e){super(e,{code:b.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class p extends i{constructor(e){super(e,{code:p.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class m extends i{constructor(e,{method:n}={}){super(e,{code:m.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${n?` "${n}"`:""} is not supported.`})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class g extends i{constructor(e){super(e,{code:g.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class v extends i{constructor(e){super(e,{code:v.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class y extends s{constructor(e){super(e,{code:y.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class w extends s{constructor(e){super(e,{code:w.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class x extends s{constructor(e,{method:n}={}){super(e,{code:x.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${n?` " ${n}"`:""}.`})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class P extends s{constructor(e){super(e,{code:P.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class $ extends s{constructor(e){super(e,{code:$.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty($,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class G extends s{constructor(e){super(e,{code:G.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(G,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class E extends s{constructor(e){super(e,{code:E.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class T extends s{constructor(e){super(e,{code:T.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class I extends s{constructor(e){super(e,{code:I.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(I,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class M extends s{constructor(e){super(e,{code:M.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(M,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class B extends s{constructor(e){super(e,{code:B.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class z extends s{constructor(e){super(e,{code:z.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(z,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750}
2);class U extends s{constructor(e){super(e,{code:U.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(U,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class O extends s{constructor(e){super(e,{code:O.code,name:"WalletConnectSessionSettlementError",shortMessage:"WalletConnect session settlement failed."})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:7e3});class R extends i{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}},70054:function(e,n,t){t.d(n,{A3:function(){return m},Bh:function(){return b},DU:function(){return l},JC:function(){return f},XZ:function(){return d},Yb:function(){return p},j3:function(){return c},mc:function(){return g},mk:function(){return h},vl:function(){return u},xY:function(){return a},xr:function(){return s}});var r=t(21188),o=t(36049),i=t(54786);function s(e){let n=Object.entries(e).map(([e,n])=>void 0===n||!1===n?null:[e,n]).filter(Boolean),t=n.reduce((e,[n])=>Math.max(e,n.length),0);return n.map(([e,n])=>`  ${`${e}:`.padEnd(t+1)}  ${n}`).join("\n")}class a extends i.G{constructor(){super("Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.\nUse `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others.",{name:"FeeConflictError"})}}class u extends i.G{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class c extends i.G{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",s(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"})}}class l extends i.G{constructor({serializedType:e}){super(`Serialized transaction type "${e}" is invalid.`,{name:"InvalidSerializedTransactionType"}),Object.defineProperty(this,"serializedType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedType=e}}class d extends i.G{constructor({attributes:e,serializedTransaction:n,type:t}){let r=Object.entries(e).map(([e,n])=>void 0===n?e:void 0).filter(Boolean);super(`Invalid serialized transaction of type "${t}" was provided.`,{metaMessages:[`Serialized Transaction: "${n}"`,r.length>0?`Missing Attributes: ${r.join(", ")}`:""].filter(Boolean),name:"InvalidSerializedTransactionError"}),Object.defineProperty(this,"serializedTransaction",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedTransaction=n,this.type=t}}class f extends i.G{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 h extends i.G{constructor(e,{account:n,docsPath:t,chain:i,data:a,gas:u,gasPrice:c,maxFeePerGas:l,maxPriorityFeePerGas:d,nonce:f,to:h,value:b}){super(e.shortMessage,{cause:e,docsPath:t,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",s({chain:i&&`${i?.name} (id: ${i?.id})`,from:n?.address,to:h,value:void 0!==b&&`${(0,r.d)(b)} ${i?.nativeCurrency?.symbol||"ETH"}`,data:a,gas:u,gasPrice:void 0!==c&&`${(0,o.o)(c)} gwei`,maxFeePerGas:void 0!==l&&`${(0,o.o)(l)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,o.o)(d)} gwei`,nonce:f})].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class b extends i.G{constructor({blockHash:e,blockNumber:n,blockTag:t,hash:r,index:o}){let i="Transaction";t&&void 0!==o&&(i=`Transaction at block time "${t}" at index "${o}"`),e&&void 0!==o&&(i=`Transaction at block hash "${e}" at index "${o}"`),n&&void 0!==o&&(i=`Transaction at block number "${n}" at index "${o}"`),r&&(i=`Transaction with hash "${r}"`),super(`${i} could not be found.`,{name:"TransactionNotFoundError"})}}class p extends i.G{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 m extends i.G{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 g extends i.G{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}},79739:function(e,n,t){t.d(n,{C:function(){return r},G:function(){return o}});let r=e=>e,o=e=>e},25853:function(e,n,t){t.d(n,{K:function(){return l},x:function(){return c}});var r=t(3491),o=t(49387),i=t(59987),s=t(62232),a=t(46748);let u=new s.k(8192);function c(e,n){if(u.has(`${e}.${n}`))return u.get(`${e}.${n}`);let t=n?`${n}${e.toLowerCase()}`:e.substring(2).toLowerCase(),r=(0,i.w)((0,o.qX)(t),"bytes"),s=(n?t.substring(`${n}0x`.length):t).split("");for(let e=0;e<40;e+=2)r[e>>1]>>4>=8&&s[e]&&(s[e]=s[e].toUpperCase()),(15&r[e>>1])>
2=8&&s[e+1]&&(s[e+1]=s[e+1].toUpperCase());let a=`0x${s.join("")}`;return u.set(`${e}.${n}`,a),a}function l(e,n){if(!(0,a.U)(e,{strict:!1}))throw new r.b({address:e});return c(e,n)}},46748:function(e,n,t){t.d(n,{U:function(){return a}});var r=t(62232),o=t(25853);let i=/^0x[a-fA-F0-9]{40}$/,s=new r.k(8192);function a(e,n){let{strict:t=!0}=n??{},r=`${e}.${t}`;if(s.has(r))return s.get(r);let a=!!i.test(e)&&(e.toLowerCase()===e||!t||(0,o.x)(e)===e);return s.set(r,a),a}},71366:function(e,n,t){t.d(n,{P:function(){return i}});var r=t(49387),o=t(15727);function i(e){let{kzg:n}=e,t=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),i="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,r.nr)(e)):e.blobs,s=[];for(let e of i)s.push(Uint8Array.from(n.blobToKzgCommitment(e)));return"bytes"===t?s:s.map(e=>(0,o.ci)(e))}},23343:function(e,n,t){t.d(n,{y:function(){return i}});var r=t(49387),o=t(15727);function i(e){let{kzg:n}=e,t=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),i="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,r.nr)(e)):e.blobs,s="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,r.nr)(e)):e.commitments,a=[];for(let e=0;e<i.length;e++){let t=i[e],r=s[e];a.push(Uint8Array.from(n.computeBlobKzgProof(t,r)))}return"bytes"===t?a:a.map(e=>(0,o.ci)(e))}},95146:function(e,n,t){t.d(n,{S:function(){return i}});var r=t(15727),o=t(57030);function i(e){let{commitment:n,version:t=1}=e,i=e.to??("string"==typeof n?"hex":"bytes"),s=(0,o.J)(n,"bytes");return s.set([t],0),"bytes"===i?s:(0,r.ci)(s)}},41031:function(e,n,t){t.d(n,{C:function(){return o}});var r=t(95146);function o(e){let{commitments:n,version:t}=e,o=e.to??("string"==typeof n[0]?"hex":"bytes"),i=[];for(let e of n)i.push((0,r.S)({commitment:e,to:o,version:t}));return i}},37108:function(e,n,t){t.d(n,{j:function(){return s}});var r=t(71366),o=t(23343),i=t(14201);function s(e){let{data:n,kzg:t,to:s}=e,a=e.blobs??(0,i.U)({data:n,to:s}),u=e.commitments??(0,r.P)({blobs:a,kzg:t,to:s}),c=e.proofs??(0,o.y)({blobs:a,commitments:u,kzg:t,to:s}),l=[];for(let e=0;e<a.length;e++)l.push({blob:a[e],commitment:u[e],proof:c[e]});return l}},14201:function(e,n,t){t.d(n,{U:function(){return u}});var r=t(43983),o=t(26321),i=t(12160),s=t(49387),a=t(15727);function u(e){let n=e.to??("string"==typeof e.data?"hex":"bytes"),t="string"==typeof e.data?(0,s.nr)(e.data):e.data,u=(0,i.d)(t);if(!u)throw new r.RX;if(u>761855)throw new r.m7({maxSize:761855,size:u});let c=[],l=!0,d=0;for(;l;){let e=(0,o.q)(new Uint8Array(131072)),n=0;for(;n<4096;){let r=t.slice(d,d+31);if(e.pushByte(0),e.pushBytes(r),r.length<31){e.pushByte(128),l=!1;break}n++,d+=31}c.push(e)}return"bytes"===n?c.map(e=>e.bytes):c.map(e=>(0,a.ci)(e.bytes))}},26321:function(e,n,t){t.d(n,{q:function(){return i}});var r=t(4579);let o={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new r.KD({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new r.lQ({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new r.T_({offset:e});let n=this.position-e;this.assertPosition(n),this.position=n},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new r.T_({offset:e});let n=this.position+e;this.assertPosition(n),this.position=n},inspectByte(e){let n=e??this.position;return this.assertPosition(n),this.bytes[n]},inspectBytes(e,n){let t=n??this.position;return this.assertPosition(t+e-1),this.bytes.subarray(t,t+e)},inspectUint8(e){let n=e??this.position;return this.assertPosition(n),this.bytes[n]},inspectUint16(e){let n=e??this.position;return this.assertPosition(n+1),this.dataView.getUint16(n)},inspectUint24(e){let n=e??this.position;return this.assertPosition(n+2),(this.dataView.getUint16(n)<<8)+this.dataView.getUint8(n+2)},inspectUint32(e){let n=e??this.position;return this.assertPosition(n+3),this.dataView.getUint32(n)},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,n){this.assertReadLimit(),this._touch();let t=this.inspectBytes(e);return this.position+=n??e,t},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 n=this.position;return this.assertPosition(e),this.position=e,()=>this.position=n},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function i(e,{recursiveReadLimit:n=8192}={}){let t=Object.create(o);return t.bytes=e,t.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),t.positionReadCount=new Map,t.recursiveReadLimit=n,t}},13222:function(e,n,t){function r(e){return"string"==typeof e[0]?i(e):o(e)}function o(e){let n=0;for(let t of e)n+=t.length;let t=new Uint8Array(n),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}function i(e){return`0x${e.reduce((e,n)=>e+n.replace("0x",""),"")}`}t.d(n,{SM:function(){return i},eV:function(){return o},zo:function(){return r}})},76714:function(e,n,t){t.d(n,{v:function(){return r}});function r(e,{strict:n=!0}={}
2){return!!e&&"string"==typeof e&&(n?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}},29858:function(e,n,t){t.d(n,{gc:function(){return i},i3:function(){return s},vk:function(){return o}});var r=t(22849);function o(e,{dir:n,size:t=32}={}){return"string"==typeof e?i(e,{dir:n,size:t}):s(e,{dir:n,size:t})}function i(e,{dir:n,size:t=32}={}){if(null===t)return e;let o=e.replace("0x","");if(o.length>2*t)throw new r.$s({size:Math.ceil(o.length/2),targetSize:t,type:"hex"});return`0x${o["right"===n?"padEnd":"padStart"](2*t,"0")}`}function s(e,{dir:n,size:t=32}={}){if(null===t)return e;if(e.length>t)throw new r.$s({size:e.length,targetSize:t,type:"bytes"});let o=new Uint8Array(t);for(let r=0;r<t;r++){let i="right"===n;o[i?r:t-r-1]=e[i?r:e.length-r-1]}return o}},12160:function(e,n,t){t.d(n,{d:function(){return o}});var r=t(76714);function o(e){return(0,r.v)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}},55597:function(e,n,t){t.d(n,{T4:function(){return c},p5:function(){return l},tP:function(){return s}});var r=t(22849),o=t(76714),i=t(12160);function s(e,n,t,{strict:r}={}){return(0,o.v)(e,{strict:!1})?l(e,n,t,{strict:r}):c(e,n,t,{strict:r})}function a(e,n){if("number"==typeof n&&n>0&&n>(0,i.d)(e)-1)throw new r.mV({offset:n,position:"start",size:(0,i.d)(e)})}function u(e,n,t){if("number"==typeof n&&"number"==typeof t&&(0,i.d)(e)!==t-n)throw new r.mV({offset:t,position:"end",size:(0,i.d)(e)})}function c(e,n,t,{strict:r}={}){a(e,n);let o=e.slice(n,t);return r&&u(o,n,t),o}function l(e,n,t,{strict:r}={}){a(e,n);let o=`0x${e.replace("0x","").slice((n??0)*2,(t??e.length)*2)}`;return r&&u(o,n,t),o}},14018:function(e,n,t){t.d(n,{f:function(){return r}});function r(e,{dir:n="left"}={}){let t="string"==typeof e?e.replace("0x",""):e,r=0;for(let e=0;e<t.length-1&&"0"===t["left"===n?e:t.length-e-1].toString();e++)r++;return(t="left"===n?t.slice(r):t.slice(0,t.length-r),"string"==typeof e)?(1===t.length&&"right"===n&&(t=`${t}0`),`0x${t.length%2==1?`0${t}`:t}`):t}},20082:function(e,n,t){t.d(n,{H_:function(){return u},XA:function(){return l},Yf:function(){return a},ly:function(){return d},rR:function(){return f},y_:function(){return c}});var r=t(80662),o=t(12160),i=t(14018),s=t(49387);function a(e,{size:n}){if((0,o.d)(e)>n)throw new r.M6({givenSize:(0,o.d)(e),maxSize:n})}function u(e,n){let t="string"==typeof n?{to:n}:n,r=t.to;return"number"===r?d(e,t):"bigint"===r?c(e,t):"string"===r?f(e,t):"boolean"===r?l(e,t):(0,s.nr)(e,t)}function c(e,n={}){let{signed:t}=n;n.size&&a(e,{size:n.size});let r=BigInt(e);if(!t)return r;let o=(e.length-2)/2;return r<=(1n<<8n*BigInt(o)-1n)-1n?r:r-BigInt(`0x${"f".padStart(2*o,"f")}`)-1n}function l(e,n={}){let t=e;if(n.size&&(a(t,{size:n.size}),t=(0,i.f)(t)),"0x00"===(0,i.f)(t))return!1;if("0x01"===(0,i.f)(t))return!0;throw new r.Cd(t)}function d(e,n={}){let t=c(e,n),o=Number(t);if(!Number.isSafeInteger(o))throw new r.J5({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:n.signed,size:n.size,value:`${t}n`});return o}function f(e,n={}){let t=(0,s.nr)(e);return n.size&&(a(t,{size:n.size}),t=(0,i.f)(t,{dir:"right"})),new TextDecoder().decode(t)}},49387:function(e,n,t){t.d(n,{Cu:function(){return l},O0:function(){return c},hL:function(){return b},nr:function(){return h},qX:function(){return p}});var r=t(54786),o=t(76714),i=t(29858),s=t(20082),a=t(15727);let u=new TextEncoder;function c(e,n={}){return"number"==typeof e||"bigint"==typeof e?b(e,n):"boolean"==typeof e?l(e,n):(0,o.v)(e)?h(e,n):p(e,n)}function l(e,n={}){let t=new Uint8Array(1);return(t[0]=Number(e),"number"==typeof n.size)?((0,s.Yf)(t,{size:n.size}),(0,i.vk)(t,{size:n.size})):t}let d={zero:48,nine:57,A:65,F:70,a:97,f:102};function f(e){return e>=d.zero&&e<=d.nine?e-d.zero:e>=d.A&&e<=d.F?e-(d.A-10):e>=d.a&&e<=d.f?e-(d.a-10):void 0}function h(e,n={}){let t=e;n.size&&((0,s.Yf)(t,{size:n.size}),t=(0,i.vk)(t,{dir:"right",size:n.size}));let o=t.slice(2);o.length%2&&(o=`0${o}`);let a=o.length/2,u=new Uint8Array(a);for(let e=0,n=0;e<a;
2e++){let t=f(o.charCodeAt(n++)),i=f(o.charCodeAt(n++));if(void 0===t||void 0===i)throw new r.G(`Invalid byte sequence ("${o[n-2]}${o[n-1]}" in "${o}").`);u[e]=16*t+i}return u}function b(e,n){return h((0,a.eC)(e,n))}function p(e,n={}){let t=u.encode(e);return"number"==typeof n.size?((0,s.Yf)(t,{size:n.size}),(0,i.vk)(t,{dir:"right",size:n.size})):t}},15727:function(e,n,t){t.d(n,{$G:function(){return f},C4:function(){return u},NC:function(){return a},ci:function(){return c},eC:function(){return l}});var r=t(80662),o=t(29858),i=t(20082);let s=Array.from({length:256},(e,n)=>n.toString(16).padStart(2,"0"));function a(e,n={}){return"number"==typeof e||"bigint"==typeof e?l(e,n):"string"==typeof e?f(e,n):"boolean"==typeof e?u(e,n):c(e,n)}function u(e,n={}){let t=`0x${Number(e)}`;return"number"==typeof n.size?((0,i.Yf)(t,{size:n.size}),(0,o.vk)(t,{size:n.size})):t}function c(e,n={}){let t="";for(let n=0;n<e.length;n++)t+=s[e[n]];let r=`0x${t}`;return"number"==typeof n.size?((0,i.Yf)(r,{size:n.size}),(0,o.vk)(r,{dir:"right",size:n.size})):r}function l(e,n={}){let t;let{signed:i,size:s}=n,a=BigInt(e);s?t=i?(1n<<8n*BigInt(s)-1n)-1n:2n**(8n*BigInt(s))-1n:"number"==typeof e&&(t=BigInt(Number.MAX_SAFE_INTEGER));let u="bigint"==typeof t&&i?-t-1n:0;if(t&&a>t||a<u){let n="bigint"==typeof e?"n":"";throw new r.J5({max:t?`${t}${n}`:void 0,min:`${u}${n}`,signed:i,size:s,value:`${e}${n}`})}let c=`0x${(i&&a<0?(1n<<BigInt(8*s))+BigInt(a):a).toString(16)}`;return s?(0,o.vk)(c,{size:s}):c}let d=new TextEncoder;function f(e,n={}){return c(d.encode(e),n)}},89920:function(e,n,t){t.d(n,{LV:function(){return a},bD:function(){return c},li:function(){return u}});var r=t(54786),o=t(26321),i=t(49387),s=t(15727);function a(e,n="hex"){let t=function e(n){return Array.isArray(n)?function(e){let n=e.reduce((e,n)=>e+n.length,0),t=l(n);return{length:n<=55?1+n:1+t+n,encode(r){for(let{encode:o}of(n<=55?r.pushByte(192+n):(r.pushByte(247+t),1===t?r.pushUint8(n):2===t?r.pushUint16(n):3===t?r.pushUint24(n):r.pushUint32(n)),e))o(r)}}}(n.map(n=>e(n))):function(e){let n="string"==typeof e?(0,i.nr)(e):e,t=l(n.length);return{length:1===n.length&&n[0]<128?1:n.length<=55?1+n.length:1+t+n.length,encode(e){1===n.length&&n[0]<128||(n.length<=55?e.pushByte(128+n.length):(e.pushByte(183+t),1===t?e.pushUint8(n.length):2===t?e.pushUint16(n.length):3===t?e.pushUint24(n.length):e.pushUint32(n.length))),e.pushBytes(n)}}}(n)}(e),r=(0,o.q)(new Uint8Array(t.length));return(t.encode(r),"hex"===n)?(0,s.ci)(r.bytes):r.bytes}function u(e,n="bytes"){return a(e,n)}function c(e,n="hex"){return a(e,n)}function l(e){if(e<256)return 1;if(e<65536)return 2;if(e<16777216)return 3;if(e<4294967296)return 4;throw new r.G("Length is too large.")}},77235:function(e,n,t){t.d(n,{G:function(){return s},Z:function(){return i}});var r=t(7700),o=t(87347);function i(e,n){let t=(e.transactions??[]).map(e=>"string"==typeof e?e:(0,o.Tr)(e));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:t,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}let s=(0,r.$)("block",i)},7700:function(e,n,t){t.d(n,{$:function(){return r}});function r(e,n){return({exclude:t,format:r})=>({exclude:t,format:(e,o)=>{let i=n(e,o);if(t)for(let e of t)delete i[e];return{...i,...r(e,o)}},type:e})}},72584:function(e,n,t){t.d(n,{U:function(){return r}});function r(e,{args:n,eventName:t}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,blockTimestamp:e.blockTimestamp?BigInt(e.blockTimestamp):null===e.blockTimestamp?null:void 0,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...t?{args:n,eventName:t}:{}}}},87347:function(e,n,t){t.d(n,{Tr:function(){return s},c8:function(){return i},y_:function(){return a}});var r=t(20082),o=t(7700);let i={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function s(e,n){let t={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?(0,r.ly)(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?(0,r.ly)(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?i[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(t.authorizationList=e.authorizationList.map(e=>({address:e.address,chainId:Number(e.chainId),nonce:Number(e.nonce),r:e.r,s:e.s,yParity:Number(e.yParity)}))),t.yParity=(()=>
2{if(e.yParity)return Number(e.yParity);if("bigint"==typeof t.v){if(0n===t.v||27n===t.v)return 0;if(1n===t.v||28n===t.v)return 1;if(t.v>=35n)return t.v%2n===0n?1:0}})(),"legacy"===t.type&&(delete t.accessList,delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas,delete t.yParity),"eip2930"===t.type&&(delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas),"eip1559"===t.type&&delete t.maxFeePerBlobGas,t}let a=(0,o.$)("transaction",s)},58239:function(e,n,t){t.d(n,{dI:function(){return c},ew:function(){return a},fA:function(){return u}});var r=t(20082),o=t(7700),i=t(72584),s=t(87347);let a={"0x0":"reverted","0x1":"success"};function u(e,n){let t={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(e=>(0,i.U)(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,r.ly)(e.transactionIndex):null,status:e.status?a[e.status]:null,type:e.type?s.c8[e.type]||e.type:null};return e.blobGasPrice&&(t.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(t.blobGasUsed=BigInt(e.blobGasUsed)),t}let c=(0,o.$)("transactionReceipt",u)},59987:function(e,n,t){t.d(n,{w:function(){return a}});var r=t(64715),o=t(76714),i=t(49387),s=t(15727);function a(e,n){let t=(0,r.fr)((0,o.v)(e,{strict:!1})?(0,i.O0)(e):e);return"bytes"===(n||"hex")?t:(0,s.NC)(t)}},57030:function(e,n,t){t.d(n,{J:function(){return a}});var r=t(9041),o=t(76714),i=t(49387),s=t(15727);function a(e,n){let t=(0,r.JQ)((0,o.v)(e,{strict:!1})?(0,i.O0)(e):e);return"bytes"===(n||"hex")?t:(0,s.NC)(t)}},62232:function(e,n,t){t.d(n,{k:function(){return r}});class r extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let n=super.get(e);return super.has(e)&&(super.delete(e),super.set(e,n)),n}set(e,n){if(super.has(e)&&super.delete(e),super.set(e,n),this.maxSize&&this.size>this.maxSize){let e=super.keys().next().value;void 0!==e&&super.delete(e)}return this}}},27146:function(e,n,t){t.d(n,{S:function(){return i}});var r=t(69858);let o=new Map;function i({fn:e,id:n,shouldSplitBatch:t,wait:i=0,sort:s}){let a=async()=>{let n=l();u();let t=n.map(({args:e})=>e);0!==t.length&&e(t).then(e=>{s&&Array.isArray(e)&&e.sort(s);for(let t=0;t<n.length;t++){let{resolve:r}=n[t];r?.([e[t],e])}}).catch(e=>{for(let t=0;t<n.length;t++){let{reject:r}=n[t];r?.(e)}})},u=()=>o.delete(n),c=()=>l().map(({args:e})=>e),l=()=>o.get(n)||[],d=e=>o.set(n,[...l(),e]);return{flush:u,async schedule(e){let{promise:n,resolve:o,reject:s}=(0,r.n)();return(t?.([...c(),e])&&a(),l().length>0)?d({args:e,resolve:o,reject:s}):(d({args:e,resolve:o,reject:s}),setTimeout(a,i)),n}}}},69858:function(e,n,t){t.d(n,{n:function(){return r}});function r(){let e=()=>void 0,n=()=>void 0;return{promise:new Promise((t,r)=>{e=t,n=r}),resolve:e,reject:n}}},83170:function(e,n,t){t.d(n,{J:function(){return o}});var r=t(11073);function o(e,{delay:n=100,retryCount:t=2,shouldRetry:o=()=>!0}={}){return new Promise((i,s)=>{let a=async({count:u=0}={})=>{let c=async({error:e})=>{let t="function"==typeof n?n({count:u,error:e}):n;t&&await (0,r.D)(t),a({count:u+1})};try{let n=await e();i(n)}catch(e){if(u<t&&await o({count:u,error:e}))return c({error:e});s(e)}};a()})}},23846:function(e,n,t){t.d(n,{P:function(){return r}});let r=(e,n,t)=>JSON.stringify(e,(e,t)=>{let r="bigint"==typeof t?t.toString():t;return"function"==typeof n?n(e,r):r},t)},96913:function(e,n,t){t.d(n,{l:function(){return o}});var r=t(70054);function o(e){if(e.type)return e.type;if(void 0!==e.authorizationList)return"eip7702";if(void 0!==e.blobs||void 0!==e.blobVersionedHashes||void 0!==e.maxFeePerBlobGas||void 0!==e.sidecars)return"eip4844";if(void 0!==e.maxFeePerGas||void 0!==e.maxPriorityFeePerGas)return"eip1559";if(void 0!==e.gasPrice)return void 0!==e.accessList?"eip2930":"legacy";throw new r.j3({transaction:e})}},47183:function(e,n,t){let r;t.d(n,{h:function(){return i}});let o=256;function i(e=11){if(!r||o+e>512){r="",o=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(o,o+++e)}},21188:function(e,n,t){t.d(n,{d:function(){return i}});var r=t(48329),o=t(34202);function i(e,n="wei"){return(0,o.b)(e,r.ez[n])}},36049:function(e,n,t){t.d(n,{o:function(){return i}});var r=t(48329),o=t(34202);function i(e,n="wei"){return(0,o.b)(e,r.Zn[n])}},34202:function(e,n,t){t.d(n,{b:function(){return r}});function r(e,n){let t=e.toString(),r=t.startsWith("-");r&&(t=t.slice(1));let[o,i]=[(t=t.padStart(n,"0")).slice(0,t.length-n),t.slice(t.length-n)];return i=i.replace(/(0+)$/,""),`${r?"-":""}${o||"0"}${i?`.${i}`:""}`}},11073:function(e,n,t){t.d(n,{D:function(){return r}});async function r(e){return new Promise(n=>setTimeout(n,e))}}}]);

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.