1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6141],{21733:function(e,t,n){n.d(t,{A:function(){return o},z:function(){return c}});var r=n(45345),i=n(18238),s=n(11255),a=n(7989),o=class extends a.F{#e;#t;#n;#r;#i;#s;#a;constructor(e){super(),this.#a=!1,this.#s=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=f(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#s,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=f(this.options);void 0!==e.data&&(this.setState(u(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#n.remove(this)}setData(e,t){let n=(0,r.oE)(this.state.data,e,this.options);return this.#o({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#o({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(r.ZT).catch(r.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,r.Nc)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r.CN||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,r.KC)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,r.Kp)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#a||this.#c()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&this.#i?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},a=()=>{let e=(0,r.cG)(this.options,t),n=(()=>{let e={client:this.#r,queryKey:this.queryKey,meta:this.meta};return i(e),e})();return(this.#a=!1,this.options.persister)?this.options.persister(e,n,this):e(n)},o=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:a};return i(e),e})();this.options.behavior?.onFetch(o,this),this.#t=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#o({type:"fetch",meta:o.fetchOptions?.meta}),this.#i=(0,s.Mz)({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:e=>{e instanceof s.p8&&e.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#o({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{let e=await this.#i.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#n.config.onSuccess?.(e,this),this.#n.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof s.p8){if(e.silent)return this.#i.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#o({type:"error",error:e}),this.#n.config.onError?.(e,this),this.#n.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#o(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...c(t.data,this.options),fetchMeta:e.meta??null};case"success":let n={...t,...u(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?n:void 0,n;case"error":let r=e.error;
1return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),i.Vr.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function c(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,s.Kw)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function u(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function f(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}},37691:function(e,t,n){n.d(t,{L:function(){return s}});var r=n(28766),i=n(44199);function s(e,t){let{chainId:n,...s}=t,a=e.getClient({chainId:n});return(0,i.s)(a,r.L,"readContract")(s)}},27534:function(e,t,n){n.d(t,{OP:function(){return o},if:function(){return i},kq:function(){return s}});var r=n(45345);function i(e,t){return(0,r.Q$)(e,t)}function s(e){return JSON.stringify(e,(e,t)=>!function(e){if(!a(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!(a(n)&&n.hasOwnProperty("isPrototypeOf"))}(t)?"bigint"==typeof t?t.toString():t:Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}))}function a(e){return"[object Object]"===Object.prototype.toString.call(e)}function o(e){let{_defaulted:t,behavior:n,gcTime:r,initialData:i,initialDataUpdatedAt:s,maxPages:a,meta:o,networkMode:c,queryFn:u,queryHash:f,queryKey:d,queryKeyHashFn:l,retry:b,retryDelay:h,structuralSharing:p,getPreviousPageParam:y,getNextPageParam:m,initialPageParam:g,_optimisticResults:v,enabled:w,notifyOnChangeProps:x,placeholderData:P,refetchInterval:$,refetchIntervalInBackground:I,refetchOnMount:G,refetchOnReconnect:C,refetchOnWindowFocus:E,retryOnMount:R,select:S,staleTime:O,suspense:F,throwOnError:M,config:T,connector:B,query:A,...k}=e;return k}},44199:function(e,t,n){n.d(t,{s:function(){return r}});function r(e,t,n){let r=e[t.name];if("function"==typeof r)return r;let i=e[n];return"function"==typeof i?i:n=>t(e,n)}},63063:function(e,t,n){n.d(t,{o:function(){return s}});var r=n(19586);function i(e){return{address:e.address,amount:r.xS(e.amount),index:r.xS(e.index),validatorIndex:r.xS(e.validatorIndex)}}function s(e){return{..."bigint"==typeof e.baseFeePerGas&&{baseFeePerGas:r.xS(e.baseFeePerGas)},..."bigint"==typeof e.blobBaseFee&&{blobBaseFee:r.xS(e.blobBaseFee)},..."string"==typeof e.feeRecipient&&{feeRecipient:e.feeRecipient},..."bigint"==typeof e.gasLimit&&{gasLimit:r.xS(e.gasLimit)},..."bigint"==typeof e.number&&{number:r.xS(e.number)},..."bigint"==typeof e.prevRandao&&{prevRandao:r.xS(e.prevRandao)},..."bigint"==typeof e.time&&{time:r.xS(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(i)}}}},1291:function(e,t,n){n.d(t,{G:function(){return r}});class r extends Error{static setStaticOptions(e){r.prototype.docsOrigin=e.docsOrigin,r.prototype.showVersion=e.showVersion,r.prototype.version=e.version}constructor(e,t={}){let n=(()=>{if(t.cause instanceof r){if(t.cause.details)return t.cause.details;if(t.cause.shortMessage)return t.cause.shortMessage}return t.cause&&"details"in t.cause&&"string"==typeof t.cause.details?t.cause.details:t.cause?.message?t.cause.message:t.details})(),i=t.cause instanceof r&&t.cause.docsPath||t.docsPath,s=t.docsOrigin??r.prototype.docsOrigin,a=`${s}${i??""}`,o=!!(t.version??r.prototype.showVersion),c=t.version??r.prototype.version;super([e||"An error occurred.",...t.metaMessages?["",...t.metaMessages]:[],...n||i||o?["",n?`Details: ${n}`:void 0,i?`See: ${a}`:void 0,o?`Version: ${c}`: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=n,this.docs=a,this.docsOrigin=s,this.docsPath=i,this.shortMessage=e,this.showVersion=o,this.version=c}walk(e){return function e(t,n){return n?.(t)?t:t&&"object"==typeof t&&"cause"in t&&t.cause?e(t.cause,n):n?null:t}(this,e)}}Object.defineProperty(r,"defaultStaticOptions",{enumerable:!0,configurable:!0,writable:!0,value:{docsOrigin:"https://oxlib.sh",showVersion:!1,version:"[email protected]"}}),r.setStaticOptions(r.defaultStaticOptions)},19586:function(e,t,n){n.d(t,{$s:function(){return C},Dp:function(){return u},Gh:function(){return g},Gu:function(){return w},He:function(){return v},J5:function(){return x},M6:function(){return I},O3:function(){return f},Q_:function(){return h},dp:function(){return m},eh:function(){return p},mL:function(){return b},mV:function(){return G},tP:function(){return y},xS:function(){return l},xv:function(){return d},zo:function(){return c}});var r=n(1291),i=n(82543),s=n(56535);let a=new TextEncoder,o=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function c(...e){return`0x${e.reduce((e,t)=>
1e+t.replace("0x",""),"")}`}function u(e){return e instanceof Uint8Array?d(e):Array.isArray(e)?d(new Uint8Array(e)):e}function f(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?(i.Yf(n,t.size),h(n,t.size)):n}function d(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=o[e[t]];let r=`0x${n}`;return"number"==typeof t.size?(i.Yf(r,t.size),p(r,t.size)):r}function l(e,t={}){let n;let{signed:r,size:i}=t,s=BigInt(e);i?n=r?(1n<<8n*BigInt(i)-1n)-1n:2n**(8n*BigInt(i))-1n:"number"==typeof e&&(n=BigInt(Number.MAX_SAFE_INTEGER));let a="bigint"==typeof n&&r?-n-1n:0;if(n&&s>n||s<a){let t="bigint"==typeof e?"n":"";throw new x({max:n?`${n}${t}`:void 0,min:`${a}${t}`,signed:r,size:i,value:`${e}${t}`})}let o=(r&&s<0?BigInt.asUintN(8*i,BigInt(s)):s).toString(16),c=`0x${o}`;return i?h(c,i):c}function b(e,t={}){return d(a.encode(e),t)}function h(e,t){return i.vk(e,{dir:"left",size:t})}function p(e,t){return i.vk(e,{dir:"right",size:t})}function y(e,t,n,r={}){let{strict:s}=r;i.EM(e,t);let a=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return s&&i.Ro(a,t,n),a}function m(e){return Math.ceil((e.length-2)/2)}function g(e,t={}){let{signed:n}=t;t.size&&i.Yf(e,t.size);let r=BigInt(e);if(!n)return r;let s=(1n<<8n*BigInt((e.length-2)/2))-1n;return r<=s>>1n?r:r-s-1n}function v(e,t={}){let{signed:n,size:r}=t;return n||r?Number(g(e,t)):Number(e)}function w(e,t={}){let{strict:n=!1}=t;try{return!function(e,t={}){let{strict:n=!1}=t;if(!e||"string"!=typeof e)throw new P(e);if(n&&!/^0x[0-9a-fA-F]*$/.test(e)||!e.startsWith("0x"))throw new $(e)}(e,{strict:n}),!0}catch{return!1}}class x extends r.G{constructor({max:e,min:t,signed:n,size:r,value:i}){super(`Number \`${i}\` is not in safe${r?` ${8*r}-bit`:""}${n?" signed":" unsigned"} integer range ${e?`(\`${t}\` to \`${e}\`)`:`(above \`${t}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class P extends r.G{constructor(e){super(`Value \`${"object"==typeof e?s.Pz(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class $ extends r.G{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 I extends r.G{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 G extends r.G{constructor({offset:e,position:t,size:n}){super(`Slice ${"start"===t?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class C extends r.G{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}},56535:function(e,t,n){n.d(t,{Pz:function(){return r}});function r(e,t,n){return JSON.stringify(e,(e,n)=>"function"==typeof t?t(e,n):"bigint"==typeof n?n.toString()+"#__bigint":n,n)}},82543:function(e,t,n){n.d(t,{EM:function(){return s},Ro:function(){return a},Yf:function(){return i},vk:function(){return o}});var r=n(19586);function i(e,t){if(r.dp(e)>t)throw new r.M6({givenSize:r.dp(e),maxSize:t})}function s(e,t){if("number"==typeof t&&t>0&&t>r.dp(e)-1)throw new r.mV({offset:t,position:"start",size:r.dp(e)})}function a(e,t,n){if("number"==typeof t&&"number"==typeof n&&r.dp(e)!==n-t)throw new r.mV({offset:n,position:"end",size:r.dp(e)})}function o(e,t={}){let{dir:n,size:i=32}=t;if(0===i)return e;let s=e.replace("0x","");if(s.length>2*i)throw new r.$s({size:Math.ceil(s.length/2),targetSize:i,type:"Hex"});return`0x${s["right"===n?"padEnd":"padStart"](2*i,"0")}`}},19775:function(e,t,n){n.d(t,{T:function(){return r}});function r(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}},50550:function(e,t,n){n.d(t,{R:function(){return P}});var r=n(97542),i=n(63063),s=n(19775),a=n(98158),o=n(45434),c=n(81544),u=n(35586),f=n(20010),d=n(65436),l=n(23010),b=n(17283),h=n(93627),p=n(59455),y=n(14015),m=n(70878),g=n(92614),v=n(43226),w=n(77911),x=n(54605);async function P(e,t){let{account:a=e.account,authorizationList:d,batch:b=!!e.batch?.multicall,blockNumber:h,blockTag:v=e.experimental_blockTag??"latest",accessList:P,blobs:G,blockOverrides:C,code:E,data:R,factory:S,factoryData:O,gas:F,gasPrice:M,maxFeePerBlobGas:T,maxFeePerGas:B,maxPriorityFeePerGas:A,nonce:k,to:N,value:U,stateOverride:z,...j}=t,D=a?(0,s.T)(a):void 0;if(E&&(S||O))throw new c.G("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(E&&N)throw new c.G("Cannot provide both `code` & `to` as parameters.");let L=E&&R,Q=S&&O&&N&&R,_=L||Q,V=L?I({code:E,data:R}):Q?function(e){let{data:t,factory:n,factoryData:i,to:s}=e;return(0,l.w)({abi:(0,r.V)(["constructor(address, bytes, address, bytes)"]),bytecode:o.pG,args:[s,t,n,i]})}({data:R,factory:S,factoryData:O,to:N}):R;try{(0,x.F)(t);
1let n=("bigint"==typeof h?(0,p.eC)(h):void 0)||v,r=C?i.o(C):void 0,s=(0,w.mF)(z),a=e.chain?.formatters?.transactionRequest?.format,o=(a||g.tG)({...(0,m.K)(j,{format:a}),accessList:P,account:D,authorizationList:d,blobs:G,data:V,gas:F,gasPrice:M,maxFeePerBlobGas:T,maxFeePerGas:B,maxPriorityFeePerGas:A,nonce:k,to:_?void 0:N,value:U},"call");if(b&&function({request:e}){let{data:t,to:n,...r}=e;return!(!t||t.startsWith("0x82ad56cb"))&&!!n&&!(Object.values(r).filter(e=>void 0!==e).length>0)}({request:o})&&!s&&!r)try{return await $(e,{...o,blockNumber:h,blockTag:v})}catch(e){if(!(e instanceof u.pZ)&&!(e instanceof u.mm))throw e}let c=(()=>{let e=[o,n];return s&&r?[...e,s,r]:s?[...e,s]:r?[...e,{},r]:e})(),f=await e.request({method:"eth_call",params:c});if("0x"===f)return{data:void 0};return{data:f}}catch(a){let r=function(e){if(!(e instanceof c.G))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(a),{offchainLookup:i,offchainLookupSignature:s}=await n.e(1735).then(n.bind(n,71735));if(!1!==e.ccipRead&&r?.slice(0,10)===s&&N)return{data:await i(e,{data:r,to:N})};if(_&&r?.slice(0,10)==="0x101bb98d")throw new f.Mo({factory:S});throw(0,y.P)(a,{...t,account:D,chain:e.chain})}}async function $(e,t){let{batchSize:n=1024,deployless:r=!1,wait:i=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:s,blockTag:c=e.experimental_blockTag??"latest",data:l,to:y}=t,m=(()=>{if(r)return null;if(t.multicallAddress)return t.multicallAddress;if(e.chain)return(0,h.L)({blockNumber:s,chain:e.chain,contract:"multicall3"});throw new u.pZ})(),g=("bigint"==typeof s?(0,p.eC)(s):void 0)||c,{schedule:w}=(0,v.S)({id:`${e.uid}.${g}`,wait:i,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*n,fn:async t=>{let n=t.map(e=>({allowFailure:!0,callData:e.data,target:e.to})),r=(0,b.R)({abi:a.F8,args:[n],functionName:"aggregate3"}),i=await e.request({method:"eth_call",params:[{...null===m?{data:I({code:o.xd,data:r})}:{to:m,data:r}},g]});return(0,d.k)({abi:a.F8,args:[n],functionName:"aggregate3",data:i||"0x"})}}),[{returnData:x,success:P}]=await w({data:l,to:y});if(!P)throw new f.VQ({data:x});return"0x"===x?{data:void 0}:{data:x}}function I(e){let{code:t,data:n}=e;return(0,l.w)({abi:(0,r.V)(["constructor(bytes, bytes)"]),bytecode:o.NO,args:[t,n]})}},28766:function(e,t,n){n.d(t,{L:function(){return c}});var r=n(65436),i=n(17283),s=n(34180),a=n(82645),o=n(50550);async function c(e,t){let{abi:n,address:c,args:u,functionName:f,...d}=t,l=(0,i.R)({abi:n,args:u,functionName:f});try{let{data:t}=await (0,a.s)(e,o.R,"call")({...d,data:l,to:c});return(0,r.k)({abi:n,args:u,functionName:f,data:t||"0x"})}catch(e){throw(0,s.S)(e,{abi:n,address:c,args:u,docsPath:"/docs/contract/readContract",functionName:f})}}},82538:function(e,t,n){n.d(t,{e:function(){return s}});var r=n(19775),i=n(78217);function s(e){let{batch:t,chain:n,ccipRead:s,dataSuffix:a,key:o="base",name:c="Base Client",type:u="base"}=e,f=e.experimental_blockTag??("number"==typeof n?.experimental_preconfirmationTime?"pending":void 0),d=n?.blockTime??12e3,l=e.pollingInterval??Math.min(Math.max(Math.floor(d/2),500),4e3),b=e.cacheTime??l,h=e.account?(0,r.T)(e.account):void 0,{config:p,request:y,value:m}=e.transport({account:h,chain:n,pollingInterval:l}),g={account:h,batch:t,cacheTime:b,ccipRead:s,chain:n,dataSuffix:a,key:o,name:c,pollingInterval:l,request:y,transport:{...p,...m},type:u,uid:(0,i.h)(),...f?{experimental_blockTag:f}:{}};return Object.assign(g,{extend:function e(t){return n=>{let r=n(t);for(let e in g)delete r[e];let i={...t,...r};return Object.assign(i,{extend:e(i)})}}(g)})}},24250:function(e,t,n){n.d(t,{q:function(){return d}});var r=n(81544),i=n(17057),s=n(77014),a=n(59455);let o=new(n(82061)).k(8192);var c=n(49287),u=n(31853),f=n(78217);function d({key:e,methods:t,name:n,request:d,retryCount:l=3,retryDelay:b=150,timeout:h,type:p},y){return{config:{key:e,methods:t,name:n,request:d,retryCount:l,retryDelay:b,timeout:h,type:p},request:function(e,t={}){return async(n,f={})=>{let{dedupe:d=!1,methods:l,retryDelay:b=150,retryCount:h=3,uid:p}={...t,...f},{method:y}=n;if(l?.exclude?.includes(y)||l?.include&&!l.include.includes(y))throw new s.gS(Error("method not supported"),{method:y});let m=d?(0,a.$G)(`${p}.${(0,u.P)(n)}`):void 0;return function(e,{enabled:t=!0,id:n}){if(!t||!n)return e();if(o.get(n))return o.get(n);let r=e().finally(()=>o.delete(n));return o.set(n,r),r}(()=>(0,c.J)(async()=>{try{return await e(n)}catch(e){switch(e.code){case s.s7.code:throw new s.s7(e);case s.B.code:throw new s.B(e);case s.LX.code:throw new s.LX(e,{method:n.method});case s.nY.code:throw new s.nY(e);case s.XS.code:throw new s.XS(e);case s.yR.code:throw new s.yR(e);case s.Og.code:throw new s.Og(e);case s.pT.code:throw new s.pT(e);case s.KB.code:throw new s.KB(e);case s.gS.code:throw new s.gS(e,{method:n.method});case s.Pv.code:throw new s.Pv(e);case s.GD.code:throw new s.GD(e);case s.ab.code:throw new s.ab(e);case s.PE.code:throw new s.PE(e);case s.Ts.code:throw new s.Ts(e);case s.u5.code:throw new s.u5(e);case s.I0.code:throw new s.I0(e);case s.x3.code:throw new s.x3(e);case s.vl.code:throw new s.vl(e);case s.Uu.code:throw new s.Uu(e);case s.Nt.code:throw new s.Nt(e);case s.EJ.code:throw new s.EJ(e);case s.fl.code:throw new s.fl(e);case s.NO.code:throw new s.NO(e);case s.r0.code:throw new s.r0(e);case 5e3:throw new s.ab(e);case s.UF.code:throw new s.UF(e);default:if(e instanceof r.G)throw e;throw new s.ir(e)}}},{delay:({count:e,error:t})=>{if(t&&t instanceof i.Gg){let e=t?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e,10)}return~~(1<<e)*b},retryCount:h,shouldRetry:({error:e})=>"code"in e&&"number"==typeof e.code?-1===e.code||e.code===s.Pv.code||e.code===s.XS.code:!(e instanceof i.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:d,id:m})}}(d,{methods:t,retryCount:l,retryDelay:b,uid:(0,f.h)()}),value:y}}},98158:function(e,t,n){n.d(t,{F8:function(){return r},MR:function(){return d},Wo:function(){return l},X$:function(){return u},Yi:function(){return i},_A:function(){return f},du:function(){return o},k3:function(){return a},nZ:function(){return c}});let r=[{inputs:[{components:[{name:"target",type:"address"}
vendor: 5,640 bytes, line 1
1,{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{name:"addr",type:"address"}],name:"getEthBalance",outputs:[{name:"balance",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockTimestamp",outputs:[{internalType:"uint256",name:"timestamp",type:"uint256"}],stateMutability:"view",type:"function"}],i=[{name:"query",type:"function",stateMutability:"view",inputs:[{type:"tuple[]",name:"queries",components:[{type:"address",name:"sender"},{type:"string[]",name:"urls"},{type:"bytes",name:"data"}]}],outputs:[{type:"bool[]",name:"failures"},{type:"bytes[]",name:"responses"}]},{name:"HttpError",type:"error",inputs:[{type:"uint16",name:"status"},{type:"string",name:"message"}]}],s=[{inputs:[{name:"dns",type:"bytes"}],name:"DNSDecodingFailed",type:"error"},{inputs:[{name:"ens",type:"string"}],name:"DNSEncodingFailed",type:"error"},{inputs:[],name:"EmptyAddress",type:"error"},{inputs:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"HttpError",type:"error"},{inputs:[],name:"InvalidBatchGatewayResponse",type:"error"},{inputs:[{name:"errorData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{name:"name",type:"bytes"},{name:"resolver",type:"address"}],name:"ResolverNotContract",type:"error"},{inputs:[{name:"name",type:"bytes"}],name:"ResolverNotFound",type:"error"},{inputs:[{name:"primary",type:"string"},{name:"primaryAddress",type:"bytes"}],name:"ReverseAddressMismatch",type:"error"},{inputs:[{internalType:"bytes4",name:"selector",type:"bytes4"}],name:"UnsupportedResolverProfile",type:"error"}],a=[...s,{name:"resolveWithGateways",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"},{name:"gateways",type:"string[]"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],o=[...s,{name:"reverseWithGateways",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"uint256",name:"coinType"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolver"},{type:"address",name:"reverseResolver"}]}],c=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],u=[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],f=[{name:"isValidSignature",type:"function",stateMutability:"view",inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],outputs:[{name:"",type:"bytes4"}]}],d=[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function",name:"isValidSig"}],l=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"function",name:"allowance",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"approve",stateMutability:"nonpayable",inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{type:"function",name:"transfer",stateMutability:"nonpayable",inputs:[{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]},{type:"function",name:"transferFrom",stateMutability:"nonpayable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]}]},45434:function(e,t,n){n.d(t,{NO:function(){return r},de:function(){return s},pG:function(){return i},xd:function(){return a}});let r="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b
1602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",i="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",s="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848
1603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572",a="0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9
1150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033"},43188:function(e,t,n){n.d(t,{l:function(){return r}});let r=1},75018:function(e,t,n){n.d(t,{rU:function(){return r},zL:function(){return i}});let r=2n**16n-1n,i=2n**256n-1n},55246:function(e,t,n){n.d(t,{$:function(){return r},Up:function(){return i},hZ:function(){return s}});
1let r={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."},i={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},s={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}},98173:function(e,t,n){n.d(t,{Bd:function(){return s},Zn:function(){return i},ez:function(){return r}});let r={gwei:9,wei:18},i={ether:-9,wei:9},s={ether:-18,gwei:-9}},65531:function(e,t,n){n.d(t,{CI:function(){return E},FM:function(){return y},Gy:function(){return G},KY:function(){return $},M4:function(){return d},MS:function(){return h},MX:function(){return w},Mi:function(){return O},S4:function(){return P},SM:function(){return I},Zh:function(){return b},cO:function(){return o},dh:function(){return C},eF:function(){return x},fM:function(){return a},fs:function(){return l},gr:function(){return f},hn:function(){return R},lC:function(){return m},mv:function(){return g},wM:function(){return S},wb:function(){return u},xB:function(){return c},xL:function(){return v},yP:function(){return p}});var r=n(7275),i=n(20556),s=n(81544);class a extends s.G{constructor({docsPath:e}){super("A constructor was not found on the ABI.\nMake sure you are using the correct ABI and that the constructor exists on it.",{docsPath:e,name:"AbiConstructorNotFoundError"})}}class o extends s.G{constructor({docsPath:e}){super("Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.\nMake sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.",{docsPath:e,name:"AbiConstructorParamsNotFoundError"})}}class c extends s.G{constructor({data:e,params:t,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,r.h)(t,{includeName:!0})})`,`Data: ${e} (${n} bytes)`],name:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e,this.params=t,this.size=n}}class u extends s.G{constructor({cause:e}={}){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError",cause:e})}}class f extends s.G{constructor({expectedLength:e,givenLength:t,type:n}){super(`ABI encoding array length mismatch for type ${n}. 2Expected length: ${e} 3Given length: ${t}`,{name:"AbiEncodingArrayLengthMismatchError"})}}class d extends s.G{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,i.d)(t)}) does not match expected size (bytes${e}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class l extends s.G{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch. 4Expected length (params): ${e} 5Given length (values): ${t}`,{name:"AbiEncodingLengthMismatchError"})}}class b extends s.G{constructor(e,{docsPath:t}){super(`Arguments (\`args\`) were provided to "${e}", but "${e}" on the ABI does not contain any parameters (\`inputs\`). 6Cannot encode error result without knowing what the parameter types are. 7Make sure you are using the correct ABI and that the inputs exist on it.`,{docsPath:t,name:"AbiErrorInputsNotFoundError"})}}class h extends s.G{constructor(e,{docsPath:t}={}){super(`Error ${e?`"${e}" `:""}not found on ABI. 8Make sure you are using the correct ABI and that the error exists on it.`,{docsPath:t,name:"AbiErrorNotFoundError"})}}class p extends s.G{constructor(e,{docsPath:t,cause:n}){super(`Encoded error signature "${e}" not found on ABI. 9Make sure you are using the correct ABI and that the error exists on it. 10You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiErrorSignatureNotFoundError",cause:n}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class y extends s.G{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class m extends s.G{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI. 11Make sure you are using the correct ABI and that the event exists on it. 12You can look up the signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiEventSignatureNotFoundError"})}}class g extends s.G{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI. 13Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t,name:"AbiEventNotFoundError"})}}class v extends s.G{constructor(e,{docsPath:t}={}){super(`Function ${e?`"${e}" `:""}not found on ABI. 14Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionNotFoundError"})}}class w extends s.G{constructor(e,{docsPath:t}){super(`Function "${e}" does not contain any \`outputs\` on ABI. 15Cannot decode function result without knowing what the parameter types are. 16Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionOutputsNotFoundError"})}}class x extends s.G{constructor(e,{docsPath:t}){super(`Encoded function signature "${e}" not found on ABI. 17Make sure you are using the correct ABI and that the function exists on it. 18You can look up the signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiFunctionSignatureNotFoundError"})}}class P extends s.G{constructor(e,t){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${(0,r.t)(e.abiItem)}\`, and`,`\`${t.type}\` in \`${(0,r.t)(t.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class $ extends s.G{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class I extends s.G{constructor({abiItem:e,data:t,params:n,size:i}){super(`Data size of ${i} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${(0,r.h)(n,{includeName:!0})})`,`Data: ${t} (${i} bytes)`],name:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{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,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e,this.data=t,this.params=n,this.size=i}}class G extends s.G{constructor({abiItem:e,param:t}){super(`Expected a topic for indexed event parameter${t.name?` "${t.name}"`:""} on event "${(0,r.t)(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class C extends s.G{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type. 19Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiEncodingType"})}}class E extends s.G{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type. 20Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiDecodingType"})}}class R extends s.G{constructor(e){super(`Value "${e}" is not a valid array.`,{name:"InvalidArrayError"})}}class S extends s.G{constructor(e){super(`"${e}" is not a valid definition type. 21Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}class O extends s.G{constructor(e){super(`Type "${e}" is not supported for packed encoding.`,{name:"UnsupportedPackedAbiType"})}}},48073:function(e,t,n){n.d(t,{RX:function(){return a},cJ:function(){return c},m7:function(){return s},xd:function(){return o}});var r=n(43188),i=n(81544);class s extends i.G{constructor({maxSize:e,size:t}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${t} bytes`],name:"BlobSizeTooLargeError"})}}class a extends i.G{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class o extends i.G{constructor({hash:e,size:t}){super(`Versioned hash "${e}
21" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${t}`],name:"InvalidVersionedHashSizeError"})}}class c extends i.G{constructor({hash:e,version:t}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${r.l}`,`Received: ${t}`],name:"InvalidVersionedHashVersionError"})}}},35586:function(e,t,n){n.d(t,{Bk:function(){return a},Yl:function(){return s},hJ:function(){return c},mm:function(){return i},pZ:function(){return o}});var r=n(81544);class i extends r.G{constructor({blockNumber:e,chain:t,contract:n}){super(`Chain "${t.name}" does not support contract "${n.name}".`,{metaMessages:["This could be due to any of the following:",...e&&n.blockCreated&&n.blockCreated>e?[`- The contract "${n.name}" was not deployed until block ${n.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${n.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class s extends r.G{constructor({chain:e,currentChainId:t}){super(`The current chain of the wallet (id: ${t}) does not match the target chain for the transaction (id: ${e.id} – ${e.name}).`,{metaMessages:[`Current Chain ID: ${t}`,`Expected Chain ID: ${e.id} – ${e.name}`],name:"ChainMismatchError"})}}class a extends 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 o extends r.G{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class c extends r.G{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
21" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}},20010:function(e,t,n){n.d(t,{cg:function(){return m},uq:function(){return g},Lu:function(){return v},Dk:function(){return w},Mo:function(){return x},VQ:function(){return P}});var r=n(19775),i=n(55246),s=n(33591),a=n(7275),o=n(31853);function c({abiItem:e,args:t,includeFunctionName:n=!0,includeName:r=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((e,n)=>`${r&&e.name?`${e.name}: `:""}${"object"==typeof t[n]?(0,o.P)(t[n]):t[n]}`).join(", ")})`}var u=n(64043),f=n(71282),d=n(29707),l=n(65531),b=n(81544),h=n(29625),p=n(63228),y=n(97564);class m extends b.G{constructor(e,{account:t,docsPath:n,chain:i,data:s,gas:a,gasPrice:o,maxFeePerGas:c,maxPriorityFeePerGas:u,nonce:l,to:b,value:y,stateOverride:m}){let g=t?(0,r.T)(t):void 0,v=(0,p.xr)({from:g?.address,to:b,value:void 0!==y&&`${(0,f.d)(y)} ${i?.nativeCurrency?.symbol||"ETH"}`,data:s,gas:a,gasPrice:void 0!==o&&`${(0,d.o)(o)} gwei`,maxFeePerGas:void 0!==c&&`${(0,d.o)(c)} gwei`,maxPriorityFeePerGas:void 0!==u&&`${(0,d.o)(u)} gwei`,nonce:l});m&&(v+=` 22${(0,h.Bj)(m)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",v].filter(
vendor: 6,742 bytes, line 22
22Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class g extends b.G{constructor(e,{abi:t,args:n,contractAddress:r,docsPath:i,functionName:s,sender:o}){let f=(0,u.mE)({abi:t,args:n,name:s}),d=f?c({abiItem:f,args:n,includeFunctionName:!1,includeName:!1}):void 0,l=f?(0,a.t)(f,{includeName:!0}):void 0,b=(0,p.xr)({address:r&&(0,y.C)(r),function:l,args:d&&"()"!==d&&`${[...Array(s?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:o});super(e.shortMessage||`An unknown error occurred while executing the contract function "${s}".`,{cause:e,docsPath:i,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],b&&"Contract Call:",b].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=n,this.cause=e,this.contractAddress=r,this.functionName=s,this.sender=o}}class v extends b.G{constructor({abi:e,data:t,functionName:n,message:r,cause:o}){let u,f,d,b,h;if(t&&"0x"!==t)try{let{abiItem:n,errorName:r,args:u}=f=(0,s.p)({abi:e,data:t,cause:o});if("Error"===r)b=u[0];else if("Panic"===r){let[e]=u;b=i.$[e]}else{let e=n?(0,a.t)(n,{includeName:!0}):void 0,t=n&&u?c({abiItem:n,args:u,includeFunctionName:!1,includeName:!1}):void 0;d=[e?`Error: ${e}`:"",t&&"()"!==t?` ${[...Array(r?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){u=e}else r&&(b=r);u instanceof l.yP&&(h=u.signature,d=[`Unable to decode signature "${h}" 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=${h}.`]),super(b&&"execution reverted"!==b||h?[`The contract function "${n}" reverted with the following ${h?"signature":"reason"}:`,b||h].join("\n"):`The contract function "${n}" reverted.`,{cause:u??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=f,this.raw=t,this.reason=b,this.signature=h}}class w extends b.G{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 x extends b.G{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 P extends b.G{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}}},33630:function(e,t,n){n.d(t,{KD:function(){return a},T_:function(){return i},lQ:function(){return s}});var r=n(81544);class i extends r.G{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class s extends r.G{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class a extends r.G{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}},78125:function(e,t,n){n.d(t,{C_:function(){return d},G$:function(){return o},Hh:function(){return a},M_:function(){return s},WF:function(){return l},ZI:function(){return c},cj:function(){return y},cs:function(){return p},dR:function(){return b},pZ:function(){return h},se:function(){return f},vU:function(){return u}});var r=n(29707),i=n(81544);class s extends i.G{constructor({cause:e,message:t}={}){let n=t?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${n?`with reason: ${n}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(s,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class a extends i.G{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,r.o)(t)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(a,"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 o extends i.G{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,r.o)(t)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(o,"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 c extends i.G{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class u extends i.G{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is lower than the current nonce of the account.
23Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class f extends i.G{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class d extends i.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 l extends i.G{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class b extends i.G{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(b,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class h extends i.G{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class p extends i.G{constructor({cause:e,maxPriorityFeePerGas:t,maxFeePerGas:n}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${t?` = ${(0,r.o)(t)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${n?` = ${(0,r.o)(n)} 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 y extends i.G{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}},29625:function(e,t,n){n.d(t,{Bj:function(){return o},Nc:function(){return i},Z8:function(){return s}});var r=n(81544);class i extends r.G{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class s extends r.G{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function a(e){return e.reduce((e,{slot:t,value:n})=>`${e} ${t}: ${n} 24`,"")}function o(e){return e.reduce((e,{address:t,...n})=>{let r=`${e} ${t}: 25`;return n.nonce&&(r+=` nonce: ${n.nonce} 26`),n.balance&&(r+=` balance: ${n.balance} 27`),n.code&&(r+=` code: ${n.code} 28`),n.state&&(r+=" state:\n"+a(n.state)),n.stateDiff&&(r+=" stateDiff:\n"+a(n.stateDiff)),r}," State Override:\n").slice(0,-1)}},63228:function(e,t,n){n.d(t,{A3:function(){return b},Bh:function(){return d},JC:function(){return u},Yb:function(){return l},j3:function(){return c},mc:function(){return h},mk:function(){return f},vl:function(){return o},xr:function(){return a}});var r=n(71282),i=n(29707),s=n(81544);function a(e){let t=Object.entries(e).map(([e,t])=>void 0===t||!1===t?null:[e,t]).filter(Boolean),n=t.reduce((e,[t])=>Math.max(e,t.length),0);return t.map(([e,t])=>` ${`${e}:`.padEnd(n+1)} ${t}`).join("\n")}class o extends s.G{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class c extends s.G{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",a(e),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}class u extends s.G{constructor({storageKey:e}){super(`Size for storage key "${e}
28" is invalid. Expected 32 bytes. Got ${Math.floor((e.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}class f extends s.G{constructor(e,{account:t,docsPath:n,chain:s,data:o,gas:c,gasPrice:u,maxFeePerGas:f,maxPriorityFeePerGas:d,nonce:l,to:b,value:h}){super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",a({chain:s&&`${s?.name} (id: ${s?.id})`,from:t?.address,to:b,value:void 0!==h&&`${(0,r.d)(h)} ${s?.nativeCurrency?.symbol||"ETH"}`,data:o,gas:c,gasPrice:void 0!==u&&`${(0,i.o)(u)} gwei`,maxFeePerGas:void 0!==f&&`${(0,i.o)(f)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,i.o)(d)} gwei`,nonce:l})].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class d extends s.G{constructor({blockHash:e,blockNumber:t,blockTag:n,hash:r,index:i}){let s="Transaction";n&&void 0!==i&&(s=`Transaction at block time "${n}" at index "${i}"`),e&&void 0!==i&&(s=`Transaction at block hash "${e}" at index "${i}"`),t&&void 0!==i&&(s=`Transaction at block number "${t}" at index "${i}"`),r&&(s=`Transaction with hash "${r}"`),super(`${s} could not be found.`,{name:"TransactionNotFoundError"})}}class l extends s.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 b extends s.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 h extends s.G{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}},2742:function(e,t,n){n.d(t,{r:function(){return p}});var r=n(65531),i=n(31669),s=n(46033),a=n(20556),o=n(69921),c=n(36826),u=n(63152),f=n(72932),d=n(59455);function l(e,t={}){void 0!==t.size&&(0,f.Yf)(e,{size:t.size});let n=(0,d.ci)(e,t);return(0,f.ly)(n,t)}var b=n(44659),h=n(30056);function p(e,t){let n="string"==typeof t?(0,b.nr)(t):t,p=(0,s.q)(n);if(0===(0,a.d)(n)&&e.length>0)throw new r.wb;if((0,a.d)(t)&&32>(0,a.d)(t))throw new r.xB({data:"string"==typeof t?t:(0,d.ci)(t),params:e,size:(0,a.d)(t)});let m=0,g=[];for(let t=0;t<e.length;++t){let n=e[t];p.setPosition(m);let[s,a]=function e(t,n,{staticPosition:s}){let a=(0,h.S)(n.type);if(a){let[r,i]=a;return function(t,n,{length:r,staticPosition:i}){if(!r){let r=i+l(t.readBytes(32)),s=r+32;t.setPosition(r);let a=l(t.readBytes(32)),o=y(n),c=0,u=[];for(let r=0;r<a;++r){t.setPosition(s+(o?32*r:c));let[i,a]=e(t,n,{staticPosition:s});c+=a,u.push(i)}return t.setPosition(i+32),[u,32]}if(y(n)){let s=i+l(t.readBytes(32)),a=[];for(let i=0;i<r;++i){t.setPosition(s+32*i);let[r]=e(t,n,{staticPosition:s});a.push(r)}return t.setPosition(i+32),[a,32]}let s=0,a=[];for(let o=0;o<r;++o){let[r,o]=e(t,n,{staticPosition:i+s});s+=o,a.push(r)}return[a,s]}(t,{...n,type:i},{length:r,staticPosition:s})}if("tuple"===n.type)return function(t,n,{staticPosition:r}){let i=0===n.components.length||n.components.some(({name:e})=>!e),s=i?[]:{},a=0;if(y(n)){let o=r+l(t.readBytes(32));for(let r=0;r<n.components.length;++r){let c=n.components[r];t.setPosition(o+a);let[u,f]=e(t,c,{staticPosition:o});a+=f,s[i?r:c?.name]=u}return t.setPosition(r+32),[s,32]}for(let o=0;o<n.components.length;++o){let c=n.components[o],[u,f]=e(t,c,{staticPosition:r});s[i?o:c?.name]=u,a+=f}return[s,a]}(t,n,{staticPosition:s});if("address"===n.type)return function(e){let t=e.readBytes(32);return[(0,i.x)((0,d.ci)((0,o.T4)(t,-20))),32]}(t);if("bool"===n.type)return[function(e,t={}){let n=e;if(void 0!==t.size&&((0,f.Yf)(n,{size:t.size}),n=(0,c.f)(n)),n.length>1||n[0]>1)throw new u.yr(n);return!!n[0]}(t.readBytes(32),{size:32}),32];if(n.type.startsWith("bytes"))return function(e,t,{staticPosition:n}){let[r,i]=t.type.split("bytes");if(!i){let t=l(e.readBytes(32));e.setPosition(n+t);let r=l(e.readBytes(32));if(0===r)return e.setPosition(n+32),["0x",32];let i=e.readBytes(r);return e.setPosition(n+32),[(0,d.ci)(i),32]}return[(0,d.ci)(e.readBytes(Number.parseInt(i,10),32)),32]}(t,n,{staticPosition:s});if(n.type.startsWith("uint")||n.type.startsWith("int"))return function(e,t){let n=t.type.startsWith("int"),r=Number.parseInt(t.type.split("int")[1]||"256",10),i=e.readBytes(32);return[r>48?function(e,t={}){void 0!==t.size&&(0,f.Yf)(e,{size:t.size});let n=(0,d.ci)(e,t);return(0,f.y_)(n,t)}(i,{signed:n}):l(i,{signed:n}),32]}(t,n);if("string"===n.type)return function(e,{staticPosition:t}){let n=l(e.readBytes(32));e.setPosition(t+n);let r=l(e.readBytes(32));if(0===r)return e.setPosition(t+32),["",32];let i=e.readBytes(r,32),s=function(e,t={}){let n=e;return void 0!==t.size&&((0,f.Yf)(n,{size:t.size}),n=(0,c.f)(n,{dir:"right"})),new TextDecoder().decode(n)}((0,c.f)(i));return e.setPosition(t+32),[s,32]}(t,{staticPosition:s});throw new r.CI(n.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(p,n,{staticPosition:0});m+=a,g.push(s)}return g}function y(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;
vendor: 13,530 bytes, line 28
28if("tuple"===t)return e.components?.some(y);let n=(0,h.S)(e.type);return!!(n&&y({...e,type:n[1]}))}},33591:function(e,t,n){n.d(t,{p:function(){return u}});var r=n(55246),i=n(65531),s=n(69921),a=n(10464),o=n(2742),c=n(7275);function u(e){let{abi:t,data:n,cause:u}=e,f=(0,s.tP)(n,0,4);if("0x"===f)throw new i.wb({cause:u});let d=[...t||[],r.Up,r.hZ].find(e=>"error"===e.type&&f===(0,a.C)((0,c.t)(e)));if(!d)throw new i.yP(f,{docsPath:"/docs/contract/decodeErrorResult",cause:u});return{abiItem:d,args:"inputs"in d&&d.inputs&&d.inputs.length>0?(0,o.r)(d.inputs,(0,s.tP)(n,4)):void 0,errorName:d.name}}},65436:function(e,t,n){n.d(t,{k:function(){return o}});var r=n(65531),i=n(2742),s=n(64043);let a="/docs/contract/decodeFunctionResult";function o(e){let{abi:t,args:n,functionName:o,data:c}=e,u=t[0];if(o){let e=(0,s.mE)({abi:t,args:n,name:o});if(!e)throw new r.xL(o,{docsPath:a});u=e}if("function"!==u.type)throw new r.xL(void 0,{docsPath:a});if(!u.outputs)throw new r.MX(u.name,{docsPath:a});let f=(0,i.r)(u.outputs,c);return f&&f.length>1?f:f&&1===f.length?f[0]:void 0}},30056:function(e,t,n){n.d(t,{E:function(){return h},S:function(){return y}});var r=n(65531),i=n(10052),s=n(81544),a=n(63152),o=n(4012),c=n(89256),u=n(8796),f=n(20556),d=n(69921),l=n(59455),b=n(23251);function h(e,t){if(e.length!==t.length)throw new r.fs({expectedLength:e.length,givenLength:t.length});let n=p(function({params:e,values:t}){let n=[];for(let h=0;h<e.length;h++)n.push(function e({param:t,value:n}){let h=y(t.type);if(h){let[i,s]=h;return function(t,{length:n,param:i}){let s=null===n;if(!Array.isArray(t))throw new r.hn(t);if(!s&&t.length!==n)throw new r.gr({expectedLength:n,givenLength:t.length,type:`${i.type}[${n}]`});let a=!1,o=[];for(let n=0;n<t.length;n++){let r=e({param:i,value:t[n]});r.dynamic&&(a=!0),o.push(r)}if(s||a){let e=p(o);if(s){let t=(0,l.eC)(o.length,{size:32});return{dynamic:!0,encoded:o.length>0?(0,c.zo)([t,e]):t}}if(a)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,c.zo)(o.map(({encoded:e})=>e))}}(n,{length:i,param:{...t,type:s}})}if("tuple"===t.type)return function(t,{param:n}){let r=!1,i=[];for(let s=0;s<n.components.length;s++){let a=n.components[s],o=Array.isArray(t)?s:a.name,c=e({param:a,value:t[o]});i.push(c),c.dynamic&&(r=!0)}return{dynamic:r,encoded:r?p(i):(0,c.zo)(i.map(({encoded:e})=>e))}}(n,{param:t});if("address"===t.type)return function(e){if(!(0,o.U)(e))throw new i.b({address:e});return{dynamic:!1,encoded:(0,u.gc)(e.toLowerCase())}}(n);if("bool"===t.type)return function(e){if("boolean"!=typeof e)throw new s.G(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,u.gc)((0,l.C4)(e))}}(n);if(t.type.startsWith("uint")||t.type.startsWith("int")){let e=t.type.startsWith("int"),[,,r="256"]=b.lh.exec(t.type)??[];return function(e,{signed:t,size:n=256}){if("number"==typeof n){let r=2n**(BigInt(n)-(t?1n:0n))-1n,i=t?-r-1n:0n;if(e>r||e<i)throw new a.J5({max:r.toString(),min:i.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:(0,l.eC)(e,{size:32,signed:t})}}(n,{signed:e,size:Number(r)})}if(t.type.startsWith("bytes"))return function(e,{param:t}){let[,n]=t.type.split("bytes"),i=(0,f.d)(e);if(!n){let t=e;return i%32!=0&&(t=(0,u.gc)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,c.zo)([(0,u.gc)((0,l.eC)(i,{size:32})),t])}}if(i!==Number.parseInt(n,10))throw new r.M4({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:(0,u.gc)(e,{dir:"right"})}}(n,{param:t});if("string"===t.type)return function(e){let t=(0,l.$G)(e),n=Math.ceil((0,f.d)(t)/32),r=[];for(let e=0;e<n;e++)r.push((0,u.gc)((0,d.tP)(t,32*e,(e+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,c.zo)([(0,u.gc)((0,l.eC)((0,f.d)(t),{size:32})),...r])}}(n);throw new r.dh(t.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[h],value:t[h]}));return n}({params:e,values:t}));return 0===n.length?"0x":n}function p(e){let t=0;for(let n=0;n<e.length;n++){let{dynamic:r,encoded:i}=e[n];r?t+=32:t+=(0,f.d)(i)}let n=[],r=[],i=0;for(let s=0;s<e.length;s++){let{dynamic:a,encoded:o}=e[s];a?(n.push((0,l.eC)(t+i,{size:32})),r.push(o),i+=(0,f.d)(o)):n.push(o)}return(0,c.zo)([...n,...r])}function y(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}},23010:function(e,t,n){n.d(t,{w:function(){return o}});var r=n(65531),i=n(89256),s=n(30056);let a="/docs/contract/encodeDeployData";function o(e){let{abi:t,args:n,bytecode:o}=e;if(!n||0===n.length)return o;let c=t.find(e=>"type"in e&&"constructor"===e.type);if(!c)throw new r.fM({docsPath:a});if(!("inputs"in c)||!c.inputs||0===c.inputs.length)throw new r.cO({docsPath:a});let u=(0,s.E)(c.inputs,n);return(0,i.SM)([o,u])}},17283:function(e,t,n){n.d(t,{R:function(){return f}});var r=n(89256),i=n(30056),s=n(65531),a=n(10464),o=n(7275),c=n(64043);let u="/docs/contract/encodeFunctionData";function f(e){let{args:t}=e,{abi:n,functionName:f}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:function(e){let{abi:t,args:n,functionName:r}=e,i=t[0];if(r){let e=(0,c.mE)({abi:t,args:n,name:r});if(!e)throw new s.xL(r,{docsPath:u});i=e}if("function"!==i.type)throw new s.xL(void 0,{docsPath:u});return{abi:[i],functionName:(0,a.C)((0,o.t)(i))}}(e),d=n[0],l="inputs"in d&&d.inputs?(0,i.E)(d.inputs,t??[]):void 0;return(0,r.SM)([f,l??"0x"])}},7275:function(e,t,n){n.d(t,{h:function(){return s},t:function(){return i}});var r=n(65531);function i(e,{includeName:t=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new r.wM(e.type);return`${e.name}(${s(e.inputs,{includeName:t})})`}function s(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${s(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}},64043:function(e,t,n){n.d(t,{mE:function(){return c}});var r=n(65531),i=n(93610),s=n(4012),a=n(45392),o=n(10464);function c(e){let t;let{abi:n,args:c=[],name:u}=e,f=(0,i.v)(u,{strict:!1}),d=n.filter(e=>f?"function"===e.type?(0,o.C)(e)===u:"event"===e.type&&(0,a.n)(e)===u:"name"in e&&e.name===u);if(0!==d.length){if(1===d.length)return d[0];for(let e of d)if("inputs"in e){if(!c||0===c.length){if(!e.inputs||0===e.inputs.length)return e;continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===c.length&&c.every((t,n)=>{let r="inputs"in e&&e.inputs[n];return!!r&&function e(t,n){let r=typeof t,i=n.type;switch(i){case"address":return(0,s.U)(t,{strict:!1});case"bool":return"boolean"===r;case"function":case"string":return"string"===r;default:if("tuple"===i&&"components"in n)return Object.values(n.components).every((n,i)=>"object"===r&&e(Object.values(t)[i],n));if(/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(i))return"number"===r||"bigint"===r;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i))return"string"===r||t instanceof Uint8Array;if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(t)&&t.every(t=>e(t,{...n,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,r)})){if(t&&"inputs"in t&&t.inputs){let n=function e(t,n,r){for(let i in t){let a=t[i],o=n[i];if("tuple"===a.type&&"tuple"===o.type&&"components"in a&&"components"in o)return e(a.components,o.components,r[i]);let c=[a.type,o.type];if(c.includes("address")&&c.includes("bytes20")||(c.includes("address")&&c.includes("string")||c.includes("address")&&c.includes("bytes"))&&(0,s.U)(r[i],{strict:!1}))return c}}(e.inputs,t.inputs,c);if(n)throw new r.S4({abiItem:e,type:n[0]},{abiItem:t,type:n[1]})}t=e}}return t||d[0]}}},63563:function(e,t,n){n.d(t,{P:function(){return s}});var r=n(44659),i=n(59455);function s(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),s="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,r.nr)(e)):e.blobs,a=[];for(let e of s)a.push(Uint8Array.from(t.blobToKzgCommitment(e)));return"bytes"===n?a:a.map(e=>(0,i.ci)(e))}},67496:function(e,t,n){n.d(t,{y:function(){return s}});var r=n(44659),i=n(59455);function s(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),s="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,r.nr)(e)):e.blobs,a="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,r.nr)(e)):e.commitments,o=[];for(let e=0;e<s.length;e++){let n=s[e],r=a[e];o.push(Uint8Array.from(t.computeBlobKzgProof(n,r)))}return"bytes"===n?o:o.map(e=>(0,i.ci)(e))}},58438:function(e,t,n){n.d(t,{C:function(){return s}});var r=n(59455),i=n(46685);function s(e){let{commitments:t,version:n}=e,s=e.to??("string"==typeof t[0]?"hex":"bytes"),a=[];for(let e of t)a.push(function(e){let{commitment:t,version:n=1}=e,s=e.to??("string"==typeof t?"hex":"bytes"),a=(0,i.J)(t,"bytes");return a.set([n],0),"bytes"===s?a:(0,r.ci)(a)}({commitment:e,to:s,version:n}));return a}},10932:function(e,t,n){n.d(t,{j:function(){return f}});var r=n(63563),i=n(67496),s=n(48073),a=n(46033),o=n(20556),c=n(44659),u=n(59455);function f(e){let{data:t,kzg:n,to:f}=e,d=e.blobs??function(e){let t=e.to??("string"==typeof e.data?"hex":"bytes"),n="string"==typeof e.data?(0,c.nr)(e.data):e.data,r=(0,o.d)(n);if(!r)throw new s.RX;if(r>761855)throw new s.m7({maxSize:761855,size:r});let i=[],f=!0,d=0;for(;f;){let e=(0,a.q)(new Uint8Array(131072)),t=0;for(;t<4096;){let r=n.slice(d,d+31);if(e.pushByte(0),e.pushBytes(r),r.length<31){e.pushByte(128),f=!1;break}t++,d+=31}i.push(e)}return"bytes"===t?i.map(e=>e.bytes):i.map(e=>(0,u.ci)(e.bytes))}({data:t,to:f}),l=e.commitments??(0,r.P)({blobs:d,kzg:n,to:f}),b=e.proofs??(0,i.y)({blobs:d,commitments:l,kzg:n,to:f}),h=[];for(let e=0;e<d.length;e++)h.push({blob:d[e],commitment:l[e],proof:b[e]});return h}},93627:function(e,t,n){n.d(t,{L:function(){return i}});var r=n(35586);function i({blockNumber:e,chain:t,contract:n}){let i=t?.contracts?.[n];if(!i)throw new r.mm({chain:t,contract:{name:n}});if(e&&i.blockCreated&&i.blockCreated>e)throw new r.mm({blockNumber:e,chain:t,contract:{name:n,blockCreated:i.blockCreated}});return i.address}},46033:function(e,t,n){n.d(t,{q:function(){return s}});var r=n(33630);let i={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 t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new r.T_({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function s(e,{recursiveReadLimit:t=8192}={}){let n=Object.create(i);return n.bytes=e,n.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}},89256:function(e,t,n){function r(e){return"string"==typeof e[0]?i(e):function(e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}(e)}function i(e){return`0x${e.reduce((e,t)=>
28e+t.replace("0x",""),"")}`}n.d(t,{SM:function(){return i},zo:function(){return r}})},69921:function(e,t,n){n.d(t,{T4:function(){return u},p5:function(){return f},tP:function(){return a}});var r=n(47116),i=n(93610),s=n(20556);function a(e,t,n,{strict:r}={}){return(0,i.v)(e,{strict:!1})?f(e,t,n,{strict:r}):u(e,t,n,{strict:r})}function o(e,t){if("number"==typeof t&&t>0&&t>(0,s.d)(e)-1)throw new r.mV({offset:t,position:"start",size:(0,s.d)(e)})}function c(e,t,n){if("number"==typeof t&&"number"==typeof n&&(0,s.d)(e)!==n-t)throw new r.mV({offset:n,position:"end",size:(0,s.d)(e)})}function u(e,t,n,{strict:r}={}){o(e,t);let i=e.slice(t,n);return r&&c(i,t,n),i}function f(e,t,n,{strict:r}={}){o(e,t);let i=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return r&&c(i,t,n),i}},70044:function(e,t,n){n.d(t,{LV:function(){return o}});var r=n(81544),i=n(46033),s=n(44659),a=n(59455);function o(e,t="hex"){let n=function e(t){return Array.isArray(t)?function(e){let t=e.reduce((e,t)=>e+t.length,0),n=c(t);return{length:t<=55?1+t:1+n+t,encode(r){for(let{encode:i}of(t<=55?r.pushByte(192+t):(r.pushByte(247+n),1===n?r.pushUint8(t):2===n?r.pushUint16(t):3===n?r.pushUint24(t):r.pushUint32(t)),e))i(r)}}}(t.map(t=>e(t))):function(e){let t="string"==typeof e?(0,s.nr)(e):e,n=c(t.length);return{length:1===t.length&&t[0]<128?1:t.length<=55?1+t.length:1+n+t.length,encode(e){1===t.length&&t[0]<128||(t.length<=55?e.pushByte(128+t.length):(e.pushByte(183+n),1===n?e.pushUint8(t.length):2===n?e.pushUint16(t.length):3===n?e.pushUint24(t.length):e.pushUint32(t.length))),e.pushBytes(t)}}}(t)}(e),r=(0,i.q)(new Uint8Array(n.length));return(n.encode(r),"hex"===t)?(0,a.ci)(r.bytes):r.bytes}function c(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.")}},14015:function(e,t,n){n.d(t,{P:function(){return a}});var r=n(20010),i=n(78125),s=n(18856);function a(e,{docsPath:t,...n}){let a=(()=>{let t=(0,s.k)(e,n);return t instanceof i.cj?e:t})();return new r.cg(a,{docsPath:t,...n})}},34180:function(e,t,n){n.d(t,{S:function(){return c}});var r=n(65531),i=n(81544),s=n(20010),a=n(17057),o=n(77014);function c(e,{abi:t,address:n,args:c,docsPath:u,functionName:f,sender:d}){let l=e instanceof s.VQ?e:e instanceof i.G?e.walk(e=>"data"in e)||e.walk():{},{code:b,data:h,details:p,message:y,shortMessage:m}=l,g=e instanceof r.wb?new s.Dk({functionName:f,cause:e}):[3,o.XS.code].includes(b)&&(h||p||y||m)||b===o.yR.code&&"execution reverted"===p&&h?new s.Lu({abi:t,data:"object"==typeof h?h.data:h,functionName:f,message:l instanceof a.bs?p:m??y,cause:e}):e;return new s.uq(g,{abi:t,args:c,contractAddress:n,docsPath:u,functionName:f,sender:d})}},18856:function(e,t,n){n.d(t,{k:function(){return s}});var r=n(81544),i=n(78125);function s(e,t){let n=(e.details||"").toLowerCase(),s=e instanceof r.G?e.walk(e=>e?.code===i.M_.code):e;return s instanceof r.G?new i.M_({cause:e,message:s.details}):i.M_.nodeMessage.test(n)?new i.M_({cause:e,message:e.details}):i.Hh.nodeMessage.test(n)?new i.Hh({cause:e,maxFeePerGas:t?.maxFeePerGas}):i.G$.nodeMessage.test(n)?new i.G$({cause:e,maxFeePerGas:t?.maxFeePerGas}):i.ZI.nodeMessage.test(n)?new i.ZI({cause:e,nonce:t?.nonce}):i.vU.nodeMessage.test(n)?new i.vU({cause:e,nonce:t?.nonce}):i.se.nodeMessage.test(n)?new i.se({cause:e,nonce:t?.nonce}):i.C_.nodeMessage.test(n)?new i.C_({cause:e}):i.WF.nodeMessage.test(n)?new i.WF({cause:e,gas:t?.gas}):i.dR.nodeMessage.test(n)?new i.dR({cause:e,gas:t?.gas}):i.pZ.nodeMessage.test(n)?new i.pZ({cause:e}):i.cs.nodeMessage.test(n)?new i.cs({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new i.cj({cause:e})}},59069:function(e,t,n){n.d(t,{G:function(){return a},Z:function(){return s}});var r=n(94870),i=n(27481);function s(e,t){let n=(e.transactions??[]).map(e=>"string"==typeof e?e:(0,i.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.gasLim
28it?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:n,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}let a=(0,r.$)("block",s)},70878:function(e,t,n){n.d(t,{K:function(){return r}});function r(e,{format:t}){if(!t)return{};let n={};return!function t(r){for(let i of Object.keys(r))i in e&&(n[i]=e[i]),r[i]&&"object"==typeof r[i]&&!Array.isArray(r[i])&&t(r[i])}(t(e||{})),n}},94870:function(e,t,n){n.d(t,{$:function(){return r}});function r(e,t){return({exclude:n,format:r})=>({exclude:n,format:(e,i)=>{let s=t(e,i);if(n)for(let e of n)delete s[e];return{...s,...r(e,i)}},type:e})}},55668:function(e,t,n){n.d(t,{U:function(){return r}});function r(e,{args:t,eventName:n}={}){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,...n?{args:t,eventName:n}:{}}}},27481:function(e,t,n){n.d(t,{Tr:function(){return a},c8:function(){return s},y_:function(){return o}});var r=n(72932),i=n(94870);let s={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function a(e,t){let n={...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?s[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&&(n.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)}))),n.yParity=(()=>{if(e.yParity)return Number(e.yParity);if("bigint"==typeof n.v){if(0n===n.v||27n===n.v)return 0;if(1n===n.v||28n===n.v)return 1;if(n.v>=35n)return n.v%2n===0n?1:0}})(),"legacy"===n.type&&(delete n.accessList,delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas,delete n.yParity),"eip2930"===n.type&&(delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas),"eip1559"===n.type&&delete n.maxFeePerBlobGas,n}let o=(0,i.$)("transaction",a)},13550:function(e,t,n){n.d(t,{dI:function(){return u},ew:function(){return o},fA:function(){return c}});var r=n(72932),i=n(94870),s=n(55668),a=n(27481);let o={"0x0":"reverted","0x1":"success"};function c(e,t){let n={...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,s.U)(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,r.ly)(e.transactionIndex):null,status:e.status?o[e.status]:null,type:e.type?a.c8[e.type]||e.type:null};return e.blobGasPrice&&(n.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(n.blobGasUsed=BigInt(e.blobGasUsed)),n}let u=(0,i.$)("transactionReceipt",c)},92614:function(e,t,n){n.d(t,{iy:function(){return o},tG:function(){return a}});var r=n(59455),i=n(94870);let s={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function a(e,t){let n={};return void 0!==e.authorizationList&&(n.authorizationList=e.authorizationList.map(e=>({address:e.address,r:e.r?(0,r.eC)(BigInt(e.r)):e.r,s:e.s?(0,r.eC)(BigInt(e.s)):e.s,chainId:(0,r.eC)(e.chainId),nonce:(0,r.eC)(e.nonce),...void 0!==e.yParity?{yParity:(0,r.eC)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,r.eC)(e.v)}:{}}))),void 0!==e.accessList&&(n.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(n.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?n.blobs=e.blobs.map(e=>(0,r.ci)(e)):n.blobs=e.blobs),void 0!==e.data&&(n.data=e.data),e.account&&(n.from=e.account.address),void 0!==e.from&&(n.from=e.from),void 0!==e.gas&&(n.gas=(0,r.eC)(e.gas)),void 0!==e.gasPrice&&(n.gasPrice=(0,r.eC)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(n.maxFeePerBlobGas=(0,r.eC)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(n.maxFeePerGas=(0,r.eC)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(n.maxPriorityFeePerGas=(0,r.eC)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(n.nonce=(0,r.eC)(e.nonce)),void 0!==e.to&&(n.to=e.to),void 0!==e.type&&(n.type=s[e.type]),void 0!==e.value&&(n.value=(0,r.eC)(e.value)),n}let o=(0,i.$)("transactionRequest",a)},82645:function(e,t,n){n.d(t,{s:function(){return r}});function r(e,t,n){let r=e[t.name];if("function"==typeof r)return r;let i=e[n];return"function"==typeof i?i:n=>t(e,n)}},46685:function(e,t,n){n.d(t,{J:function(){return o}});var r=n(29272),i=n(93610),s=n(44659),a=n(59455);function o(e,t){let n=(0,r.JQ)((0,i.v)(e,{strict:!1})?(0,s.O0)(e):e);return"bytes"===(t||"hex")?n:(0,a.NC)(n)}},45392:function(e,t,n){n.d(t,{n:function(){return r}});let r=n(40176).r},10464:function(e,t,n){n.d(t,{C:function(){return s}});var r=n(69921),i=n(40176);let s=e=>(0,r.tP)((0,i.r)(e),0,4)},40176:function(e,t,n){n.d(t,{r:function(){return u}});var r=n(44659),i=n(13169);let s=e=>(0,i.w)((0,r.O0)(e));var a=n(1678),o=n(81544);let c=e=>(function(e){let t=!0,n="",r=0,i="",s=!1;for(let a=0;a<e.length;a++){let o=e[a];if(["(",")",","].includes(o)&&(t=!0),"("===o&&r++,")"===o&&r--,t){if(0===r){if(" "===o&&["event","function",""].includes(i))i="";else if(i+=o,")"===o){s=!0;break}continue}if(" "===o){","!==e[a-1]&&","!==n&&",("!==n&&(n="",t=!1);continue}i+=o,n+=o}}if(!s)throw new o.G("Unable to normalize signature.");return i}
28)("string"==typeof e?e:(0,a.t)(e));function u(e){return s(c(e))}},43226:function(e,t,n){n.d(t,{S:function(){return s}});var r=n(56921);let i=new Map;function s({fn:e,id:t,shouldSplitBatch:n,wait:s=0,sort:a}){let o=async()=>{let t=f();c();let n=t.map(({args:e})=>e);0!==n.length&&e(n).then(e=>{a&&Array.isArray(e)&&e.sort(a);for(let n=0;n<t.length;n++){let{resolve:r}=t[n];r?.([e[n],e])}}).catch(e=>{for(let n=0;n<t.length;n++){let{reject:r}=t[n];r?.(e)}})},c=()=>i.delete(t),u=()=>f().map(({args:e})=>e),f=()=>i.get(t)||[],d=e=>i.set(t,[...f(),e]);return{flush:c,async schedule(e){let{promise:t,resolve:i,reject:a}=(0,r.n)();return(n?.([...u(),e])&&o(),f().length>0)?d({args:e,resolve:i,reject:a}):(d({args:e,resolve:i,reject:a}),setTimeout(o,s)),t}}}},56921:function(e,t,n){n.d(t,{n:function(){return r}});function r(){let e=()=>void 0,t=()=>void 0;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}},23251:function(e,t,n){n.d(t,{Ow:function(){return r},eL:function(){return i},lh:function(){return s}});let r=/^(.*)\[([0-9]*)\]$/,i=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,s=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/},77911:function(e,t,n){n.d(t,{mF:function(){return u}});var r=n(10052),i=n(47116),s=n(29625),a=n(4012),o=n(59455);function c(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:n})=>{if(66!==t.length)throw new i.W_({size:t.length,targetSize:66,type:"hex"});if(66!==n.length)throw new i.W_({size:n.length,targetSize:66,type:"hex"});return e[t]=n,e},{})}function u(e){if(!e)return;let t={};for(let{address:n,...i}of e){if(!(0,a.U)(n,{strict:!1}))throw new r.b({address:n});if(t[n])throw new s.Nc({address:n});t[n]=function(e){let{balance:t,nonce:n,state:r,stateDiff:i,code:a}=e,u={};if(void 0!==a&&(u.code=a),void 0!==t&&(u.balance=(0,o.eC)(t)),void 0!==n&&(u.nonce=(0,o.eC)(n)),void 0!==r&&(u.state=c(r)),void 0!==i){if(u.state)throw new s.Z8;u.stateDiff=c(i)}return u}(i)}return t}},54605:function(e,t,n){n.d(t,{F:function(){return c}});var r=n(19775),i=n(75018),s=n(10052),a=n(78125),o=n(4012);function c(e){let{account:t,maxFeePerGas:n,maxPriorityFeePerGas:c,to:u}=e,f=t?(0,r.T)(t):void 0;if(f&&!(0,o.U)(f.address))throw new s.b({address:f.address});if(u&&!(0,o.U)(u))throw new s.b({address:u});if(n&&n>i.zL)throw new a.Hh({maxFeePerGas:n});if(c&&n&&c>n)throw new a.cs({maxFeePerGas:n,maxPriorityFeePerGas:c})}},90683:function(e,t,n){n.d(t,{l:function(){return i}});var r=n(63228);function i(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})}},78217:function(e,t,n){let r;n.d(t,{h:function(){return s}});let i=256;function s(e=11){if(!r||i+e>512){r="",i=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(i,i+++e)}},71282:function(e,t,n){n.d(t,{d:function(){return s}});var r=n(98173),i=n(39502);function s(e,t="wei"){return(0,i.b)(e,r.ez[t])}},29707:function(e,t,n){n.d(t,{o:function(){return s}});var r=n(98173),i=n(39502);function s(e,t="wei"){return(0,i.b)(e,r.Zn[t])}},39502:function(e,t,n){n.d(t,{b:function(){return r}});function r(e,t){let n=e.toString(),r=n.startsWith("-");r&&(n=n.slice(1));let[i,s]=[(n=n.padStart(t,"0")).slice(0,n.length-t),n.slice(n.length-t)];return s=s.replace(/(0+)$/,""),`${r?"-":""}${i||"0"}${s?`.${s}`:""}`}},44005:function(e,t,n){function r(e){return e.state.chainId}n.d(t,{x:function(){return a}});var i=n(2265),s=n(12364);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,s.Z)(e);return(0,i.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(e=>e.chainId,n)})(t,{onChange:e}),()=>r(t),()=>r(t))}},27323:function(e,t,n){n.d(t,{u:function(){return c}});var r=n(37691),i=n(27534),s=n(97074),a=n(44005),o=n(12364);function c(){var e,t,n;let c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{abi:u,address:f,functionName:d,query:l={}}=c,b=c.code,h=(0,o.Z)(c),p=(0,a.x)({config:h}),y=function(e,t={}){return{async queryFn({queryKey:n}){let i=t.abi;if(!i)throw Error("abi is required");let{functionName:s,scopeKey:a,...o}=n[1],c=(()=>{let e=n[1];if(e.address)return{address:e.address};if(e.code)return{code:e.code};throw Error("address or code is required")})();if(!s)throw Error("functionName is required");return(0,r.L)(e,{abi:i,functionName:s,args:o.args,...c,...o})},queryKey:function(e={}){let{abi:t,...n}=e;return["readContract",(0,i.OP)(n)]}(t)}}(h,{...c,chainId:null!==(e=c.chainId)&&void 0!==e?e:p}),m=!!((f||b)&&u&&d&&(null===(t=l.enabled)||void 0===t||t));return(0,s.aM)({...l,...y,enabled:m,structuralSharing:null!==(n=l.structuralSharing)&&void 0!==n?n:i.if})}},97074:function(e,t,n){let r;n.d(t,{aM:function(){return F}});var i=n(87045),s=n(73252),a=n(18238),o=n(21733),c=n(24112),u=n(16803),f=n(45345),d=n(84554),l=class extends c.l{constructor(e,t){super(),this.options=t,this.#r=e,this.#u=null,this.#f=(0,u.O)(),this.bindMethods(),this.setOptions(t)}#r;#d=void 0;#l=void 0;#b=void 0;#h;#p;#f;#u;#y;#m;#g;#v;#w;#x;#P=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#d.addObserver(this),b(this.#d,this.options)?this.#$():this.updateResult(),this.#I())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return h(this.#d,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return h(this.#d,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#G(),this.#C(),this.#d.removeObserver(this)}setOptions(e){let t=this.options,n=this.#d;if(this.options=this.#r.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,f.Nc)(this.options.enabled,this.#d))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
28this.#E(),this.#d.setOptions(this.options),t._defaulted&&!(0,f.VS)(this.options,t)&&this.#r.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#d,observer:this});let r=this.hasListeners();r&&p(this.#d,n,this.options,t)&&this.#$(),this.updateResult(),r&&(this.#d!==n||(0,f.Nc)(this.options.enabled,this.#d)!==(0,f.Nc)(t.enabled,this.#d)||(0,f.KC)(this.options.staleTime,this.#d)!==(0,f.KC)(t.staleTime,this.#d))&&this.#R();let i=this.#S();r&&(this.#d!==n||(0,f.Nc)(this.options.enabled,this.#d)!==(0,f.Nc)(t.enabled,this.#d)||i!==this.#x)&&this.#O(i)}getOptimisticResult(e){let t=this.#r.getQueryCache().build(this.#r,e),n=this.createResult(t,e);return(0,f.VS)(this.getCurrentResult(),n)||(this.#b=n,this.#p=this.options,this.#h=this.#d.state),n}getCurrentResult(){return this.#b}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"!==n||(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#f.status||this.#f.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#P.add(e)}getCurrentQuery(){return this.#d}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#r.defaultQueryOptions(e),n=this.#r.getQueryCache().build(this.#r,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#$({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#b))}#$(e){this.#E();let t=this.#d.fetch(this.options,e);return e?.throwOnError||(t=t.catch(f.ZT)),t}#R(){this.#G();let e=(0,f.KC)(this.options.staleTime,this.#d);if(s.m.isServer()||this.#b.isStale||!(0,f.PN)(e))return;let t=(0,f.Kp)(this.#b.dataUpdatedAt,e);this.#v=d.mr.setTimeout(()=>{this.#b.isStale||this.updateResult()},t+1)}#S(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#d):this.options.refetchInterval)??!1}#O(e){this.#C(),this.#x=e,!s.m.isServer()&&!1!==(0,f.Nc)(this.options.enabled,this.#d)&&(0,f.PN)(this.#x)&&0!==this.#x&&(this.#w=d.mr.setInterval(()=>{(this.options.refetchIntervalInBackground||i.j.isFocused())&&this.#$()},this.#x))}#I(){this.#R(),this.#O(this.#S())}#G(){this.#v&&(d.mr.clearTimeout(this.#v),this.#v=void 0)}#C(){this.#w&&(d.mr.clearInterval(this.#w),this.#w=void 0)}createResult(e,t){let n;let r=this.#d,i=this.options,s=this.#b,a=this.#h,c=this.#p,d=e!==r?e.state:this.#l,{state:l}=e,h={...l},m=!1;if(t._optimisticResults){let n=this.hasListeners(),s=!n&&b(e,t),a=n&&p(e,r,t,i);(s||a)&&(h={...h,...(0,o.z)(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(h.fetchStatus="idle")}let{error:g,errorUpdatedAt:v,status:w}=h;n=h.data;let x=!1;if(void 0!==t.placeholderData&&void 0===n&&"pending"===w){let e;s?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(e=s.data,x=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#g?.state.data,this.#g):t.placeholderData,void 0!==e&&(w="success",n=(0,f.oE)(s?.data,e,t),m=!0)}if(t.select&&void 0!==n&&!x){if(s&&n===a?.data&&t.select===this.#y)n=this.#m;else try{this.#y=t.select,n=t.select(n),n=(0,f.oE)(s?.data,n,t),this.#m=n,this.#u=null}catch(e){this.#u=e}}this.#u&&(g=this.#u,n=this.#m,v=Date.now(),w="error");let P="fetching"===h.fetchStatus,$="pending"===w,I="error"===w,G=$&&P,C=void 0!==n,E={status:w,fetchStatus:h.fetchStatus,isPending:$,isSuccess:"success"===w,isError:I,isInitialLoading:G,isLoading:G,data:n,dataUpdatedAt:h.dataUpdatedAt,error:g,errorUpdatedAt:v,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:h.dataUpdateCount>d.dataUpdateCount||h.errorUpdateCount>d.errorUpdateCount,isFetching:P,isRefetching:P&&!$,isLoadingError:I&&!C,isPaused:"paused"===h.fetchStatus,isPlaceholderData:m,isRefetchError:I&&C,isStale:y(e,t),refetch:this.refetch,promise:this.#f,isEnabled:!1!==(0,f.Nc)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==E.data,n="error"===E.status&&!t,i=e=>{n?e.reject(E.error):t&&e.resolve(E.data)},s=()=>{i(this.#f=E.promise=(0,u.O)())},a=this.#f;
28switch(a.status){case"pending":e.queryHash===r.queryHash&&i(a);break;case"fulfilled":(n||E.data!==a.value)&&s();break;case"rejected":n&&E.error===a.reason||s()}}return E}updateResult(){let e=this.#b,t=this.createResult(this.#d,this.options);this.#h=this.#d.state,this.#p=this.options,void 0!==this.#h.data&&(this.#g=this.#d),(0,f.VS)(t,e)||(this.#b=t,this.#F({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#P.size)return!0;let r=new Set(n??this.#P);return this.options.throwOnError&&r.add("error"),Object.keys(this.#b).some(t=>this.#b[t]!==e[t]&&r.has(t))})()}))}#E(){let e=this.#r.getQueryCache().build(this.#r,this.options);if(e===this.#d)return;let t=this.#d;this.#d=e,this.#l=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#I()}#F(e){a.Vr.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#b)}),this.#r.getQueryCache().notify({query:this.#d,type:"observerResultsUpdated"})})}};function b(e,t){return!1!==(0,f.Nc)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)||void 0!==e.state.data&&h(e,t,t.refetchOnMount)}function h(e,t,n){if(!1!==(0,f.Nc)(t.enabled,e)&&"static"!==(0,f.KC)(t.staleTime,e)){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&y(e,t)}return!1}function p(e,t,n,r){return(e!==t||!1===(0,f.Nc)(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&y(e,n)}function y(e,t){return!1!==(0,f.Nc)(t.enabled,e)&&e.isStaleByTime((0,f.KC)(t.staleTime,e))}var m=n(2265),g=n(29827);n(57437);var v=m.createContext((r=!1,{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r})),w=()=>m.useContext(v),x=(e,t,n)=>{let r=(null==n?void 0:n.state.error)&&"function"==typeof e.throwOnError?(0,f.L3)(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&!t.isReset()&&(e.retryOnMount=!1)},P=e=>{m.useEffect(()=>{e.clearReset()},[e])},$=e=>{let{result:t,errorResetBoundary:n,throwOnError:r,query:i,suspense:s}=e;return t.isError&&!n.isReset()&&!t.isFetching&&i&&(s&&void 0===t.data||(0,f.L3)(r,[t.error,i]))},I=m.createContext(!1),G=()=>m.useContext(I);I.Provider;var C=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>t(n(...e)):t(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},E=(e,t)=>e.isLoading&&e.isFetching&&!t,R=(e,t)=>e?.suspense&&t.isPending,S=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()}),O=n(27534);function F(e){let t=function(e,t,n){var r,i,o,c;let u=G(),d=w(),l=(0,g.NL)(n),b=l.defaultQueryOptions(e);
28null===(i=l.getDefaultOptions().queries)||void 0===i||null===(r=i._experimental_beforeQuery)||void 0===r||r.call(i,b);let h=l.getQueryCache().get(b.queryHash);b._optimisticResults=u?"isRestoring":"optimistic",C(b),x(b,d,h),P(d);let p=!l.getQueryCache().get(b.queryHash),[y]=m.useState(()=>new t(l,b)),v=y.getOptimisticResult(b),I=!u&&!1!==e.subscribed;if(m.useSyncExternalStore(m.useCallback(e=>{let t=I?y.subscribe(a.Vr.batchCalls(e)):f.ZT;return y.updateResult(),t},[y,I]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),m.useEffect(()=>{y.setOptions(b)},[b,y]),R(b,v))throw S(b,y,d);if($({result:v,errorResetBoundary:d,throwOnError:b.throwOnError,query:h,suspense:b.suspense}))throw v.error;if(null===(c=l.getDefaultOptions().queries)||void 0===c||null===(o=c._experimental_afterQuery)||void 0===o||o.call(c,b,v),b.experimental_prefetchInRender&&!s.m.isServer()&&E(v,u)){let e=p?S(b,y,d):null==h?void 0:h.promise;null==e||e.catch(f.ZT).finally(()=>{y.updateResult()})}return b.notifyOnChangeProps?v:y.trackResult(v)}({...e,queryKeyHashFn:O.kq},l,void 0);return t.queryKey=e.queryKey,t}}}]);
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.