PageSourceSearch

https://vrf.paintswap.io/assets/index-pz9rD7gC.js

js paintswap.io collected 2026-09-25 21:24:33 UTC 42,077 bytes, 2 lines download raw bytes

1import{c0 as re,c1 as ne,c2 as Ve,c3 as $e,c4 as je,c5 as Re,c6 as We,c7 as Qt,c8 as es,c9 as X,b4 as Be,ca as ts,w as Ke,cb as Ze,cc as ss,cd as q,_ as rs,ce as he,cf as Je,aB as _,aU as R,aV as z,cg as H,aZ as Ye,ch as Xe,aT as ns,n as B,aW as as,aY as Qe,ci as os,cj as et,ck as V,cl as ae,cm as oe,cn as tt,B as ie,co as is,aX as be,cp as C,at as Ee,cq as cs,cr as us,cs as ds,ct as st,cu as rt,aS as b,cv as L,a_ as G,cw as nt,cx as at,cy as ot,cz as we,cA as Ie,cB as D,cC as k,j as U,aR as O,v as it,cD as ct,cE as $,cF as me,z as x,cG as j,t as W,ax as Te,cH as ut,cI as dt,cJ as M,cK as P,cL as pe,p as ft,cM as lt,cN as fs,cO as gt,cP as N,cQ as ht,cR as mt,cS as ls,cT as gs,cU as hs,cV as ms,cW as pt,cX as yt,cY as ps,cZ as ys,c_ as xs,c$ as bs,d0 as Es,d1 as ws,d2 as Is,d3 as xt,d4 as Ts,d5 as vs,d6 as Ps,d7 as As,d8 as Cs,u as Ss,d9 as ce,da as Fs,db as Rs,dc as bt,dd as Et,de as wt,df as It,dg as ye,dh as Tt,di as Bs,dj as ks,dk as Ls,dl as Us,dm as zs,aA as Ns,az as Gs,dn as _s,dp as Ds,dq as Ms,dr as Hs,aC as qs,aD as Os,aw as Vs,ds as $s,dt as js,du as Ws,dv as Ks,dw as Zs,dx as Js,dy as Ys,dz as Xs,dA as Qs,dB as er,dC as tr,dD as sr,dE as rr,dF as nr,dG as ar,dH as or,dI as ir,dJ as cr,dK as ur,dL as dr,dM as fr,dN as lr,dO as gr,dP as hr,dQ as mr,H as pr,dR as yr,dS as xr,dT as br,dU as Er,dV as wr,dW as Ir,dX as Tr,dY as vr,dZ as Pr,aE as Ar,d_ as Cr,d$ as Sr,e0 as Fr,e1 as Rr,e2 as Br,e3 as kr,e4 as Lr,e5 as Ur,e6 as zr,e7 as Nr,e8 as Gr,e9 as _r,ea as Dr,eb as Mr,ec as Hr,ed as qr,ee as Or,ef as Vr,eg as $r,eh as jr,ei as Wr,ej as Kr,ek as Zr,el as Jr,em as Yr,en as Xr,eo as Qr,ep as en,eq as tn,er as sn,es as rn,et as nn,eu as an,ev as on,S as cn,ew as un,ex as dn,ey as fn,ez as ln,eA as gn,eB as hn,eC as mn,eD as pn,eE as yn,eF as xn,eG as bn,eH as En,eI as wn,eJ as In,U as Tn,eK as vn,eL as Pn,eM as An,eN as Cn,eO as Sn,eP as Fn,eQ as Rn,eR as Bn,eS as kn,eT as Ln,eU as Un,eV as zn,q as Nn,eW as Gn,eX as _n,eY as Dn,eZ as Mn,e_ as Hn,e$ as qn,f0 as On,f1 as Vn,f2 as $n,y as jn,f3 as Wn,bN as Kn,f4 as Zn,f5 as Jn,f6 as Yn,f7 as Xn,f8 as Qn,e as ea,f9 as ta,fa as sa,fb as ra,fc as na,fd as aa,fe as oa,ff as ia,fg as ca,fh as ua,fi as da,fj as fa,ay as la,fk as ga,fl as ha,fm as ke,fn as Q,au as Le,fo as ma,fp as pa,fq as ya,fr as xa,fs as ba,ft as Ea,fu as wa,fv as Ia,fw as Ta,fx as va,fy as Pa,fz as Aa,fA as Ca,fB as Sa,fC as Fa,fD as Ra,fE as Ba,fF as ka,fG as La,fH as Ua,fI as za,fJ as Na,fK as Ga,fL as _a,fM as Da,fN as Ma,fO as Ha,fP as qa,fQ as Oa,fR as Va,fS as $a,fT as ja,fU as Wa,fV as Ka,fW as Za,fX as Ja,fY as Ya,fZ as Xa,f_ as Qa,f$ as eo,g0 as to,g1 as so,g2 as ro,g3 as no,g4 as ao,g5 as oo,g6 as io,g7 as co,g8 as uo,g9 as fo,ga as lo,gb as go,gc as ho,gd as mo,ge as po,gf as yo,gg as xo,gh as bo,gi as Eo,gj as wo,gk as Io,gl as To,gm as vo,gn as Po,go as Ao,gp as Co,gq as So,gr as Fo,gs as Ro,gt as Bo,gu as ko,gv as Lo,gw as Uo,gx as zo,gy as No,gz as Go,gA as _o,gB as Do,gC as Mo,gD as Ho,gE as qo,gF as Oo,gG as Vo,gH as $o,gI as jo,gJ as Wo,gK as Ko,gL as Zo,gM as Jo,gN as Yo,gO as Xo,gP as Qo,gQ as ei,gR as ti,gS as si,gT as ri,gU as ni,gV as ai,gW as oi,gX as ii,gY as ci,gZ as ui,g_ as di,g$ as fi,h0 as li,h1 as gi,h2 as hi,h3 as mi,h4 as pi,h5 as yi,h6 as xi,h7 as bi,h8 as Ei,s as wi,h9 as Ii,ha as Ue,hb as Ti,hc as vi,hd as Pi,he as Ai,hf as Ci,hg as Si}from"./index-BotayQlf.js";import{i as vt,s as Pt,c as At,g as Ct,w as St,e as Ft,v as Fi,a as Ri,b as Bi,d as ki,f as Li,h as Ui,j as ze,k as zi,l as Ni,m as Gi,n as _i,o as Di,p as Mi,q as Hi,r as qi,t as Oi,u as Vi,x as $i,y as ji,z as Ne,A as Wi,B as Ki,C as Zi,D as Ji,E as Yi,F as Xi,G as Qi,H as ec,I as tc,J as sc,K as rc,L as nc,M as ac,N as oc,O as ic,P as cc,Q as uc,R as dc,S as fc,T as lc,U as gc,V as hc,W as mc,X as pc,Y as yc,Z as xc,_ as bc,$ as Ec,a0 as wc,a1 as Ic,a2 as Tc,a3 as vc,a4 as Pc,a5 as Ac,a6 as Cc,a7 as Sc,a8 as Fc,a9 as Rc,aa as Bc,ab as kc,ac as Lc,ad as Uc,ae as zc,af as Nc,ag as Gc,ah as _c,ai as Dc,aj as Mc,ak as Hc,al as qc,am as Oc,an as Vc,ao as $c,ap as jc,aq as Wc,ar as Kc,as as Zc,at as Jc,au as Yc,av as Xc,aw as Qc,ax as eu,ay as tu,az as Ge,aA as su,aB as ru}from"./index-jff6Q1sR.js";
1import{h as ve,a as Rt,I as nu,b as au,c as ou,d as iu,g as cu,e as uu,f as du,p as fu,s as lu,t as gu,v as hu}from"./hashMessage-Cb52hJ_l.js";import{d as mu,e as pu,b as yu}from"./localBatchGatewayRequest-D7m31eWM.js";import{secp256k1 as Pe}from"./secp256k1-CcHJtFuE.js";import{ccipRequest as _e,offchainLookup as xu,offchainLookupAbiItem as bu,offchainLookupSignature as Eu}from"./ccip-krPKlW3q.js";import{p as wu}from"./parseEther-DG1JhhSf.js";function Iu(t){let e;if(typeof t=="string")e=re(t,{modifiers:ne});else{const r=Ve(t),s=t.length;for(let n=0;n<s;n++){const a=t[n];if(!$e(a)){e=re(a,{modifiers:ne,structs:r});break}}}if(!e)throw new je({param:t});return e}function Tu(t){const e=[];if(typeof t=="string"){const r=Re(t),s=r.length;for(let n=0;n<s;n++)e.push(re(r[n],{modifiers:ne}))}else{const r=Ve(t),s=t.length;for(let n=0;n<s;n++){const a=t[n];if($e(a))continue;const i=Re(a),u=i.length;for(let c=0;c<u;c++)e.push(re(i[c],{modifiers:ne,structs:r}))}}if(e.length===0)throw new We({params:t});return e}const vu=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Bt=Uint8Array.from(new Array(16).fill(0).map((t,e)=>e)),Pu=Bt.map(t=>(9*t+5)%16),kt=(()=>{const r=[[Bt],[Pu]];for(let s=0;s<4;s++)for(let n of r)n.push(n[s].map(a=>vu[a]));return r})(),Lt=kt[0],Ut=kt[1],zt=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(t=>Uint8Array.from(t)),Au=Lt.map((t,e)=>t.map(r=>zt[e][r])),Cu=Ut.map((t,e)=>t.map(r=>zt[e][r])),Su=Uint32Array.from([0,1518500249,1859775393,2400959708,2840853838]),Fu=Uint32Array.from([1352829926,1548603684,1836072691,2053994217,0]);function De(t,e,r,s){return t===0?e^r^s:t===1?e&r|~e&s:t===2?(e|~r)^s:t===3?e&s|r&~s:e^(r|~s)}const ee=new Uint32Array(16);class Ru extends es{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:r,h2:s,h3:n,h4:a}=this;return[e,r,s,n,a]}set(e,r,s,n,a){this.h0=e|0,this.h1=r|0,this.h2=s|0,this.h3=n|0,this.h4=a|0}process(e,r){for(let d=0;d<16;d++,r+=4)ee[d]=e.getUint32(r,!0);let s=this.h0|0,n=s,a=this.h1|0,i=a,u=this.h2|0,c=u,o=this.h3|0,l=o,f=this.h4|0,g=f;for(let d=0;d<5;d++){const h=4-d,p=Su[d],E=Fu[d],v=Lt[d],w=Ut[d],A=Au[d],T=Cu[d];for(let m=0;m<16;m++){const y=X(s+De(d,a,u,o)+ee[v[m]]+p,A[m])+f|0;s=f,f=o,o=X(u,10)|0,u=a,a=y}for(let m=0;m<16;m++){const y=X(n+De(h,i,c,l)+ee[w[m]]+E,T[m])+g|0;n=g,g=l,l=X(c,10)|0,c=i,i=y}}this.set(this.h1+u+l|0,this.h2+o+g|0,this.h3+f+n|0,this.h4+s+i|0,this.h0+a+c|0)}roundClean(){Be(ee)}destroy(){this.destroyed=!0,Be(this.buffer),this.set(0,0,0,0,0)}}const Bu=Qt(()=>new Ru),ku=Bu;function Lu({chains:t,id:e}){return t.find(r=>r.id===e)}const fe=new Map;async function Uu(t){const{getSocket:e,keepAlive:r=!0,key:s="socket",reconnect:n=!0,url:a}=t,{interval:i=3e4}=typeof r=="object"?r:{},{attempts:u=5,delay:c=2e3}=typeof n=="object"?n:{};let o=fe.get(`${s}:${a}`);if(o)return o;let l=0;const{schedule:f}=ts({id:`${s}:${a}`,fn:async()=>{const h=new Map,p=new Map;let E,v,w;async function A(){const T=await e({onClose(){var m,y;for(const I of h.values())(m=I.onError)==null||m.call(I,new q({url:a}));for(const I of p.values())(y=I.onError)==null||y.call(I,new q({url:a}));n&&l<u?setTimeout(async()=>{l++,await A().catch(console.error)},c):(h.clear(),p.clear())},onError(m){var y,I;E=m;for(const S of h.values())(y=S.onError)==null||y.call(S,E);for(const S of p.values())(I=S.onError)==null||I.call(S,E);o==null||o.close(),n&&l<u?setTimeout(async()=>{l++,await A().catch(console.error)},c):(h.clear(),p.clear())},onOpen(){E=void 0,l=0},onResponse(m){const y=m.method==="eth_subscription",I=y?m.params.subscription:m.id,S=y?p:h,F=S.get(I);F&&F.onResponse(m),y||S.delete(I)}});return v=T,r&&(w&&clearInterval(w),w=setInterval(()=>{var m;return(m=v.ping)==null?void 0:m.call(v)},i)),T}return await A(),E=void 0,o={close(){w&&clearInterval(w),v.close(),fe.delete(`${s}:${a}`)},get socket(){return v},request({body:T,onError:m,onResponse:y}){E&&m&&m(E);const I=T.id??ss.take(),S=F=>{var Fe;typeof F.id=="number"&&I!==F.id||(T.method==="eth_subscribe"&&typeof F.result=="string"&&p.set(F.result,{onResponse:S,onError:m}),T.method==="eth_unsubscribe"&&p.delete((Fe=T.params)==null?void 0:Fe[0]),y(F))};h.set(I,{onResponse:S,onError:m});try{v.request({body:{jsonrpc:"2.0",id:I,...T}})}catch(F){m==null||m(F)}},requestAsync({body:T,timeout:m=1e4}){return Ke(()=>new Promise((y,I)=>this.request({body:T,onError:I,onResponse:y})),{errorInstance:new Ze({body:T,url:a}),timeout:m})},requests:h,subscriptions:p,url:a},fe.set(`${s}:${a}`,o),[o]}}),[g,[d]]=await f();return d}async function se(t,e={}){const{keepAlive:r,reconnect:s}=e;return Uu({async getSocket({onClose:n,onError:a,onOpen:i,onResponse:u}){const c=await rs(()=>import("./native-CJ5et6AR.js"),[]).then(d=>d.WebSocket),o=new c(t);function l(){o.removeEventListener("close",l),o.removeEventListener("message",f),o.removeEventListener("error",a),o.removeEventListener("open",i),n()}function f({data:d}){try{const h=JSON.parse(d);u(h)}catch(h){a(h)}}o.addEventListener("close",l),o.addEventListener("message",f),o.addEventListener("error",a),o.addEventListener("open",i),o.readyState===c.CONNECTING&&await new Promise((d,h)=>{o&&(o.onopen=d,o.onerror=h)});const{close:g}=o;return Object.assign(o,{close(){g.bind(o)(),l()}
1,ping(){try{if(o.readyState===o.CLOSED||o.readyState===o.CLOSING)throw new he({url:o.url,cause:new q({url:o.url})});const d={jsonrpc:"2.0",method:"net_version",params:[]};o.send(JSON.stringify(d))}catch(d){a(d)}},request({body:d}){if(o.readyState===o.CLOSED||o.readyState===o.CLOSING)throw new he({body:d,url:o.url,cause:new q({url:o.url})});return o.send(JSON.stringify(d))}})},keepAlive:r,reconnect:s,url:t})}async function zu(t){const e=await se(t);return Object.assign(e.socket,{requests:e.requests,subscriptions:e.subscriptions})}function Nu(t,e){if(t.length!==e.length)throw new Je({expectedLength:t.length,givenLength:e.length});const r=[];for(let s=0;s<t.length;s++){const n=t[s],a=e[s];r.push(Nt(n,a))}return _(r)}function Nt(t,e,r=!1){if(t==="address"){const i=e;if(!R(i))throw new z({address:i});return H(i.toLowerCase(),{size:r?32:null})}if(t==="string")return Ye(e);if(t==="bytes")return e;if(t==="bool")return H(Xe(e),{size:r?32:1});const s=t.match(ns);if(s){const[i,u,c="256"]=s,o=Number.parseInt(c)/8;return B(e,{size:r?32:o,signed:u==="int"})}const n=t.match(as);if(n){const[i,u]=n;if(Number.parseInt(u)!==(e.length-2)/2)throw new Qe({expectedSize:Number.parseInt(u),givenSize:(e.length-2)/2});return H(e,{dir:"right",size:r?32:null})}const a=t.match(os);if(a&&Array.isArray(e)){const[i,u]=a,c=[];for(let o=0;o<e.length;o++)c.push(Nt(u,e[o],!0));return c.length===0?"0x":_(c)}throw new et(t)}function Gt(t){const{authorizationList:e}=t;if(e)for(const r of e){const{chainId:s}=r,n=r.address;if(!R(n))throw new z({address:n});if(s<0)throw new V({chainId:s})}K(t)}function _t(t){const{blobVersionedHashes:e}=t;if(e){if(e.length===0)throw new is;for(const r of e){const s=be(r),n=C(Ee(r,0,1));if(s!==32)throw new cs({hash:r,size:s});if(n!==us)throw new ds({hash:r,version:n})}}K(t)}function K(t){const{chainId:e,maxPriorityFeePerGas:r,maxFeePerGas:s,to:n}=t;if(e<=0)throw new V({chainId:e});if(n&&!R(n))throw new z({address:n});if(s&&s>ae)throw new oe({maxFeePerGas:s});if(r&&s&&r>s)throw new tt({maxFeePerGas:s,maxPriorityFeePerGas:r})}function Ae(t){const{chainId:e,maxPriorityFeePerGas:r,gasPrice:s,maxFeePerGas:n,to:a}=t;if(e<=0)throw new V({chainId:e});if(a&&!R(a))throw new z({address:a});if(r||n)throw new ie("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(s&&s>ae)throw new oe({maxFeePerGas:s})}function Ce(t){const{chainId:e,maxPriorityFeePerGas:r,gasPrice:s,maxFeePerGas:n,to:a}=t;if(a&&!R(a))throw new z({address:a});if(typeof e<"u"&&e<=0)throw new V({chainId:e});if(r||n)throw new ie("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(s&&s>ae)throw new oe({maxFeePerGas:s})}function Z(t){if(!t||t.length===0)return[];const e=[];for(let r=0;r<t.length;r++){const{address:s,storageKeys:n}=t[r];for(let a=0;a<n.length;a++)if(n[a].length-2!==64)throw new st({storageKey:n[a]});if(!R(s,{strict:!1}))throw new z({address:s});e.push([s,n])}return e}function Dt(t,e){const r=rt(t);return r==="eip1559"?Du(t,e):r==="eip2930"?Mu(t,e):r==="eip4844"?_u(t,e):r==="eip7702"?Gu(t,e):Hu(t,e)}function Gu(t,e){const{authorizationList:r,chainId:s,gas:n,nonce:a,to:i,value:u,maxFeePerGas:c,maxPriorityFeePerGas:o,accessList:l,data:f}=t;Gt(t);const g=Z(l),d=qu(r);return _(["0x04",L([b(s),a?b(a):"0x",o?b(o):"0x",c?b(c):"0x",n?b(n):"0x",i??"0x",u?b(u):"0x",f??"0x",g,d,...J(t,e)])])}function _u(t,e){const{chainId:r,gas:s,nonce:n,to:a,value:i,maxFeePerBlobGas:u,maxFeePerGas:c,maxPriorityFeePerGas:o,accessList:l,data:f}=t;_t(t);let g=t.blobVersionedHashes,d=t.sidecars;if(t.blobs&&(typeof g>"u"||typeof d>"u")){const A=typeof t.blobs[0]=="string"?t.blobs:t.blobs.map(y=>G(y)),T=t.kzg,m=nt({blobs:A,kzg:T});if(typeof g>"u"&&(g=at({commitments:m})),typeof d>"u"){const y=ot({blobs:A,commitments:m,kzg:T});d=we({blobs:A,commitments:m,proofs:y})}}const h=Z(l),p=[b(r),n?b(n):"0x",o?b(o):"0x",c?b(c):"0x",s?b(s):"0x",a??"0x",i?b(i):"0x",f??"0x",h,u?b(u):"0x",g??[],...J(t,e)],E=[],v=[],w=[];if(d)for(let A=0;A<d.length;A++){const{blob:T,commitment:m,proof:y}=d[A];E.push(T),v.push(m),w.push(y)}return _(["0x03",d?L([p,E,v,w]):L(p)])}function Du(t,e){const{chainId:r,gas:s,nonce:n,to:a,value:i,maxFeePerGas:u,maxPriorityFeePerGas:c,accessList:o,data:l}=t;K(t);const f=Z(o),g=[b(r),n?b(n):"0x",c?b(c):"0x",u?b(u):"0x",s?b(s):"0x",a??"0x",i?b(i):"0x",l??"0x",f,...J(t,e)];return _(["0x02",L(g)])}function Mu(t,e){const{chainId:r,gas:s,data:n,nonce:a,to:i,value:u,accessList:c,gasPrice:o}=t;Ae(t);const l=Z(c),f=[b(r),a?b(a):"0x",o?b(o):"0x",s?b(s):"0x",i??"0x",u?b(u):"0x",n??"0x",l,...J(t,e)];return _(["0x01",L(f)])}function Hu(t,e){const{chainId:r=0,gas:s,data:n,nonce:a,to:i,value:u,gasPrice:c}=t;Ce(t);let o=[a?b(a):"0x",c?b(c):"0x",s?b(s):"0x",i??"0x",u?b(u):"0x",n??"0x"];if(e){const l=(()=>
1{if(e.v>=35n)return(e.v-35n)/2n>0?e.v:27n+(e.v===35n?0n:1n);if(r>0)return BigInt(r*2)+BigInt(35n+e.v-27n);const d=27n+(e.v===27n?0n:1n);if(e.v!==d)throw new Ie({v:e.v});return d})(),f=D(e.r),g=D(e.s);o=[...o,b(l),f==="0x00"?"0x":f,g==="0x00"?"0x":g]}else r>0&&(o=[...o,b(r),"0x","0x"]);return L(o)}function J(t,e){const r=e??t,{v:s,yParity:n}=r;if(typeof r.r>"u")return[];if(typeof r.s>"u")return[];if(typeof s>"u"&&typeof n>"u")return[];const a=D(r.r),i=D(r.s);return[typeof n=="number"?n?b(1):"0x":s===0n?"0x":s===1n?b(1):s===27n?"0x":b(1),a==="0x00"?"0x":a,i==="0x00"?"0x":i]}function qu(t){if(!t||t.length===0)return[];const e=[];for(const r of t){const{chainId:s,nonce:n,...a}=r,i=r.address;e.push([s?b(s):"0x",i,n?b(n):"0x",...J({},a)])}return e}function xe(t){return!t||typeof t!="object"||!("BYTES_PER_ELEMENT"in t)?!1:t.BYTES_PER_ELEMENT===1&&t.constructor.name==="Uint8Array"}function Ou(t){return t.opcode==="CREATE2"?Ht(t):Mt(t)}function Mt(t){const e=k(U(t.from));let r=k(t.nonce);return r[0]===0&&(r=new Uint8Array([])),U(`0x${O(L([e,r],"bytes")).slice(26)}`)}function Ht(t){const e=k(U(t.from)),r=H(xe(t.salt)?t.salt:k(t.salt),{size:32}),s="bytecodeHash"in t?xe(t.bytecodeHash)?t.bytecodeHash:k(t.bytecodeHash):O(t.bytecode,"bytes");return U(Ee(O(it([k("0xff"),e,r,s])),12))}function Se(t,e="hex"){const r=(()=>{if(typeof t=="string"){if(t.length>3&&t.length%2!==0)throw new ct(t);return $(t)}return t})(),s=me(r,{recursiveReadLimit:Number.POSITIVE_INFINITY});return qt(s,e)}function qt(t,e="hex"){if(t.bytes.length===0)return e==="hex"?G(t.bytes):t.bytes;const r=t.readByte();if(r<128&&t.decrementPosition(1),r<192){const n=Me(t,r,128),a=t.readBytes(n);return e==="hex"?G(a):a}const s=Me(t,r,192);return Vu(t,s,e)}function Me(t,e,r){if(r===128&&e<128)return 1;if(e<=r+55)return e-r;if(e===r+55+1)return t.readUint8();if(e===r+55+2)return t.readUint16();if(e===r+55+3)return t.readUint24();if(e===r+55+4)return t.readUint32();throw new ie("Invalid RLP prefix")}function Vu(t,e,r){const s=t.position,n=[];for(;t.position-s<e;)n.push(qt(t,r));return n}function Ot(t){return x(t)&&be(t)===32}function $u(t,e){const r=e||"hex",s=ku(x(t,{strict:!1})?k(t):t);return r==="bytes"?s:b(s)}async function Vt({message:t,signature:e}){return j({hash:ve(t),signature:e})}async function $t(t){const{domain:e,message:r,primaryType:s,signature:n,types:a}=t;return j({hash:Rt({domain:e,message:r,primaryType:s,types:a}),signature:n})}async function ju({address:t,hash:e,signature:r}){return W(U(t),await j({hash:e,signature:r}))}async function Wu({address:t,message:e,signature:r}){return W(U(t),await Vt({message:e,signature:r}))}async function Ku(t){const{address:e,domain:r,message:s,primaryType:n,signature:a,types:i}=t;return W(U(e),await $t({domain:r,message:s,primaryType:n,signature:a,types:i}))}function Zu(t){if(!vt(t))return{signature:t};const[e,r,s]=Te([{type:"address"},{type:"bytes"},{type:"bytes"}],t);return{address:e,data:r,signature:s}}function jt(t){const e=ut(t,0,1);if(e==="0x04")return"eip7702";if(e==="0x03")return"eip4844";if(e==="0x02")return"eip1559";if(e==="0x01")return"eip2930";if(e!=="0x"&&C(e)>=192)return"legacy";throw new dt({serializedType:e})}function Wt(t){const e=jt(t);return e==="eip1559"?Xu(t):e==="eip2930"?Qu(t):e==="eip4844"?Yu(t):e==="eip7702"?Ju(t):ed(t)}function Ju(t){const e=ue(t),[r,s,n,a,i,u,c,o,l,f,g,d,h]=e;if(e.length!==10&&e.length!==13)throw new M({attributes:{chainId:r,nonce:s,maxPriorityFeePerGas:n,maxFeePerGas:a,gas:i,to:u,value:c,data:o,accessList:l,authorizationList:f,...e.length>9?{v:g,r:d,s:h}:{}},serializedTransaction:t,type:"eip7702"});const p={chainId:C(r),type:"eip7702"};return x(u)&&u!=="0x"&&(p.to=u),x(i)&&i!=="0x"&&(p.gas=P(i)),x(o)&&o!=="0x"&&(p.data=o),x(s)&&(p.nonce=s==="0x"?0:C(s)),x(c)&&c!=="0x"&&(p.value=P(c)),x(a)&&a!=="0x"&&(p.maxFeePerGas=P(a)),x(n)&&n!=="0x"&&(p.maxPriorityFeePerGas=P(n)),l.length!==0&&l!=="0x"&&(p.accessList=de(l)),f.length!==0&&f!=="0x"&&(p.authorizationList=td(f)),Gt(p),{...e.length===13?Y(e):void 0,...p}}function Yu(t){const e=ue(t),r=e.length===4,s=r?e[0]:e,n=r?e.slice(1):[],[a,i,u,c,o,l,f,g,d,h,p,E,v,w]=s,[A,T,m]=n;if(!(s.length===11||s.length===14))throw new M({attributes:{chainId:a,nonce:i,maxPriorityFeePerGas:u,maxFeePerGas:c,gas:o,to:l,value:f,data:g,accessList:d,...s.length>9?{v:E,r:v,s:w}:{}},serializedTransaction:t,type:"eip4844"});const y={blobVersionedHashes:p,chainId:C(a),type:"eip4844"};return x(l)&&l!=="0x"&&(y.to=l),x(o)&&o!=="0x"&&(y.gas=P(o)),x(g)&&g!=="0x"&&(y.data=g),x(i)&&(y.nonce=i==="0x"?0:C(i)),x(f)&&f!=="0x"&&(y.value=P(f)),x(h)&&h!=="0x"&&(y.maxFeePerBlobGas=P(h)),x(c)&&c!=="0x"&&(y.maxFeePerGas=P(c)),x(u)&&u!=="0x"&&(y.maxPriorityFeePerGas=P(u)),d.length!==0&&d!=="0x"&&(y.accessList=de(d)),A&&T&&m&&(y.sidecars=we({blobs:A,commitments:T,proofs:m}
1)),_t(y),{...s.length===14?Y(s):void 0,...y}}function Xu(t){const e=ue(t),[r,s,n,a,i,u,c,o,l,f,g,d]=e;if(!(e.length===9||e.length===12))throw new M({attributes:{chainId:r,nonce:s,maxPriorityFeePerGas:n,maxFeePerGas:a,gas:i,to:u,value:c,data:o,accessList:l,...e.length>9?{v:f,r:g,s:d}:{}},serializedTransaction:t,type:"eip1559"});const h={chainId:C(r),type:"eip1559"};return x(u)&&u!=="0x"&&(h.to=u),x(i)&&i!=="0x"&&(h.gas=P(i)),x(o)&&o!=="0x"&&(h.data=o),x(s)&&(h.nonce=s==="0x"?0:C(s)),x(c)&&c!=="0x"&&(h.value=P(c)),x(a)&&a!=="0x"&&(h.maxFeePerGas=P(a)),x(n)&&n!=="0x"&&(h.maxPriorityFeePerGas=P(n)),l.length!==0&&l!=="0x"&&(h.accessList=de(l)),K(h),{...e.length===12?Y(e):void 0,...h}}function Qu(t){const e=ue(t),[r,s,n,a,i,u,c,o,l,f,g]=e;if(!(e.length===8||e.length===11))throw new M({attributes:{chainId:r,nonce:s,gasPrice:n,gas:a,to:i,value:u,data:c,accessList:o,...e.length>8?{v:l,r:f,s:g}:{}},serializedTransaction:t,type:"eip2930"});const d={chainId:C(r),type:"eip2930"};return x(i)&&i!=="0x"&&(d.to=i),x(a)&&a!=="0x"&&(d.gas=P(a)),x(c)&&c!=="0x"&&(d.data=c),x(s)&&(d.nonce=s==="0x"?0:C(s)),x(u)&&u!=="0x"&&(d.value=P(u)),x(n)&&n!=="0x"&&(d.gasPrice=P(n)),o.length!==0&&o!=="0x"&&(d.accessList=de(o)),Ae(d),{...e.length===11?Y(e):void 0,...d}}function ed(t){const e=Se(t,"hex"),[r,s,n,a,i,u,c,o,l]=e;if(!(e.length===6||e.length===9))throw new M({attributes:{nonce:r,gasPrice:s,gas:n,to:a,value:i,data:u,...e.length>6?{v:c,r:o,s:l}:{}},serializedTransaction:t,type:"legacy"});const f={type:"legacy"};
1if(x(a)&&a!=="0x"&&(f.to=a),x(n)&&n!=="0x"&&(f.gas=P(n)),x(u)&&u!=="0x"&&(f.data=u),x(r)&&(f.nonce=r==="0x"?0:C(r)),x(i)&&i!=="0x"&&(f.value=P(i)),x(s)&&s!=="0x"&&(f.gasPrice=P(s)),Ce(f),e.length===6)return f;const g=x(c)&&c!=="0x"?P(c):0n;if(l==="0x"&&o==="0x")return g>0&&(f.chainId=Number(g)),f;const d=g,h=Number((d-35n)/2n);if(h>0)f.chainId=h;else if(d!==27n&&d!==28n)throw new Ie({v:d});return f.v=d,f.s=l,f.r=o,f.yParity=d%2n===0n?1:0,f}function ue(t){return Se(`0x${t.slice(4)}`,"hex")}function de(t){const e=[];for(let r=0;r<t.length;r++){const[s,n]=t[r];if(!R(s,{strict:!1}))throw new z({address:s});e.push({address:s,storageKeys:n.map(a=>Ot(a)?a:D(a))})}return e}function td(t){const e=[];for(let r=0;r<t.length;r++){const[s,n,a,i,u,c]=t[r];e.push({address:n,chainId:C(s),nonce:C(a),...Y([i,u,c])})}return e}function Y(t){const e=t.slice(-3),r=e[0]==="0x"||P(e[0])===0n?27n:28n;return{r:pe(e[1],{size:32}),s:pe(e[2],{size:32}),v:r,yParity:r===27n?0:1}}function sd(t,e="wei"){return ft(t,lt[e])}function Kt(t){const{source:e}=t,r=new Map,s=new fs(8192),n=new Map,a=({address:i,chainId:u})=>`${i}.${u}`;return{async consume({address:i,chainId:u,client:c}){const o=a({address:i,chainId:u}),l=this.get({address:i,chainId:u,client:c});this.increment({address:i,chainId:u});const f=await l;return await e.set({address:i,chainId:u},f),s.set(o,f),f},async increment({address:i,chainId:u}){const c=a({address:i,chainId:u}),o=r.get(c)??0;r.set(c,o+1)},async get({address:i,chainId:u,client:c}){const o=a({address:i,chainId:u});let l=n.get(o);return l||(l=(async()=>{try{const g=await e.get({address:i,chainId:u,client:c}),d=s.get(o)??0;return d>0&&g<=d?d+1:(s.delete(o),g)}finally{this.reset({address:i,chainId:u})}})(),n.set(o,l)),(r.get(o)??0)+await l},reset({address:i,chainId:u}){const c=a({address:i,chainId:u});r.delete(c),n.delete(c)}}}function rd(){return{async get(t){const{address:e,client:r}=t;return gt(r,{address:e,blockTag:"pending"})},set(){}}}const nd=Kt({source:rd()});function ad({abi:t,address:e,client:r}){const s=r,[n,a]=s?"public"in s&&"wallet"in s?[s.public,s.wallet]:"public"in s?[s.public,void 0]:"wallet"in s?[void 0,s.wallet]:[s,s]:[void 0,void 0],i=n!=null,u=a!=null,c={};let o=!1,l=!1,f=!1;for(const g of t)if(g.type==="function"?g.stateMutability==="view"||g.stateMutability==="pure"?o=!0:l=!0:g.type==="event"&&(f=!0),o&&l&&f)break;return i&&(o&&(c.read=new Proxy({},{get(g,d){return(...h)=>{const{args:p,options:E}=te(h);return N(n,ht,"readContract")({abi:t,address:e,functionName:d,args:p,...E})}}})),l&&(c.simulate=new Proxy({},{get(g,d){return(...h)=>{const{args:p,options:E}=te(h);return N(n,Pt,"simulateContract")({abi:t,address:e,functionName:d,args:p,...E})}}})),f&&(c.createEventFilter=new Proxy({},{get(g,d){return(...h)=>{const p=t.find(w=>w.type==="event"&&w.name===d),{args:E,options:v}=le(h,p);return N(n,At,"createContractEventFilter")({abi:t,address:e,eventName:d,args:E,...v})}}}),c.getEvents=new Proxy({},{get(g,d){return(...h)=>{const p=t.find(w=>w.type==="event"&&w.name===d),{args:E,options:v}=le(h,p);return N(n,Ct,"getContractEvents")({abi:t,address:e,eventName:d,args:E,...v})}}}),c.watchEvent=new Proxy({},{get(g,d){return(...h)=>{const p=t.find(w=>w.type==="event"&&w.name===d),{args:E,options:v}=le(h,p);return N(n,St,"watchContractEvent")({abi:t,address:e,eventName:d,args:E,...v})}}}))),u&&l&&(c.write=new Proxy({},{get(g,d){return(...h)=>{const{args:p,options:E}=te(h);return N(a,mt,"writeContract")({abi:t,address:e,functionName:d,args:p,...E})}}})),(i||u)&&l&&(c.estimateGas=new Proxy({},{get(g,d){return(...h)=>{const{args:p,options:E}=te(h);return N(n??a,Ft,"estimateContractGas")({abi:t,address:e,functionName:d,args:p,...E,account:E.account??a.account})}}})),c.address=e,c.abi=t,c}function te(t){const e=t.length&&Array.isArray(t[0]),r=e?t[0]:[],s=(e?t[1]:t[0])??{};return{args:r,options:s}}function le(t,e){let r=!1;Array.isArray(t[0])?r=!0:t.length===1?r=e.inputs.some(a=>a.indexed):t.length===2&&(r=!0);const s=r?t[0]:void 0,n=(r?t[1]:t[0])??{};return{args:s,options:n}}function od(t){var f,g,d;const{scheme:e,statement:r,...s}=((f=t.match(id))==null?void 0:f.groups)??{},{chainId:n,expirationTime:a,issuedAt:i,notBefore:u,requestId:c,...o}=((g=t.match(cd))==null?void 0:g.groups)??{},l=(d=t.split("Resources:")[1])==null?void 0:d.split(`
2- `).slice(1);return{...s,...o,...n?{chainId:Number(n)}:{},...a?{expirationTime:new Date(a)}:{},...i?{issuedAt:new Date(i)}:{},...u?{notBefore:new Date(u)}:{},...c?{requestId:c}:{},...l?{resources:l}:{},...e?{scheme:e}:{},...r?{statement:r}:{}}}const id=/^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/,cd=/(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;function ud(t){const{address:e,domain:r,message:s,nonce:n,scheme:a,time:i=new Date}=t;if(r&&s.domain!==r||n&&s.nonce!==n||a&&s.scheme!==a||s.expirationTime&&i>=s.expirationTime||s.notBefore&&i<s.notBefore)return!1;try{if(!s.address||!R(s.address,{strict:!1})||e&&!W(s.address,e))return!1}catch{return!1}return!0}async function dd(t,e){const{address:r,domain:s,message:n,nonce:a,scheme:i,signature:u,time:c=new Date,...o}=e,l=od(n);if(!l.address||!ud({address:r,domain:s,message:l,nonce:a,scheme:i,time:c}))return!1;const g=ve(n);return Fi(t,{address:l.address,hash:g,signature:u,...o})}function Zt(t){return{call:e=>Ss(t,e),createAccessList:e=>Yi(t,e),createBlockFilter:()=>Ji(t),createContractEventFilter:e=>At(t,e),createEventFilter:e=>Zi(t,e),createPendingTransactionFilter:()=>Cs(t),estimateContractGas:e=>Ft(t,e),estimateGas:e=>As(t,e),getBalance:e=>Ps(t,e),getBlobBaseFee:()=>Ki(t),getBlock:e=>vs(t,e),getBlockNumber:e=>Ts(t,e),getBlockTransactionCount:e=>Wi(t,e),getBytecode:e=>Ne(t,e),getChainId:()=>xt(t),getCode:e=>Ne(t,e),getContractEvents:e=>Ct(t,e),getEip712Domain:e=>ji(t,e),getEnsAddress:e=>$i(t,e),getEnsAvatar:e=>Vi(t,e),getEnsName:e=>Oi(t,e),getEnsResolver:e=>qi(t,e),getEnsText:e=>Hi(t,e),getFeeHistory:e=>
2Mi(t,e),estimateFeesPerGas:e=>Is(t,e),getFilterChanges:e=>ws(t,e),getFilterLogs:e=>Di(t,e),getGasPrice:()=>Es(t),getLogs:e=>_i(t,e),getProof:e=>Gi(t,e),estimateMaxPriorityFeePerGas:e=>bs(t,e),getStorageAt:e=>Ni(t,e),getTransaction:e=>xs(t,e),getTransactionConfirmations:e=>zi(t,e),getTransactionCount:e=>gt(t,e),getTransactionReceipt:e=>ys(t,e),multicall:e=>ps(t,e),prepareTransactionRequest:e=>yt(t,e),readContract:e=>ht(t,e),sendRawTransaction:e=>pt(t,e),simulate:e=>ze(t,e),simulateBlocks:e=>ze(t,e),simulateCalls:e=>Ui(t,e),simulateContract:e=>Pt(t,e),verifyMessage:e=>Li(t,e),verifySiweMessage:e=>dd(t,e),verifyTypedData:e=>ki(t,e),uninstallFilter:e=>ms(t,e),waitForTransactionReceipt:e=>hs(t,e),watchBlocks:e=>Bi(t,e),watchBlockNumber:e=>gs(t,e),watchContractEvent:e=>St(t,e),watchEvent:e=>Ri(t,e),watchPendingTransactions:e=>ls(t,e)}}function fd(t){const{key:e="public",name:r="Public Client"}=t;return ce({...t,key:e,name:r,type:"publicClient"}).extend(Zt)}function Jt({mode:t}){return e=>{const r=e.extend(()=>({mode:t}));return{dropTransaction:s=>Cc(r,s),dumpState:()=>Ac(r),getAutomine:()=>Pc(r),getTxpoolContent:()=>vc(r),getTxpoolStatus:()=>Tc(r),impersonateAccount:s=>Ic(r,s),increaseTime:s=>wc(r,s),inspectTxpool:()=>Ec(r),loadState:s=>bc(r,s),mine:s=>xc(r,s),removeBlockTimestampInterval:()=>yc(r),reset:s=>pc(r,s),revert:s=>mc(r,s),sendUnsignedTransaction:s=>hc(r,s),setAutomine:s=>gc(r,s),setBalance:s=>lc(r,s),setBlockGasLimit:s=>fc(r,s),setBlockTimestampInterval:s=>dc(r,s),setCode:s=>uc(r,s),setCoinbase:s=>cc(r,s),setIntervalMining:s=>ic(r,s),setLoggingEnabled:s=>oc(r,s),setMinGasPrice:s=>ac(r,s),setNextBlockBaseFeePerGas:s=>nc(r,s),setNextBlockTimestamp:s=>rc(r,s),setNonce:s=>sc(r,s),setRpcUrl:s=>tc(r,s),setStorageAt:s=>ec(r,s),snapshot:()=>Qi(r),stopImpersonatingAccount:s=>Xi(r,s)}}}function ld(t){const{key:e="test",name:r="Test Client",mode:s}=t;return ce({...t,key:e,name:r,type:"testClient"}).extend(a=>({mode:s,...Jt({mode:s})(a)}))}function Yt(t){return{addChain:e=>Vc(t,e),deployContract:e=>Oc(t,e),getAddresses:()=>qc(t),getCallsStatus:e=>Hc(t,e),getCapabilities:e=>Mc(t,e),getChainId:()=>xt(t),getPermissions:()=>Dc(t),prepareAuthorization:e=>_c(t,e),prepareTransactionRequest:e=>yt(t,e),requestAddresses:()=>Gc(t),requestPermissions:e=>Nc(t,e),sendCalls:e=>zc(t,e),sendRawTransaction:e=>pt(t,e),sendTransaction:e=>Rs(t,e),showCallsStatus:e=>Uc(t,e),signAuthorization:e=>Lc(t,e),signMessage:e=>Fs(t,e),signTransaction:e=>kc(t,e),signTypedData:e=>Bc(t,e),switchChain:e=>Rc(t,e),waitForCallsStatus:e=>Fc(t,e),watchAsset:e=>Sc(t,e),writeContract:e=>mt(t,e)}}function gd(t){const{key:e="wallet",name:r="Wallet Client",transport:s}=t;return ce({...t,key:e,name:r,transport:s,type:"walletClient"}).extend(Yt)}function hd(t,e={}){const{keepAlive:r,key:s="webSocket",methods:n,name:a="WebSocket JSON-RPC",reconnect:i,retryDelay:u}=e;return({chain:c,retryCount:o,timeout:l})=>{var p;const f=e.retryCount??o,g=l??e.timeout??1e4,d=t||((p=c==null?void 0:c.rpcUrls.default.webSocket)==null?void 0:p[0]),h={keepAlive:r,reconnect:i};if(!d)throw new bt;return Et({key:s,methods:n,name:a,async request({method:E,params:v}){const w={method:E,params:v},A=await se(d,h),{error:T,result:m}=await A.requestAsync({body:w,timeout:g});if(T)throw new wt({body:w,error:T,url:d});return m},retryCount:f,retryDelay:u,timeout:g,type:"webSocket"},{getSocket(){return zu(d)},getRpcClient(){return se(d,h)},async subscribe({params:E,onData:v,onError:w}){const A=await se(d,h),{result:T}=await new Promise((m,y)=>A.request({body:{method:"eth_subscribe",params:E}
2,onError(I){y(I),w==null||w(I)},onResponse(I){if(I.error){y(I.error),w==null||w(I.error);return}if(typeof I.id=="number"){m(I);return}I.method==="eth_subscription"&&v(I.params)}}));return{subscriptionId:T,async unsubscribe(){return new Promise(m=>A.request({body:{method:"eth_unsubscribe",params:[T]},onResponse:m}))}}}})}}class md extends Error{constructor(e,r){super(r),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=e,this.details=r}}const ge="/docs/contract/decodeDeployData";function pd(t){const{abi:e,bytecode:r,data:s}=t;if(s===r)return{bytecode:r};const n=e.find(i=>"type"in i&&i.type==="constructor");if(!n)throw new It({docsPath:ge});if(!("inputs"in n))throw new ye({docsPath:ge});if(!n.inputs||n.inputs.length===0)throw new ye({docsPath:ge});return{args:Te(n.inputs,`0x${s.replace(r,"")}`),bytecode:r}}function yd({r:t,yParityAndS:e}){const r=$(e),s=r[0]&128?1:0,n=r;return s===1&&(n[0]&=127),{r:t,s:G(n),yParity:s}}function He(t){const{r:e,s:r}=Pe.Signature.fromCompact(t.slice(2,130));return{r:B(e,{size:32}),yParityAndS:B(r,{size:32})}}function qe(t){const{r:e,s:r}=Pe.Signature.fromCompact(t.slice(2,130)),s=+`0x${t.slice(130)}`,[n,a]=(()=>{if(s===0||s===1)return[void 0,s];if(s===27)return[BigInt(s),0];if(s===28)return[BigInt(s),1];throw new Error("Invalid yParityOrV value")})();return typeof n<"u"?{r:B(e,{size:32}),s:B(r,{size:32}),v:n,yParity:a}:{r:B(e,{size:32}),s:B(r,{size:32}),yParity:a}}async function xd(t){const{serializedTransaction:e,signature:r}=t,s=Wt(e),n=r??{r:s.r,s:s.s,v:s.v,yParity:s.yParity},a=Dt({...s,r:void 0,s:void 0,v:void 0,yParity:void 0,sidecars:void 0});return await j({hash:O(a),signature:n})}function bd(t){const{r:e,s:r,v:s,yParity:n}=t,a=Number(n??s-27n);let i=r;if(a===1){const u=$(r);u[0]|=128,i=G(u)}return{r:e,yParityAndS:i}}function Oe({r:t,yParityAndS:e}){return`0x${new Pe.Signature(P(t),P(e)).toCompactHex()}`}function Ed(t){const{sidecars:e,version:r}=t,s=t.to??(typeof e[0].blob=="string"?"hex":"bytes"),n=[];for(const{commitment:a}of e)n.push(Tt({commitment:a,to:s,version:r}));return n}function wd(t){const e=t.to??(typeof t.blobs[0]=="string"?"hex":"bytes"),r=typeof t.blobs[0]=="string"?t.blobs.map(u=>$(u)):t.blobs,s=r.reduce((u,c)=>u+c.length,0),n=me(new Uint8Array(s));let a=!0;for(const u of r){const c=me(u);for(;a&&c.position<u.length;){c.incrementPosition(1);let o=31;u.length-c.position<31&&(o=u.length-c.position);for(const l in Array.from({length:o})){const f=c.readByte();if(f===128&&!c.inspectBytes(c.remaining).includes(128)){a=!1;break}n.pushByte(f)}}}const i=n.bytes.slice(0,n.position);return e==="hex"?G(i):i}function Xt({blobToKzgCommitment:t,computeBlobKzgProof:e}){return{blobToKzgCommitment:t,computeBlobKzgProof:e}}function Id(t,e){try{t.loadTrustedSetup(e)}catch(r){const s=r;if(!s.message.includes("trusted setup is already loaded"))throw s}return Xt(t)}const Rd=Object.freeze(Object.defineProperty({__proto__:null,AbiConstructorNotFoundError:It,AbiConstructorParamsNotFoundError:ye,AbiDecodingDataSizeInvalidError:Bs,AbiDecodingDataSizeTooSmallError:ks,AbiDecodingZeroDataError:Ls,AbiEncodingArrayLengthMismatchError:Us,AbiEncodingBytesSizeMismatchError:zs,AbiEncodingLengthMismatchError:Je,AbiErrorInputsNotFoundError:Ns,AbiErrorNotFoundError:Gs,AbiErrorSignatureNotFoundError:_s,AbiEventNotFoundError:Ds,AbiEventSignatureEmptyTopicsError:Ms,AbiEventSignatureNotFoundError:Hs,AbiFunctionNotFoundError:qs,AbiFunctionOutputsNotFoundError:Os,AbiFunctionSignatureNotFoundError:Vs,AccountStateConflictError:$s,AtomicReadyWalletRejectedUpgradeError:js,AtomicityNotSupportedError:Ws,BaseError:ie,BaseFeeScalarError:Ks,BlockNotFoundError:Zs,BundleTooLargeError:Js,BytesSizeMismatchError:Qe,CallExecutionError:Ys,ChainDisconnectedError:Xs,ChainDoesNotSupportContract:Qs,ChainMismatchError:er,ChainNotFoundError:tr,CircularReferenceError:sr,ClientChainNotConfiguredError:rr,ContractFunctionExecutionError:nr,ContractFunctionRevertedError:ar,ContractFunctionZeroDataError:or,CounterfactualDeploymentFailedError:ir,DecodeLogDataMismatch:cr,DecodeLogTopicsMismatch:ur,DuplicateIdError:dr,EIP1193ProviderRpcError:md,Eip1559FeesNotSupportedError:fr,EnsAvatarInvalidNftUriError:$c,EnsAvatarUnsupportedNamespaceError:jc,EnsAvatarUriResolutionError:Wc,EstimateGasExecutionError:lr,ExecutionRevertedError:gr,FeeCapTooHighError:oe,FeeCapTooLowError:hr,FeeConflictError:mr,FilterTypeNotSupportedError:Kc,HttpRequestError:pr,InsufficientFundsError:yr,IntegerOutOfRangeError:xr,InternalRpcError:br,IntrinsicGasTooHighError:Er,IntrinsicGasTooLowError:wr,InvalidAbiDecodingTypeError:Ir,InvalidAbiEncodingTypeError:Tr,InvalidAbiItemError:vr,InvalidAbiParameterError:je,InvalidAbiParametersError:We,InvalidAbiTypeParameterError:Pr,InvalidAddressError:z,InvalidArrayError:Ar,InvalidBytesBooleanError:Cr,InvalidChainIdError:V,InvalidDecimalNumberError:Sr,InvalidDefinitionTypeError:Fr,InvalidDomainError:nu,InvalidFunctionModifierError:Rr,InvalidHexBooleanError:Br,InvalidHexValueError:ct,InvalidInputRpcError:kr,InvalidLegacyVError:Ie,InvalidModifierError:Lr,InvalidParameterError:Ur,InvalidParamsRpcError:zr,InvalidParenthesisError:Nr,InvalidPrimaryTypeError:au,InvalidRequestRpcError:Gr,InvalidSerializableTransactionError:_r,InvalidSerializedTransactionError:M,InvalidSerializedTransactionTypeError:dt,InvalidSignatureError:Dr,InvalidStorageKeySizeError:st,InvalidStructSignatureError:Mr,InvalidStructTypeError:ou,JsonRpcVersionUnsupportedError:Hr,LimitExceededRpcError:qr,MaxFeePerGasTooLowError:Or,MethodNotFoundRpcError:Vr,MethodNotSupportedRpcError:$r,NonceMaxValueError:jr,NonceTooHighError:Wr,NonceTooLowError:Kr,ParseRpcError:Zr,ProviderDisconnectedError:Jr,ProviderRpcError:Yr,RawContractError:Xr,ResourceNotFoundRpcError:Qr,ResourceUnavailableRpcError:en,RpcError:tn,RpcRequestError:wt,SizeExceedsPaddingSizeError:sn,SizeOverflowError:rn,SliceOffsetOutOfBoundsError:nn,SocketClosedError:q,SolidityProtectedKeywordError:an,StateAssignmentC
2onflictError:on,SwitchChainError:cn,TimeoutError:Ze,TipAboveFeeCapError:tt,TransactionExecutionError:un,TransactionNotFoundError:dn,TransactionReceiptNotFoundError:fn,TransactionRejectedRpcError:ln,TransactionTypeNotSupportedError:gn,UnauthorizedProviderError:hn,UnknownBundleIdError:mn,UnknownNodeError:pn,UnknownRpcError:yn,UnknownSignatureError:xn,UnknownTypeError:bn,UnsupportedChainIdError:En,UnsupportedNonOptionalCapabilityError:wn,UnsupportedPackedAbiType:et,UnsupportedProviderMethodError:In,UrlRequiredError:bt,UserRejectedRequestError:Tn,WaitForCallsStatusTimeoutError:Zc,WaitForTransactionReceiptTimeoutError:vn,WebSocketRequestError:he,assertCurrentChain:Pn,assertRequest:An,assertTransactionEIP1559:K,assertTransactionEIP2930:Ae,assertTransactionLegacy:Ce,blobsToCommitments:nt,blobsToProofs:ot,boolToBytes:Cn,boolToHex:Xe,bytesToBigInt:Sn,bytesToBool:Fn,bytesToHex:G,bytesToNumber:Rn,bytesToRlp:Bn,bytesToString:kn,ccipFetch:_e,ccipRequest:_e,checksumAddress:Ln,commitmentToVersionedHash:Tt,commitmentsToVersionedHashes:at,compactSignatureToHex:Oe,compactSignatureToSignature:yd,concat:it,concatBytes:Un,concatHex:_,createClient:ce,createNonceManager:Kt,createPublicClient:fd,createTestClient:ld,createTransport:Et,createWalletClient:gd,custom:zn,decodeAbiParameters:Te,decodeDeployData:pd,decodeErrorResult:Nn,decodeEventLog:Gn,decodeFunctionData:mu,decodeFunctionResult:_n,defineBlock:Dn,defineChain:Mn,defineKzg:Xt,defineTransaction:Hn,defineTransactionReceipt:qn,defineTransactionRequest:On,deploylessCallViaBytecodeBytecode:Vn,deploylessCallViaFactoryBytecode:$n,domainSeparator:iu,encodeAbiParameters:jn,encodeDeployData:Wn,encodeErrorResult:pu,encodeEventTopics:Jc,encodeFunctionData:Kn,encodeFunctionResult:yu,encodePacked:Nu,erc1155Abi:Zn,erc20Abi:Jn,erc20Abi_bytes32:Yn,erc4626Abi:Xn,erc721Abi:Qn,ethAddress:Yc,etherUnits:ea,extractChain:Lu,fallback:ta,formatBlock:sa,formatEther:ra,formatGwei:na,formatLog:aa,formatTransaction:oa,formatTransactionReceipt:ia,formatTransactionRequest:ca,formatUnits:ua,fromBlobs:wd,fromBytes:da,fromHex:fa,fromRlp:Se,getAbiItem:la,getAddress:U,getChainContractAddress:ga,getContract:ad,getContractAddress:Ou,getContractError:ha,getCreate2Address:Ht,getCreateAddress:Mt,getEventSelector:ke,getEventSignature:Q,getFunctionSelector:Le,getFunctionSignature:Q,getSerializedTransactionType:jt,getTransactionType:rt,getTypesForEIP712Domain:cu,gweiUnits:lt,hashDomain:uu,hashMessage:ve,hashStruct:du,hashTypedData:Rt,hexToBigInt:P,hexToBool:ma,hexToBytes:$,hexToCompactSignature:He,hexToNumber:C,hexToRlp:pa,hexToSignature:qe,hexToString:ya,http:xa,isAddress:R,isAddressEqual:W,isBytes:xe,isErc6492Signature:vt,isHash:Ot,isHex:x,keccak256:O,labelhash:Xc,maxInt104:ba,maxInt112:Ea,maxInt120:wa,maxInt128:Ia,maxInt136:Ta,maxInt144:va,maxInt152:Pa,maxInt16:Aa,maxInt160:Ca,maxInt168:Sa,maxInt176:Fa,maxInt184:Ra,maxInt192:Ba,maxInt200:ka,maxInt208:La,maxInt216:Ua,maxInt224:za,maxInt232:Na,maxInt24:Ga,maxInt240:_a,maxInt248:Da,maxInt256:Ma,maxInt32:Ha,maxInt40:qa,maxInt48:Oa,maxInt56:Va,maxInt64:$a,maxInt72:ja,maxInt8:Wa,maxInt80:Ka,maxInt88:Za,maxInt96:Ja,maxUint104:Ya,maxUint112:Xa,maxUint120:Qa,maxUint128:eo,maxUint136:to,maxUint144:so,maxUint152:ro,maxUint16:no,maxUint160:ao,maxUint168:oo,maxUint176:io,maxUint184:co,maxUint192:uo,maxUint200:fo,maxUint208:lo,maxUint216:go,maxUint224:ho,maxUint232:mo,maxUint24:po,maxUint240:yo,maxUint248:xo,maxUint256:ae,maxUint32:bo,maxUint40:Eo,maxUint48:wo,maxUint56:Io,maxUint64:To,maxUint72:vo,maxUint8:Po,maxUint80:Ao,maxUint88:Co,maxUint96:So,minInt104:Fo,minInt112:Ro,minInt120:Bo,minInt128:ko,minInt136:Lo,minInt144:Uo,minInt152:zo,minInt16:No,minInt160:Go,minInt168:_o,minInt176:Do,minInt184:Mo,minInt192:Ho,minInt200:qo,minInt208:Oo,minInt216:Vo,minInt224:$o,minInt232:jo,minInt24:Wo,minInt240:Ko,minInt248:Zo,minInt256:Jo,minInt32:Yo,minInt40:Xo,minInt48:Qo,minInt56:ei,minInt64:ti,minInt72:si,minInt8:ri,minInt80:ni,minInt88:ai,minInt96:oi,multicall3Abi:ii,namehash:Qc,nonceManager:nd,numberToBytes:ci,numberToHex:B,offchainLookup:xu,offchainLookupAbiItem:bu,offchainLookupSignature:Eu,pad:H,padBytes:ui,padHex:
2pe,parseAbi:di,parseAbiItem:eu,parseAbiParameter:Iu,parseAbiParameters:Tu,parseCompactSignature:He,parseErc6492Signature:Zu,parseEther:wu,parseEventLogs:fi,parseGwei:sd,parseSignature:qe,parseTransaction:Wt,parseUnits:ft,prepareEncodeFunctionData:li,presignMessagePrefix:fu,publicActions:Zt,recoverAddress:j,recoverMessageAddress:Vt,recoverPublicKey:gi,recoverTransactionAddress:xd,recoverTypedDataAddress:$t,ripemd160:$u,rpcSchema:hi,rpcTransactionType:mi,serializeAccessList:Z,serializeCompactSignature:Oe,serializeErc6492Signature:tu,serializeSignature:Ge,serializeTransaction:Dt,serializeTypedData:lu,setErrorConfig:pi,setupKzg:Id,sha256:yi,shouldThrow:xi,sidecarsToVersionedHashes:Ed,signatureToCompactSignature:bd,signatureToHex:Ge,size:be,slice:Ee,sliceBytes:bi,sliceHex:ut,stringToBytes:Ei,stringToHex:Ye,stringify:wi,testActions:Jt,toBlobSidecars:we,toBlobs:Ii,toBytes:k,toEventHash:Ue,toEventSelector:ke,toEventSignature:Q,toFunctionHash:Ue,toFunctionSelector:Le,toFunctionSignature:Q,toHex:b,toPrefixedMessage:gu,toRlp:L,transactionType:Ti,trim:D,universalSignatureValidatorAbi:vi,universalSignatureValidatorByteCode:Pi,validateTypedData:hu,verifyHash:ju,verifyMessage:Wu,verifyTypedData:Ku,walletActions:Yt,webSocket:hd,weiUnits:Ai,withCache:Ci,withRetry:Si,withTimeout:Ke,zeroAddress:su,zeroHash:ru},Symbol.toStringTag,{value:"Module"}));export{Rd as _};

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.