@dcl/shop 0.1.0-29030398160.commit-dedc8ac → 0.1.0-29111888971.commit-e1b927a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/assets/{AnimatedBackground-8aI4vJAl.js → AnimatedBackground-XZF9g9Bk.js} +3 -3
  2. package/assets/{Assets-O86HcPf_.js → Assets-CZPTo1jO.js} +1 -1
  3. package/assets/{Button-D1faXtxc.js → Button-B2TDtyup.js} +1 -1
  4. package/assets/{Cart-wT4YY2XB.js → Cart-DhU4_S6H.js} +1 -1
  5. package/assets/{CircularProgress-ByISsJtD.js → CircularProgress-Cf__730y.js} +1 -1
  6. package/assets/{Collection-B-SrzrlP.js → Collection-CRBxkkqX.js} +1 -1
  7. package/assets/{Creator-3SRIb5GI.js → Creator-DO__19RD.js} +1 -1
  8. package/assets/{ExchangeController-CtvD9TxU.js → ExchangeController-txwSQL2Z.js} +1 -1
  9. package/assets/{GetCredits-BntbDm9-.js → GetCredits-DS1z5pyp.js} +2 -2
  10. package/assets/{HelpersUtil-zGctDzqI.js → HelpersUtil-CMysbO5y.js} +1 -1
  11. package/assets/{ImportListings-DvqpDa-s.js → ImportListings-ChNZ2UwM.js} +1 -1
  12. package/assets/{ItemDetail-CjSWRE3L.js → ItemDetail-Do5cjFW8.js} +2 -2
  13. package/assets/{Market-Hqywp2wQ.js → Market-Z4jp-uLb.js} +1 -1
  14. package/assets/{MenuItem-BzIPsU3-.js → MenuItem-B4U0TYKf.js} +1 -1
  15. package/assets/{MyAssets-nfsXXyUv.js → MyAssets-C7QdtDYF.js} +1 -1
  16. package/assets/{MyFavorites-B6_8hr5-.js → MyFavorites-Bu2IDcdJ.js} +1 -1
  17. package/assets/{MyPurchases-33hyTefC.js → MyPurchases-CDUC3XzQ.js} +1 -1
  18. package/assets/{NotFound-DXluG5-7.js → NotFound-D5sXjRPf.js} +1 -1
  19. package/assets/{RealCheckout-tQms6dAo.js → RealCheckout-DBL3uxEj.js} +1 -1
  20. package/assets/{ShopFooterInner-DV3X__jb.js → ShopFooterInner-BHh4OUAv.js} +2 -2
  21. package/assets/{Success-BblXOFEG.js → Success-BrvAPmP4.js} +1 -1
  22. package/assets/{SvgIcon-CVoRZ89M.js → SvgIcon-Cg5l4LDh.js} +1 -1
  23. package/assets/{SwapController-BEHLqATV.js → SwapController-BDZMxnNb.js} +1 -1
  24. package/assets/{TradeService-a9BKe-Oz.js → TradeService-CkLYTYcJ.js} +1 -1
  25. package/assets/{W3MFrameProviderSingleton-HtGM3kiI.js → W3MFrameProviderSingleton-D4DCXtQm.js} +3 -3
  26. package/assets/{WebCryptoP256-bPjiT7wY.js → WebCryptoP256-OE37a6hF.js} +1 -1
  27. package/assets/{basic-awR2CJat.js → basic-SUHSB6nZ.js} +1 -1
  28. package/assets/{biconomy-CBCMLM9k.js → biconomy-C6flCXA4.js} +1 -1
  29. package/assets/{buy-C8v-ou6b.js → buy-YkuLG1h7.js} +1 -1
  30. package/assets/{buy-gasless-CUtIigP0.js → buy-gasless-gRmZHjsE.js} +1 -1
  31. package/assets/{ccip-BMCE_sFa.js → ccip-7fqLW_t2.js} +1 -1
  32. package/assets/{ccip-DiW7RkRR.js → ccip-ByQiZ_aq.js} +1 -1
  33. package/assets/{collection-D-oaSVfu.js → collection-2CKCNH2O.js} +1 -1
  34. package/assets/{controller-CJz3LUjz.js → controller-BO0zre2A.js} +2 -2
  35. package/assets/{core-CGoVaJvD.js → core-D-mQUZ3X.js} +4 -4
  36. package/assets/{custom-CLQCvu9h.js → custom-C6VO1Je_.js} +1 -1
  37. package/assets/{data-capture-C1enk8q3.js → data-capture-DdxbO7dd.js} +1 -1
  38. package/assets/decimals-ByIlBo-2.js +1 -0
  39. package/assets/{decimals-C8GSUqDy.js → decimals-Di7mGY-D.js} +1 -1
  40. package/assets/{detectExtension-Bdev6B_Y.js → detectExtension-DsE82Ej6.js} +1 -1
  41. package/assets/{email-DI1UmfjV.js → email-BTEyDEk6.js} +1 -1
  42. package/assets/{embedded-wallet-CUaCp934.js → embedded-wallet-QGoIGdCB.js} +1 -1
  43. package/assets/{engine-NUwMDIUh.js → engine-Bjifrd8K.js} +1 -1
  44. package/assets/{estimate-l1-fee-CkQ_-gw6.js → estimate-l1-fee-Bqou6JLl.js} +1 -1
  45. package/assets/{eth_estimateGas-DaI_qfS7.js → eth_estimateGas-CarYiSgL.js} +1 -1
  46. package/assets/{eth_getStorageAt-DqNZYObO.js → eth_getStorageAt-B-cqm2CG.js} +1 -1
  47. package/assets/{eth_getTransactionCount-BBYhaRkF.js → eth_getTransactionCount-Dfx3JW2Q.js} +1 -1
  48. package/assets/{extractIPFS-COY4B3_o.js → extractIPFS-C5EI4cZz.js} +1 -1
  49. package/assets/{features-DW4K2ZKu.js → features-U-ULFF0v.js} +1 -1
  50. package/assets/{fetchTokenMetadata-D4vVc_nQ.js → fetchTokenMetadata-DHc2WWGs.js} +2 -2
  51. package/assets/{generateUtilityClasses-D15hK3nM.js → generateUtilityClasses-BAjjhm6X.js} +1 -1
  52. package/assets/{get-ecosystem-wallet-info-QCLNyKk6.js → get-ecosystem-wallet-info-CWcGnKL4.js} +1 -1
  53. package/assets/{getBalance-CndsdQzG.js → getBalance-C8i1-K0c.js} +1 -1
  54. package/assets/{getInstalledModules-BZgUgPCr.js → getInstalledModules-BXhbS0To.js} +1 -1
  55. package/assets/{getNFT-Bw4qn7ry.js → getNFT-CzHwZ4FU.js} +2 -2
  56. package/assets/{getNFT-BQyw29TQ.js → getNFT-D3XSi6wm.js} +1 -1
  57. package/assets/{hashTypedData-Er6Ia-O7.js → hashTypedData-BOc0w62Q.js} +1 -1
  58. package/assets/{hashTypedData-CaO8N883.js → hashTypedData-DX5YrpbP.js} +1 -1
  59. package/assets/{import-NJqh-zgj.js → import-BulayqYM.js} +1 -1
  60. package/assets/{in-app-wallet-calls-BDq_Ik7W.js → in-app-wallet-calls-BI0pU06-.js} +1 -1
  61. package/assets/{index-P5U8LYs6.js → index--_rHc9Od.js} +1 -1
  62. package/assets/{index-BZIVWDQd.js → index-2NUAW7ds.js} +1 -1
  63. package/assets/{index-CDAYsxA6.js → index-BF6unOoT.js} +1 -1
  64. package/assets/{index-Hn-DbSZA.js → index-BKSTjS_b.js} +1 -1
  65. package/assets/{index-LDSpzB15.js → index-BLQJ40Mi.js} +1 -1
  66. package/assets/{index-CfKqUBFA.js → index-BNH6Xzon.js} +2 -2
  67. package/assets/{index-Bo34Cx12.js → index-BOQwd6ZB.js} +1 -1
  68. package/assets/{index-DwQ4pw8v.js → index-BZ5hUBd_.js} +1 -1
  69. package/assets/{index-mLXaZKmk.js → index-BaSqmd6J.js} +1 -1
  70. package/assets/{index-AgzyxgSU.js → index-BlEd83Li.js} +1 -1
  71. package/assets/{index-BqIdYoG8.js → index-Bo6hVxzu.js} +1 -1
  72. package/assets/{index-C6QyIhnE.js → index-C2OMQVG4.js} +1 -1
  73. package/assets/{index-FcUvAZuZ.js → index-C2U9pe20.js} +1 -1
  74. package/assets/{index-DXfwhNfH.js → index-C6FQ8I_Q.js} +2 -2
  75. package/assets/{index-Dmfk0azd.js → index-C7-iTfFV.js} +39 -39
  76. package/assets/{index-CDOPdFEN.js → index-CDMAFM2h.js} +1 -1
  77. package/assets/{index-zGd0k6zk.js → index-CIPKmOlZ.js} +1 -1
  78. package/assets/{index-D-VYD1II.js → index-CMavzzI_.js} +1 -1
  79. package/assets/{index-C1RysQbA.js → index-CbJmVQBN.js} +1 -1
  80. package/assets/{index-BoZx7TrW.js → index-CcQfGUgB.js} +1 -1
  81. package/assets/{index-DieH8QTn.js → index-CiIXwK1P.js} +1 -1
  82. package/assets/{index-DrcFvB51.js → index-CkHNiFzW.js} +1 -1
  83. package/assets/{index-BexyLNIk.js → index-CkVoCPEe.js} +1 -1
  84. package/assets/{index-BABCyrjx.js → index-CxyR8sie.js} +1 -1
  85. package/assets/{index-emGKKyxf.js → index-CzFnbzvY.js} +1 -1
  86. package/assets/{index-Dav5KOrd.js → index-CzfG6alx.js} +1 -1
  87. package/assets/{index-BdBYQDrP.js → index-D3hzhbb8.js} +1 -1
  88. package/assets/{index-PQMQyCqV.js → index-D4VlTBkw.js} +1 -1
  89. package/assets/{index-BRyy9_FL.js → index-D5qOQwpy.js} +1 -1
  90. package/assets/{index-BseAcDfV.js → index-DIMSfymy.js} +3 -3
  91. package/assets/{index-DVQRwKte.js → index-DIw62AgP.js} +1 -1
  92. package/assets/{index-CCxw-foK.js → index-DJyoXp5I.js} +1 -1
  93. package/assets/{index-j1oJp18p.js → index-DOTYPGXa.js} +1 -1
  94. package/assets/{index-Buf412yH.js → index-DQx-sY_c.js} +1 -1
  95. package/assets/{index-Gr3BFRx7.js → index-DS8DYtub.js} +1 -1
  96. package/assets/{index-ccNJtibX.js → index-DShBCYos.js} +3 -3
  97. package/assets/{index-2l5r0dRI.js → index-DV4p99KA.js} +2 -2
  98. package/assets/{index-KUsuHO11.js → index-DacKA042.js} +1 -1
  99. package/assets/{index-Ddmzqmxk.js → index-DhBdPYnK.js} +1 -1
  100. package/assets/{index-CWz8eoAl.js → index-DjPU0-Js.js} +1 -1
  101. package/assets/{index-CRhrr6gN.js → index-DlllSUoB.js} +1 -1
  102. package/assets/{index-BEzzzIlC.js → index-DtrBN21c.js} +1 -1
  103. package/assets/{index-CWHR1ZBn.js → index-Eb-Zd0F2.js} +1 -1
  104. package/assets/{index-C6xmzvY-.js → index-GAmNssSM.js} +1 -1
  105. package/assets/{index-CmcvhZsS.js → index-IfYZnKCO.js} +1 -1
  106. package/assets/{index-FrZezou7.js → index-LSZxonl2.js} +1 -1
  107. package/assets/{index-CyDCPwX2.js → index-Pp2oEhTr.js} +1 -1
  108. package/assets/{index-DRm7xERf.js → index-Qzch3HJ1.js} +1 -1
  109. package/assets/{index-BUaGOTLN.js → index-ULMMROQ0.js} +1 -1
  110. package/assets/{index-Dm67LTtv.js → index-YfJF6hV4.js} +1 -1
  111. package/assets/{index-BKg37Q5D.js → index-jYazATJj.js} +1 -1
  112. package/assets/{index-DJCTaNyE.js → index-kxu93Of2.js} +1 -1
  113. package/assets/{index-Dq7Rlnvq.js → index-n-cFV5ht.js} +1 -1
  114. package/assets/{index.es-DZDKrrOX.js → index.es-Dk6KC5kj.js} +1 -1
  115. package/assets/{index.es-7keraYJG.js → index.es-DnMpNe4m.js} +4 -4
  116. package/assets/{index.es-C2X55s9j.js → index.es-IGCEipYb.js} +1 -1
  117. package/assets/{localBatchGatewayRequest-ntoba0Xt.js → localBatchGatewayRequest-BLJAP4fw.js} +1 -1
  118. package/assets/{mana-rate-D_DTt_S8.js → mana-rate-DkxpKYLQ.js} +1 -1
  119. package/assets/network-DsCGVBhE.js +1 -0
  120. package/assets/{networks-DvMCxuQT.js → networks-Bc_Uf_7y.js} +1 -1
  121. package/assets/{onramp-D4LFsmfg.js → onramp-DnhEoZl6.js} +1 -1
  122. package/assets/{openzeppelin-CJAun2pO.js → openzeppelin-DwFpqgXP.js} +1 -1
  123. package/assets/{ownerOf-DrmYf79A.js → ownerOf-Qq7Or7yc.js} +1 -1
  124. package/assets/{parseNft-Yzo9Plhx.js → parseNft-B-POJxiL.js} +2 -2
  125. package/assets/{parseSignature-3yq9FfJP.js → parseSignature-ClLI6O4f.js} +3 -3
  126. package/assets/{parseSignature-h2iJV3NZ.js → parseSignature-kOoafZEo.js} +1 -1
  127. package/assets/{pay-with-exchange-BWW2tZIp.js → pay-with-exchange-BZR4RMBZ.js} +1 -1
  128. package/assets/{qr-overlay-hYqgRnm0.js → qr-overlay-9WMDd_PO.js} +1 -1
  129. package/assets/{receive-BMHwXxqP.js → receive-CtJWuhGM.js} +1 -1
  130. package/assets/{resolveImplementation-DS1nY4sc.js → resolveImplementation-BJatMhHh.js} +1 -1
  131. package/assets/{rpc-BC6ESxMB.js → rpc-BA0W82l4.js} +1 -1
  132. package/assets/{secp256k1-DNCGSF8O.js → secp256k1-B82Rx-TY.js} +1 -1
  133. package/assets/{secp256k1-BQuyxdaC.js → secp256k1-DFslM7tB.js} +1 -1
  134. package/assets/{secp256k1-CrZRZ9L5.js → secp256k1-DHqlJ8nk.js} +1 -1
  135. package/assets/{send-B62L18Hx.js → send-DXVwWcB5.js} +1 -1
  136. package/assets/{send-batch-transaction-De_pBpa_.js → send-batch-transaction-D1j9aZww.js} +1 -1
  137. package/assets/{send-eip712-transaction-D-GzcP3o.js → send-eip712-transaction-CrryJAyV.js} +2 -2
  138. package/assets/{send-gasless-transaction-Iil1KVOe.js → send-gasless-transaction-B7YcLCGg.js} +2 -2
  139. package/assets/{sendRawTransaction-BqauPPYf.js → sendRawTransaction-DT-ObNx8.js} +3 -3
  140. package/assets/{serializeTransaction-B4qzULZO.js → serializeTransaction-DawhfTu0.js} +1 -1
  141. package/assets/{session-proposal-C4Cz1cln.js → session-proposal-lgMupzDT.js} +1 -1
  142. package/assets/{session-request-De0p90UO.js → session-request-DacijEHD.js} +2 -2
  143. package/assets/{sha256-bg_KfcLv.js → sha256-BxR-wXll.js} +1 -1
  144. package/assets/{signing-BGpVago5.js → signing-CoPa7cSW.js} +4 -4
  145. package/assets/{socials-vOukOtuh.js → socials-CMh8u0Ej.js} +1 -1
  146. package/assets/{swaps-FEWWVCcs.js → swaps-B0Q00kKq.js} +1 -1
  147. package/assets/{thirdweb-C8ToELvu.js → thirdweb-9c12J_EF.js} +3 -3
  148. package/assets/{totalSupply-C5jxuFw1.js → totalSupply-BCZn9Djj.js} +1 -1
  149. package/assets/{transactionReceipt-CbcThGoC.js → transactionReceipt-C2iQ3ozz.js} +1 -1
  150. package/assets/{transactions-CaxBviMm.js → transactions-Dqx74UWQ.js} +1 -1
  151. package/assets/{useInfiniteGrid-BiC1UMEK.js → useInfiniteGrid-DgSsqvQS.js} +1 -1
  152. package/assets/{verifyHash-JbNzrsYR.js → verifyHash-BVbpPoSf.js} +1 -1
  153. package/assets/{w3m-modal-BUwENQ4T.js → w3m-modal-CGHylzdj.js} +1 -1
  154. package/assets/{w3m-modal-BfRGsEzF.js → w3m-modal-DvCL5Oh_.js} +1 -1
  155. package/assets/{wait-for-tx-receipt-BJDKOLGI.js → wait-for-tx-receipt-Dm2aAIs1.js} +1 -1
  156. package/assets/{wallet-kind-CuaDlRao.js → wallet-kind-vciDs8sO.js} +1 -1
  157. package/assets/{wallets-BnBHCJi8.js → wallets-D8labJv_.js} +6 -6
  158. package/assets/{web-connector-CJKlFm6H.js → web-connector-C9MeCxtf.js} +3 -3
  159. package/assets/{writeContract-CtBYiULm.js → writeContract-C3IzBPhR.js} +1 -1
  160. package/assets/{zoraTestnet-CJMxifqR.js → zoraTestnet-CduWQC79.js} +1 -1
  161. package/index.html +8 -8
  162. package/package.json +2 -2
  163. package/assets/decimals-DnNelAv5.js +0 -1
  164. package/assets/network-CFFySFe9.js +0 -1
@@ -1,4 +1,4 @@
1
- import{i as g,b as e}from"./lit-element-B3y9oplH.js";import{r as f,n as w,o as v}from"./class-map-CxwNmq0D.js";import{d as y,r as k,e as P}from"./index-BseAcDfV.js";import{c as b}from"./index-Bo34Cx12.js";import"./index-BEzzzIlC.js";import{H as x}from"./HelpersUtil-zGctDzqI.js";import{R as u,E as A}from"./W3MFrameProviderSingleton-HtGM3kiI.js";import"./index-BdBYQDrP.js";import"./index-DrcFvB51.js";const I=y`
1
+ import{i as g,b as e}from"./lit-element-B3y9oplH.js";import{r as f,n as w,o as v}from"./class-map-CxwNmq0D.js";import{d as y,r as k,e as P}from"./index-DIMSfymy.js";import{c as b}from"./index-BOQwd6ZB.js";import"./index-DtrBN21c.js";import{H as x}from"./HelpersUtil-CMysbO5y.js";import{R as u,E as A}from"./W3MFrameProviderSingleton-D4DCXtQm.js";import"./index-D3hzhbb8.js";import"./index-CkHNiFzW.js";const I=y`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/native-7uSYstXA.js","assets/ethers-DHDSyreX.js","assets/react-Vu6nbGi5.js"])))=>i.map(i=>d[i]);
2
- import{p as gt,b as Yt,i as Zt,I as Qt,m as bt,s as ut,A as D,e as Xt,g as U,d as te,f as N,r as ee,h as ae,j as ne,k as re,w as se,n as oe,o as ie,q as ce,t as ue,v as de,u as le,x as Q,y as me,z as fe,B as he,C as $,D as pe,E as ye,F as ge,G as be,H as we,J as xe,K as Ee,L as Ie,M as Te,N as St,O as At,P as Ce,Q as Pt,R as _t,S as Rt,T as ve,U as dt,V as qt,W as Se,X as Ae,Y as Ft,Z as Pe,_ as Ut,$ as J,a0 as _e,a1 as kt,a2 as Re,a3 as qe,a4 as lt,a5 as Fe,a6 as Ue,a7 as ke,a8 as Be,a9 as Ne,aa as Bt,ab as Le}from"./parseSignature-3yq9FfJP.js";import{ac as Ir,ad as Tr,ae as Cr,af as vr,ag as Sr,ah as Ar,ai as Pr,aj as _r,ak as Rr,al as qr,am as Fr,an as Ur,ao as kr,ap as Br,aq as Nr,ar as Lr,as as Mr,at as Dr,au as zr,av as Gr,aw as $r,ax as Hr,ay as Or,az as jr,aA as Wr,aB as Vr,aC as Jr,aD as Kr,aE as Yr,aF as Zr,aG as Qr,aH as Xr,aI as ts,aJ as es,aK as as,aL as ns,aM as rs,aN as ss,aO as os,aP as is,aQ as cs,aR as us,aS as ds,aT as ls,aU as ms,aV as fs,aW as hs,aX as ps,aY as ys,aZ as gs,a_ as bs,a$ as ws,b0 as xs,b1 as Es,b2 as Is,b3 as Ts,b4 as Cs,b5 as vs,b6 as Ss,b7 as As,b8 as Ps,b9 as _s,ba as Rs,bb as qs,bc as Fs,bd as Us,be as ks,bf as Bs,bg as Ns,bh as Ls,bi as Ms,bj as Ds,bk as zs,bl as Gs,bm as $s,bn as Hs,bo as Os,bp as js,bq as Ws,br as Vs,bs as Js,bt as Ks,bu as Ys,bv as Zs,bw as Qs,bx as Xs,by as to,bz as eo,br as ao,bA as no,bB as ro,bC as so,bD as oo,bE as io,bF as co,bG as uo,bH as lo,bH as mo,bI as fo,bJ as ho,bi as po,bj as yo,bK as go,bL as bo,bM as wo,bN as xo,bO as Eo}from"./parseSignature-3yq9FfJP.js";import{T as B,b9 as k,U as Me,I as Y,ba as De,G as ze,bb as Ge,X as H,_ as ct,$ as G,B as mt,D as E,P as $e,a7 as He,bc as j,a6 as wt,R as Nt,bd as Lt,d as Mt,L as R,F as ft,A as F,be as A,M as Oe,N as je,bf as We,bg as xt,aG as ht,J as Ve,bh as Je,bi as Ke,bj as Ye,bk as Et}from"./signing-BGpVago5.js";import{bl as To,bm as Co,bn as vo,bo as So,bp as Ao,bq as Po,br as _o,bs as Ro,bt as qo,bu as Fo,bv as Uo,bw as ko,bx as Bo,by as No,bz as Lo,Q as Mo,bA as Do,bB as zo,bC as Go,bD as $o,bE as Ho,bF as Oo,bG as jo,bH as Wo,bI as Vo,bJ as Jo,bK as Ko,bL as Yo,bM as Zo,bN as Qo,bO as Xo,bP as ti,bQ as ei,bR as ai,bS as ni,bT as ri,bU as si,bV as oi,E as ii,bW as ci,bX as ui,bY as di,bZ as li,b_ as mi,p as fi,b$ as hi,at as pi,au as yi,c0 as gi,c1 as bi,c2 as wi,c3 as xi,c4 as Ei,f as Ii,c4 as Ti,c5 as Ci,c6 as vi,c7 as Si,c8 as Ai,c9 as Pi,ca as _i,cb as Ri,cc as qi,cd as Fi,C as Ui,ce as ki,c3 as Bi,c4 as Ni,ce as Li,f as Mi,c4 as Di,z as zi}from"./signing-BGpVago5.js";import{w as Ze,h as Qe,g as Xe,v as ta,s as ea}from"./hashTypedData-CaO8N883.js";import{I as $i,a as Hi,b as Oi,d as ji,c as Wi,e as Vi}from"./hashTypedData-CaO8N883.js";import{T as aa,a as Z,W as It,b as na,U as ra,R as sa}from"./rpc-BC6ESxMB.js";import{A as Ki,c as Yi,B as Zi,C as Qi,D as Xi,H as tc,I as ec,d as ac,e as nc,f as rc,J as sc,L as oc,M as ic,h as cc,P as uc,i as dc,j as lc,k as mc,l as fc,m as hc,S as pc,n as yc,o as gc,p as bc,q as wc,r as xc,s as Ec}from"./rpc-BC6ESxMB.js";import{_ as oa}from"./index-Dmfk0azd.js";import{t as ia,H as ca}from"./sha256-bg_KfcLv.js";import{b as Tc,h as Cc,a as vc,c as Sc,d as Ac,e as Pc,f as _c,g as Rc,i as qc,j as Fc,k as Uc,l as kc,n as Bc,o as Nc,p as Lc,q as Mc,r as Dc,u as zc,v as Gc,w as $c,x as Hc,y as Oc,z as jc,A as Wc,B as Vc,C as Jc,D as Kc,E as Yc,F as Zc,G as Qc,I as Xc,J as tu,K as eu,L as au,M as nu,N as ru,O as su,P as ou,Q as iu,R as cu,S as uu,m as du,T as lu,U as mu,V as fu,W as hu,X as pu,Y as yu,Z as gu,_ as bu,$ as wu,a0 as xu,a1 as Eu,a2 as Iu,a3 as Tu,a4 as Cu,a5 as vu,a6 as Su,a7 as Au,a8 as Pu,a9 as _u,aa as Ru,ab as qu,ac as Fu,ad as Uu,ae as ku,af as Bu,ag as Nu,ah as Lu,ai as Mu,aj as Du,ak as zu,al as Gu,am as $u,an as Hu,ao as Ou,ap as ju,aq as Wu,ar as Vu,as as Ju,at as Ku,au as Yu,av as Zu,aw as Qu,ax as Xu,ay as td,az as ed,aA as ad,aB as nd,aC as rd,aD as sd,aE as od,aF as id,aG as cd,aH as ud,aI as dd,aJ as ld,aK as md,s as fd}from"./sha256-bg_KfcLv.js";import{ccipRequest as pd,ccipRequest as yd,offchainLookup as gd,offchainLookupAbiItem as bd,offchainLookupSignature as wd}from"./ccip-BMCE_sFa.js";import{d as Ed,a as Id,f as Td}from"./transactionReceipt-CbcThGoC.js";import"./utils-nbkSUjEy.js";import"./ethers-DHDSyreX.js";import"./react-Vu6nbGi5.js";function jn(t){let e;if(typeof t=="string")e=gt(t,{modifiers:bt});else{const a=Yt(t),n=t.length;for(let r=0;r<n;r++){const s=t[r];if(!Zt(s)){e=gt(s,{modifiers:bt,structs:a});break}}}if(!e)throw new Qt({param:t});return e}async function M(t,e){return M.internal(t,ut,"sendTransaction",e)}(function(t){async function e(a,n,r,s){const{abi:u,account:d=a.account,address:c,args:i,dataSuffix:f,functionName:m,...h}=s;if(typeof d>"u")throw new D({docsPath:"/docs/contract/writeContract"});const o=d?N(d):null,p=Xt({abi:u,args:i,functionName:m});try{return await U(a,n,r)({data:`${p}${f?f.replace("0x",""):""}`,to:c,account:o,...h})}catch(l){throw te(l,{abi:u,address:c,args:i,docsPath:"/docs/contract/writeContract",functionName:m,sender:o==null?void 0:o.address})}}t.internal=e})(M||(M={}));function Wn({abi:t,address:e,client:a}){const n=a,[r,s]=n?"public"in n&&"wallet"in n?[n.public,n.wallet]:"public"in n?[n.public,void 0]:"wallet"in n?[void 0,n.wallet]:[n,n]:[void 0,void 0],u=r!=null,d=s!=null,c={};let i=!1,f=!1,m=!1;for(const h of t)if(h.type==="function"?h.stateMutability==="view"||h.stateMutability==="pure"?i=!0:f=!0:h.type==="event"&&(m=!0),i&&f&&m)break;return u&&(i&&(c.read=new Proxy({},{get(h,o){return(...p)=>{const{args:l,options:y}=W(p);return U(r,ee,"readContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),f&&(c.simulate=new Proxy({},{get(h,o){return(...p)=>{const{args:l,options:y}=W(p);return U(r,ae,"simulateContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),m&&(c.createEventFilter=new Proxy({},{get(h,o){return(...p)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(p,l);return U(r,ne,"createContractEventFilter")({abi:t,address:e,eventName:o,args:y,...w})}}}),c.getEvents=new Proxy({},{get(h,o){return(...p)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(p,l);return U(r,re,"getContractEvents")({abi:t,address:e,eventName:o,args:y,...w})}}}),c.watchEvent=new Proxy({},{get(h,o){return(...p)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(p,l);return U(r,se,"watchContractEvent")({abi:t,address:e,eventName:o,args:y,...w})}}}))),d&&f&&(c.write=new Proxy({},{get(h,o){return(...p)=>{const{args:l,options:y}=W(p);return U(s,M,"writeContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),(u||d)&&f&&(c.estimateGas=new Proxy({},{get(h,o){return(...p)=>{const{args:l,options:y}=W(p);return U(r??s,oe,"estimateContractGas")({abi:t,address:e,functionName:o,args:l,...y,account:y.account??s.account})}}})),c.address=e,c.abi=t,c}function W(t){const e=t.length&&Array.isArray(t[0]),a=e?t[0]:[],n=(e?t[1]:t[0])??{};return{args:a,options:n}}function rt(t,e){let a=!1;Array.isArray(t[0])?a=!0:t.length===1?a=e.inputs.some(s=>s.indexed):t.length===2&&(a=!0);const n=a?t[0]:void 0,r=(a?t[1]:t[0])??{};return{args:n,options:r}}function Tt(t){return!t||typeof t!="object"||!("BYTES_PER_ELEMENT"in t)?!1:t.BYTES_PER_ELEMENT===1&&t.constructor.name==="Uint8Array"}function Vn(t){return t.opcode==="CREATE2"?da(t):ua(t)}function ua(t){const e=B(k(t.from));let a=B(t.nonce);return a[0]===0&&(a=new Uint8Array([])),k(`0x${Y(ia([e,a],"bytes")).slice(26)}`)}function da(t){const e=B(k(t.from)),a=Me(Tt(t.salt)?t.salt:B(t.salt),{size:32}),n="bytecodeHash"in t?Tt(t.bytecodeHash)?t.bytecodeHash:B(t.bytecodeHash):Y(t.bytecode,"bytes");return k(De(Y(ze([B("0xff"),e,a,n])),12))}function Jn({chains:t,id:e}){return t.find(a=>a.id===e)}function Dt(t,e="hex"){const a=(()=>{if(typeof t=="string"){if(t.length>3&&t.length%2!==0)throw new Ge(t);return H(t)}return t})(),n=ct(a,{recursiveReadLimit:Number.POSITIVE_INFINITY});return zt(n,e)}function zt(t,e="hex"){if(t.bytes.length===0)return e==="hex"?G(t.bytes):t.bytes;const a=t.readByte();if(a<128&&t.decrementPosition(1),a<192){const r=Ct(t,a,128),s=t.readBytes(r);return e==="hex"?G(s):s}const n=Ct(t,a,192);return la(t,n,e)}function Ct(t,e,a){if(a===128&&e<128)return 1;if(e<=a+55)return e-a;if(e===a+55+1)return t.readUint8();if(e===a+55+2)return t.readUint16();if(e===a+55+3)return t.readUint24();if(e===a+55+4)return t.readUint32();throw new mt("Invalid RLP prefix")}function la(t,e,a){const n=t.position,r=[];for(;t.position-n<e;)r.push(zt(t,a));return r}function ma(t){return E(t)&&$e(t)===32}const fa=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Gt=Uint8Array.from(new Array(16).fill(0).map((t,e)=>e)),ha=Gt.map(t=>(9*t+5)%16),$t=(()=>{const a=[[Gt],[ha]];for(let n=0;n<4;n++)for(let r of a)r.push(r[n].map(s=>fa[s]));return a})(),Ht=$t[0],Ot=$t[1],jt=[[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)),pa=Ht.map((t,e)=>t.map(a=>jt[e][a])),ya=Ot.map((t,e)=>t.map(a=>jt[e][a])),ga=Uint32Array.from([0,1518500249,1859775393,2400959708,2840853838]),ba=Uint32Array.from([1352829926,1548603684,1836072691,2053994217,0]);function vt(t,e,a,n){return t===0?e^a^n:t===1?e&a|~e&n:t===2?(e|~a)^n:t===3?e&n|a&~n:e^(a|~n)}const V=new Uint32Array(16);class wa extends ca{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:a,h2:n,h3:r,h4:s}=this;return[e,a,n,r,s]}set(e,a,n,r,s){this.h0=e|0,this.h1=a|0,this.h2=n|0,this.h3=r|0,this.h4=s|0}process(e,a){for(let o=0;o<16;o++,a+=4)V[o]=e.getUint32(a,!0);let n=this.h0|0,r=n,s=this.h1|0,u=s,d=this.h2|0,c=d,i=this.h3|0,f=i,m=this.h4|0,h=m;for(let o=0;o<5;o++){const p=4-o,l=ga[o],y=ba[o],w=Ht[o],g=Ot[o],C=pa[o],b=ya[o];for(let x=0;x<16;x++){const I=j(n+vt(o,s,d,i)+V[w[x]]+l,C[x])+m|0;n=m,m=i,i=j(d,10)|0,d=s,s=I}for(let x=0;x<16;x++){const I=j(r+vt(p,u,c,f)+V[g[x]]+y,b[x])+h|0;r=h,h=f,f=j(c,10)|0,c=u,u=I}}this.set(this.h1+d+f|0,this.h2+i+h|0,this.h3+m+r|0,this.h4+n+u|0,this.h0+s+c|0)}roundClean(){wt(V)}destroy(){this.destroyed=!0,wt(this.buffer),this.set(0,0,0,0,0)}}const xa=He(()=>new wa),Ea=xa;function Kn(t,e){const a=e||"hex",n=Ea(E(t,{strict:!1})?B(t):t);return a==="bytes"?n:Nt(n)}const st=new Map;async function Ia(t){const{getSocket:e,keepAlive:a=!0,key:n="socket",reconnect:r=!0,url:s}=t,{interval:u=3e4}=typeof a=="object"?a:{},{attempts:d=5,delay:c=2e3}=typeof r=="object"?r:{},i=JSON.stringify({keepAlive:a,key:n,url:s,reconnect:r});let f=st.get(i);if(f)return f;let m=0;const{schedule:h}=ie({id:i,fn:async()=>{const l=new Map,y=new Map;let w,g,C,b=!1;function x(){if(r&&m<d){if(b)return;b=!0,m++,g==null||g.close(),setTimeout(async()=>{await I().catch(console.error),b=!1},c)}else l.clear(),y.clear()}async function I(){const T=await e({onClose(){var v,P;for(const S of l.values())(v=S.onError)==null||v.call(S,new Z({url:s}));for(const S of y.values())(P=S.onError)==null||P.call(S,new Z({url:s}));x()},onError(v){var P,S;w=v;for(const _ of l.values())(P=_.onError)==null||P.call(_,w);for(const _ of y.values())(S=_.onError)==null||S.call(_,w);x()},onOpen(){w=void 0,m=0},onResponse(v){const P=v.method==="eth_subscription",S=P?v.params.subscription:v.id,_=P?y:l,q=_.get(S);q&&q.onResponse(v),P||_.delete(S)}});if(g=T,a&&(C&&clearInterval(C),C=setInterval(()=>{var v;return(v=g.ping)==null?void 0:v.call(g)},u)),r&&y.size>0){const v=y.entries();for(const[P,{onResponse:S,body:_,onError:q}]of v)_&&(y.delete(P),f==null||f.request({body:_,onResponse:S,onError:q}))}return T}return await I(),w=void 0,f={close(){C&&clearInterval(C),g.close(),st.delete(i)},get socket(){return g},request({body:T,onError:v,onResponse:P}){w&&v&&v(w);const S=T.id??ce.take(),_=q=>{var z;typeof q.id=="number"&&S!==q.id||(T.method==="eth_subscribe"&&typeof q.result=="string"&&y.set(q.result,{onResponse:_,onError:v,body:T}),T.method==="eth_unsubscribe"&&y.delete((z=T.params)==null?void 0:z[0]),P(q))};l.set(S,{onResponse:_,onError:v});try{g.request({body:{jsonrpc:"2.0",id:S,...T}})}catch(q){v==null||v(q)}},requestAsync({body:T,timeout:v=1e4}){return Ze(()=>new Promise((P,S)=>this.request({body:T,onError:S,onResponse:P})),{errorInstance:new aa({body:T,url:s}),timeout:v})},requests:l,subscriptions:y,url:s},st.set(i,f),[f]}}),[o,[p]]=await h();return p}async function K(t,e={}){const{keepAlive:a,reconnect:n}=e;return Ia({async getSocket({onClose:r,onError:s,onOpen:u,onResponse:d}){const c=await oa(()=>import("./native-7uSYstXA.js").then(o=>o.n),__vite__mapDeps([0,1,2])).then(o=>o.WebSocket),i=new c(t);function f(){i.removeEventListener("close",f),i.removeEventListener("message",m),i.removeEventListener("error",s),i.removeEventListener("open",u),r()}function m({data:o}){if(!(typeof o=="string"&&o.trim().length===0))try{const p=JSON.parse(o);d(p)}catch(p){s(p)}}i.addEventListener("close",f),i.addEventListener("message",m),i.addEventListener("error",s),i.addEventListener("open",u),i.readyState===c.CONNECTING&&await new Promise((o,p)=>{i&&(i.onopen=o,i.onerror=p)});const{close:h}=i;return Object.assign(i,{close(){h.bind(i)(),f()},ping(){try{if(i.readyState===i.CLOSED||i.readyState===i.CLOSING)throw new It({url:i.url,cause:new Z({url:i.url})});const o={jsonrpc:"2.0",id:null,method:"net_version",params:[]};i.send(JSON.stringify(o))}catch(o){s(o)}},request({body:o}){if(i.readyState===i.CLOSED||i.readyState===i.CLOSING)throw new It({body:o,url:i.url,cause:new Z({url:i.url})});return i.send(JSON.stringify(o))}})},keepAlive:a,reconnect:n,url:t})}async function Ta(t){const e=await K(t);return Object.assign(e.socket,{requests:e.requests,subscriptions:e.subscriptions})}function Ca(t){return Lt(t,-32)===ue}function va(t){return de(t)}function Yn(t){if(!Ca(t))return{signature:t};const[e,a,n]=Mt([{type:"address"},{type:"bytes"},{type:"bytes"}],t);return{address:e,data:a,signature:n}}function Zn(t){if(!va(t))return{signature:t};const{authorization:e,to:a,...n}=le(t);return{authorization:{address:e.address,chainId:e.chainId,nonce:Number(e.nonce),r:R(e.r,{size:32}),s:R(e.s,{size:32}),yParity:e.yParity},...a?{address:a}:{},...n}}async function Sa({message:t,signature:e}){return Q({hash:me(t),signature:e})}async function Aa(t){const{domain:e,message:a,primaryType:n,signature:r,types:s}=t;return Q({hash:Qe({domain:e,message:a,primaryType:n,types:s}),signature:r})}function Qn(t){const{address:e,data:a,signature:n,to:r="hex"}=t,s=fe({authorization:{address:t.authorization.address,chainId:t.authorization.chainId,nonce:BigInt(t.authorization.nonce),r:BigInt(t.authorization.r),s:BigInt(t.authorization.s),yParity:t.authorization.yParity},data:a,signature:n,to:e});return r==="hex"?s:H(s)}async function Xn({address:t,hash:e,signature:a}){return ft(k(t),await Q({hash:e,signature:a}))}async function tr({address:t,message:e,signature:a}){return ft(k(t),await Sa({message:e,signature:a}))}async function er(t){const{address:e,domain:a,message:n,primaryType:r,signature:s,types:u}=t;return ft(k(e),await Aa({domain:a,message:n,primaryType:r,signature:s,types:u}))}function Pa(t){const e=Lt(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"&&F(e)>=192)return"legacy";throw new he({serializedType:e})}function _a(t){const e=Pa(t);return e==="eip1559"?Fa(t):e==="eip2930"?Ua(t):e==="eip4844"?qa(t):e==="eip7702"?Ra(t):ka(t)}function Ra(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,h,o,p]=e;if(e.length!==10&&e.length!==13)throw new $({attributes:{chainId:a,nonce:n,maxPriorityFeePerGas:r,maxFeePerGas:s,gas:u,to:d,value:c,data:i,accessList:f,authorizationList:m,...e.length>9?{v:h,r:o,s:p}:{}},serializedTransaction:t,type:"eip7702"});const l={chainId:F(a),type:"eip7702"};return E(d)&&d!=="0x"&&(l.to=d),E(u)&&u!=="0x"&&(l.gas=A(u)),E(i)&&i!=="0x"&&(l.data=i),E(n)&&(l.nonce=n==="0x"?0:F(n)),E(c)&&c!=="0x"&&(l.value=A(c)),E(s)&&s!=="0x"&&(l.maxFeePerGas=A(s)),E(r)&&r!=="0x"&&(l.maxPriorityFeePerGas=A(r)),f.length!==0&&f!=="0x"&&(l.accessList=tt(f)),m.length!==0&&m!=="0x"&&(l.authorizationList=Ba(m)),we(l),{...e.length===13?O(e):void 0,...l}}function qa(t){const e=X(t),a=e.length===4,n=a?e[0]:e,r=a?e.slice(1):[],[s,u,d,c,i,f,m,h,o,p,l,y,w,g]=n,[C,b,x]=r;if(!(n.length===11||n.length===14))throw new $({attributes:{chainId:s,nonce:u,maxPriorityFeePerGas:d,maxFeePerGas:c,gas:i,to:f,value:m,data:h,accessList:o,...n.length>9?{v:y,r:w,s:g}:{}},serializedTransaction:t,type:"eip4844"});const I={blobVersionedHashes:l,chainId:F(s),to:f,type:"eip4844"};return E(i)&&i!=="0x"&&(I.gas=A(i)),E(h)&&h!=="0x"&&(I.data=h),E(u)&&(I.nonce=u==="0x"?0:F(u)),E(m)&&m!=="0x"&&(I.value=A(m)),E(p)&&p!=="0x"&&(I.maxFeePerBlobGas=A(p)),E(c)&&c!=="0x"&&(I.maxFeePerGas=A(c)),E(d)&&d!=="0x"&&(I.maxPriorityFeePerGas=A(d)),o.length!==0&&o!=="0x"&&(I.accessList=tt(o)),C&&b&&x&&(I.sidecars=ge({blobs:C,commitments:b,proofs:x})),be(I),{...n.length===14?O(n):void 0,...I}}function Fa(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,h,o]=e;if(!(e.length===9||e.length===12))throw new $({attributes:{chainId:a,nonce:n,maxPriorityFeePerGas:r,maxFeePerGas:s,gas:u,to:d,value:c,data:i,accessList:f,...e.length>9?{v:m,r:h,s:o}:{}},serializedTransaction:t,type:"eip1559"});const p={chainId:F(a),type:"eip1559"};return E(d)&&d!=="0x"&&(p.to=d),E(u)&&u!=="0x"&&(p.gas=A(u)),E(i)&&i!=="0x"&&(p.data=i),E(n)&&(p.nonce=n==="0x"?0:F(n)),E(c)&&c!=="0x"&&(p.value=A(c)),E(s)&&s!=="0x"&&(p.maxFeePerGas=A(s)),E(r)&&r!=="0x"&&(p.maxPriorityFeePerGas=A(r)),f.length!==0&&f!=="0x"&&(p.accessList=tt(f)),pe(p),{...e.length===12?O(e):void 0,...p}}function Ua(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,h]=e;if(!(e.length===8||e.length===11))throw new $({attributes:{chainId:a,nonce:n,gasPrice:r,gas:s,to:u,value:d,data:c,accessList:i,...e.length>8?{v:f,r:m,s:h}:{}},serializedTransaction:t,type:"eip2930"});const o={chainId:F(a),type:"eip2930"};return E(u)&&u!=="0x"&&(o.to=u),E(s)&&s!=="0x"&&(o.gas=A(s)),E(c)&&c!=="0x"&&(o.data=c),E(n)&&(o.nonce=n==="0x"?0:F(n)),E(d)&&d!=="0x"&&(o.value=A(d)),E(r)&&r!=="0x"&&(o.gasPrice=A(r)),i.length!==0&&i!=="0x"&&(o.accessList=tt(i)),ye(o),{...e.length===11?O(e):void 0,...o}}function ka(t){const e=Dt(t,"hex"),[a,n,r,s,u,d,c,i,f]=e;if(!(e.length===6||e.length===9))throw new $({attributes:{nonce:a,gasPrice:n,gas:r,to:s,value:u,data:d,...e.length>6?{v:c,r:i,s:f}:{}},serializedTransaction:t,type:"legacy"});const m={type:"legacy"};if(E(s)&&s!=="0x"&&(m.to=s),E(r)&&r!=="0x"&&(m.gas=A(r)),E(d)&&d!=="0x"&&(m.data=d),E(a)&&(m.nonce=a==="0x"?0:F(a)),E(u)&&u!=="0x"&&(m.value=A(u)),E(n)&&n!=="0x"&&(m.gasPrice=A(n)),xe(m),e.length===6)return m;const h=E(c)&&c!=="0x"?A(c):0n;if(f==="0x"&&i==="0x")return h>0&&(m.chainId=Number(h)),m;const o=h,p=Number((o-35n)/2n);if(p>0)m.chainId=p;else if(o!==27n&&o!==28n)throw new Ee({v:o});return m.v=o,m.s=f,m.r=i,m.yParity=o%2n===0n?1:0,m}function X(t){return Dt(`0x${t.slice(4)}`,"hex")}function tt(t){const e=[];for(let a=0;a<t.length;a++){const[n,r]=t[a];if(!Oe(n,{strict:!1}))throw new je({address:n});e.push({address:n,storageKeys:r.map(s=>ma(s)?s:We(s))})}return e}function Ba(t){const e=[];for(let a=0;a<t.length;a++){const[n,r,s,u,d,c]=t[a];e.push({address:r,chainId:n==="0x"?0:F(n),nonce:s==="0x"?0:F(s),...O([u,d,c])})}return e}function O(t){const e=t.slice(-3),a=e[0]==="0x"||A(e[0])===0n?27n:28n;return{r:xt(e[1],{size:32}),s:xt(e[2],{size:32}),v:a,yParity:a===27n?0:1}}class Na extends mt{constructor({value:e}){super(`Number \`${e}\` is not a valid decimal number.`,{name:"InvalidDecimalNumberError"})}}function Wt(t,e){if(!/^(-?)([0-9]*)\.?([0-9]*)$/.test(t))throw new Na({value:t});let[a,n="0"]=t.split(".");const r=a.startsWith("-");if(r&&(a=a.slice(1)),n=n.replace(/(0+)$/,""),e===0)Math.round(+`.${n}`)===1&&(a=`${BigInt(a)+1n}`),n="";else if(n.length>e){const[s,u,d]=[n.slice(0,e-1),n.slice(e-1,e),n.slice(e)],c=Math.round(+`${u}.${d}`);c>9?n=`${BigInt(s)+BigInt(1)}0`.padStart(s.length+1,"0"):n=`${s}${c}`,n.length>e&&(n=n.slice(1),a=`${BigInt(a)+1n}`),n=n.slice(0,e)}else n=n.padEnd(e,"0");return BigInt(`${r?"-":""}${a}${n}`)}function ar(t,e="wei"){return Wt(t,Ie[e])}function nr(t,e="wei"){return Wt(t,Te[e])}async function La(t,{hash:e}){await t.request({method:`${t.mode}_dropTransaction`,params:[e]})}async function Ma(t){return t.request({method:`${t.mode}_dumpState`})}async function Da(t){return t.mode==="ganache"?await t.request({method:"eth_mining"}):await t.request({method:`${t.mode}_getAutomine`})}async function za(t){return await t.request({method:"txpool_content"})}async function Ga(t){const{pending:e,queued:a}=await t.request({method:"txpool_status"});return{pending:F(e),queued:F(a)}}async function $a(t,{address:e}){await t.request({method:`${t.mode}_impersonateAccount`,params:[e]})}async function Ha(t,{seconds:e}){return await t.request({method:"evm_increaseTime",params:[R(e)]})}async function Oa(t){return await t.request({method:"txpool_inspect"})}async function ja(t,{state:e}){await t.request({method:`${t.mode}_loadState`,params:[e]})}async function Wa(t,{blocks:e,interval:a}){t.mode==="ganache"?await t.request({method:"evm_mine",params:[{blocks:R(e)}]}):await t.request({method:`${t.mode}_mine`,params:[R(e),R(a||0)]})}async function Va(t){await t.request({method:`${t.mode}_removeBlockTimestampInterval`})}async function Ja(t,{blockNumber:e,jsonRpcUrl:a}={}){await t.request({method:`${t.mode}_reset`,params:[{forking:{blockNumber:Number(e),jsonRpcUrl:a}}]})}async function Ka(t,{id:e}){await t.request({method:"evm_revert",params:[e]})}async function Ya(t,e){var w,g,C;const{accessList:a,data:n,from:r,gas:s,gasPrice:u,maxFeePerGas:d,maxPriorityFeePerGas:c,nonce:i,to:f,value:m,...h}=e,o=(C=(g=(w=t.chain)==null?void 0:w.formatters)==null?void 0:g.transactionRequest)==null?void 0:C.format,l=(o||ht)({...St(h,{format:o}),accessList:a,data:n,from:r,gas:s,gasPrice:u,maxFeePerGas:d,maxPriorityFeePerGas:c,nonce:i,to:f,value:m},"sendUnsignedTransaction");return await t.request({method:"eth_sendUnsignedTransaction",params:[l]})}async function Za(t,e){t.mode==="ganache"?e?await t.request({method:"miner_start"}):await t.request({method:"miner_stop"}):await t.request({method:"evm_setAutomine",params:[e]})}async function Qa(t,{address:e,value:a}){t.mode==="ganache"?await t.request({method:"evm_setAccountBalance",params:[e,R(a)]}):await t.request({method:`${t.mode}_setBalance`,params:[e,R(a)]})}async function Xa(t,{gasLimit:e}){await t.request({method:"evm_setBlockGasLimit",params:[R(e)]})}async function tn(t,{interval:e}){const a=t.mode==="hardhat"?e*1e3:e;await t.request({method:`${t.mode}_setBlockTimestampInterval`,params:[a]})}async function en(t,{address:e,bytecode:a}){t.mode==="ganache"?await t.request({method:"evm_setAccountCode",params:[e,a]}):await t.request({method:`${t.mode}_setCode`,params:[e,a]})}async function an(t,{address:e}){await t.request({method:`${t.mode}_setCoinbase`,params:[e]})}async function nn(t,{interval:e}){const a=t.mode==="hardhat"?e*1e3:e;await t.request({method:"evm_setIntervalMining",params:[a]})}async function rn(t,e){await t.request({method:`${t.mode}_setLoggingEnabled`,params:[e]})}async function sn(t,{gasPrice:e}){await t.request({method:`${t.mode}_setMinGasPrice`,params:[R(e)]})}async function on(t,{baseFeePerGas:e}){await t.request({method:`${t.mode}_setNextBlockBaseFeePerGas`,params:[R(e)]})}async function cn(t,{timestamp:e}){await t.request({method:"evm_setNextBlockTimestamp",params:[R(e)]})}async function un(t,{address:e,nonce:a}){await t.request({method:`${t.mode}_setNonce`,params:[e,R(a)]})}async function dn(t,e){await t.request({method:`${t.mode}_setRpcUrl`,params:[e]})}async function ln(t,{address:e,index:a,value:n}){await t.request({method:`${t.mode}_setStorageAt`,params:[e,typeof a=="number"?R(a):a,n]})}async function mn(t){return await t.request({method:"evm_snapshot"})}async function fn(t,{address:e}){await t.request({method:`${t.mode}_stopImpersonatingAccount`,params:[e]})}function hn({mode:t}){return e=>{const a=e.extend(()=>({mode:t}));return{dropTransaction:n=>La(a,n),dumpState:()=>Ma(a),getAutomine:()=>Da(a),getTxpoolContent:()=>za(a),getTxpoolStatus:()=>Ga(a),impersonateAccount:n=>$a(a,n),increaseTime:n=>Ha(a,n),inspectTxpool:()=>Oa(a),loadState:n=>ja(a,n),mine:n=>Wa(a,n),removeBlockTimestampInterval:()=>Va(a),reset:n=>Ja(a,n),revert:n=>Ka(a,n),sendUnsignedTransaction:n=>Ya(a,n),setAutomine:n=>Za(a,n),setBalance:n=>Qa(a,n),setBlockGasLimit:n=>Xa(a,n),setBlockTimestampInterval:n=>tn(a,n),setCode:n=>en(a,n),setCoinbase:n=>an(a,n),setIntervalMining:n=>nn(a,n),setLoggingEnabled:n=>rn(a,n),setMinGasPrice:n=>sn(a,n),setNextBlockBaseFeePerGas:n=>on(a,n),setNextBlockTimestamp:n=>cn(a,n),setNonce:n=>un(a,n),setRpcUrl:n=>dn(a,n),setStorageAt:n=>ln(a,n),snapshot:()=>mn(a),stopImpersonatingAccount:n=>fn(a,n)}}}function rr(t){const{key:e="test",name:a="Test Client",mode:n}=t;return At({...t,key:e,name:a,type:"testClient"}).extend(s=>({mode:n,...hn({mode:n})(s)}))}async function pn(t,{chain:e}){const{id:a,name:n,nativeCurrency:r,rpcUrls:s,blockExplorers:u}=e;await t.request({method:"wallet_addEthereumChain",params:[{chainId:R(a),chainName:n,nativeCurrency:r,rpcUrls:s.default.http,blockExplorerUrls:u?Object.values(u).map(({url:d})=>d):void 0}]},{dedupe:!0,retryCount:0})}function yn(t,e){const{abi:a,args:n,bytecode:r,...s}=e,u=Ce({abi:a,args:n,bytecode:r});return ut(t,{...s,...s.authorizationList?{to:null}:{},data:u})}async function gn(t){var a;return((a=t.account)==null?void 0:a.type)==="local"?[t.account.address]:(await t.request({method:"eth_accounts"},{dedupe:!0})).map(n=>Ve(n))}async function bn(t,e={}){const{account:a=t.account,chainId:n}=e,r=a?N(a):void 0,s=n?[r==null?void 0:r.address,[R(n)]]:[r==null?void 0:r.address],u=await t.request({method:"wallet_getCapabilities",params:s}),d={};for(const[c,i]of Object.entries(u)){d[Number(c)]={};for(let[f,m]of Object.entries(i))f==="addSubAccount"&&(f="unstable_addSubAccount"),d[Number(c)][f]=m}return typeof n=="number"?d[n]:d}async function wn(t){return await t.request({method:"wallet_getPermissions"},{dedupe:!0})}async function xn(t){return(await t.request({method:"eth_requestAccounts"},{dedupe:!0,retryCount:0})).map(a=>k(a))}async function En(t,e){return t.request({method:"wallet_requestPermissions",params:[e]},{retryCount:0})}async function In(t,e){const{chain:a=t.chain}=e,n=e.timeout??Math.max(((a==null?void 0:a.blockTime)??0)*3,5e3),r=await Pt(t,e);return await _t(t,{...e,id:r.id,timeout:n})}const ot=new Je(128);async function Vt(t,e){var x,I,T,v;const{account:a=t.account,chain:n=t.chain,accessList:r,authorizationList:s,blobs:u,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:h,nonce:o,pollingInterval:p,throwOnReceiptRevert:l,type:y,value:w,...g}=e,C=e.timeout??Math.max(((n==null?void 0:n.blockTime)??0)*3,5e3);if(typeof a>"u")throw new D({docsPath:"/docs/actions/wallet/sendTransactionSync"});const b=a?N(a):null;try{Rt(e);const P=await(async()=>{if(e.to)return e.to;if(e.to!==null&&s&&s.length>0)return await ve({authorization:s[0]}).catch(()=>{throw new mt("`to` is required. Could not infer from `authorizationList`.")})})();if((b==null?void 0:b.type)==="json-rpc"||b===null){let S;n!==null&&(S=await U(t,dt,"getChainId")({}),qt({currentChainId:S,chain:n}));const _=(T=(I=(x=t.chain)==null?void 0:x.formatters)==null?void 0:I.transactionRequest)==null?void 0:T.format,z=(_||ht)({...St(g,{format:_}),accessList:r,account:b,authorizationList:s,blobs:u,chainId:S,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:h,nonce:o,to:P,type:y,value:w},"sendTransaction"),pt=ot.get(t.uid),Jt=pt?"wallet_sendTransaction":"eth_sendTransaction",Kt=await(async()=>{try{return await t.request({method:Jt,params:[z]},{retryCount:0})}catch(yt){if(pt===!1)throw yt;const L=yt;if(L.name==="InvalidInputRpcError"||L.name==="InvalidParamsRpcError"||L.name==="MethodNotFoundRpcError"||L.name==="MethodNotSupportedRpcError")return await t.request({method:"wallet_sendTransaction",params:[z]},{retryCount:0}).then(at=>(ot.set(t.uid,!0),at)).catch(at=>{const nt=at;throw nt.name==="MethodNotFoundRpcError"||nt.name==="MethodNotSupportedRpcError"?(ot.set(t.uid,!1),L):nt});throw L}})(),et=await U(t,Se,"waitForTransactionReceipt")({checkReplacement:!1,hash:Kt,pollingInterval:p,timeout:C});if(l&&et.status==="reverted")throw new Ae({receipt:et});return et}if((b==null?void 0:b.type)==="local"){const S=await U(t,Ft,"prepareTransactionRequest")({account:b,accessList:r,authorizationList:s,blobs:u,chain:n,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:h,nonce:o,nonceManager:b.nonceManager,parameters:[...Pe,"sidecars"],type:y,value:w,...g,to:P}),_=(v=n==null?void 0:n.serializers)==null?void 0:v.transaction,q=await b.signTransaction(S,{serializer:_});return await U(t,Ut,"sendRawTransactionSync")({serializedTransaction:q,throwOnReceiptRevert:l})}throw(b==null?void 0:b.type)==="smart"?new J({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"}):new J({docsPath:"/docs/actions/wallet/sendTransactionSync",type:b==null?void 0:b.type})}catch(P){throw P instanceof J?P:_e(P,{...e,account:b,chain:e.chain||void 0})}}async function Tn(t,e){const{id:a}=e;await t.request({method:"wallet_showCallsStatus",params:[a]})}async function Cn(t,e){const{account:a=t.account}=e;if(!a)throw new D({docsPath:"/docs/eip7702/signAuthorization"});const n=N(a);if(!n.signAuthorization)throw new J({docsPath:"/docs/eip7702/signAuthorization",metaMessages:["The `signAuthorization` Action does not support JSON-RPC Accounts."],type:n.type});const r=await kt(t,e);return n.signAuthorization(r)}async function vn(t,{account:e=t.account,message:a}){if(!e)throw new D({docsPath:"/docs/actions/wallet/signMessage"});const n=N(e);if(n.signMessage)return n.signMessage({message:a});const r=typeof a=="string"?Ke(a):a.raw instanceof Uint8Array?Nt(a.raw):a.raw;return t.request({method:"personal_sign",params:[r,n.address]},{retryCount:0})}async function Sn(t,e){var i,f,m,h;const{account:a=t.account,chain:n=t.chain,...r}=e;if(!a)throw new D({docsPath:"/docs/actions/wallet/signTransaction"});const s=N(a);Rt({account:s,...e});const u=await U(t,dt,"getChainId")({});n!==null&&qt({currentChainId:u,chain:n});const d=(n==null?void 0:n.formatters)||((i=t.chain)==null?void 0:i.formatters),c=((f=d==null?void 0:d.transactionRequest)==null?void 0:f.format)||ht;return s.signTransaction?s.signTransaction({...r,chainId:u},{serializer:(h=(m=t.chain)==null?void 0:m.serializers)==null?void 0:h.transaction}):await t.request({method:"eth_signTransaction",params:[{...c({...r,account:s},"signTransaction"),chainId:R(u),from:s.address}]},{retryCount:0})}async function An(t,e){const{account:a=t.account,domain:n,message:r,primaryType:s}=e;if(!a)throw new D({docsPath:"/docs/actions/wallet/signTypedData"});const u=N(a),d={EIP712Domain:Xe({domain:n}),...e.types};if(ta({domain:n,message:r,primaryType:s,types:d}),u.signTypedData)return u.signTypedData({domain:n,message:r,primaryType:s,types:d});const c=ea({domain:n,message:r,primaryType:s,types:d});return t.request({method:"eth_signTypedData_v4",params:[u.address,c]},{retryCount:0})}async function Pn(t,{id:e}){await t.request({method:"wallet_switchEthereumChain",params:[{chainId:R(e)}]},{retryCount:0})}async function _n(t,e){return await t.request({method:"wallet_watchAsset",params:e},{retryCount:0})}async function Rn(t,e){return M.internal(t,Vt,"sendTransactionSync",e)}function qn(t){return{addChain:e=>pn(t,e),deployContract:e=>yn(t,e),getAddresses:()=>gn(t),getCallsStatus:e=>qe(t,e),getCapabilities:e=>bn(t,e),getChainId:()=>dt(t),getPermissions:()=>wn(t),prepareAuthorization:e=>kt(t,e),prepareTransactionRequest:e=>Ft(t,e),requestAddresses:()=>xn(t),requestPermissions:e=>En(t,e),sendCalls:e=>Pt(t,e),sendCallsSync:e=>In(t,e),sendRawTransaction:e=>Re(t,e),sendRawTransactionSync:e=>Ut(t,e),sendTransaction:e=>ut(t,e),sendTransactionSync:e=>Vt(t,e),showCallsStatus:e=>Tn(t,e),signAuthorization:e=>Cn(t,e),signMessage:e=>vn(t,e),signTransaction:e=>Sn(t,e),signTypedData:e=>An(t,e),switchChain:e=>Pn(t,e),waitForCallsStatus:e=>_t(t,e),watchAsset:e=>_n(t,e),writeContract:e=>M(t,e),writeContractSync:e=>Rn(t,e)}}function sr(t){const{key:e="wallet",name:a="Wallet Client",transport:n}=t;return At({...t,key:e,name:a,transport:n,type:"walletClient"}).extend(qn)}function or(t,e={}){const{key:a="custom",methods:n,name:r="Custom Provider",retryDelay:s}=e;return({retryCount:u})=>lt({key:a,methods:n,name:r,request:t.request.bind(t),retryCount:e.retryCount??u,retryDelay:s,type:"custom"})}function ir(t,e={}){const{key:a="fallback",name:n="Fallback",rank:r=!1,shouldThrow:s=Fn,retryCount:u,retryDelay:d}=e;return(({chain:c,pollingInterval:i=4e3,timeout:f,...m})=>{let h=t,o=()=>{};const p=lt({key:a,name:n,async request({method:l,params:y}){let w;const g=async(C=0)=>{const b=h[C]({...m,chain:c,retryCount:0,timeout:f});try{const x=await b.request({method:l,params:y});return o({method:l,params:y,response:x,transport:b,status:"success"}),x}catch(x){if(o({error:x,method:l,params:y,transport:b,status:"error"}),s(x)||C===h.length-1||(w??(w=h.slice(C+1).some(I=>{const{include:T,exclude:v}=I({chain:c}).config.methods||{};return T?T.includes(l):v?!v.includes(l):!0})),!w))throw x;return g(C+1)}};return g()},retryCount:u,retryDelay:d,type:"fallback"},{onResponse:l=>o=l,transports:h.map(l=>l({chain:c,retryCount:0}))});if(r){const l=typeof r=="object"?r:{};Un({chain:c,interval:l.interval??i,onTransports:y=>h=y,ping:l.ping,sampleCount:l.sampleCount,timeout:l.timeout,transports:h,weights:l.weights})}return p})}function Fn(t){return!!("code"in t&&typeof t.code=="number"&&(t.code===na.code||t.code===ra.code||Fe.nodeMessage.test(t.message)||t.code===5e3))}function Un({chain:t,interval:e=4e3,onTransports:a,ping:n,sampleCount:r=10,timeout:s=1e3,transports:u,weights:d={}}){const{stability:c=.7,latency:i=.3}=d,f=[],m=async()=>{const h=await Promise.all(u.map(async l=>{const y=l({chain:t,retryCount:0,timeout:s}),w=Date.now();let g,C;try{await(n?n({transport:y}):y.request({method:"net_listening"})),C=1}catch{C=0}finally{g=Date.now()}return{latency:g-w,success:C}}));f.push(h),f.length>r&&f.shift();const o=Math.max(...f.map(l=>Math.max(...l.map(({latency:y})=>y)))),p=u.map((l,y)=>{const w=f.map(I=>I[y].latency),C=1-w.reduce((I,T)=>I+T,0)/w.length/o,b=f.map(I=>I[y].success),x=b.reduce((I,T)=>I+T,0)/b.length;return x===0?[0,y]:[i*C+c*x,y]}).sort((l,y)=>y[0]-l[0]);a(p.map(([,l])=>u[l])),await Ue(e),m()};m()}function cr(t,e={}){const{keepAlive:a,key:n="webSocket",methods:r,name:s="WebSocket JSON-RPC",reconnect:u,retryDelay:d}=e;return({chain:c,retryCount:i,timeout:f})=>{var l;const m=e.retryCount??i,h=f??e.timeout??1e4,o=t||((l=c==null?void 0:c.rpcUrls.default.webSocket)==null?void 0:l[0]),p={keepAlive:a,reconnect:u};if(!o)throw new ke;return lt({key:n,methods:r,name:s,async request({method:y,params:w}){const g={method:y,params:w},C=await K(o,p),{error:b,result:x}=await C.requestAsync({body:g,timeout:h});if(b)throw new sa({body:g,error:b,url:o});return x},retryCount:m,retryDelay:d,timeout:h,type:"webSocket"},{getSocket(){return Ta(o)},getRpcClient(){return K(o,p)},async subscribe({params:y,onData:w,onError:g}){const C=await K(o,p),{result:b}=await new Promise((x,I)=>C.request({body:{method:"eth_subscribe",params:y},onError(T){I(T),g==null||g(T)},onResponse(T){if(T.error){I(T.error),g==null||g(T.error);return}if(typeof T.id=="number"){x(T);return}T.method==="eth_subscription"&&w(T.params)}}));return{subscriptionId:b,async unsubscribe(){return new Promise(x=>C.request({body:{method:"eth_unsubscribe",params:[b]},onResponse:x}))}}}})}}class ur extends Error{constructor(e,a){super(a),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=a}}const it="/docs/contract/decodeDeployData";function dr(t){const{abi:e,bytecode:a,data:n}=t;if(n===a)return{bytecode:a};const r=e.find(u=>"type"in u&&u.type==="constructor");if(!r)throw new Ye({docsPath:it});if(!("inputs"in r))throw new Et({docsPath:it});if(!r.inputs||r.inputs.length===0)throw new Et({docsPath:it});return{args:Mt(r.inputs,`0x${n.replace(a,"")}`),bytecode:a}}function lr(t){const e=t.to??(typeof t.blobs[0]=="string"?"hex":"bytes"),a=typeof t.blobs[0]=="string"?t.blobs.map(d=>H(d)):t.blobs,n=a.reduce((d,c)=>d+c.length,0),r=ct(new Uint8Array(n));let s=!0;for(const d of a){const c=ct(d);for(;s&&c.position<d.length;){c.incrementPosition(1);let i=31;d.length-c.position<31&&(i=d.length-c.position);for(const f in Array.from({length:i})){const m=c.readByte();if(m===128&&!c.inspectBytes(c.remaining).includes(128)){s=!1;break}r.pushByte(m)}}}const u=r.bytes.slice(0,r.position);return e==="hex"?G(u):u}function mr(t){const{sidecars:e,version:a}=t,n=t.to??(typeof e[0].blob=="string"?"hex":"bytes"),r=[];for(const{commitment:s}of e)r.push(Be({commitment:s,to:n,version:a}));return r}const kn=2147483648;function fr(t){if(t===1)return 60n;if(t>=kn||t<0)throw new Ne({chainId:t});return BigInt((2147483648|t)>>>0)}function Bn({blobToKzgCommitment:t,computeBlobKzgProof:e}){return{blobToKzgCommitment:t,computeBlobKzgProof:e}}function hr(t,e){try{t.loadTrustedSetup(e)}catch(a){const n=a;if(!n.message.includes("trusted setup is already loaded"))throw n}return Bn(t)}function pr({r:t,yParityAndS:e}){const a=H(e),n=a[0]&128?1:0,r=a;return n===1&&(r[0]&=127),{r:t,s:G(r),yParity:n}}function yr(t){const{r:e,s:a}=Bt.Signature.fromCompact(t.slice(2,130));return{r:R(e,{size:32}),yParityAndS:R(a,{size:32})}}async function gr(t){const{serializedTransaction:e,signature:a}=t,n=_a(e),r=a??{r:n.r,s:n.s,v:n.v,yParity:n.yParity},s=Le({...n,r:void 0,s:void 0,v:void 0,yParity:void 0,sidecars:void 0});return await Q({hash:Y(s),signature:r})}function br({r:t,yParityAndS:e}){return`0x${new Bt.Signature(A(t),A(e)).toCompactHex()}`}function wr(t){const{r:e,s:a,v:n,yParity:r}=t,s=Number(r??n-27n);let u=a;if(s===1){const d=H(a);d[0]|=128,u=G(d)}return{r:e,yParityAndS:u}}export{Ye as AbiConstructorNotFoundError,Et as AbiConstructorParamsNotFoundError,To as AbiDecodingDataSizeInvalidError,Co as AbiDecodingDataSizeTooSmallError,vo as AbiDecodingZeroDataError,So as AbiEncodingArrayLengthMismatchError,Ao as AbiEncodingBytesSizeMismatchError,Po as AbiEncodingLengthMismatchError,_o as AbiErrorInputsNotFoundError,Ro as AbiErrorNotFoundError,qo as AbiErrorSignatureNotFoundError,Fo as AbiEventNotFoundError,Uo as AbiEventSignatureEmptyTopicsError,ko as AbiEventSignatureNotFoundError,Bo as AbiFunctionNotFoundError,No as AbiFunctionOutputsNotFoundError,Lo as AbiFunctionSignatureNotFoundError,Ir as AccountStateConflictError,Ki as AtomicReadyWalletRejectedUpgradeError,Yi as AtomicityNotSupportedError,mt as BaseError,Tr as BaseFeeScalarError,Cr as BlockNotFoundError,vr as BundleFailedError,Zi as BundleTooLargeError,Mo as BytesSizeMismatchError,Sr as CallExecutionError,Qi as ChainDisconnectedError,Ar as ChainDoesNotSupportContract,Pr as ChainMismatchError,_r as ChainNotFoundError,Rr as CircularReferenceError,qr as ClientChainNotConfiguredError,Fr as ContractFunctionExecutionError,Ur as ContractFunctionRevertedError,kr as ContractFunctionZeroDataError,Br as CounterfactualDeploymentFailedError,Do as DecodeLogDataMismatch,zo as DecodeLogTopicsMismatch,Xi as DuplicateIdError,ur as EIP1193ProviderRpcError,Nr as Eip1559FeesNotSupportedError,Lr as EnsAvatarInvalidNftUriError,Mr as EnsAvatarUnsupportedNamespaceError,Dr as EnsAvatarUriResolutionError,Ne as EnsInvalidChainIdError,zr as EstimateGasExecutionError,Fe as ExecutionRevertedError,Gr as FeeCapTooHighError,$r as FeeCapTooLowError,Hr as FeeConflictError,Go as FilterTypeNotSupportedError,tc as HttpRequestError,Or as InsufficientFundsError,$o as IntegerOutOfRangeError,ec as InternalRpcError,jr as IntrinsicGasTooHighError,Wr as IntrinsicGasTooLowError,Ho as InvalidAbiDecodingTypeError,Oo as InvalidAbiEncodingTypeError,Vr as InvalidAbiItemError,Qt as InvalidAbiParameterError,Jr as InvalidAbiParametersError,Kr as InvalidAbiTypeParameterError,je as InvalidAddressError,jo as InvalidArrayError,Wo as InvalidBytesBooleanError,Yr as InvalidChainIdError,Na as InvalidDecimalNumberError,Vo as InvalidDefinitionTypeError,$i as InvalidDomainError,Zr as InvalidFunctionModifierError,Jo as InvalidHexBooleanError,Ge as InvalidHexValueError,ac as InvalidInputRpcError,Ee as InvalidLegacyVError,Qr as InvalidModifierError,Xr as InvalidParameterError,nc as InvalidParamsRpcError,ts as InvalidParenthesisError,Hi as InvalidPrimaryTypeError,rc as InvalidRequestRpcError,es as InvalidSerializableTransactionError,$ as InvalidSerializedTransactionError,he as InvalidSerializedTransactionTypeError,as as InvalidSignatureError,ns as InvalidStorageKeySizeError,rs as InvalidStructSignatureError,Oi as InvalidStructTypeError,sc as JsonRpcVersionUnsupportedError,oc as LimitExceededRpcError,ss as MaxFeePerGasTooLowError,ic as MethodNotFoundRpcError,cc as MethodNotSupportedRpcError,os as NonceMaxValueError,is as NonceTooHighError,cs as NonceTooLowError,uc as ParseRpcError,dc as ProviderDisconnectedError,lc as ProviderRpcError,us as RawContractError,mc as ResourceNotFoundRpcError,fc as ResourceUnavailableRpcError,hc as RpcError,sa as RpcRequestError,Ko as SizeExceedsPaddingSizeError,Yo as SizeOverflowError,Zo as SliceOffsetOutOfBoundsError,Z as SocketClosedError,ds as SolidityProtectedKeywordError,ls as StateAssignmentConflictError,pc as SwitchChainError,aa as TimeoutError,ms as TipAboveFeeCapError,fs as TransactionExecutionError,hs as TransactionNotFoundError,ps as TransactionReceiptNotFoundError,na as TransactionRejectedRpcError,ys as TransactionTypeNotSupportedError,yc as UnauthorizedProviderError,gc as UnknownBundleIdError,gs as UnknownNodeError,bc as UnknownRpcError,bs as UnknownSignatureError,ws as UnknownTypeError,wc as UnsupportedChainIdError,xc as UnsupportedNonOptionalCapabilityError,Qo as UnsupportedPackedAbiType,Ec as UnsupportedProviderMethodError,ke as UrlRequiredError,ra as UserRejectedRequestError,xs as WaitForCallsStatusTimeoutError,Es as WaitForTransactionReceiptTimeoutError,It as WebSocketRequestError,qt as assertCurrentChain,Rt as assertRequest,pe as assertTransactionEIP1559,ye as assertTransactionEIP2930,xe as assertTransactionLegacy,Is as blobsToCommitments,Ts as blobsToProofs,Xo as boolToBytes,ti as boolToHex,ei as bytesToBigInt,ai as bytesToBool,G as bytesToHex,ni as bytesToNumber,Tc as bytesToRlp,ri as bytesToString,pd as ccipFetch,yd as ccipRequest,Ve as checksumAddress,Be as commitmentToVersionedHash,Cs as commitmentsToVersionedHashes,br as compactSignatureToHex,pr as compactSignatureToSignature,ze as concat,si as concatBytes,oi as concatHex,At as createClient,vs as createNonceManager,Ss as createPublicClient,rr as createTestClient,lt as createTransport,sr as createWalletClient,or as custom,Mt as decodeAbiParameters,dr as decodeDeployData,ii as decodeErrorResult,ci as decodeEventLog,As as decodeFunctionData,Ps as decodeFunctionResult,ui as defineBlock,di as defineChain,Bn as defineKzg,li as defineTransaction,Ed as defineTransactionReceipt,mi as defineTransactionRequest,_s as deploylessCallViaBytecodeBytecode,Rs as deploylessCallViaFactoryBytecode,ji as domainSeparator,fi as encodeAbiParameters,Ce as encodeDeployData,qs as encodeErrorResult,hi as encodeEventTopics,Xt as encodeFunctionData,Fs as encodeFunctionResult,Us as encodePacked,ks as erc1155Abi,Bs as erc20Abi,Ns as erc20Abi_bytes32,Ls as erc4626Abi,Ms as erc6492SignatureValidatorAbi,Ds as erc6492SignatureValidatorByteCode,zs as erc721Abi,Gs as ethAddress,Ie as etherUnits,Jn as extractChain,ir as fallback,pi as formatBlock,$s as formatEther,Hs as formatGwei,Id as formatLog,yi as formatTransaction,Td as formatTransactionReceipt,ht as formatTransactionRequest,Os as formatUnits,lr as fromBlobs,gi as fromBytes,bi as fromHex,Dt as fromRlp,wi as getAbiItem,k as getAddress,js as getChainContractAddress,Wn as getContract,Vn as getContractAddress,te as getContractError,da as getCreate2Address,ua as getCreateAddress,xi as getEventSelector,Ei as getEventSignature,Ii as getFunctionSelector,Ti as getFunctionSignature,Pa as getSerializedTransactionType,Ws as getTransactionType,Xe as getTypesForEIP712Domain,Te as gweiUnits,Wi as hashDomain,me as hashMessage,Vi as hashStruct,Qe as hashTypedData,A as hexToBigInt,Ci as hexToBool,H as hexToBytes,yr as hexToCompactSignature,F as hexToNumber,Cc as hexToRlp,Vs as hexToSignature,vi as hexToString,Js as http,Oe as isAddress,ft as isAddressEqual,Tt as isBytes,Ca as isErc6492Signature,va as isErc8010Signature,ma as isHash,E as isHex,Y as keccak256,Ks as labelhash,vc as maxInt104,Sc as maxInt112,Ac as maxInt120,Pc as maxInt128,_c as maxInt136,Rc as maxInt144,qc as maxInt152,Fc as maxInt16,Uc as maxInt160,kc as maxInt168,Bc as maxInt176,Nc as maxInt184,Lc as maxInt192,Mc as maxInt200,Dc as maxInt208,zc as maxInt216,Gc as maxInt224,$c as maxInt232,Hc as maxInt24,Oc as maxInt240,jc as maxInt248,Wc as maxInt256,Vc as maxInt32,Jc as maxInt40,Kc as maxInt48,Yc as maxInt56,Zc as maxInt64,Qc as maxInt72,Xc as maxInt8,tu as maxInt80,eu as maxInt88,au as maxInt96,nu as maxUint104,ru as maxUint112,su as maxUint120,ou as maxUint128,iu as maxUint136,cu as maxUint144,uu as maxUint152,du as maxUint16,lu as maxUint160,mu as maxUint168,fu as maxUint176,hu as maxUint184,pu as maxUint192,yu as maxUint200,gu as maxUint208,bu as maxUint216,wu as maxUint224,xu as maxUint232,Eu as maxUint24,Iu as maxUint240,Tu as maxUint248,Cu as maxUint256,vu as maxUint32,Su as maxUint40,Au as maxUint48,Pu as maxUint56,_u as maxUint64,Ru as maxUint72,qu as maxUint8,Fu as maxUint80,Uu as maxUint88,ku as maxUint96,Bu as minInt104,Nu as minInt112,Lu as minInt120,Mu as minInt128,Du as minInt136,zu as minInt144,Gu as minInt152,$u as minInt16,Hu as minInt160,Ou as minInt168,ju as minInt176,Wu as minInt184,Vu as minInt192,Ju as minInt200,Ku as minInt208,Yu as minInt216,Zu as minInt224,Qu as minInt232,Xu as minInt24,td as minInt240,ed as minInt248,ad as minInt256,nd as minInt32,rd as minInt40,sd as minInt48,od as minInt56,id as minInt64,cd as minInt72,ud as minInt8,dd as minInt80,ld as minInt88,md as minInt96,Ys as multicall3Abi,Zs as namehash,Qs as nonceManager,Si as numberToBytes,R as numberToHex,gd as offchainLookup,bd as offchainLookupAbiItem,wd as offchainLookupSignature,Me as pad,Ai as padBytes,xt as padHex,Xs as parseAbi,to as parseAbiItem,jn as parseAbiParameter,eo as parseAbiParameters,yr as parseCompactSignature,Yn as parseErc6492Signature,Zn as parseErc8010Signature,ar as parseEther,Pi as parseEventLogs,nr as parseGwei,ao as parseSignature,_a as parseTransaction,Wt as parseUnits,no as prepareEncodeFunctionData,ro as presignMessagePrefix,so as publicActions,Q as recoverAddress,Sa as recoverMessageAddress,oo as recoverPublicKey,gr as recoverTransactionAddress,Aa as recoverTypedDataAddress,Kn as ripemd160,io as rpcSchema,_i as rpcTransactionType,co as serializeAccessList,br as serializeCompactSignature,uo as serializeErc6492Signature,Qn as serializeErc8010Signature,lo as serializeSignature,Le as serializeTransaction,ea as serializeTypedData,Ri as setErrorConfig,hr as setupKzg,fd as sha256,Fn as shouldThrow,mr as sidecarsToVersionedHashes,wr as signatureToCompactSignature,mo as signatureToHex,$e as size,De as slice,qi as sliceBytes,Lt as sliceHex,Fi as stringToBytes,Ke as stringToHex,Ui as stringify,hn as testActions,ge as toBlobSidecars,fo as toBlobs,B as toBytes,fr as toCoinType,ki as toEventHash,Bi as toEventSelector,Ni as toEventSignature,Li as toFunctionHash,Mi as toFunctionSelector,Di as toFunctionSignature,Nt as toHex,ho as toPrefixedMessage,ia as toRlp,zi as transactionType,We as trim,po as universalSignatureValidatorAbi,yo as universalSignatureValidatorByteCode,ta as validateTypedData,Xn as verifyHash,tr as verifyMessage,er as verifyTypedData,qn as walletActions,cr as webSocket,go as weiUnits,bo as withCache,wo as withRetry,Ze as withTimeout,xo as zeroAddress,Eo as zeroHash};
2
+ import{p as gt,b as Yt,i as Zt,I as Qt,m as bt,s as ut,A as D,e as Xt,g as U,d as te,f as N,r as ee,h as ae,j as ne,k as re,w as se,n as oe,o as ie,q as ce,t as ue,v as de,u as le,x as Q,y as me,z as fe,B as he,C as $,D as pe,E as ye,F as ge,G as be,H as we,J as xe,K as Ee,L as Ie,M as Te,N as St,O as At,P as Ce,Q as Pt,R as _t,S as Rt,T as ve,U as dt,V as qt,W as Se,X as Ae,Y as Ft,Z as Pe,_ as Ut,$ as J,a0 as _e,a1 as kt,a2 as Re,a3 as qe,a4 as lt,a5 as Fe,a6 as Ue,a7 as ke,a8 as Be,a9 as Ne,aa as Bt,ab as Le}from"./parseSignature-ClLI6O4f.js";import{ac as Ir,ad as Tr,ae as Cr,af as vr,ag as Sr,ah as Ar,ai as Pr,aj as _r,ak as Rr,al as qr,am as Fr,an as Ur,ao as kr,ap as Br,aq as Nr,ar as Lr,as as Mr,at as Dr,au as zr,av as Gr,aw as $r,ax as Hr,ay as Or,az as jr,aA as Wr,aB as Vr,aC as Jr,aD as Kr,aE as Yr,aF as Zr,aG as Qr,aH as Xr,aI as ts,aJ as es,aK as as,aL as ns,aM as rs,aN as ss,aO as os,aP as is,aQ as cs,aR as us,aS as ds,aT as ls,aU as ms,aV as fs,aW as hs,aX as ps,aY as ys,aZ as gs,a_ as bs,a$ as ws,b0 as xs,b1 as Es,b2 as Is,b3 as Ts,b4 as Cs,b5 as vs,b6 as Ss,b7 as As,b8 as Ps,b9 as _s,ba as Rs,bb as qs,bc as Fs,bd as Us,be as ks,bf as Bs,bg as Ns,bh as Ls,bi as Ms,bj as Ds,bk as zs,bl as Gs,bm as $s,bn as Hs,bo as Os,bp as js,bq as Ws,br as Vs,bs as Js,bt as Ks,bu as Ys,bv as Zs,bw as Qs,bx as Xs,by as to,bz as eo,br as ao,bA as no,bB as ro,bC as so,bD as oo,bE as io,bF as co,bG as uo,bH as lo,bH as mo,bI as fo,bJ as ho,bi as po,bj as yo,bK as go,bL as bo,bM as wo,bN as xo,bO as Eo}from"./parseSignature-ClLI6O4f.js";import{T as B,b9 as k,U as Me,I as Y,ba as De,G as ze,bb as Ge,X as H,_ as ct,$ as G,B as mt,D as E,P as $e,a7 as He,bc as j,a6 as wt,R as Nt,bd as Lt,d as Mt,L as R,F as ft,A as F,be as A,M as Oe,N as je,bf as We,bg as xt,aG as ht,J as Ve,bh as Je,bi as Ke,bj as Ye,bk as Et}from"./signing-CoPa7cSW.js";import{bl as To,bm as Co,bn as vo,bo as So,bp as Ao,bq as Po,br as _o,bs as Ro,bt as qo,bu as Fo,bv as Uo,bw as ko,bx as Bo,by as No,bz as Lo,Q as Mo,bA as Do,bB as zo,bC as Go,bD as $o,bE as Ho,bF as Oo,bG as jo,bH as Wo,bI as Vo,bJ as Jo,bK as Ko,bL as Yo,bM as Zo,bN as Qo,bO as Xo,bP as ti,bQ as ei,bR as ai,bS as ni,bT as ri,bU as si,bV as oi,E as ii,bW as ci,bX as ui,bY as di,bZ as li,b_ as mi,p as fi,b$ as hi,at as pi,au as yi,c0 as gi,c1 as bi,c2 as wi,c3 as xi,c4 as Ei,f as Ii,c4 as Ti,c5 as Ci,c6 as vi,c7 as Si,c8 as Ai,c9 as Pi,ca as _i,cb as Ri,cc as qi,cd as Fi,C as Ui,ce as ki,c3 as Bi,c4 as Ni,ce as Li,f as Mi,c4 as Di,z as zi}from"./signing-CoPa7cSW.js";import{w as Ze,h as Qe,g as Xe,v as ta,s as ea}from"./hashTypedData-DX5YrpbP.js";import{I as $i,a as Hi,b as Oi,d as ji,c as Wi,e as Vi}from"./hashTypedData-DX5YrpbP.js";import{T as aa,a as Z,W as It,b as na,U as ra,R as sa}from"./rpc-BA0W82l4.js";import{A as Ki,c as Yi,B as Zi,C as Qi,D as Xi,H as tc,I as ec,d as ac,e as nc,f as rc,J as sc,L as oc,M as ic,h as cc,P as uc,i as dc,j as lc,k as mc,l as fc,m as hc,S as pc,n as yc,o as gc,p as bc,q as wc,r as xc,s as Ec}from"./rpc-BA0W82l4.js";import{_ as oa}from"./index-C7-iTfFV.js";import{t as ia,H as ca}from"./sha256-BxR-wXll.js";import{b as Tc,h as Cc,a as vc,c as Sc,d as Ac,e as Pc,f as _c,g as Rc,i as qc,j as Fc,k as Uc,l as kc,n as Bc,o as Nc,p as Lc,q as Mc,r as Dc,u as zc,v as Gc,w as $c,x as Hc,y as Oc,z as jc,A as Wc,B as Vc,C as Jc,D as Kc,E as Yc,F as Zc,G as Qc,I as Xc,J as tu,K as eu,L as au,M as nu,N as ru,O as su,P as ou,Q as iu,R as cu,S as uu,m as du,T as lu,U as mu,V as fu,W as hu,X as pu,Y as yu,Z as gu,_ as bu,$ as wu,a0 as xu,a1 as Eu,a2 as Iu,a3 as Tu,a4 as Cu,a5 as vu,a6 as Su,a7 as Au,a8 as Pu,a9 as _u,aa as Ru,ab as qu,ac as Fu,ad as Uu,ae as ku,af as Bu,ag as Nu,ah as Lu,ai as Mu,aj as Du,ak as zu,al as Gu,am as $u,an as Hu,ao as Ou,ap as ju,aq as Wu,ar as Vu,as as Ju,at as Ku,au as Yu,av as Zu,aw as Qu,ax as Xu,ay as td,az as ed,aA as ad,aB as nd,aC as rd,aD as sd,aE as od,aF as id,aG as cd,aH as ud,aI as dd,aJ as ld,aK as md,s as fd}from"./sha256-BxR-wXll.js";import{ccipRequest as pd,ccipRequest as yd,offchainLookup as gd,offchainLookupAbiItem as bd,offchainLookupSignature as wd}from"./ccip-7fqLW_t2.js";import{d as Ed,a as Id,f as Td}from"./transactionReceipt-C2iQ3ozz.js";import"./utils-nbkSUjEy.js";import"./ethers-DHDSyreX.js";import"./react-Vu6nbGi5.js";function jn(t){let e;if(typeof t=="string")e=gt(t,{modifiers:bt});else{const a=Yt(t),n=t.length;for(let r=0;r<n;r++){const s=t[r];if(!Zt(s)){e=gt(s,{modifiers:bt,structs:a});break}}}if(!e)throw new Qt({param:t});return e}async function M(t,e){return M.internal(t,ut,"sendTransaction",e)}(function(t){async function e(a,n,r,s){const{abi:u,account:d=a.account,address:c,args:i,dataSuffix:f,functionName:m,...h}=s;if(typeof d>"u")throw new D({docsPath:"/docs/contract/writeContract"});const o=d?N(d):null,p=Xt({abi:u,args:i,functionName:m});try{return await U(a,n,r)({data:`${p}${f?f.replace("0x",""):""}`,to:c,account:o,...h})}catch(l){throw te(l,{abi:u,address:c,args:i,docsPath:"/docs/contract/writeContract",functionName:m,sender:o==null?void 0:o.address})}}t.internal=e})(M||(M={}));function Wn({abi:t,address:e,client:a}){const n=a,[r,s]=n?"public"in n&&"wallet"in n?[n.public,n.wallet]:"public"in n?[n.public,void 0]:"wallet"in n?[void 0,n.wallet]:[n,n]:[void 0,void 0],u=r!=null,d=s!=null,c={};let i=!1,f=!1,m=!1;for(const h of t)if(h.type==="function"?h.stateMutability==="view"||h.stateMutability==="pure"?i=!0:f=!0:h.type==="event"&&(m=!0),i&&f&&m)break;return u&&(i&&(c.read=new Proxy({},{get(h,o){return(...p)=>{const{args:l,options:y}=W(p);return U(r,ee,"readContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),f&&(c.simulate=new Proxy({},{get(h,o){return(...p)=>{const{args:l,options:y}=W(p);return U(r,ae,"simulateContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),m&&(c.createEventFilter=new Proxy({},{get(h,o){return(...p)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(p,l);return U(r,ne,"createContractEventFilter")({abi:t,address:e,eventName:o,args:y,...w})}}}),c.getEvents=new Proxy({},{get(h,o){return(...p)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(p,l);return U(r,re,"getContractEvents")({abi:t,address:e,eventName:o,args:y,...w})}}}),c.watchEvent=new Proxy({},{get(h,o){return(...p)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(p,l);return U(r,se,"watchContractEvent")({abi:t,address:e,eventName:o,args:y,...w})}}}))),d&&f&&(c.write=new Proxy({},{get(h,o){return(...p)=>{const{args:l,options:y}=W(p);return U(s,M,"writeContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),(u||d)&&f&&(c.estimateGas=new Proxy({},{get(h,o){return(...p)=>{const{args:l,options:y}=W(p);return U(r??s,oe,"estimateContractGas")({abi:t,address:e,functionName:o,args:l,...y,account:y.account??s.account})}}})),c.address=e,c.abi=t,c}function W(t){const e=t.length&&Array.isArray(t[0]),a=e?t[0]:[],n=(e?t[1]:t[0])??{};return{args:a,options:n}}function rt(t,e){let a=!1;Array.isArray(t[0])?a=!0:t.length===1?a=e.inputs.some(s=>s.indexed):t.length===2&&(a=!0);const n=a?t[0]:void 0,r=(a?t[1]:t[0])??{};return{args:n,options:r}}function Tt(t){return!t||typeof t!="object"||!("BYTES_PER_ELEMENT"in t)?!1:t.BYTES_PER_ELEMENT===1&&t.constructor.name==="Uint8Array"}function Vn(t){return t.opcode==="CREATE2"?da(t):ua(t)}function ua(t){const e=B(k(t.from));let a=B(t.nonce);return a[0]===0&&(a=new Uint8Array([])),k(`0x${Y(ia([e,a],"bytes")).slice(26)}`)}function da(t){const e=B(k(t.from)),a=Me(Tt(t.salt)?t.salt:B(t.salt),{size:32}),n="bytecodeHash"in t?Tt(t.bytecodeHash)?t.bytecodeHash:B(t.bytecodeHash):Y(t.bytecode,"bytes");return k(De(Y(ze([B("0xff"),e,a,n])),12))}function Jn({chains:t,id:e}){return t.find(a=>a.id===e)}function Dt(t,e="hex"){const a=(()=>{if(typeof t=="string"){if(t.length>3&&t.length%2!==0)throw new Ge(t);return H(t)}return t})(),n=ct(a,{recursiveReadLimit:Number.POSITIVE_INFINITY});return zt(n,e)}function zt(t,e="hex"){if(t.bytes.length===0)return e==="hex"?G(t.bytes):t.bytes;const a=t.readByte();if(a<128&&t.decrementPosition(1),a<192){const r=Ct(t,a,128),s=t.readBytes(r);return e==="hex"?G(s):s}const n=Ct(t,a,192);return la(t,n,e)}function Ct(t,e,a){if(a===128&&e<128)return 1;if(e<=a+55)return e-a;if(e===a+55+1)return t.readUint8();if(e===a+55+2)return t.readUint16();if(e===a+55+3)return t.readUint24();if(e===a+55+4)return t.readUint32();throw new mt("Invalid RLP prefix")}function la(t,e,a){const n=t.position,r=[];for(;t.position-n<e;)r.push(zt(t,a));return r}function ma(t){return E(t)&&$e(t)===32}const fa=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Gt=Uint8Array.from(new Array(16).fill(0).map((t,e)=>e)),ha=Gt.map(t=>(9*t+5)%16),$t=(()=>{const a=[[Gt],[ha]];for(let n=0;n<4;n++)for(let r of a)r.push(r[n].map(s=>fa[s]));return a})(),Ht=$t[0],Ot=$t[1],jt=[[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)),pa=Ht.map((t,e)=>t.map(a=>jt[e][a])),ya=Ot.map((t,e)=>t.map(a=>jt[e][a])),ga=Uint32Array.from([0,1518500249,1859775393,2400959708,2840853838]),ba=Uint32Array.from([1352829926,1548603684,1836072691,2053994217,0]);function vt(t,e,a,n){return t===0?e^a^n:t===1?e&a|~e&n:t===2?(e|~a)^n:t===3?e&n|a&~n:e^(a|~n)}const V=new Uint32Array(16);class wa extends ca{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:a,h2:n,h3:r,h4:s}=this;return[e,a,n,r,s]}set(e,a,n,r,s){this.h0=e|0,this.h1=a|0,this.h2=n|0,this.h3=r|0,this.h4=s|0}process(e,a){for(let o=0;o<16;o++,a+=4)V[o]=e.getUint32(a,!0);let n=this.h0|0,r=n,s=this.h1|0,u=s,d=this.h2|0,c=d,i=this.h3|0,f=i,m=this.h4|0,h=m;for(let o=0;o<5;o++){const p=4-o,l=ga[o],y=ba[o],w=Ht[o],g=Ot[o],C=pa[o],b=ya[o];for(let x=0;x<16;x++){const I=j(n+vt(o,s,d,i)+V[w[x]]+l,C[x])+m|0;n=m,m=i,i=j(d,10)|0,d=s,s=I}for(let x=0;x<16;x++){const I=j(r+vt(p,u,c,f)+V[g[x]]+y,b[x])+h|0;r=h,h=f,f=j(c,10)|0,c=u,u=I}}this.set(this.h1+d+f|0,this.h2+i+h|0,this.h3+m+r|0,this.h4+n+u|0,this.h0+s+c|0)}roundClean(){wt(V)}destroy(){this.destroyed=!0,wt(this.buffer),this.set(0,0,0,0,0)}}const xa=He(()=>new wa),Ea=xa;function Kn(t,e){const a=e||"hex",n=Ea(E(t,{strict:!1})?B(t):t);return a==="bytes"?n:Nt(n)}const st=new Map;async function Ia(t){const{getSocket:e,keepAlive:a=!0,key:n="socket",reconnect:r=!0,url:s}=t,{interval:u=3e4}=typeof a=="object"?a:{},{attempts:d=5,delay:c=2e3}=typeof r=="object"?r:{},i=JSON.stringify({keepAlive:a,key:n,url:s,reconnect:r});let f=st.get(i);if(f)return f;let m=0;const{schedule:h}=ie({id:i,fn:async()=>{const l=new Map,y=new Map;let w,g,C,b=!1;function x(){if(r&&m<d){if(b)return;b=!0,m++,g==null||g.close(),setTimeout(async()=>{await I().catch(console.error),b=!1},c)}else l.clear(),y.clear()}async function I(){const T=await e({onClose(){var v,P;for(const S of l.values())(v=S.onError)==null||v.call(S,new Z({url:s}));for(const S of y.values())(P=S.onError)==null||P.call(S,new Z({url:s}));x()},onError(v){var P,S;w=v;for(const _ of l.values())(P=_.onError)==null||P.call(_,w);for(const _ of y.values())(S=_.onError)==null||S.call(_,w);x()},onOpen(){w=void 0,m=0},onResponse(v){const P=v.method==="eth_subscription",S=P?v.params.subscription:v.id,_=P?y:l,q=_.get(S);q&&q.onResponse(v),P||_.delete(S)}});if(g=T,a&&(C&&clearInterval(C),C=setInterval(()=>{var v;return(v=g.ping)==null?void 0:v.call(g)},u)),r&&y.size>0){const v=y.entries();for(const[P,{onResponse:S,body:_,onError:q}]of v)_&&(y.delete(P),f==null||f.request({body:_,onResponse:S,onError:q}))}return T}return await I(),w=void 0,f={close(){C&&clearInterval(C),g.close(),st.delete(i)},get socket(){return g},request({body:T,onError:v,onResponse:P}){w&&v&&v(w);const S=T.id??ce.take(),_=q=>{var z;typeof q.id=="number"&&S!==q.id||(T.method==="eth_subscribe"&&typeof q.result=="string"&&y.set(q.result,{onResponse:_,onError:v,body:T}),T.method==="eth_unsubscribe"&&y.delete((z=T.params)==null?void 0:z[0]),P(q))};l.set(S,{onResponse:_,onError:v});try{g.request({body:{jsonrpc:"2.0",id:S,...T}})}catch(q){v==null||v(q)}},requestAsync({body:T,timeout:v=1e4}){return Ze(()=>new Promise((P,S)=>this.request({body:T,onError:S,onResponse:P})),{errorInstance:new aa({body:T,url:s}),timeout:v})},requests:l,subscriptions:y,url:s},st.set(i,f),[f]}}),[o,[p]]=await h();return p}async function K(t,e={}){const{keepAlive:a,reconnect:n}=e;return Ia({async getSocket({onClose:r,onError:s,onOpen:u,onResponse:d}){const c=await oa(()=>import("./native-7uSYstXA.js").then(o=>o.n),__vite__mapDeps([0,1,2])).then(o=>o.WebSocket),i=new c(t);function f(){i.removeEventListener("close",f),i.removeEventListener("message",m),i.removeEventListener("error",s),i.removeEventListener("open",u),r()}function m({data:o}){if(!(typeof o=="string"&&o.trim().length===0))try{const p=JSON.parse(o);d(p)}catch(p){s(p)}}i.addEventListener("close",f),i.addEventListener("message",m),i.addEventListener("error",s),i.addEventListener("open",u),i.readyState===c.CONNECTING&&await new Promise((o,p)=>{i&&(i.onopen=o,i.onerror=p)});const{close:h}=i;return Object.assign(i,{close(){h.bind(i)(),f()},ping(){try{if(i.readyState===i.CLOSED||i.readyState===i.CLOSING)throw new It({url:i.url,cause:new Z({url:i.url})});const o={jsonrpc:"2.0",id:null,method:"net_version",params:[]};i.send(JSON.stringify(o))}catch(o){s(o)}},request({body:o}){if(i.readyState===i.CLOSED||i.readyState===i.CLOSING)throw new It({body:o,url:i.url,cause:new Z({url:i.url})});return i.send(JSON.stringify(o))}})},keepAlive:a,reconnect:n,url:t})}async function Ta(t){const e=await K(t);return Object.assign(e.socket,{requests:e.requests,subscriptions:e.subscriptions})}function Ca(t){return Lt(t,-32)===ue}function va(t){return de(t)}function Yn(t){if(!Ca(t))return{signature:t};const[e,a,n]=Mt([{type:"address"},{type:"bytes"},{type:"bytes"}],t);return{address:e,data:a,signature:n}}function Zn(t){if(!va(t))return{signature:t};const{authorization:e,to:a,...n}=le(t);return{authorization:{address:e.address,chainId:e.chainId,nonce:Number(e.nonce),r:R(e.r,{size:32}),s:R(e.s,{size:32}),yParity:e.yParity},...a?{address:a}:{},...n}}async function Sa({message:t,signature:e}){return Q({hash:me(t),signature:e})}async function Aa(t){const{domain:e,message:a,primaryType:n,signature:r,types:s}=t;return Q({hash:Qe({domain:e,message:a,primaryType:n,types:s}),signature:r})}function Qn(t){const{address:e,data:a,signature:n,to:r="hex"}=t,s=fe({authorization:{address:t.authorization.address,chainId:t.authorization.chainId,nonce:BigInt(t.authorization.nonce),r:BigInt(t.authorization.r),s:BigInt(t.authorization.s),yParity:t.authorization.yParity},data:a,signature:n,to:e});return r==="hex"?s:H(s)}async function Xn({address:t,hash:e,signature:a}){return ft(k(t),await Q({hash:e,signature:a}))}async function tr({address:t,message:e,signature:a}){return ft(k(t),await Sa({message:e,signature:a}))}async function er(t){const{address:e,domain:a,message:n,primaryType:r,signature:s,types:u}=t;return ft(k(e),await Aa({domain:a,message:n,primaryType:r,signature:s,types:u}))}function Pa(t){const e=Lt(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"&&F(e)>=192)return"legacy";throw new he({serializedType:e})}function _a(t){const e=Pa(t);return e==="eip1559"?Fa(t):e==="eip2930"?Ua(t):e==="eip4844"?qa(t):e==="eip7702"?Ra(t):ka(t)}function Ra(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,h,o,p]=e;if(e.length!==10&&e.length!==13)throw new $({attributes:{chainId:a,nonce:n,maxPriorityFeePerGas:r,maxFeePerGas:s,gas:u,to:d,value:c,data:i,accessList:f,authorizationList:m,...e.length>9?{v:h,r:o,s:p}:{}},serializedTransaction:t,type:"eip7702"});const l={chainId:F(a),type:"eip7702"};return E(d)&&d!=="0x"&&(l.to=d),E(u)&&u!=="0x"&&(l.gas=A(u)),E(i)&&i!=="0x"&&(l.data=i),E(n)&&(l.nonce=n==="0x"?0:F(n)),E(c)&&c!=="0x"&&(l.value=A(c)),E(s)&&s!=="0x"&&(l.maxFeePerGas=A(s)),E(r)&&r!=="0x"&&(l.maxPriorityFeePerGas=A(r)),f.length!==0&&f!=="0x"&&(l.accessList=tt(f)),m.length!==0&&m!=="0x"&&(l.authorizationList=Ba(m)),we(l),{...e.length===13?O(e):void 0,...l}}function qa(t){const e=X(t),a=e.length===4,n=a?e[0]:e,r=a?e.slice(1):[],[s,u,d,c,i,f,m,h,o,p,l,y,w,g]=n,[C,b,x]=r;if(!(n.length===11||n.length===14))throw new $({attributes:{chainId:s,nonce:u,maxPriorityFeePerGas:d,maxFeePerGas:c,gas:i,to:f,value:m,data:h,accessList:o,...n.length>9?{v:y,r:w,s:g}:{}},serializedTransaction:t,type:"eip4844"});const I={blobVersionedHashes:l,chainId:F(s),to:f,type:"eip4844"};return E(i)&&i!=="0x"&&(I.gas=A(i)),E(h)&&h!=="0x"&&(I.data=h),E(u)&&(I.nonce=u==="0x"?0:F(u)),E(m)&&m!=="0x"&&(I.value=A(m)),E(p)&&p!=="0x"&&(I.maxFeePerBlobGas=A(p)),E(c)&&c!=="0x"&&(I.maxFeePerGas=A(c)),E(d)&&d!=="0x"&&(I.maxPriorityFeePerGas=A(d)),o.length!==0&&o!=="0x"&&(I.accessList=tt(o)),C&&b&&x&&(I.sidecars=ge({blobs:C,commitments:b,proofs:x})),be(I),{...n.length===14?O(n):void 0,...I}}function Fa(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,h,o]=e;if(!(e.length===9||e.length===12))throw new $({attributes:{chainId:a,nonce:n,maxPriorityFeePerGas:r,maxFeePerGas:s,gas:u,to:d,value:c,data:i,accessList:f,...e.length>9?{v:m,r:h,s:o}:{}},serializedTransaction:t,type:"eip1559"});const p={chainId:F(a),type:"eip1559"};return E(d)&&d!=="0x"&&(p.to=d),E(u)&&u!=="0x"&&(p.gas=A(u)),E(i)&&i!=="0x"&&(p.data=i),E(n)&&(p.nonce=n==="0x"?0:F(n)),E(c)&&c!=="0x"&&(p.value=A(c)),E(s)&&s!=="0x"&&(p.maxFeePerGas=A(s)),E(r)&&r!=="0x"&&(p.maxPriorityFeePerGas=A(r)),f.length!==0&&f!=="0x"&&(p.accessList=tt(f)),pe(p),{...e.length===12?O(e):void 0,...p}}function Ua(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,h]=e;if(!(e.length===8||e.length===11))throw new $({attributes:{chainId:a,nonce:n,gasPrice:r,gas:s,to:u,value:d,data:c,accessList:i,...e.length>8?{v:f,r:m,s:h}:{}},serializedTransaction:t,type:"eip2930"});const o={chainId:F(a),type:"eip2930"};return E(u)&&u!=="0x"&&(o.to=u),E(s)&&s!=="0x"&&(o.gas=A(s)),E(c)&&c!=="0x"&&(o.data=c),E(n)&&(o.nonce=n==="0x"?0:F(n)),E(d)&&d!=="0x"&&(o.value=A(d)),E(r)&&r!=="0x"&&(o.gasPrice=A(r)),i.length!==0&&i!=="0x"&&(o.accessList=tt(i)),ye(o),{...e.length===11?O(e):void 0,...o}}function ka(t){const e=Dt(t,"hex"),[a,n,r,s,u,d,c,i,f]=e;if(!(e.length===6||e.length===9))throw new $({attributes:{nonce:a,gasPrice:n,gas:r,to:s,value:u,data:d,...e.length>6?{v:c,r:i,s:f}:{}},serializedTransaction:t,type:"legacy"});const m={type:"legacy"};if(E(s)&&s!=="0x"&&(m.to=s),E(r)&&r!=="0x"&&(m.gas=A(r)),E(d)&&d!=="0x"&&(m.data=d),E(a)&&(m.nonce=a==="0x"?0:F(a)),E(u)&&u!=="0x"&&(m.value=A(u)),E(n)&&n!=="0x"&&(m.gasPrice=A(n)),xe(m),e.length===6)return m;const h=E(c)&&c!=="0x"?A(c):0n;if(f==="0x"&&i==="0x")return h>0&&(m.chainId=Number(h)),m;const o=h,p=Number((o-35n)/2n);if(p>0)m.chainId=p;else if(o!==27n&&o!==28n)throw new Ee({v:o});return m.v=o,m.s=f,m.r=i,m.yParity=o%2n===0n?1:0,m}function X(t){return Dt(`0x${t.slice(4)}`,"hex")}function tt(t){const e=[];for(let a=0;a<t.length;a++){const[n,r]=t[a];if(!Oe(n,{strict:!1}))throw new je({address:n});e.push({address:n,storageKeys:r.map(s=>ma(s)?s:We(s))})}return e}function Ba(t){const e=[];for(let a=0;a<t.length;a++){const[n,r,s,u,d,c]=t[a];e.push({address:r,chainId:n==="0x"?0:F(n),nonce:s==="0x"?0:F(s),...O([u,d,c])})}return e}function O(t){const e=t.slice(-3),a=e[0]==="0x"||A(e[0])===0n?27n:28n;return{r:xt(e[1],{size:32}),s:xt(e[2],{size:32}),v:a,yParity:a===27n?0:1}}class Na extends mt{constructor({value:e}){super(`Number \`${e}\` is not a valid decimal number.`,{name:"InvalidDecimalNumberError"})}}function Wt(t,e){if(!/^(-?)([0-9]*)\.?([0-9]*)$/.test(t))throw new Na({value:t});let[a,n="0"]=t.split(".");const r=a.startsWith("-");if(r&&(a=a.slice(1)),n=n.replace(/(0+)$/,""),e===0)Math.round(+`.${n}`)===1&&(a=`${BigInt(a)+1n}`),n="";else if(n.length>e){const[s,u,d]=[n.slice(0,e-1),n.slice(e-1,e),n.slice(e)],c=Math.round(+`${u}.${d}`);c>9?n=`${BigInt(s)+BigInt(1)}0`.padStart(s.length+1,"0"):n=`${s}${c}`,n.length>e&&(n=n.slice(1),a=`${BigInt(a)+1n}`),n=n.slice(0,e)}else n=n.padEnd(e,"0");return BigInt(`${r?"-":""}${a}${n}`)}function ar(t,e="wei"){return Wt(t,Ie[e])}function nr(t,e="wei"){return Wt(t,Te[e])}async function La(t,{hash:e}){await t.request({method:`${t.mode}_dropTransaction`,params:[e]})}async function Ma(t){return t.request({method:`${t.mode}_dumpState`})}async function Da(t){return t.mode==="ganache"?await t.request({method:"eth_mining"}):await t.request({method:`${t.mode}_getAutomine`})}async function za(t){return await t.request({method:"txpool_content"})}async function Ga(t){const{pending:e,queued:a}=await t.request({method:"txpool_status"});return{pending:F(e),queued:F(a)}}async function $a(t,{address:e}){await t.request({method:`${t.mode}_impersonateAccount`,params:[e]})}async function Ha(t,{seconds:e}){return await t.request({method:"evm_increaseTime",params:[R(e)]})}async function Oa(t){return await t.request({method:"txpool_inspect"})}async function ja(t,{state:e}){await t.request({method:`${t.mode}_loadState`,params:[e]})}async function Wa(t,{blocks:e,interval:a}){t.mode==="ganache"?await t.request({method:"evm_mine",params:[{blocks:R(e)}]}):await t.request({method:`${t.mode}_mine`,params:[R(e),R(a||0)]})}async function Va(t){await t.request({method:`${t.mode}_removeBlockTimestampInterval`})}async function Ja(t,{blockNumber:e,jsonRpcUrl:a}={}){await t.request({method:`${t.mode}_reset`,params:[{forking:{blockNumber:Number(e),jsonRpcUrl:a}}]})}async function Ka(t,{id:e}){await t.request({method:"evm_revert",params:[e]})}async function Ya(t,e){var w,g,C;const{accessList:a,data:n,from:r,gas:s,gasPrice:u,maxFeePerGas:d,maxPriorityFeePerGas:c,nonce:i,to:f,value:m,...h}=e,o=(C=(g=(w=t.chain)==null?void 0:w.formatters)==null?void 0:g.transactionRequest)==null?void 0:C.format,l=(o||ht)({...St(h,{format:o}),accessList:a,data:n,from:r,gas:s,gasPrice:u,maxFeePerGas:d,maxPriorityFeePerGas:c,nonce:i,to:f,value:m},"sendUnsignedTransaction");return await t.request({method:"eth_sendUnsignedTransaction",params:[l]})}async function Za(t,e){t.mode==="ganache"?e?await t.request({method:"miner_start"}):await t.request({method:"miner_stop"}):await t.request({method:"evm_setAutomine",params:[e]})}async function Qa(t,{address:e,value:a}){t.mode==="ganache"?await t.request({method:"evm_setAccountBalance",params:[e,R(a)]}):await t.request({method:`${t.mode}_setBalance`,params:[e,R(a)]})}async function Xa(t,{gasLimit:e}){await t.request({method:"evm_setBlockGasLimit",params:[R(e)]})}async function tn(t,{interval:e}){const a=t.mode==="hardhat"?e*1e3:e;await t.request({method:`${t.mode}_setBlockTimestampInterval`,params:[a]})}async function en(t,{address:e,bytecode:a}){t.mode==="ganache"?await t.request({method:"evm_setAccountCode",params:[e,a]}):await t.request({method:`${t.mode}_setCode`,params:[e,a]})}async function an(t,{address:e}){await t.request({method:`${t.mode}_setCoinbase`,params:[e]})}async function nn(t,{interval:e}){const a=t.mode==="hardhat"?e*1e3:e;await t.request({method:"evm_setIntervalMining",params:[a]})}async function rn(t,e){await t.request({method:`${t.mode}_setLoggingEnabled`,params:[e]})}async function sn(t,{gasPrice:e}){await t.request({method:`${t.mode}_setMinGasPrice`,params:[R(e)]})}async function on(t,{baseFeePerGas:e}){await t.request({method:`${t.mode}_setNextBlockBaseFeePerGas`,params:[R(e)]})}async function cn(t,{timestamp:e}){await t.request({method:"evm_setNextBlockTimestamp",params:[R(e)]})}async function un(t,{address:e,nonce:a}){await t.request({method:`${t.mode}_setNonce`,params:[e,R(a)]})}async function dn(t,e){await t.request({method:`${t.mode}_setRpcUrl`,params:[e]})}async function ln(t,{address:e,index:a,value:n}){await t.request({method:`${t.mode}_setStorageAt`,params:[e,typeof a=="number"?R(a):a,n]})}async function mn(t){return await t.request({method:"evm_snapshot"})}async function fn(t,{address:e}){await t.request({method:`${t.mode}_stopImpersonatingAccount`,params:[e]})}function hn({mode:t}){return e=>{const a=e.extend(()=>({mode:t}));return{dropTransaction:n=>La(a,n),dumpState:()=>Ma(a),getAutomine:()=>Da(a),getTxpoolContent:()=>za(a),getTxpoolStatus:()=>Ga(a),impersonateAccount:n=>$a(a,n),increaseTime:n=>Ha(a,n),inspectTxpool:()=>Oa(a),loadState:n=>ja(a,n),mine:n=>Wa(a,n),removeBlockTimestampInterval:()=>Va(a),reset:n=>Ja(a,n),revert:n=>Ka(a,n),sendUnsignedTransaction:n=>Ya(a,n),setAutomine:n=>Za(a,n),setBalance:n=>Qa(a,n),setBlockGasLimit:n=>Xa(a,n),setBlockTimestampInterval:n=>tn(a,n),setCode:n=>en(a,n),setCoinbase:n=>an(a,n),setIntervalMining:n=>nn(a,n),setLoggingEnabled:n=>rn(a,n),setMinGasPrice:n=>sn(a,n),setNextBlockBaseFeePerGas:n=>on(a,n),setNextBlockTimestamp:n=>cn(a,n),setNonce:n=>un(a,n),setRpcUrl:n=>dn(a,n),setStorageAt:n=>ln(a,n),snapshot:()=>mn(a),stopImpersonatingAccount:n=>fn(a,n)}}}function rr(t){const{key:e="test",name:a="Test Client",mode:n}=t;return At({...t,key:e,name:a,type:"testClient"}).extend(s=>({mode:n,...hn({mode:n})(s)}))}async function pn(t,{chain:e}){const{id:a,name:n,nativeCurrency:r,rpcUrls:s,blockExplorers:u}=e;await t.request({method:"wallet_addEthereumChain",params:[{chainId:R(a),chainName:n,nativeCurrency:r,rpcUrls:s.default.http,blockExplorerUrls:u?Object.values(u).map(({url:d})=>d):void 0}]},{dedupe:!0,retryCount:0})}function yn(t,e){const{abi:a,args:n,bytecode:r,...s}=e,u=Ce({abi:a,args:n,bytecode:r});return ut(t,{...s,...s.authorizationList?{to:null}:{},data:u})}async function gn(t){var a;return((a=t.account)==null?void 0:a.type)==="local"?[t.account.address]:(await t.request({method:"eth_accounts"},{dedupe:!0})).map(n=>Ve(n))}async function bn(t,e={}){const{account:a=t.account,chainId:n}=e,r=a?N(a):void 0,s=n?[r==null?void 0:r.address,[R(n)]]:[r==null?void 0:r.address],u=await t.request({method:"wallet_getCapabilities",params:s}),d={};for(const[c,i]of Object.entries(u)){d[Number(c)]={};for(let[f,m]of Object.entries(i))f==="addSubAccount"&&(f="unstable_addSubAccount"),d[Number(c)][f]=m}return typeof n=="number"?d[n]:d}async function wn(t){return await t.request({method:"wallet_getPermissions"},{dedupe:!0})}async function xn(t){return(await t.request({method:"eth_requestAccounts"},{dedupe:!0,retryCount:0})).map(a=>k(a))}async function En(t,e){return t.request({method:"wallet_requestPermissions",params:[e]},{retryCount:0})}async function In(t,e){const{chain:a=t.chain}=e,n=e.timeout??Math.max(((a==null?void 0:a.blockTime)??0)*3,5e3),r=await Pt(t,e);return await _t(t,{...e,id:r.id,timeout:n})}const ot=new Je(128);async function Vt(t,e){var x,I,T,v;const{account:a=t.account,chain:n=t.chain,accessList:r,authorizationList:s,blobs:u,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:h,nonce:o,pollingInterval:p,throwOnReceiptRevert:l,type:y,value:w,...g}=e,C=e.timeout??Math.max(((n==null?void 0:n.blockTime)??0)*3,5e3);if(typeof a>"u")throw new D({docsPath:"/docs/actions/wallet/sendTransactionSync"});const b=a?N(a):null;try{Rt(e);const P=await(async()=>{if(e.to)return e.to;if(e.to!==null&&s&&s.length>0)return await ve({authorization:s[0]}).catch(()=>{throw new mt("`to` is required. Could not infer from `authorizationList`.")})})();if((b==null?void 0:b.type)==="json-rpc"||b===null){let S;n!==null&&(S=await U(t,dt,"getChainId")({}),qt({currentChainId:S,chain:n}));const _=(T=(I=(x=t.chain)==null?void 0:x.formatters)==null?void 0:I.transactionRequest)==null?void 0:T.format,z=(_||ht)({...St(g,{format:_}),accessList:r,account:b,authorizationList:s,blobs:u,chainId:S,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:h,nonce:o,to:P,type:y,value:w},"sendTransaction"),pt=ot.get(t.uid),Jt=pt?"wallet_sendTransaction":"eth_sendTransaction",Kt=await(async()=>{try{return await t.request({method:Jt,params:[z]},{retryCount:0})}catch(yt){if(pt===!1)throw yt;const L=yt;if(L.name==="InvalidInputRpcError"||L.name==="InvalidParamsRpcError"||L.name==="MethodNotFoundRpcError"||L.name==="MethodNotSupportedRpcError")return await t.request({method:"wallet_sendTransaction",params:[z]},{retryCount:0}).then(at=>(ot.set(t.uid,!0),at)).catch(at=>{const nt=at;throw nt.name==="MethodNotFoundRpcError"||nt.name==="MethodNotSupportedRpcError"?(ot.set(t.uid,!1),L):nt});throw L}})(),et=await U(t,Se,"waitForTransactionReceipt")({checkReplacement:!1,hash:Kt,pollingInterval:p,timeout:C});if(l&&et.status==="reverted")throw new Ae({receipt:et});return et}if((b==null?void 0:b.type)==="local"){const S=await U(t,Ft,"prepareTransactionRequest")({account:b,accessList:r,authorizationList:s,blobs:u,chain:n,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:h,nonce:o,nonceManager:b.nonceManager,parameters:[...Pe,"sidecars"],type:y,value:w,...g,to:P}),_=(v=n==null?void 0:n.serializers)==null?void 0:v.transaction,q=await b.signTransaction(S,{serializer:_});return await U(t,Ut,"sendRawTransactionSync")({serializedTransaction:q,throwOnReceiptRevert:l})}throw(b==null?void 0:b.type)==="smart"?new J({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"}):new J({docsPath:"/docs/actions/wallet/sendTransactionSync",type:b==null?void 0:b.type})}catch(P){throw P instanceof J?P:_e(P,{...e,account:b,chain:e.chain||void 0})}}async function Tn(t,e){const{id:a}=e;await t.request({method:"wallet_showCallsStatus",params:[a]})}async function Cn(t,e){const{account:a=t.account}=e;if(!a)throw new D({docsPath:"/docs/eip7702/signAuthorization"});const n=N(a);if(!n.signAuthorization)throw new J({docsPath:"/docs/eip7702/signAuthorization",metaMessages:["The `signAuthorization` Action does not support JSON-RPC Accounts."],type:n.type});const r=await kt(t,e);return n.signAuthorization(r)}async function vn(t,{account:e=t.account,message:a}){if(!e)throw new D({docsPath:"/docs/actions/wallet/signMessage"});const n=N(e);if(n.signMessage)return n.signMessage({message:a});const r=typeof a=="string"?Ke(a):a.raw instanceof Uint8Array?Nt(a.raw):a.raw;return t.request({method:"personal_sign",params:[r,n.address]},{retryCount:0})}async function Sn(t,e){var i,f,m,h;const{account:a=t.account,chain:n=t.chain,...r}=e;if(!a)throw new D({docsPath:"/docs/actions/wallet/signTransaction"});const s=N(a);Rt({account:s,...e});const u=await U(t,dt,"getChainId")({});n!==null&&qt({currentChainId:u,chain:n});const d=(n==null?void 0:n.formatters)||((i=t.chain)==null?void 0:i.formatters),c=((f=d==null?void 0:d.transactionRequest)==null?void 0:f.format)||ht;return s.signTransaction?s.signTransaction({...r,chainId:u},{serializer:(h=(m=t.chain)==null?void 0:m.serializers)==null?void 0:h.transaction}):await t.request({method:"eth_signTransaction",params:[{...c({...r,account:s},"signTransaction"),chainId:R(u),from:s.address}]},{retryCount:0})}async function An(t,e){const{account:a=t.account,domain:n,message:r,primaryType:s}=e;if(!a)throw new D({docsPath:"/docs/actions/wallet/signTypedData"});const u=N(a),d={EIP712Domain:Xe({domain:n}),...e.types};if(ta({domain:n,message:r,primaryType:s,types:d}),u.signTypedData)return u.signTypedData({domain:n,message:r,primaryType:s,types:d});const c=ea({domain:n,message:r,primaryType:s,types:d});return t.request({method:"eth_signTypedData_v4",params:[u.address,c]},{retryCount:0})}async function Pn(t,{id:e}){await t.request({method:"wallet_switchEthereumChain",params:[{chainId:R(e)}]},{retryCount:0})}async function _n(t,e){return await t.request({method:"wallet_watchAsset",params:e},{retryCount:0})}async function Rn(t,e){return M.internal(t,Vt,"sendTransactionSync",e)}function qn(t){return{addChain:e=>pn(t,e),deployContract:e=>yn(t,e),getAddresses:()=>gn(t),getCallsStatus:e=>qe(t,e),getCapabilities:e=>bn(t,e),getChainId:()=>dt(t),getPermissions:()=>wn(t),prepareAuthorization:e=>kt(t,e),prepareTransactionRequest:e=>Ft(t,e),requestAddresses:()=>xn(t),requestPermissions:e=>En(t,e),sendCalls:e=>Pt(t,e),sendCallsSync:e=>In(t,e),sendRawTransaction:e=>Re(t,e),sendRawTransactionSync:e=>Ut(t,e),sendTransaction:e=>ut(t,e),sendTransactionSync:e=>Vt(t,e),showCallsStatus:e=>Tn(t,e),signAuthorization:e=>Cn(t,e),signMessage:e=>vn(t,e),signTransaction:e=>Sn(t,e),signTypedData:e=>An(t,e),switchChain:e=>Pn(t,e),waitForCallsStatus:e=>_t(t,e),watchAsset:e=>_n(t,e),writeContract:e=>M(t,e),writeContractSync:e=>Rn(t,e)}}function sr(t){const{key:e="wallet",name:a="Wallet Client",transport:n}=t;return At({...t,key:e,name:a,transport:n,type:"walletClient"}).extend(qn)}function or(t,e={}){const{key:a="custom",methods:n,name:r="Custom Provider",retryDelay:s}=e;return({retryCount:u})=>lt({key:a,methods:n,name:r,request:t.request.bind(t),retryCount:e.retryCount??u,retryDelay:s,type:"custom"})}function ir(t,e={}){const{key:a="fallback",name:n="Fallback",rank:r=!1,shouldThrow:s=Fn,retryCount:u,retryDelay:d}=e;return(({chain:c,pollingInterval:i=4e3,timeout:f,...m})=>{let h=t,o=()=>{};const p=lt({key:a,name:n,async request({method:l,params:y}){let w;const g=async(C=0)=>{const b=h[C]({...m,chain:c,retryCount:0,timeout:f});try{const x=await b.request({method:l,params:y});return o({method:l,params:y,response:x,transport:b,status:"success"}),x}catch(x){if(o({error:x,method:l,params:y,transport:b,status:"error"}),s(x)||C===h.length-1||(w??(w=h.slice(C+1).some(I=>{const{include:T,exclude:v}=I({chain:c}).config.methods||{};return T?T.includes(l):v?!v.includes(l):!0})),!w))throw x;return g(C+1)}};return g()},retryCount:u,retryDelay:d,type:"fallback"},{onResponse:l=>o=l,transports:h.map(l=>l({chain:c,retryCount:0}))});if(r){const l=typeof r=="object"?r:{};Un({chain:c,interval:l.interval??i,onTransports:y=>h=y,ping:l.ping,sampleCount:l.sampleCount,timeout:l.timeout,transports:h,weights:l.weights})}return p})}function Fn(t){return!!("code"in t&&typeof t.code=="number"&&(t.code===na.code||t.code===ra.code||Fe.nodeMessage.test(t.message)||t.code===5e3))}function Un({chain:t,interval:e=4e3,onTransports:a,ping:n,sampleCount:r=10,timeout:s=1e3,transports:u,weights:d={}}){const{stability:c=.7,latency:i=.3}=d,f=[],m=async()=>{const h=await Promise.all(u.map(async l=>{const y=l({chain:t,retryCount:0,timeout:s}),w=Date.now();let g,C;try{await(n?n({transport:y}):y.request({method:"net_listening"})),C=1}catch{C=0}finally{g=Date.now()}return{latency:g-w,success:C}}));f.push(h),f.length>r&&f.shift();const o=Math.max(...f.map(l=>Math.max(...l.map(({latency:y})=>y)))),p=u.map((l,y)=>{const w=f.map(I=>I[y].latency),C=1-w.reduce((I,T)=>I+T,0)/w.length/o,b=f.map(I=>I[y].success),x=b.reduce((I,T)=>I+T,0)/b.length;return x===0?[0,y]:[i*C+c*x,y]}).sort((l,y)=>y[0]-l[0]);a(p.map(([,l])=>u[l])),await Ue(e),m()};m()}function cr(t,e={}){const{keepAlive:a,key:n="webSocket",methods:r,name:s="WebSocket JSON-RPC",reconnect:u,retryDelay:d}=e;return({chain:c,retryCount:i,timeout:f})=>{var l;const m=e.retryCount??i,h=f??e.timeout??1e4,o=t||((l=c==null?void 0:c.rpcUrls.default.webSocket)==null?void 0:l[0]),p={keepAlive:a,reconnect:u};if(!o)throw new ke;return lt({key:n,methods:r,name:s,async request({method:y,params:w}){const g={method:y,params:w},C=await K(o,p),{error:b,result:x}=await C.requestAsync({body:g,timeout:h});if(b)throw new sa({body:g,error:b,url:o});return x},retryCount:m,retryDelay:d,timeout:h,type:"webSocket"},{getSocket(){return Ta(o)},getRpcClient(){return K(o,p)},async subscribe({params:y,onData:w,onError:g}){const C=await K(o,p),{result:b}=await new Promise((x,I)=>C.request({body:{method:"eth_subscribe",params:y},onError(T){I(T),g==null||g(T)},onResponse(T){if(T.error){I(T.error),g==null||g(T.error);return}if(typeof T.id=="number"){x(T);return}T.method==="eth_subscription"&&w(T.params)}}));return{subscriptionId:b,async unsubscribe(){return new Promise(x=>C.request({body:{method:"eth_unsubscribe",params:[b]},onResponse:x}))}}}})}}class ur extends Error{constructor(e,a){super(a),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=a}}const it="/docs/contract/decodeDeployData";function dr(t){const{abi:e,bytecode:a,data:n}=t;if(n===a)return{bytecode:a};const r=e.find(u=>"type"in u&&u.type==="constructor");if(!r)throw new Ye({docsPath:it});if(!("inputs"in r))throw new Et({docsPath:it});if(!r.inputs||r.inputs.length===0)throw new Et({docsPath:it});return{args:Mt(r.inputs,`0x${n.replace(a,"")}`),bytecode:a}}function lr(t){const e=t.to??(typeof t.blobs[0]=="string"?"hex":"bytes"),a=typeof t.blobs[0]=="string"?t.blobs.map(d=>H(d)):t.blobs,n=a.reduce((d,c)=>d+c.length,0),r=ct(new Uint8Array(n));let s=!0;for(const d of a){const c=ct(d);for(;s&&c.position<d.length;){c.incrementPosition(1);let i=31;d.length-c.position<31&&(i=d.length-c.position);for(const f in Array.from({length:i})){const m=c.readByte();if(m===128&&!c.inspectBytes(c.remaining).includes(128)){s=!1;break}r.pushByte(m)}}}const u=r.bytes.slice(0,r.position);return e==="hex"?G(u):u}function mr(t){const{sidecars:e,version:a}=t,n=t.to??(typeof e[0].blob=="string"?"hex":"bytes"),r=[];for(const{commitment:s}of e)r.push(Be({commitment:s,to:n,version:a}));return r}const kn=2147483648;function fr(t){if(t===1)return 60n;if(t>=kn||t<0)throw new Ne({chainId:t});return BigInt((2147483648|t)>>>0)}function Bn({blobToKzgCommitment:t,computeBlobKzgProof:e}){return{blobToKzgCommitment:t,computeBlobKzgProof:e}}function hr(t,e){try{t.loadTrustedSetup(e)}catch(a){const n=a;if(!n.message.includes("trusted setup is already loaded"))throw n}return Bn(t)}function pr({r:t,yParityAndS:e}){const a=H(e),n=a[0]&128?1:0,r=a;return n===1&&(r[0]&=127),{r:t,s:G(r),yParity:n}}function yr(t){const{r:e,s:a}=Bt.Signature.fromCompact(t.slice(2,130));return{r:R(e,{size:32}),yParityAndS:R(a,{size:32})}}async function gr(t){const{serializedTransaction:e,signature:a}=t,n=_a(e),r=a??{r:n.r,s:n.s,v:n.v,yParity:n.yParity},s=Le({...n,r:void 0,s:void 0,v:void 0,yParity:void 0,sidecars:void 0});return await Q({hash:Y(s),signature:r})}function br({r:t,yParityAndS:e}){return`0x${new Bt.Signature(A(t),A(e)).toCompactHex()}`}function wr(t){const{r:e,s:a,v:n,yParity:r}=t,s=Number(r??n-27n);let u=a;if(s===1){const d=H(a);d[0]|=128,u=G(d)}return{r:e,yParityAndS:u}}export{Ye as AbiConstructorNotFoundError,Et as AbiConstructorParamsNotFoundError,To as AbiDecodingDataSizeInvalidError,Co as AbiDecodingDataSizeTooSmallError,vo as AbiDecodingZeroDataError,So as AbiEncodingArrayLengthMismatchError,Ao as AbiEncodingBytesSizeMismatchError,Po as AbiEncodingLengthMismatchError,_o as AbiErrorInputsNotFoundError,Ro as AbiErrorNotFoundError,qo as AbiErrorSignatureNotFoundError,Fo as AbiEventNotFoundError,Uo as AbiEventSignatureEmptyTopicsError,ko as AbiEventSignatureNotFoundError,Bo as AbiFunctionNotFoundError,No as AbiFunctionOutputsNotFoundError,Lo as AbiFunctionSignatureNotFoundError,Ir as AccountStateConflictError,Ki as AtomicReadyWalletRejectedUpgradeError,Yi as AtomicityNotSupportedError,mt as BaseError,Tr as BaseFeeScalarError,Cr as BlockNotFoundError,vr as BundleFailedError,Zi as BundleTooLargeError,Mo as BytesSizeMismatchError,Sr as CallExecutionError,Qi as ChainDisconnectedError,Ar as ChainDoesNotSupportContract,Pr as ChainMismatchError,_r as ChainNotFoundError,Rr as CircularReferenceError,qr as ClientChainNotConfiguredError,Fr as ContractFunctionExecutionError,Ur as ContractFunctionRevertedError,kr as ContractFunctionZeroDataError,Br as CounterfactualDeploymentFailedError,Do as DecodeLogDataMismatch,zo as DecodeLogTopicsMismatch,Xi as DuplicateIdError,ur as EIP1193ProviderRpcError,Nr as Eip1559FeesNotSupportedError,Lr as EnsAvatarInvalidNftUriError,Mr as EnsAvatarUnsupportedNamespaceError,Dr as EnsAvatarUriResolutionError,Ne as EnsInvalidChainIdError,zr as EstimateGasExecutionError,Fe as ExecutionRevertedError,Gr as FeeCapTooHighError,$r as FeeCapTooLowError,Hr as FeeConflictError,Go as FilterTypeNotSupportedError,tc as HttpRequestError,Or as InsufficientFundsError,$o as IntegerOutOfRangeError,ec as InternalRpcError,jr as IntrinsicGasTooHighError,Wr as IntrinsicGasTooLowError,Ho as InvalidAbiDecodingTypeError,Oo as InvalidAbiEncodingTypeError,Vr as InvalidAbiItemError,Qt as InvalidAbiParameterError,Jr as InvalidAbiParametersError,Kr as InvalidAbiTypeParameterError,je as InvalidAddressError,jo as InvalidArrayError,Wo as InvalidBytesBooleanError,Yr as InvalidChainIdError,Na as InvalidDecimalNumberError,Vo as InvalidDefinitionTypeError,$i as InvalidDomainError,Zr as InvalidFunctionModifierError,Jo as InvalidHexBooleanError,Ge as InvalidHexValueError,ac as InvalidInputRpcError,Ee as InvalidLegacyVError,Qr as InvalidModifierError,Xr as InvalidParameterError,nc as InvalidParamsRpcError,ts as InvalidParenthesisError,Hi as InvalidPrimaryTypeError,rc as InvalidRequestRpcError,es as InvalidSerializableTransactionError,$ as InvalidSerializedTransactionError,he as InvalidSerializedTransactionTypeError,as as InvalidSignatureError,ns as InvalidStorageKeySizeError,rs as InvalidStructSignatureError,Oi as InvalidStructTypeError,sc as JsonRpcVersionUnsupportedError,oc as LimitExceededRpcError,ss as MaxFeePerGasTooLowError,ic as MethodNotFoundRpcError,cc as MethodNotSupportedRpcError,os as NonceMaxValueError,is as NonceTooHighError,cs as NonceTooLowError,uc as ParseRpcError,dc as ProviderDisconnectedError,lc as ProviderRpcError,us as RawContractError,mc as ResourceNotFoundRpcError,fc as ResourceUnavailableRpcError,hc as RpcError,sa as RpcRequestError,Ko as SizeExceedsPaddingSizeError,Yo as SizeOverflowError,Zo as SliceOffsetOutOfBoundsError,Z as SocketClosedError,ds as SolidityProtectedKeywordError,ls as StateAssignmentConflictError,pc as SwitchChainError,aa as TimeoutError,ms as TipAboveFeeCapError,fs as TransactionExecutionError,hs as TransactionNotFoundError,ps as TransactionReceiptNotFoundError,na as TransactionRejectedRpcError,ys as TransactionTypeNotSupportedError,yc as UnauthorizedProviderError,gc as UnknownBundleIdError,gs as UnknownNodeError,bc as UnknownRpcError,bs as UnknownSignatureError,ws as UnknownTypeError,wc as UnsupportedChainIdError,xc as UnsupportedNonOptionalCapabilityError,Qo as UnsupportedPackedAbiType,Ec as UnsupportedProviderMethodError,ke as UrlRequiredError,ra as UserRejectedRequestError,xs as WaitForCallsStatusTimeoutError,Es as WaitForTransactionReceiptTimeoutError,It as WebSocketRequestError,qt as assertCurrentChain,Rt as assertRequest,pe as assertTransactionEIP1559,ye as assertTransactionEIP2930,xe as assertTransactionLegacy,Is as blobsToCommitments,Ts as blobsToProofs,Xo as boolToBytes,ti as boolToHex,ei as bytesToBigInt,ai as bytesToBool,G as bytesToHex,ni as bytesToNumber,Tc as bytesToRlp,ri as bytesToString,pd as ccipFetch,yd as ccipRequest,Ve as checksumAddress,Be as commitmentToVersionedHash,Cs as commitmentsToVersionedHashes,br as compactSignatureToHex,pr as compactSignatureToSignature,ze as concat,si as concatBytes,oi as concatHex,At as createClient,vs as createNonceManager,Ss as createPublicClient,rr as createTestClient,lt as createTransport,sr as createWalletClient,or as custom,Mt as decodeAbiParameters,dr as decodeDeployData,ii as decodeErrorResult,ci as decodeEventLog,As as decodeFunctionData,Ps as decodeFunctionResult,ui as defineBlock,di as defineChain,Bn as defineKzg,li as defineTransaction,Ed as defineTransactionReceipt,mi as defineTransactionRequest,_s as deploylessCallViaBytecodeBytecode,Rs as deploylessCallViaFactoryBytecode,ji as domainSeparator,fi as encodeAbiParameters,Ce as encodeDeployData,qs as encodeErrorResult,hi as encodeEventTopics,Xt as encodeFunctionData,Fs as encodeFunctionResult,Us as encodePacked,ks as erc1155Abi,Bs as erc20Abi,Ns as erc20Abi_bytes32,Ls as erc4626Abi,Ms as erc6492SignatureValidatorAbi,Ds as erc6492SignatureValidatorByteCode,zs as erc721Abi,Gs as ethAddress,Ie as etherUnits,Jn as extractChain,ir as fallback,pi as formatBlock,$s as formatEther,Hs as formatGwei,Id as formatLog,yi as formatTransaction,Td as formatTransactionReceipt,ht as formatTransactionRequest,Os as formatUnits,lr as fromBlobs,gi as fromBytes,bi as fromHex,Dt as fromRlp,wi as getAbiItem,k as getAddress,js as getChainContractAddress,Wn as getContract,Vn as getContractAddress,te as getContractError,da as getCreate2Address,ua as getCreateAddress,xi as getEventSelector,Ei as getEventSignature,Ii as getFunctionSelector,Ti as getFunctionSignature,Pa as getSerializedTransactionType,Ws as getTransactionType,Xe as getTypesForEIP712Domain,Te as gweiUnits,Wi as hashDomain,me as hashMessage,Vi as hashStruct,Qe as hashTypedData,A as hexToBigInt,Ci as hexToBool,H as hexToBytes,yr as hexToCompactSignature,F as hexToNumber,Cc as hexToRlp,Vs as hexToSignature,vi as hexToString,Js as http,Oe as isAddress,ft as isAddressEqual,Tt as isBytes,Ca as isErc6492Signature,va as isErc8010Signature,ma as isHash,E as isHex,Y as keccak256,Ks as labelhash,vc as maxInt104,Sc as maxInt112,Ac as maxInt120,Pc as maxInt128,_c as maxInt136,Rc as maxInt144,qc as maxInt152,Fc as maxInt16,Uc as maxInt160,kc as maxInt168,Bc as maxInt176,Nc as maxInt184,Lc as maxInt192,Mc as maxInt200,Dc as maxInt208,zc as maxInt216,Gc as maxInt224,$c as maxInt232,Hc as maxInt24,Oc as maxInt240,jc as maxInt248,Wc as maxInt256,Vc as maxInt32,Jc as maxInt40,Kc as maxInt48,Yc as maxInt56,Zc as maxInt64,Qc as maxInt72,Xc as maxInt8,tu as maxInt80,eu as maxInt88,au as maxInt96,nu as maxUint104,ru as maxUint112,su as maxUint120,ou as maxUint128,iu as maxUint136,cu as maxUint144,uu as maxUint152,du as maxUint16,lu as maxUint160,mu as maxUint168,fu as maxUint176,hu as maxUint184,pu as maxUint192,yu as maxUint200,gu as maxUint208,bu as maxUint216,wu as maxUint224,xu as maxUint232,Eu as maxUint24,Iu as maxUint240,Tu as maxUint248,Cu as maxUint256,vu as maxUint32,Su as maxUint40,Au as maxUint48,Pu as maxUint56,_u as maxUint64,Ru as maxUint72,qu as maxUint8,Fu as maxUint80,Uu as maxUint88,ku as maxUint96,Bu as minInt104,Nu as minInt112,Lu as minInt120,Mu as minInt128,Du as minInt136,zu as minInt144,Gu as minInt152,$u as minInt16,Hu as minInt160,Ou as minInt168,ju as minInt176,Wu as minInt184,Vu as minInt192,Ju as minInt200,Ku as minInt208,Yu as minInt216,Zu as minInt224,Qu as minInt232,Xu as minInt24,td as minInt240,ed as minInt248,ad as minInt256,nd as minInt32,rd as minInt40,sd as minInt48,od as minInt56,id as minInt64,cd as minInt72,ud as minInt8,dd as minInt80,ld as minInt88,md as minInt96,Ys as multicall3Abi,Zs as namehash,Qs as nonceManager,Si as numberToBytes,R as numberToHex,gd as offchainLookup,bd as offchainLookupAbiItem,wd as offchainLookupSignature,Me as pad,Ai as padBytes,xt as padHex,Xs as parseAbi,to as parseAbiItem,jn as parseAbiParameter,eo as parseAbiParameters,yr as parseCompactSignature,Yn as parseErc6492Signature,Zn as parseErc8010Signature,ar as parseEther,Pi as parseEventLogs,nr as parseGwei,ao as parseSignature,_a as parseTransaction,Wt as parseUnits,no as prepareEncodeFunctionData,ro as presignMessagePrefix,so as publicActions,Q as recoverAddress,Sa as recoverMessageAddress,oo as recoverPublicKey,gr as recoverTransactionAddress,Aa as recoverTypedDataAddress,Kn as ripemd160,io as rpcSchema,_i as rpcTransactionType,co as serializeAccessList,br as serializeCompactSignature,uo as serializeErc6492Signature,Qn as serializeErc8010Signature,lo as serializeSignature,Le as serializeTransaction,ea as serializeTypedData,Ri as setErrorConfig,hr as setupKzg,fd as sha256,Fn as shouldThrow,mr as sidecarsToVersionedHashes,wr as signatureToCompactSignature,mo as signatureToHex,$e as size,De as slice,qi as sliceBytes,Lt as sliceHex,Fi as stringToBytes,Ke as stringToHex,Ui as stringify,hn as testActions,ge as toBlobSidecars,fo as toBlobs,B as toBytes,fr as toCoinType,ki as toEventHash,Bi as toEventSelector,Ni as toEventSignature,Li as toFunctionHash,Mi as toFunctionSelector,Di as toFunctionSignature,Nt as toHex,ho as toPrefixedMessage,ia as toRlp,zi as transactionType,We as trim,po as universalSignatureValidatorAbi,yo as universalSignatureValidatorByteCode,ta as validateTypedData,Xn as verifyHash,tr as verifyMessage,er as verifyTypedData,qn as walletActions,cr as webSocket,go as weiUnits,bo as withCache,wo as withRetry,Ze as withTimeout,xo as zeroAddress,Eo as zeroHash};
@@ -1,4 +1,4 @@
1
- import{i as m,b as n}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{c as u}from"./index-Bo34Cx12.js";import"./index-P5U8LYs6.js";import"./index-D-VYD1II.js";import{d as g,r as p,e as x}from"./index-BseAcDfV.js";const b=g`
1
+ import{i as m,b as n}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{c as u}from"./index-BOQwd6ZB.js";import"./index--_rHc9Od.js";import"./index-CMavzzI_.js";import{d as g,r as p,e as x}from"./index-DIMSfymy.js";const b=g`
2
2
  button {
3
3
  display: block;
4
4
  display: flex;