@dcl/shop 1.11.3 → 1.11.4-33205535310.commit-7a8aa97

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 (399) hide show
  1. package/_assets/{Activity-BEOVOdVV.js → Activity-DnZHUo9l.js} +12 -12
  2. package/_assets/{AnimatedBackground-wAz9Odt0.js → AnimatedBackground-BA1Cu3C9.js} +6 -6
  3. package/_assets/{Assets-P4H-lV4U.js → Assets-BLKlgj00.js} +61 -60
  4. package/_assets/{Authorizations-BUN1TioY.js → Authorizations-D-70ZhQL.js} +3 -3
  5. package/_assets/{Cart-CUPHFj39.js → Cart-Dwe9BV_l.js} +2 -2
  6. package/_assets/{Collection-BHRp_9DS.js → Collection-MkFzHUcz.js} +5 -5
  7. package/_assets/{CollectionCarousel-7w9vcOQY.js → CollectionCarousel-Db3_b5uH.js} +7 -7
  8. package/_assets/{Confetti-CYh3a_SI.js → Confetti-DEHU9-Cr.js} +4 -4
  9. package/_assets/{ConstantsUtil-DblXIgum.js → ConstantsUtil-Dxcnn2id.js} +2 -2
  10. package/_assets/{ContentClient-BgeGbQMc.js → ContentClient-CywbUyw3.js} +2 -2
  11. package/_assets/{Creator-DHomo97d.js → Creator-2rvY4LIF.js} +23 -23
  12. package/_assets/{DeploymentBuilder-j66rJfGs.js → DeploymentBuilder-ColC2-cu.js} +3 -3
  13. package/_assets/{EmotePlaybackBar-BERHYvEN.js → EmotePlaybackBar-DYtrEMrf.js} +3 -3
  14. package/_assets/{ErrorNotice-AmLNAAkn.js → ErrorNotice-Dn6mBZT0.js} +2 -2
  15. package/_assets/{ExchangeController-CxJiKrmf.js → ExchangeController-PeHR0sdb.js} +2 -2
  16. package/_assets/{Faq-B-2IAlN1.js → Faq-CslVoYf1.js} +2 -2
  17. package/_assets/{GetCredits-ncUz7MSF.js → GetCredits-TYa72Ri7.js} +2 -2
  18. package/_assets/{Grow-BrH_WQ15.js → Grow-ZhAzQ0S2.js} +2 -2
  19. package/_assets/HelpersUtil-Cu5qC5Wy.js +63 -0
  20. package/_assets/{ItemDetail-CTfaTNRb.js → ItemDetail-9CUHqRPY.js} +225 -224
  21. package/_assets/{LoadMore-DscEf3Fk.js → LoadMore-5CenCiPM.js} +2 -2
  22. package/_assets/{ManaPricingBanner.styles-D9T4JSll.js → ManaPricingBanner.styles-Cy27_rUQ.js} +2 -2
  23. package/_assets/{MyAssets-D-0qpt_J.js → MyAssets-DuAeZqwH.js} +2 -2
  24. package/_assets/{MyFavorites-BM0Fy0t_.js → MyFavorites-BZ3ZOCr-.js} +3 -3
  25. package/_assets/{NetworkUtil-CcWpYyVE.js → NetworkUtil-DuoZ256g.js} +2 -2
  26. package/_assets/{NotFound-DngznS1a.js → NotFound-BJHV0sZO.js} +4 -4
  27. package/_assets/{NotificationsBell-DlvSN7Il.js → NotificationsBell-BoXP2nH_.js} +2 -2
  28. package/_assets/{OutfitDetail-DASkQM6x.js → OutfitDetail-eAhZPsU3.js} +32 -31
  29. package/_assets/{OutfitPreview-CuWTYpJV.js → OutfitPreview-BKQvARws.js} +3 -3
  30. package/_assets/{OutfitStudio-CI-08PA0.js → OutfitStudio-Dd4huqy5.js} +2 -2
  31. package/_assets/{PhArrowCircleDown-vJZVrJ42.js → PhArrowCircleDown-DBmTctYK.js} +5 -5
  32. package/_assets/{PhArrowClockwise-BdoT04dp.js → PhArrowClockwise-ZWBqR1iF.js} +5 -5
  33. package/_assets/{PhArrowDown-CcGbWaQp.js → PhArrowDown-WIeXIufM.js} +5 -5
  34. package/_assets/{PhArrowLeft-B1wZcKN1.js → PhArrowLeft-DvlPA_kr.js} +2 -2
  35. package/_assets/{PhArrowRight-CxxvhfEq.js → PhArrowRight-CcUcrmQK.js} +3 -3
  36. package/_assets/{PhArrowSquareOut-C7VVJaUM.js → PhArrowSquareOut-eQSuZWr9.js} +4 -4
  37. package/_assets/{PhArrowUp-ZLIFqDsg.js → PhArrowUp-oNKVxFhx.js} +5 -5
  38. package/_assets/{PhArrowUpRight-CASBOtJ6.js → PhArrowUpRight-mk1FSkK1.js} +3 -3
  39. package/_assets/{PhArrowsClockwise-Cg_DKbkh.js → PhArrowsClockwise-DvXb79Nq.js} +4 -4
  40. package/_assets/{PhArrowsDownUp-DcDTQ9Nq.js → PhArrowsDownUp-fJXobkfl.js} +5 -5
  41. package/_assets/{PhArrowsLeftRight-Cp6Duw59.js → PhArrowsLeftRight-DsRlafed.js} +4 -4
  42. package/_assets/{PhBank-DaH1J2fm.js → PhBank-BxBmdtlc.js} +5 -5
  43. package/_assets/{PhBrowser-CuEI8T8V.js → PhBrowser-TbGdYALn.js} +3 -3
  44. package/_assets/PhCaretDown-DjcNJ1zq.js +15 -0
  45. package/_assets/{PhCaretLeft-C6AiFDuB.js → PhCaretLeft-BkF0xuuP.js} +4 -4
  46. package/_assets/{PhCaretRight-DfyFNdXD.js → PhCaretRight-cZcclogr.js} +4 -4
  47. package/_assets/PhCaretUp-BTUuw_V5.js +15 -0
  48. package/_assets/{PhCheck-CR4ph65X.js → PhCheck-Dok-YRwJ.js} +3 -3
  49. package/_assets/{PhCircleHalf-bf4_rQfM.js → PhCircleHalf-C_G0Deju.js} +5 -5
  50. package/_assets/{PhClock-GAqyMVHL.js → PhClock-DxtyCCHN.js} +3 -3
  51. package/_assets/{PhCompass-Bgio4FOk.js → PhCompass-Cr5Wk3ha.js} +4 -4
  52. package/_assets/{PhCopy-CIyquHtv.js → PhCopy-DpSRSBDo.js} +5 -5
  53. package/_assets/{PhCreditCard-BSXEWsER.js → PhCreditCard-rQSlkLhU.js} +2 -2
  54. package/_assets/{PhCurrencyDollar-CqUojjE3.js → PhCurrencyDollar-DSXfHZr-.js} +4 -4
  55. package/_assets/{PhDesktop-BogmbwY2.js → PhDesktop-B8t_jyeP.js} +4 -4
  56. package/_assets/{PhDeviceMobile-Dmvj5_IH.js → PhDeviceMobile-CKMo2R-O.js} +5 -5
  57. package/_assets/{PhDotsThree-BQIClXtD.js → PhDotsThree-CBBnUUK5.js} +3 -3
  58. package/_assets/{PhEnvelope-BfJyEfUD.js → PhEnvelope-B3Ot4kfs.js} +3 -3
  59. package/_assets/{PhFunnelSimple-CGNzs6Mz.js → PhFunnelSimple-ST58vUHY.js} +4 -4
  60. package/_assets/{PhGlobe-Cs0mC85b.js → PhGlobe-B1QBE0Ic.js} +3 -3
  61. package/_assets/{PhIdentificationCard-BQUI9UIj.js → PhIdentificationCard-CmHEoEuJ.js} +2 -2
  62. package/_assets/{PhImage-mIqmB6rB.js → PhImage-BM2XMyb9.js} +5 -5
  63. package/_assets/{PhInfo-Bq-uaME7.js → PhInfo-DfmzAoRe.js} +4 -4
  64. package/_assets/{PhLightbulb-D4uDMi2O.js → PhLightbulb-Dhfv4D4c.js} +4 -4
  65. package/_assets/{PhMagnifyingGlass-CzUCQ7HZ.js → PhMagnifyingGlass-Djq6rEa-.js} +2 -2
  66. package/_assets/{PhPaperPlaneRight-DFGlqosO.js → PhPaperPlaneRight-d8LGOK8o.js} +2 -2
  67. package/_assets/{PhPlus-DzP_I_Lh.js → PhPlus-B6aOwiLq.js} +4 -4
  68. package/_assets/{PhPower-BU0zl-V8.js → PhPower-DAs5tvdn.js} +5 -5
  69. package/_assets/{PhPuzzlePiece-B06cIo0S.js → PhPuzzlePiece-C5F9l0Xz.js} +4 -4
  70. package/_assets/{PhQrCode-CO2vMeyK.js → PhQrCode-DjCH9MIj.js} +2 -2
  71. package/_assets/{PhQuestion-CGnki4M2.js → PhQuestion-Bd3_nr1y.js} +3 -3
  72. package/_assets/{PhQuestionMark-VYuR2-QR.js → PhQuestionMark-Chm0gISn.js} +5 -5
  73. package/_assets/{PhSealCheck-7OjMmNjK.js → PhSealCheck-BighefRp.js} +2 -2
  74. package/_assets/{PhSignOut-BTcF9VJt.js → PhSignOut-X3VDO26Z.js} +3 -3
  75. package/_assets/{PhSpinner-d4GybHgJ.js → PhSpinner-CMt3xHt0.js} +3 -3
  76. package/_assets/{PhTrash-Cs80GpfS.js → PhTrash-CBxSNELa.js} +2 -2
  77. package/_assets/{PhUser-CrV8vTcH.js → PhUser-zWIlEtkm.js} +3 -3
  78. package/_assets/{PhVault-DXMjxe4B.js → PhVault-B5GZzffa.js} +2 -2
  79. package/_assets/{PhWallet-B1y2ir8X.js → PhWallet-D6uFkw0p.js} +4 -4
  80. package/_assets/{PhWarning-DiUh_2q2.js → PhWarning-C2cnWjQI.js} +3 -3
  81. package/_assets/{PhWarningCircle-DwMiptTF.js → PhWarningCircle-BN86yUC5.js} +5 -5
  82. package/_assets/{PhX-D10cz3zh.js → PhX-D9xXQPUU.js} +5 -5
  83. package/_assets/{StoreSettings-CrnV-oDS.js → StoreSettings-CRp_cwd6.js} +22 -22
  84. package/_assets/{Success-CuN1jEku.js → Success-D8mYOb6V.js} +2 -2
  85. package/_assets/{SwapController-CD6bIKjn.js → SwapController-CXZfwDqu.js} +2 -2
  86. package/_assets/{TradeService-BBCk0RYw.js → TradeService-BIBakMca.js} +2 -2
  87. package/_assets/{W3MFrameProviderSingleton-35iFXIWF.js → W3MFrameProviderSingleton-C4bKPnoW.js} +4 -4
  88. package/_assets/{WebCryptoP256-Cf-XLLKK.js → WebCryptoP256-Cnh-yMoM.js} +2 -2
  89. package/_assets/{add-C6BISYDT.js → add-CSXcCGk_.js} +2 -2
  90. package/_assets/{all-wallets-xo-RBy44.js → all-wallets-DqZYwMwo.js} +2 -2
  91. package/_assets/{app-store-BkcDu50q.js → app-store-BefptbeL.js} +3 -3
  92. package/_assets/{apple-pa1-mgQL.js → apple-Bfh__HiP.js} +3 -3
  93. package/_assets/{arrow-bottom-B2TV7ghp.js → arrow-bottom-B24463bX.js} +2 -2
  94. package/_assets/{arrow-bottom-circle-BTYP_ql9.js → arrow-bottom-circle-u1TPNWtr.js} +2 -2
  95. package/_assets/{arrow-left-D8Zy5CGX.js → arrow-left-BvEq2K0o.js} +3 -3
  96. package/_assets/{arrow-right-PuYqHFou.js → arrow-right-W2XAOWM7.js} +3 -3
  97. package/_assets/{arrow-top-BdiVfpFf.js → arrow-top-nu1PUCK6.js} +3 -3
  98. package/_assets/async-directive--Ed0QLAK.js +10 -0
  99. package/_assets/{authorizations-BYnIZF10.js → authorizations-DVcnP4OW.js} +2 -2
  100. package/_assets/{bank-h_csYWke.js → bank-BBag9zS_.js} +2 -2
  101. package/_assets/{basic-Kurqa6Hg.js → basic-MwqK24dP.js} +2 -2
  102. package/_assets/{biconomy-DGTyqkE9.js → biconomy-B-AF7YPz.js} +2 -2
  103. package/_assets/{browseLayout.styles-C3O3rJ6E.js → browseLayout.styles-CkyyQm-Z.js} +2 -2
  104. package/_assets/{browser-BBrR2BtI.js → browser-CPTAYjan.js} +3 -3
  105. package/_assets/{browser-CKLQ1qFk.js → browser-Dcdfma-b.js} +2 -2
  106. package/_assets/{browser-ponyfill-DiBM5SBC.js → browser-ponyfill-B1rBgIk4.js} +2 -2
  107. package/_assets/{builder-Db2C6JNf.js → builder-CXuY5Bw4.js} +2 -2
  108. package/_assets/{buy-Tscnuj8P.js → buy-DNqcsljj.js} +2 -2
  109. package/_assets/{buy-gasless-C1ToktQG.js → buy-gasless-6sL_DNZf.js} +2 -2
  110. package/_assets/{card-BBiBeHzu.js → card-C81sr-3j.js} +2 -2
  111. package/_assets/{categories-B1BKLZKW.js → categories-Btqn8toI.js} +2 -2
  112. package/_assets/{ccip-05aiYT-K.js → ccip-BE0wd_6W.js} +2 -2
  113. package/_assets/{ccip-CNYS3aQW.js → ccip-D6Mr8Beb.js} +2 -2
  114. package/_assets/{chains-ZAiL12Bm.js → chains-CzyXmUAh.js} +2 -2
  115. package/_assets/{checkmark-DGh2aL9_.js → checkmark-Bo-gp4Ll.js} +2 -2
  116. package/_assets/{checkmark-bold-BWpmcvWa.js → checkmark-bold-CrqYbcSP.js} +2 -2
  117. package/_assets/chevron-bottom-B7xC8zte.js +9 -0
  118. package/_assets/{chevron-left-BSMCiWRu.js → chevron-left-KdfBU_7V.js} +3 -3
  119. package/_assets/chevron-right-r7vxjQcl.js +9 -0
  120. package/_assets/chevron-top-B9aXAl0y.js +9 -0
  121. package/_assets/{chrome-store-BQ9_RhUA.js → chrome-store-DtnWFF8y.js} +2 -2
  122. package/_assets/{class-map-DopF_Eyi.js → class-map-C1Xjz5Lx.js} +2 -2
  123. package/_assets/{clock-D5AXnR4c.js → clock-Baa7165K.js} +3 -3
  124. package/_assets/{close-vtnC_SRG.js → close-wDYvpJu8.js} +2 -2
  125. package/_assets/{coinPlaceholder-Bbk6i-Hs.js → coinPlaceholder-De2q0FMg.js} +2 -2
  126. package/_assets/collectionPage.styles-DXpjCqco.js +41 -0
  127. package/_assets/common-BpvR0PD7.js +2 -0
  128. package/_assets/{compass-CHspogsk.js → compass-BP3lwd_h.js} +3 -3
  129. package/_assets/{controller-Qvm0QW2h.js → controller-DQKYnVYG.js} +3 -3
  130. package/_assets/{copy-QgJXjsdf.js → copy-EHnRey4G.js} +2 -2
  131. package/_assets/{core-DANcYiPS.js → core-BA652j12.js} +5 -5
  132. package/_assets/{createSvgIcon-DqIhLrW2.js → createSvgIcon-B9t67KVh.js} +3 -3
  133. package/_assets/crumbs.styles-BBVqDdKT.js +10 -0
  134. package/_assets/{cursor-CIvWVuwc.js → cursor-BuTKrcda.js} +3 -3
  135. package/_assets/{cursor-transparent-CMFKnbKD.js → cursor-transparent-7tV62vAu.js} +3 -3
  136. package/_assets/{custom-DTxuVuIB.js → custom-C2Ynj54q.js} +2 -2
  137. package/_assets/{data-capture-DD7sCiZr.js → data-capture-BTmjKf__.js} +2 -2
  138. package/_assets/{dcl-schemas-BHtFmNb-.js → dcl-schemas-CGG1jvt5.js} +2 -2
  139. package/_assets/decimals-BQPVO3ja.js +2 -0
  140. package/_assets/decimals-DHOGSr5H.js +2 -0
  141. package/_assets/{desktop-BQs8_lD6.js → desktop-wbkE-tMP.js} +3 -3
  142. package/_assets/detectExtension-DMFtS9WA.js +2 -0
  143. package/_assets/{disconnect-CN9A3nDW.js → disconnect-DR7Yq8KR.js} +3 -3
  144. package/_assets/{discord-BtZldxgt.js → discord-BcAZXa5x.js} +2 -2
  145. package/_assets/{disposePreview-BtvqOg7t.js → disposePreview-DXiF2HTT.js} +2 -2
  146. package/_assets/{email-DaxW64cs.js → email-B0gMrrpv.js} +7 -7
  147. package/_assets/{embedded-wallet-B0Fwgs2K.js → embedded-wallet-DA1oCEio.js} +2 -2
  148. package/_assets/{emotion-styled.browser.esm-BxkApjMl.js → emotion-styled.browser.esm-O5t6A-xa.js} +2 -2
  149. package/_assets/{engine-JThGOFXd.js → engine-CelyR7dQ.js} +2 -2
  150. package/_assets/{errors-C8Iz-trA.js → errors-Da6uevGV.js} +2 -2
  151. package/_assets/estimate-l1-fee-igEerjNc.js +2 -0
  152. package/_assets/eth_estimateGas-CFbqTjIi.js +2 -0
  153. package/_assets/eth_getStorageAt-CXK-0J7p.js +2 -0
  154. package/_assets/eth_getTransactionCount-upwizO7f.js +2 -0
  155. package/_assets/ethereum-C2DTtUXT.js +2 -0
  156. package/_assets/{ethers-DgOG59Su.js → ethers-DsOeUsXW.js} +2 -2
  157. package/_assets/{etherscan-DQsvLcA9.js → etherscan-DmDyp2wT.js} +2 -2
  158. package/_assets/{events-DibVD_t7.js → events-BGkO5_9X.js} +2 -2
  159. package/_assets/{exclamation-triangle-Cy7ZFMOM.js → exclamation-triangle-COwloaAZ.js} +3 -3
  160. package/_assets/{execute-CNwyt0G_.js → execute-Doh-o6b4.js} +3 -3
  161. package/_assets/{extension-02r3DmNk.js → extension-BXZVsCm9.js} +2 -2
  162. package/_assets/external-link-DY6qwfgd.js +9 -0
  163. package/_assets/extractIPFS-xzGbPd6t.js +2 -0
  164. package/_assets/{facebook-D9vyDeMs.js → facebook-Ce3bxU5i.js} +2 -2
  165. package/_assets/{farcaster-CUy-7jKk.js → farcaster-5HoyJqWe.js} +3 -3
  166. package/_assets/{features-ol0SSx5c.js → features-BpUb2MYF.js} +2 -2
  167. package/_assets/{fetchTokenMetadata-lhSHn6xi.js → fetchTokenMetadata-D00PQ-V_.js} +3 -3
  168. package/_assets/{field.styles-B41qYJoU.js → field.styles-DVMkItfG.js} +2 -2
  169. package/_assets/{filters-BlIPZ-w_.js → filters-B_7HUVyj.js} +3 -3
  170. package/_assets/{fortmatic-uL_s0OSn.js → fortmatic-8MpxeR7F.js} +2 -2
  171. package/_assets/{get-bytecode-BOwL4NWW.js → get-bytecode-FRjyagdO.js} +2 -2
  172. package/_assets/get-ecosystem-wallet-info-B_bTTuBG.js +2 -0
  173. package/_assets/{getBalance-ZoN1tP3C.js → getBalance-D5tT_nQF.js} +3 -3
  174. package/_assets/getInstalledModules-CecnPwhy.js +2 -0
  175. package/_assets/getNFT-DSGt0kN-.js +3 -0
  176. package/_assets/getNFT-vJtLMdKT.js +2 -0
  177. package/_assets/{github-CAcAfKle.js → github-psRgdSRX.js} +3 -3
  178. package/_assets/{google-CxMs1yY4.js → google-zz0wXA6h.js} +3 -3
  179. package/_assets/{grid.styles-Bfq3tOD5.js → grid.styles-CQw2SW8V.js} +2 -2
  180. package/_assets/{hashTypedData-qEav_ih0.js → hashTypedData-CGMf0bG3.js} +2 -2
  181. package/_assets/{hashTypedData-KzAb0OXw.js → hashTypedData-DUJqNK4S.js} +2 -2
  182. package/_assets/{help-circle-D3pVuyNX.js → help-circle-CaVlHgtL.js} +2 -2
  183. package/_assets/{id-EZmnUdnm.js → id-B-QQrIC1.js} +2 -2
  184. package/_assets/{image-D_jaNeLn.js → image-C2jmt9mb.js} +2 -2
  185. package/_assets/{in-app-DsTcp9g1.js → in-app-BOVcQ26g.js} +2 -2
  186. package/_assets/in-app-wallet-calls-CPy2VezJ.js +2 -0
  187. package/_assets/{index-wfbbVR0C.js → index--zP7-a27.js} +2 -2
  188. package/_assets/index-0SNGviEP.js +2 -0
  189. package/_assets/{index-DclRc8UN.js → index-2x7zp-10.js} +2 -2
  190. package/_assets/{index-fmt3aBMt.js → index-4aABSizu.js} +2 -2
  191. package/_assets/{index-CpepHIup.js → index-67UXSZ6-.js} +2 -2
  192. package/_assets/{index-BTGqCcTp.js → index-70R-JS4k.js} +2 -2
  193. package/_assets/{index-C-Vm4vxE.js → index-A9oz3hpe.js} +7 -7
  194. package/_assets/{index-DDo55DDH.js → index-B-v2NL0w.js} +3 -3
  195. package/_assets/{index-DvWRa5G-.js → index-B6cKBWI8.js} +3 -3
  196. package/_assets/{index-B7wtabS1.js → index-BCn-f317.js} +5 -5
  197. package/_assets/{index-CTVBoJue.js → index-BGafRQi1.js} +6 -6
  198. package/_assets/{index-DwM-JZSi.js → index-BMPgVlNF.js} +2 -2
  199. package/_assets/{index-CUe36oKW.js → index-BP0i9VZB.js} +4 -4
  200. package/_assets/{index-YkV_OCpx.js → index-BQCoqhZr.js} +2 -2
  201. package/_assets/{index-CF0TwWos.js → index-BRFgK8K_.js} +4 -4
  202. package/_assets/{index-lZ0PPqQV.js → index-BcIQCuIL.js} +4 -4
  203. package/_assets/{index-CskSOnyZ.js → index-BhPsm3Ao.js} +2 -2
  204. package/_assets/{index-Ba6ZjOcU.js → index-BzcOLtVK.js} +13 -13
  205. package/_assets/{index-oAZ1ZU-c.js → index-C-CF-Ibo.js} +3 -3
  206. package/_assets/{index-vA8IIEKD.js → index-C6woera9.js} +2 -2
  207. package/_assets/{index-CkpRws4w.js → index-C98gu7rH.js} +5 -5
  208. package/_assets/index-CAqCUDS4.js +31 -0
  209. package/_assets/{index-CAJOEhqU.js → index-CGSz8BTC.js} +10 -10
  210. package/_assets/{index-CFSE-4g9.js → index-CIM1mTp5.js} +4 -4
  211. package/_assets/{index-C-Jqa8tU.js → index-CRXpwNDJ.js} +2 -2
  212. package/_assets/{index-Be1NJYDT.js → index-CWUxuCsZ.js} +3 -3
  213. package/_assets/{index-McPhRhdX.js → index-CYymIrE1.js} +2 -2
  214. package/_assets/{index-DZJvVVBz.js → index-CZCaZvqv.js} +2 -2
  215. package/_assets/{index-Ce4Edp7-.js → index-C_Kttocz.js} +3 -3
  216. package/_assets/{index-XKm4O5jb.js → index-CakLInAG.js} +2 -2
  217. package/_assets/{index-KBa4w5_b.js → index-Cg-RmLfH.js} +2 -2
  218. package/_assets/{index-BY7ZDgU3.js → index-CiZ_WKdY.js} +2 -2
  219. package/_assets/{index-XkbNngUP.js → index-Cio2-dWN.js} +5 -5
  220. package/_assets/{index-D3fQaxNZ.js → index-CnQeqGNS.js} +2 -2
  221. package/_assets/{index-CyyRHdbc.js → index-Cpvcv3uX.js} +3 -3
  222. package/_assets/{index-DeldA2Me.js → index-CutOqyFr.js} +2 -2
  223. package/_assets/{index-CXi4JrFW.js → index-CwuiV47y.js} +2 -2
  224. package/_assets/{index-DtVc4xk5.js → index-CxswY7e9.js} +6 -6
  225. package/_assets/{index-BEPvT81m.js → index-D3KgziRE.js} +2 -2
  226. package/_assets/{index-Bh1_eNVo.js → index-D7Rj4sfO.js} +2 -2
  227. package/_assets/{index-btSRhLw4.js → index-DA8FNTXG.js} +6 -6
  228. package/_assets/{index-DiQlp13b.js → index-DBfNN3Kn.js} +6 -6
  229. package/_assets/{index-DdQvxv6H.js → index-DGVKt-7e.js} +2 -2
  230. package/_assets/{index-Dana8qUZ.js → index-DGwfwUpM.js} +4 -4
  231. package/_assets/{index-DVjQDdLu.js → index-DXDNY5rD.js} +4 -4
  232. package/_assets/{index-CrawRT0o.js → index-DdA9TDBD.js} +2 -2
  233. package/_assets/{index-ClTFdTLe.js → index-DkK4yOyB.js} +9 -9
  234. package/_assets/{index-CmH_zvOx.js → index-DkYJNtfw.js} +4 -4
  235. package/_assets/{index-CrE3Fjux.js → index-DrjMfn32.js} +2 -2
  236. package/_assets/{index-CvYt90O2.js → index-DtxBPE1q.js} +2 -2
  237. package/_assets/{index-DW3ULbU6.js → index-DwSBdU0n.js} +3 -3
  238. package/_assets/{index-ozHAxPgl.js → index-LDPWy5A7.js} +2 -2
  239. package/_assets/{index-yeutDs-n.js → index-RcwJybRY.js} +13 -13
  240. package/_assets/{index-BvHOSZKj.js → index-Re8HCxdE.js} +4 -4
  241. package/_assets/{index-D-peO4dU.js → index-Rsu__56e.js} +2 -2
  242. package/_assets/{index-Bmjs-VA2.js → index-Vvwta9o4.js} +2 -2
  243. package/_assets/{index-BB63hriw.js → index-Xuevff6V.js} +2 -2
  244. package/_assets/{index-BDoxreOH.js → index-_2Yqw3KG.js} +2 -2
  245. package/_assets/{index-DF6WG3qn.js → index-ezGVX9vD.js} +5 -5
  246. package/_assets/{index-GKtnnyfC.js → index-fAHr1z7g.js} +2 -2
  247. package/_assets/{index-DMAEUsQc.js → index-gcU34l-W.js} +2 -2
  248. package/_assets/index-irRAef4L.js +2 -0
  249. package/_assets/{index-B_oRHv6S.js → index-lCksbDpF.js} +2 -2
  250. package/_assets/{index-mkHeSqYe.js → index-nVEHjnIF.js} +2 -2
  251. package/_assets/{index-bPrjbeDi.js → index-qeiK8ZbE.js} +2 -2
  252. package/_assets/{index-BSUctRYP.js → index-s6e_pMXb.js} +2 -2
  253. package/_assets/{index-BX5k8Ia-.js → index-xCdWsqN9.js} +2 -2
  254. package/_assets/{index.es-DiYQfgia.js → index.es-4B3saysd.js} +2 -2
  255. package/_assets/{index.es-Uf1O-fY2.js → index.es-D_Vs6Oyb.js} +5 -5
  256. package/_assets/{index.es-7_2j1y1c.js → index.es-Ldc81uln.js} +2 -2
  257. package/_assets/{index.es-CX2yBV9N.js → index.es-x_f-eS2G.js} +2 -2
  258. package/_assets/{info-DnsR7NqF.js → info-OmyNm-OX.js} +2 -2
  259. package/_assets/{info-circle-CYhLz303.js → info-circle-BXcv2mSp.js} +3 -3
  260. package/_assets/items-empty-Cd6EybvW.js +2 -0
  261. package/_assets/jsxRuntime.module-MtWsgs3K.js +2 -0
  262. package/_assets/{jump-DKhwghhc.js → jump-BMy90ViU.js} +2 -2
  263. package/_assets/{lightbulb-CrV2ehUv.js → lightbulb-BhYYPKCa.js} +3 -3
  264. package/_assets/linkAccount-Cn4Eox_U.js +2 -0
  265. package/_assets/{localBatchGatewayRequest-CfRrj7XF.js → localBatchGatewayRequest-COR40qxR.js} +2 -2
  266. package/_assets/{mail-DCBuUzr3.js → mail-BujAiJT_.js} +2 -2
  267. package/_assets/{mobile-BaKd3Qnj.js → mobile-DbqgdYYl.js} +2 -2
  268. package/_assets/{more-LgdfAy-0.js → more-DW0Ubi-A.js} +2 -2
  269. package/_assets/{native-Do2B-Qxb.js → native-DfGXj3-R.js} +2 -2
  270. package/_assets/{network-placeholder-DGOUzxhW.js → network-placeholder-9yKv-UCl.js} +2 -2
  271. package/_assets/{networks-Dqe7-N6R.js → networks-DSZpXRf7.js} +2 -2
  272. package/_assets/{nftPlaceholder-DfAiM1YP.js → nftPlaceholder-Dp7HrYOG.js} +3 -3
  273. package/_assets/{off-I_Bs0UMa.js → off-B06N3u5j.js} +2 -2
  274. package/_assets/{onramp-gJypUnb8.js → onramp-CguINIEn.js} +2 -2
  275. package/_assets/openzeppelin-BCw2yDFA.js +2 -0
  276. package/_assets/ownerOf-Cn_YhfgN.js +2 -0
  277. package/_assets/parseNft-BYwAnXmk.js +3 -0
  278. package/_assets/{parseSignature-BkC3FKxl.js → parseSignature-DMViPGBk.js} +2 -2
  279. package/_assets/{parseSignature-BMAMdfMY.js → parseSignature-Dcx4ssnE.js} +4 -4
  280. package/_assets/{passkeys-BMA2Vzjg.js → passkeys-CKnh5tB5.js} +2 -2
  281. package/_assets/{pay-with-exchange-BbaFUQ7y.js → pay-with-exchange-BhM0qHz7.js} +2 -2
  282. package/_assets/{play-store-Zdx677t2.js → play-store-CGV0O_Jz.js} +3 -3
  283. package/_assets/{plus-BpaXWvxm.js → plus-D8Do9lRK.js} +2 -2
  284. package/_assets/{prepare-contract-call-CTis3Ksb.js → prepare-contract-call-CBUo3pmv.js} +2 -2
  285. package/_assets/{qr-code-Bc1ba80O.js → qr-code-CnvkPJlE.js} +3 -3
  286. package/_assets/{qr-overlay-C1Y4nmkc.js → qr-overlay-DtV6K685.js} +4 -4
  287. package/_assets/{react-DyPiTXWH.js → react-jpAgvPLt.js} +2 -2
  288. package/_assets/{receive-BC-Faqrt.js → receive-CI2HQNzi.js} +9 -9
  289. package/_assets/{recycle-horizontal-n6I99nC_.js → recycle-horizontal-BUI1wFhc.js} +3 -3
  290. package/_assets/{ref-Uk7bJ2Ii.js → ref-LkxlwUph.js} +2 -2
  291. package/_assets/{refresh-DqnhFnmq.js → refresh-gWkM7TpU.js} +2 -2
  292. package/_assets/{reown-logo-BV-uLdVW.js → reown-logo-CpiN-NOh.js} +3 -3
  293. package/_assets/{resolveImplementation-C7gGuPZF.js → resolveImplementation-DyjFqOTz.js} +2 -2
  294. package/_assets/{resume-buy-CrOe5wve.js → resume-buy-LJxXaIAR.js} +2 -2
  295. package/_assets/{rpc-EFTC3eie.js → rpc-C6zzI9OZ.js} +2 -2
  296. package/_assets/{sales-empty-B90K0W8H.js → sales-empty-CQR6Cl2E.js} +2 -2
  297. package/_assets/{search-8HlgtNap.js → search-Wn0h8HYX.js} +2 -2
  298. package/_assets/{search-empty-GvvlNANs.js → search-empty-SNhvMEDl.js} +2 -2
  299. package/_assets/{secp256k1-DruP3eGK.js → secp256k1-BDqFIsVX.js} +2 -2
  300. package/_assets/{secp256k1-Cth-fPBi.js → secp256k1-BZ58GGCE.js} +2 -2
  301. package/_assets/{secp256k1-CSKPyg7G.js → secp256k1-DXV_X-aA.js} +2 -2
  302. package/_assets/{send-BHKhUGFX.js → send-BbZytlP1.js} +2 -2
  303. package/_assets/{send-CSn4ZY-1.js → send-DW0Ds3YN.js} +2 -2
  304. package/_assets/send-batch-transaction-CW9GvjLq.js +2 -0
  305. package/_assets/{send-eip712-transaction-C4Sq8ViN.js → send-eip712-transaction-GtDkXTmK.js} +3 -3
  306. package/_assets/send-gasless-transaction-CWLP91Io.js +3 -0
  307. package/_assets/send-transaction-CS2KkJSz.js +3 -0
  308. package/_assets/{sendMetaTransaction-DdKlulxU.js → sendMetaTransaction-TAXZbOgU.js} +2 -2
  309. package/_assets/{sendRawTransaction-CoNlS87a.js → sendRawTransaction-DDaqC6Te.js} +4 -4
  310. package/_assets/{sentry-wjuCVNXH.js → sentry-B_JVKDG7.js} +3 -3
  311. package/_assets/{serializeTransaction-Be5yK09O.js → serializeTransaction-Dzg7Wvls.js} +2 -2
  312. package/_assets/{session-proposal-Cr1bW3vR.js → session-proposal-CfdMjuUM.js} +2 -2
  313. package/_assets/session-request-MX7JBX3K.js +3 -0
  314. package/_assets/{sha256-UiFg1E6a.js → sha256-lP3uOOAn.js} +2 -2
  315. package/_assets/{signing-B6MLGmUe.js → signing-Dzl91--e.js} +4 -4
  316. package/_assets/{skeleton.styles-DGb4Vags.js → skeleton.styles-C7n7Q1Xj.js} +2 -2
  317. package/_assets/{socials-B1QMNGq2.js → socials-Bg-0FGl4.js} +2 -2
  318. package/_assets/{styled-Bgmkc9S2.js → styled-DvlPUnRd.js} +3 -3
  319. package/_assets/{swapHorizontal-CXfaNtti.js → swapHorizontal-3Mejt9DE.js} +2 -2
  320. package/_assets/{swapHorizontalBold-gpSWS3ym.js → swapHorizontalBold-DkYUmHIw.js} +3 -3
  321. package/_assets/{swapHorizontalMedium-YvybS1X0.js → swapHorizontalMedium-C-AChIRi.js} +3 -3
  322. package/_assets/{swapHorizontalRoundedBold-4mt2CKzr.js → swapHorizontalRoundedBold-BtKMBAIU.js} +2 -2
  323. package/_assets/{swapVertical-D7tPfByp.js → swapVertical-drqnjZhx.js} +3 -3
  324. package/_assets/{swaps-DII4kYq8.js → swaps-CjqMx5HP.js} +2 -2
  325. package/_assets/{telegram-CZbPcX2g.js → telegram-B0zQ2xux.js} +2 -2
  326. package/_assets/{thirdweb-B1YDVAJI.js → thirdweb-D48UBlWS.js} +4 -4
  327. package/_assets/{three-dots-Cf1FPHh0.js → three-dots-CalKjIbH.js} +2 -2
  328. package/_assets/{to-serializable-transaction-D2a8RSyu.js → to-serializable-transaction-YBTVpWil.js} +3 -3
  329. package/_assets/totalSupply-BFtbLmZw.js +2 -0
  330. package/_assets/{transaction-CSbiSCR6.js → transaction-CZ1ehN2t.js} +2 -2
  331. package/_assets/transactionReceipt-yESuKxXC.js +2 -0
  332. package/_assets/transactions-Q-uFleYS.js +17 -0
  333. package/_assets/{twitch-DW3PgCNj.js → twitch-DFJ9vbRU.js} +3 -3
  334. package/_assets/{twitterIcon-CnG-gacS.js → twitterIcon-PQaPXSEq.js} +3 -3
  335. package/_assets/{useCreditPacks-oQYk8AXU.js → useCreditPacks-mY4iSSJ4.js} +2 -2
  336. package/_assets/{useInfiniteGrid-BKQ811RA.js → useInfiniteGrid-Dmt2BhNA.js} +2 -2
  337. package/_assets/useStore-DCRztfDp.js +3 -0
  338. package/_assets/useTheme-BlwH8WXr.js +2 -0
  339. package/_assets/{utils-6qnhg71x.js → utils-BwbUCluR.js} +2 -2
  340. package/_assets/{verify-BVFN0KHq.js → verify-BkXjhgFz.js} +3 -3
  341. package/_assets/{verify-filled-CgBDmJEs.js → verify-filled-Bgl9j8Ps.js} +3 -3
  342. package/_assets/{verifyHash-CHp_1dkh.js → verifyHash-Dg88Mnhe.js} +2 -2
  343. package/_assets/{w3m-modal-BidasrnU.js → w3m-modal-CaJHArzK.js} +2 -2
  344. package/_assets/{w3m-modal-D-YLR-nS.js → w3m-modal-vxDi7BAE.js} +2 -2
  345. package/_assets/{wait-for-tx-receipt-CuAEC_h9.js → wait-for-tx-receipt-_T-7FsA0.js} +2 -2
  346. package/_assets/{wallet-FHuzmtut.js → wallet-h2At2yYW.js} +2 -2
  347. package/_assets/{wallet-placeholder-BaNh3suA.js → wallet-placeholder-BAdAxbaS.js} +3 -3
  348. package/_assets/{walletconnect-SOaTuXVA.js → walletconnect-DGwNgL-R.js} +2 -2
  349. package/_assets/{wallets-IqNjjBUC.js → wallets-zL-_apND.js} +6 -6
  350. package/_assets/{warning-circle-IYnfnelV.js → warning-circle-BcDrWyl5.js} +2 -2
  351. package/_assets/{web-connector-B6ZK-KnR.js → web-connector-Bm3m-1dj.js} +4 -4
  352. package/_assets/{writeContract-BhYblJOj.js → writeContract-DGHQKd47.js} +2 -2
  353. package/_assets/{x-C1-09R-N.js → x-DoyXusK-.js} +3 -3
  354. package/_assets/{zora-sepolia-MBZVLRHn.js → zora-sepolia-Dt71AJJ6.js} +2 -2
  355. package/_assets/{zoraTestnet-z1EEFkWs.js → zoraTestnet-ByKMc0Ff.js} +2 -2
  356. package/index.html +11 -11
  357. package/package.json +2 -2
  358. package/_assets/HelpersUtil-PZUZTOEJ.js +0 -63
  359. package/_assets/PhCaretDown-C_h7B-wg.js +0 -15
  360. package/_assets/PhCaretUp-_p9r-ftN.js +0 -15
  361. package/_assets/async-directive-BF5rCMgn.js +0 -10
  362. package/_assets/chevron-bottom-CKrN3wHT.js +0 -9
  363. package/_assets/chevron-right-NSTsMrfQ.js +0 -9
  364. package/_assets/chevron-top-BiVhyzKv.js +0 -9
  365. package/_assets/collectionPage.styles-CUZMIu19.js +0 -40
  366. package/_assets/common-jIM0_xX0.js +0 -2
  367. package/_assets/decimals-CjF-BdSX.js +0 -2
  368. package/_assets/decimals-Ckn9cRy4.js +0 -2
  369. package/_assets/detectExtension-Gnu7LiZD.js +0 -2
  370. package/_assets/estimate-l1-fee-Dbvud_Cw.js +0 -2
  371. package/_assets/eth_estimateGas-rS25vqwZ.js +0 -2
  372. package/_assets/eth_getStorageAt-Dfz80jyN.js +0 -2
  373. package/_assets/eth_getTransactionCount-T_shF7-r.js +0 -2
  374. package/_assets/ethereum-CJCFASug.js +0 -2
  375. package/_assets/external-link-CGMMz88J.js +0 -9
  376. package/_assets/extractIPFS-C9dhUG6w.js +0 -2
  377. package/_assets/get-ecosystem-wallet-info-u8rFPFzM.js +0 -2
  378. package/_assets/getInstalledModules-B4P_9Ec-.js +0 -2
  379. package/_assets/getNFT-UlaoLDKl.js +0 -3
  380. package/_assets/getNFT-xR-ZGgUx.js +0 -2
  381. package/_assets/in-app-wallet-calls-BHDyG_Hm.js +0 -2
  382. package/_assets/index-BSiVr0DD.js +0 -2
  383. package/_assets/index-CbK4PiBW.js +0 -31
  384. package/_assets/index-DNnRMWE4.js +0 -2
  385. package/_assets/items-empty-Di8AuNKB.js +0 -2
  386. package/_assets/jsxRuntime.module-BdZCPzuh.js +0 -2
  387. package/_assets/linkAccount-CI2WbmeE.js +0 -2
  388. package/_assets/openzeppelin-CqvwIh1K.js +0 -2
  389. package/_assets/ownerOf-CSaLDIRi.js +0 -2
  390. package/_assets/parseNft-Abg8wFVh.js +0 -3
  391. package/_assets/send-batch-transaction-BJtaWfLS.js +0 -2
  392. package/_assets/send-gasless-transaction-6SwFGxtl.js +0 -3
  393. package/_assets/send-transaction-BS3sJtZU.js +0 -3
  394. package/_assets/session-request-C7XtyHpP.js +0 -3
  395. package/_assets/totalSupply-Cz_d9KgH.js +0 -2
  396. package/_assets/transactionReceipt-Cs2L3s90.js +0 -2
  397. package/_assets/transactions-BM0AB6rD.js +0 -17
  398. package/_assets/useStore-Dvc10vNY.js +0 -3
  399. package/_assets/useTheme-kL3HtKAH.js +0 -2
@@ -0,0 +1,17 @@
1
+ import{a as l,i as m,b as s}from"./lit-element-wjYUA6aF.js";import"./index-DXDNY5rD.js";import{c as a}from"./index-RcwJybRY.js";import"./index-4aABSizu.js";import"./index-BzcOLtVK.js";import"./react-jpAgvPLt.js";import"./dcl-schemas-CGG1jvt5.js";import"./sentry-B_JVKDG7.js";import"./ethers-DsOeUsXW.js";import"./intl-AKLEHPeO.js";import"./W3MFrameProviderSingleton-C4bKPnoW.js";import"./index-CwuiV47y.js";import"./index-CWUxuCsZ.js";import"./events-BGkO5_9X.js";import"./browser-ponyfill-B1rBgIk4.js";import"./NetworkUtil-DuoZ256g.js";import"./index-D7Rj4sfO.js";import"./index-OpYIGLSa.js";import"./index-CnQeqGNS.js";import"./index.es-Ldc81uln.js";import"./class-map-C1Xjz5Lx.js";import"./index-2x7zp-10.js";import"./index-DGwfwUpM.js";import"./index-ezGVX9vD.js";import"./index-CAqCUDS4.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="8493df4d-1a38-4a50-91c7-39bd2582af37",t._sentryDebugIdIdentifier="sentry-dbid-8493df4d-1a38-4a50-91c7-39bd2582af37")}catch{}})();const c=l`
2
+ :host > wui-flex:first-child {
3
+ height: 500px;
4
+ overflow-y: auto;
5
+ overflow-x: hidden;
6
+ scrollbar-width: none;
7
+ }
8
+
9
+ :host > wui-flex:first-child::-webkit-scrollbar {
10
+ display: none;
11
+ }
12
+ `;var u=function(t,i,o,r){var n=arguments.length,e=n<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(t,i,o,r);else for(var f=t.length-1;f>=0;f--)(p=t[f])&&(e=(n<3?p(e):n>3?p(i,o,e):p(i,o))||e);return n>3&&e&&Object.defineProperty(i,o,e),e};let d=class extends m{render(){return s`
13
+ <wui-flex flexDirection="column" .padding=${["0","3","3","3"]} gap="3">
14
+ <w3m-activity-list page="activity"></w3m-activity-list>
15
+ </wui-flex>
16
+ `}};d.styles=c;d=u([a("w3m-transactions-view")],d);export{d as W3mTransactionsView};
17
+ //# sourceMappingURL=transactions-Q-uFleYS.js.map
@@ -1,4 +1,4 @@
1
- import{w as l}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new f.Error().stack;e&&(f._sentryDebugIds=f._sentryDebugIds||{},f._sentryDebugIds[e]="622a8cc2-9b1e-4fc6-b0f3-e51d8b33be54",f._sentryDebugIdIdentifier="sentry-dbid-622a8cc2-9b1e-4fc6-b0f3-e51d8b33be54")}catch{}})();const c=l`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as l}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new f.Error().stack;e&&(f._sentryDebugIds=f._sentryDebugIds||{},f._sentryDebugIds[e]="6e29fe29-9410-40be-aa2b-13882b658f42",f._sentryDebugIdIdentifier="sentry-dbid-6e29fe29-9410-40be-aa2b-13882b658f42")}catch{}})();const h=l`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#5A3E85" />
@@ -15,5 +15,5 @@ import{w as l}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof windo
15
15
  <clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
16
16
  <clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
17
17
  </defs>
18
- </svg>`;export{c as twitchSvg};
19
- //# sourceMappingURL=twitch-DW3PgCNj.js.map
18
+ </svg>`;export{h as twitchSvg};
19
+ //# sourceMappingURL=twitch-DFJ9vbRU.js.map
@@ -1,7 +1,7 @@
1
- import{w as t}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b176345e-db82-4cfb-8a65-4f3cbfdc9b75",e._sentryDebugIdIdentifier="sentry-dbid-b176345e-db82-4cfb-8a65-4f3cbfdc9b75")}catch{}})();const o=t`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as t}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="be0874a2-65bd-4ea3-8f24-7c3e63cd2442",e._sentryDebugIdIdentifier="sentry-dbid-be0874a2-65bd-4ea3-8f24-7c3e63cd2442")}catch{}})();const r=t`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
5
5
  />
6
- </svg>`;export{o as twitterIconSvg};
7
- //# sourceMappingURL=twitterIcon-CnG-gacS.js.map
6
+ </svg>`;export{r as twitterIconSvg};
7
+ //# sourceMappingURL=twitterIcon-PQaPXSEq.js.map
@@ -1,2 +1,2 @@
1
- import{d as p}from"./dcl-schemas-BHtFmNb-.js";import{aA as y,aB as _,aC as T,aD as v,a as k,c as l,aE as A,l as S}from"./index-Ba6ZjOcU.js";import"./react-DyPiTXWH.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="d67e0a7f-d577-46a2-8cd8-9dc4129e1912",t._sentryDebugIdIdentifier="sentry-dbid-d67e0a7f-d577-46a2-8cd8-9dc4129e1912")}catch{}})();function P(t){return t.acquisition==="store"?{kind:"store",item:{collection:t.item.contractAddress??"",itemId:String(t.item.itemId??""),priceWei:t.priceWei},chainId:t.item.chainId}:{kind:"trade",trade:t.trade}}function z(t){const r=!!t.item.contractAddress&&t.item.itemId!=null;return{usdPriceCents:t.usdCents,...t.acquisition==="trade"?{tradeId:t.trade.id}:{},...r?{contractAddress:t.item.contractAddress,itemId:String(t.item.itemId)}:{}}}function H(t,r){const e=new Map;for(const s of t){const a=P(s),n=r(a),i=e.get(n);i?(i.units.push(s),i.drafts.push(a)):e.set(n,{key:n,units:[s],drafts:[a]})}return[...e.values()]}const V="dcl_shop_resume_cart";function w(t){return T(t)}function M(t,r){const e=t.received[0];return e?e.assetType===Number(p.TradeAssetType.USD_PEGGED_MANA)?v(e.amount):e.assetType===Number(p.TradeAssetType.ERC20)?!r||!e.amount?0:y(e.amount,r):0:0}function X(t){return t.acquisition==="trade"?{kind:"trade",trade:t.trade}:{kind:"store",mint:{item:{collection:t.item.contractAddress,itemId:String(t.item.itemId),priceWei:t.priceWei},chainId:t.item.chainId}}}async function D(t,r,e,s,a){const n=t.tokenId?1:Math.max(1,Math.floor(t.quantity??1));if((t.acquisition??"trade")==="store"){const d=a?await a(t):null;if(!d||!s)return{status:"gone"};if(d.available<n)return{status:"gone"};const u=y(d.priceWei,s);return!Number.isFinite(u)||u<=0?{status:"no-price"}:{status:"buyable",line:{item:t,acquisition:"store",priceWei:d.priceWei,usdCents:u,priceCredits:w(u),quantity:n}}}const i=await e(t);if(!i)return{status:"gone"};if(_(i,r))return{status:"own"};const o=M(i,s);return!Number.isFinite(o)||o<=0?{status:"no-price"}:{status:"buyable",line:{item:t,acquisition:"trade",trade:i,usdCents:o,priceCredits:w(o),quantity:n}}}async function Y(t,r,e,s,a){const n=[],i=[],o=[];for(const c of t)try{const f=await D(c,r,e,s,a);f.status==="buyable"?n.push(f.line):f.status==="own"?o.push(c):i.push(c)}catch{i.push(c)}const d=n.reduce((c,f)=>c+f.priceCredits*f.quantity,0),u=i.length>0||o.length>0||n.some(c=>c.priceCredits!==c.item.priceCredits);return{buyable:n,unavailable:i,own:o,liveTotalCredits:d,orderChanged:u}}function J(t){const{reservations:r,spent:e,settled:s}=t,a=[...new Set(r.filter(i=>!e.has(i.salt)).map(i=>i.salt))],n=[...new Set(r.filter(i=>s.has(i.salt)).map(i=>i.itemId))];return{toRelease:a,boughtItemIds:n}}function b(){return l.creditsServerUrl}function R(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone||void 0}catch{return}}async function U(t,r){const e=await k(`${b()}/credits/checkout`,{method:"POST",identity:r,metadata:{},headers:{"Content-Type":"application/json"},body:JSON.stringify({packId:t,timezone:R(),source:"website"})});if(!e.ok)throw new Error(`checkout ${e.status}: ${await e.text()}`);const{orderId:s,url:a}=await e.json();return{orderId:s,url:a,mock:!1}}async function $(t,r,e={}){const{intervalMs:s=1500,timeoutMs:a=6e4,signal:n}=e,i=Date.now()+a;for(;;){if(n!=null&&n.aborted)throw new DOMException("Aborted","AbortError");const o=await q(t,r,n);if(!W(o.status))return o;if(Date.now()>i)return o.status==="initiated"?o:{status:"pending"};await F(s,n)}}function W(t){return t==="processing"||t==="crediting"||t==="initiated"}async function q(t,r,e){const s=await k(`${b()}/credits/orders/${t}`,{method:"GET",identity:r,metadata:{},signal:e});if(s.status===404)return{status:"processing"};if(!s.ok)throw new Error(`order status ${s.status}`);return s.json()}function F(t,r){return new Promise((e,s)=>{const a=setTimeout(e,t);r==null||r.addEventListener("abort",()=>{clearTimeout(a),s(new DOMException("Aborted","AbortError"))})})}const O=.1,g=[{id:"pack_5",usd:5.99,credits:40},{id:"pack_10",usd:11.99,credits:100,bestValue:!0},{id:"pack_25",usd:29.99,credits:260},{id:"pack_50",usd:59.99,credits:540}];function Q(t,r){const e=r.reduce((n,i)=>i.usd<n.usd?i:n,r[0]);if(!e||e.id===t.id||!(e.usd>0))return null;const s=Math.floor(e.credits/e.usd*t.usd),a=t.credits-s;return a>0?{baseline:s,bonus:a}:null}const Z=4;function h(t){return t.imageUrlWebp||t.imageUrl||void 0}async function L(){const t=await fetch(`${l.creditsServerUrl}/credits/packs`);if(!t.ok)throw new Error(`credit packs ${t.status}`);const{packs:r}=await t.json();return r.slice().sort((e,s)=>(e.order??0)-(s.order??0)).map(e=>({id:e.id,usd:e.usd,credits:e.credits,...e.recommended?{bestValue:!0}:{},...h(e)?{artUrl:h(e)}:{}}))}function C(t){return g.find(r=>r.id===t)}const m="mock_cs_",K=new Set([80002,11155111,1337,31337]);function E(){const t=!l.stripePublishableKey;if(t&&!K.has(l.chainId))throw new Error(`Stripe publishable key is missing on chainId=${l.chainId}, which is not a recognized test network. Refusing to fall back to mock payments in a real-money environment — configure STRIPE_PUBLISHABLE_KEY.`);return t}async function tt(t,r){const e=C(t);if(!e)throw new Error("Unknown pack");if(E())return N(e);if(!(r!=null&&r.identity))throw new Error("Sign in to get credits.");return U(t,r.identity)}async function et(t,r={}){const{intervalMs:e,timeoutMs:s,signal:a,identity:n}=r;if(E()||t.startsWith(m))return x(t,r);if(!n)throw new Error("Sign in to get credits.");return $(t,n,{intervalMs:e,timeoutMs:s,signal:a})}function N(t){const r=`${m}${t.id}_${Date.now()}`;return I(400).then(()=>({orderId:r,clientSecret:`${m}${t.id}`,mock:!0}))}async function x(t,r={}){await I(r.intervalMs??900);const e=t.replace(m,"").replace(/_\d+$/,""),s=C(e),a=(s==null?void 0:s.credits)??0;if(r.address&&s)try{const n=await A(r.address,Math.round(s.credits*O*100));return{status:"credited",creditsGranted:a,newBalance:n.credits}}catch(n){return{status:"failed",error:n.message}}return{status:"credited",creditsGranted:a,newBalance:a}}function I(t,r){return new Promise((e,s)=>{setTimeout(e,t)})}function rt(){const{data:t,isLoading:r}=S({queryKey:["credit-packs"],queryFn:L,staleTime:3e5,retry:!1});return{packs:t??g,isLoading:r&&t===void 0}}export{Z as M,V as R,z as a,X as b,tt as c,et as d,Q as e,D as f,H as g,E as i,J as p,Y as r,rt as u};
2
- //# sourceMappingURL=useCreditPacks-oQYk8AXU.js.map
1
+ import{d as p}from"./dcl-schemas-CGG1jvt5.js";import{aA as y,aB as _,aC as T,aD as v,a as b,c as l,aE as A,m as S}from"./index-BzcOLtVK.js";import"./react-jpAgvPLt.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="27b20dad-e42d-40a9-8e6a-b597103cce9c",t._sentryDebugIdIdentifier="sentry-dbid-27b20dad-e42d-40a9-8e6a-b597103cce9c")}catch{}})();function P(t){return t.acquisition==="store"?{kind:"store",item:{collection:t.item.contractAddress??"",itemId:String(t.item.itemId??""),priceWei:t.priceWei},chainId:t.item.chainId}:{kind:"trade",trade:t.trade}}function z(t){const r=!!t.item.contractAddress&&t.item.itemId!=null;return{usdPriceCents:t.usdCents,...t.acquisition==="trade"?{tradeId:t.trade.id}:{},...r?{contractAddress:t.item.contractAddress,itemId:String(t.item.itemId)}:{}}}function H(t,r){const e=new Map;for(const s of t){const a=P(s),n=r(a),i=e.get(n);i?(i.units.push(s),i.drafts.push(a)):e.set(n,{key:n,units:[s],drafts:[a]})}return[...e.values()]}const V="dcl_shop_resume_cart";function w(t){return T(t)}function M(t,r){const e=t.received[0];return e?e.assetType===Number(p.TradeAssetType.USD_PEGGED_MANA)?v(e.amount):e.assetType===Number(p.TradeAssetType.ERC20)?!r||!e.amount?0:y(e.amount,r):0:0}function X(t){return t.acquisition==="trade"?{kind:"trade",trade:t.trade}:{kind:"store",mint:{item:{collection:t.item.contractAddress,itemId:String(t.item.itemId),priceWei:t.priceWei},chainId:t.item.chainId}}}async function D(t,r,e,s,a){const n=t.tokenId?1:Math.max(1,Math.floor(t.quantity??1));if((t.acquisition??"trade")==="store"){const d=a?await a(t):null;if(!d||!s)return{status:"gone"};if(d.available<n)return{status:"gone"};const u=y(d.priceWei,s);return!Number.isFinite(u)||u<=0?{status:"no-price"}:{status:"buyable",line:{item:t,acquisition:"store",priceWei:d.priceWei,usdCents:u,priceCredits:w(u),quantity:n}}}const i=await e(t);if(!i)return{status:"gone"};if(_(i,r))return{status:"own"};const o=M(i,s);return!Number.isFinite(o)||o<=0?{status:"no-price"}:{status:"buyable",line:{item:t,acquisition:"trade",trade:i,usdCents:o,priceCredits:w(o),quantity:n}}}async function Y(t,r,e,s,a){const n=[],i=[],o=[];for(const c of t)try{const f=await D(c,r,e,s,a);f.status==="buyable"?n.push(f.line):f.status==="own"?o.push(c):i.push(c)}catch{i.push(c)}const d=n.reduce((c,f)=>c+f.priceCredits*f.quantity,0),u=i.length>0||o.length>0||n.some(c=>c.priceCredits!==c.item.priceCredits);return{buyable:n,unavailable:i,own:o,liveTotalCredits:d,orderChanged:u}}function J(t){const{reservations:r,spent:e,settled:s}=t,a=[...new Set(r.filter(i=>!e.has(i.salt)).map(i=>i.salt))],n=[...new Set(r.filter(i=>s.has(i.salt)).map(i=>i.itemId))];return{toRelease:a,boughtItemIds:n}}function k(){return l.creditsServerUrl}function R(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone||void 0}catch{return}}async function U(t,r){const e=await b(`${k()}/credits/checkout`,{method:"POST",identity:r,metadata:{},headers:{"Content-Type":"application/json"},body:JSON.stringify({packId:t,timezone:R(),source:"website"})});if(!e.ok)throw new Error(`checkout ${e.status}: ${await e.text()}`);const{orderId:s,url:a}=await e.json();return{orderId:s,url:a,mock:!1}}async function $(t,r,e={}){const{intervalMs:s=1500,timeoutMs:a=6e4,signal:n}=e,i=Date.now()+a;for(;;){if(n!=null&&n.aborted)throw new DOMException("Aborted","AbortError");const o=await q(t,r,n);if(!W(o.status))return o;if(Date.now()>i)return o.status==="initiated"?o:{status:"pending"};await F(s,n)}}function W(t){return t==="processing"||t==="crediting"||t==="initiated"}async function q(t,r,e){const s=await b(`${k()}/credits/orders/${t}`,{method:"GET",identity:r,metadata:{},signal:e});if(s.status===404)return{status:"processing"};if(!s.ok)throw new Error(`order status ${s.status}`);return s.json()}function F(t,r){return new Promise((e,s)=>{const a=setTimeout(e,t);r==null||r.addEventListener("abort",()=>{clearTimeout(a),s(new DOMException("Aborted","AbortError"))})})}const O=.1,g=[{id:"pack_5",usd:5.99,credits:40},{id:"pack_10",usd:11.99,credits:100,bestValue:!0},{id:"pack_25",usd:29.99,credits:260},{id:"pack_50",usd:59.99,credits:540}];function Q(t,r){const e=r.reduce((n,i)=>i.usd<n.usd?i:n,r[0]);if(!e||e.id===t.id||!(e.usd>0))return null;const s=Math.floor(e.credits/e.usd*t.usd),a=t.credits-s;return a>0?{baseline:s,bonus:a}:null}const Z=4;function h(t){return t.imageUrlWebp||t.imageUrl||void 0}async function L(){const t=await fetch(`${l.creditsServerUrl}/credits/packs`);if(!t.ok)throw new Error(`credit packs ${t.status}`);const{packs:r}=await t.json();return r.slice().sort((e,s)=>(e.order??0)-(s.order??0)).map(e=>({id:e.id,usd:e.usd,credits:e.credits,...e.recommended?{bestValue:!0}:{},...h(e)?{artUrl:h(e)}:{}}))}function C(t){return g.find(r=>r.id===t)}const m="mock_cs_",K=new Set([80002,11155111,1337,31337]);function E(){const t=!l.stripePublishableKey;if(t&&!K.has(l.chainId))throw new Error(`Stripe publishable key is missing on chainId=${l.chainId}, which is not a recognized test network. Refusing to fall back to mock payments in a real-money environment — configure STRIPE_PUBLISHABLE_KEY.`);return t}async function tt(t,r){const e=C(t);if(!e)throw new Error("Unknown pack");if(E())return N(e);if(!(r!=null&&r.identity))throw new Error("Sign in to get credits.");return U(t,r.identity)}async function et(t,r={}){const{intervalMs:e,timeoutMs:s,signal:a,identity:n}=r;if(E()||t.startsWith(m))return x(t,r);if(!n)throw new Error("Sign in to get credits.");return $(t,n,{intervalMs:e,timeoutMs:s,signal:a})}function N(t){const r=`${m}${t.id}_${Date.now()}`;return I(400).then(()=>({orderId:r,clientSecret:`${m}${t.id}`,mock:!0}))}async function x(t,r={}){await I(r.intervalMs??900);const e=t.replace(m,"").replace(/_\d+$/,""),s=C(e),a=(s==null?void 0:s.credits)??0;if(r.address&&s)try{const n=await A(r.address,Math.round(s.credits*O*100));return{status:"credited",creditsGranted:a,newBalance:n.credits}}catch(n){return{status:"failed",error:n.message}}return{status:"credited",creditsGranted:a,newBalance:a}}function I(t,r){return new Promise((e,s)=>{setTimeout(e,t)})}function rt(){const{data:t,isLoading:r}=S({queryKey:["credit-packs"],queryFn:L,staleTime:3e5,retry:!1});return{packs:t??g,isLoading:r&&t===void 0}}export{Z as M,V as R,z as a,X as b,tt as c,et as d,Q as e,D as f,H as g,E as i,J as p,Y as r,rt as u};
2
+ //# sourceMappingURL=useCreditPacks-mY4iSSJ4.js.map
@@ -1,2 +1,2 @@
1
- import{av as x,aw as b,ax as p,ay as y,az as N}from"./index-Ba6ZjOcU.js";import"./react-DyPiTXWH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="1c1f10e2-632c-42ee-9386-f4e71910bde2",e._sentryDebugIdIdentifier="sentry-dbid-1c1f10e2-632c-42ee-9386-f4e71910bde2")}catch{}})();var v=class extends x{constructor(e,r){super(e,r)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,r){var P,l;const{state:i}=e,t=super.createResult(e,r),{isFetching:o,isRefetching:f,isError:n,isRefetchError:h}=t,a=(l=(P=i.fetchMeta)==null?void 0:P.fetchMore)==null?void 0:l.direction,s=n&&a==="forward",u=o&&a==="forward",c=n&&a==="backward",d=o&&a==="backward";return{...t,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:p(r,i.data),hasPreviousPage:b(r,i.data),isFetchNextPageError:s,isFetchingNextPage:u,isFetchPreviousPageError:c,isFetchingPreviousPage:d,isRefetchError:h&&!s&&!c,isRefetching:f&&!u&&!d}}};function m(e,r){return y(e,v)}function F(e,r,i={}){var n,h,a;const t=m({queryKey:e,enabled:i.enabled,queryFn:({pageParam:s})=>r(s),initialPageParam:0,getNextPageParam:(s,u)=>{if(s.items.length===0)return;const c=u.reduce((d,g)=>d+g.items.length,0);return c<s.total?c:void 0},placeholderData:N}),o=(((n=t.data)==null?void 0:n.pages)??[]).flatMap(s=>s.items),f=((a=(h=t.data)==null?void 0:h.pages[0])==null?void 0:a.total)??0;return{items:o,total:f,isLoading:t.isLoading,isPlaceholderData:t.isPlaceholderData,isError:t.isError,error:t.error,hasNextPage:t.hasNextPage,isFetchingNextPage:t.isFetchingNextPage,isFetchNextPageError:t.isFetchNextPageError,fetchNextPage:t.fetchNextPage}}export{F as u};
2
- //# sourceMappingURL=useInfiniteGrid-BKQ811RA.js.map
1
+ import{av as x,aw as b,ax as p,ay as y,az as N}from"./index-BzcOLtVK.js";import"./react-jpAgvPLt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="1c1f10e2-632c-42ee-9386-f4e71910bde2",e._sentryDebugIdIdentifier="sentry-dbid-1c1f10e2-632c-42ee-9386-f4e71910bde2")}catch{}})();var v=class extends x{constructor(e,r){super(e,r)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,r){var P,l;const{state:i}=e,t=super.createResult(e,r),{isFetching:o,isRefetching:f,isError:n,isRefetchError:h}=t,a=(l=(P=i.fetchMeta)==null?void 0:P.fetchMore)==null?void 0:l.direction,s=n&&a==="forward",u=o&&a==="forward",c=n&&a==="backward",d=o&&a==="backward";return{...t,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:p(r,i.data),hasPreviousPage:b(r,i.data),isFetchNextPageError:s,isFetchingNextPage:u,isFetchPreviousPageError:c,isFetchingPreviousPage:d,isRefetchError:h&&!s&&!c,isRefetching:f&&!u&&!d}}};function m(e,r){return y(e,v)}function F(e,r,i={}){var n,h,a;const t=m({queryKey:e,enabled:i.enabled,queryFn:({pageParam:s})=>r(s),initialPageParam:0,getNextPageParam:(s,u)=>{if(s.items.length===0)return;const c=u.reduce((d,g)=>d+g.items.length,0);return c<s.total?c:void 0},placeholderData:N}),o=(((n=t.data)==null?void 0:n.pages)??[]).flatMap(s=>s.items),f=((a=(h=t.data)==null?void 0:h.pages[0])==null?void 0:a.total)??0;return{items:o,total:f,isLoading:t.isLoading,isPlaceholderData:t.isPlaceholderData,isError:t.isError,error:t.error,hasNextPage:t.hasNextPage,isFetchingNextPage:t.isFetchingNextPage,isFetchNextPageError:t.isFetchNextPageError,fetchNextPage:t.fetchNextPage}}export{F as u};
2
+ //# sourceMappingURL=useInfiniteGrid-Dmt2BhNA.js.map
@@ -0,0 +1,3 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-irRAef4L.js","_assets/react-jpAgvPLt.js","_assets/index-BhPsm3Ao.js","_assets/sentry-B_JVKDG7.js","_assets/index-fAHr1z7g.js","_assets/index-CYymIrE1.js","_assets/index-DtxBPE1q.js","_assets/ethers-DsOeUsXW.js","_assets/events-BGkO5_9X.js","_assets/dcl-schemas-CGG1jvt5.js","_assets/DeploymentBuilder-ColC2-cu.js","_assets/ContentClient-CywbUyw3.js"])))=>i.map(i=>d[i]);
2
+ import{_ as h,l as b,c as m,h as _,m as k}from"./index-BzcOLtVK.js";import{d as g}from"./dcl-schemas-CGG1jvt5.js";import"./react-jpAgvPLt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="498d1b7a-befb-4301-8baf-12e2cf3fd31c",e._sentryDebugIdIdentifier="sentry-dbid-498d1b7a-befb-4301-8baf-12e2cf3fd31c")}catch{}})();const w=()=>({cover:"",coverHash:"",description:"",links:{website:"",twitter:"",discord:"",facebook:""}}),v=e=>`urn:decentraland:off-chain:marketplace-stores:${e.toLowerCase()}`;function d(e,t){var n;const o=((n=e==null?void 0:e.find(r=>r.name===t))==null?void 0:n.url)??"";return o.startsWith("https://")?o:""}async function E(e){var t,o,n;try{const r=await fetch(`${m.peerUrl}/content/entities/active`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pointers:[v(e)]})});if(!r.ok)return w();const i=await r.json(),s=i==null?void 0:i[0];if(!(s!=null&&s.metadata))return w();const{metadata:c,content:f}=s,u=(o=(t=c.images)==null?void 0:t.find(l=>l.name==="cover"))==null?void 0:o.file,p=u?(n=f==null?void 0:f.find(l=>l.file===u))==null?void 0:n.hash:void 0;return{cover:p?`${m.peerUrl}/content/contents/${p}`:"",coverHash:p??"",description:(c.description??"").trim(),links:{website:d(c.links,"website"),twitter:d(c.links,"twitter"),discord:d(c.links,"discord"),facebook:d(c.links,"facebook")}}}catch{return w()}}const I=["website","twitter","discord","facebook"],S={website:"https://",twitter:"https://www.twitter.com/",discord:"https://discord.gg/",facebook:"https://www.facebook.com/"};function U(e){return{cover:e.cover,coverName:e.cover?C(e.cover):"",coverHash:e.coverHash,description:e.description,links:{...e.links}}}const y=new Map;function H(e){let t=y.get(e);return t||(t=(async()=>{const{hashV1:o}=await h(async()=>{const{hashV1:r}=await import("./index-irRAef4L.js").then(i=>i.i);return{hashV1:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])),n=new Uint8Array(await(await fetch(e)).arrayBuffer());return o(n)})(),y.set(e,t)),t}function C(e){return`cover/${decodeURIComponent(e.split("?")[0].split("/").pop()||"")||"cover.jpeg"}`}function $(e,t){return t===""||t.startsWith(S[e])}function L(e,t){const o=e.toLowerCase(),n=I.filter(i=>t.links[i]).map(i=>({name:i,url:t.links[i]})),r=t.cover&&t.coverName?[{name:"cover",file:t.coverName}]:[];return{id:v(o),owner:o,description:t.description,images:r,links:n,version:1}}async function T(e){const t=new Map;if(e.cover&&e.coverName){const o=await fetch(e.cover);t.set(e.coverName,new Uint8Array(await o.arrayBuffer()))}return t}async function A(e,t,o){try{const[{buildEntity:n},{createContentClient:r}]=await Promise.all([h(()=>import("./DeploymentBuilder-ColC2-cu.js").then(a=>a.D),__vite__mapDeps([10,1,2,3,4,5,6,7,8,9])),h(()=>import("./ContentClient-CywbUyw3.js").then(a=>a.C),__vite__mapDeps([11,1,2,3,4,5,6,7,8,9]))]),i=L(e,t),s=await T(t),c=await n({type:g.EntityType.STORE,pointers:[v(e)],files:s,metadata:i,timestamp:Date.now()}),f=b.Authenticator.signPayload(o,c.entityId),u={fetch:(a,l)=>globalThis.fetch(a,l)};await r({url:`${m.peerUrl}/content`,fetcher:u}).deploy({...c,authChain:f})}catch(n){_(n,{flow:"saveStore"});const r=new Error("save-failed");throw r.cause=n,r}}function F(e){return k({queryKey:["store",e==null?void 0:e.toLowerCase()],enabled:!!e,staleTime:5*6e4,queryFn:()=>E(e)})}export{I as L,S as a,U as d,$ as i,A as s,H as t,F as u};
3
+ //# sourceMappingURL=useStore-DCRztfDp.js.map
@@ -0,0 +1,2 @@
1
+ import"./react-jpAgvPLt.js";import{u as f,T as t,k as n}from"./index-BzcOLtVK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="dc1d4d05-def1-420f-8f99-4fdd0f775633",e._sentryDebugIdIdentifier="sentry-dbid-dc1d4d05-def1-420f-8f99-4fdd0f775633")}catch{}})();function u(){const e=f(n);return e[t]||e}export{u};
2
+ //# sourceMappingURL=useTheme-BlwH8WXr.js.map
@@ -1,2 +1,2 @@
1
- import{p as z}from"./sentry-wjuCVNXH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="15f53e91-5b4c-4476-af89-157f78f1215c",e._sentryDebugIdIdentifier="sentry-dbid-15f53e91-5b4c-4476-af89-157f78f1215c")}catch{}})();const b="rpc.thirdweb.com",L="social.thirdweb.com",A="embedded-wallet.thirdweb.com",R="pay.thirdweb.com",v="storage.thirdweb.com",x="bundler.thirdweb.com",$="c.thirdweb.com",C="insight.thirdweb.com",N="engine.thirdweb.com",O="bridge.thirdweb.com";let _={analytics:$,bridge:O,bundler:x,engineCloud:N,inAppWallet:A,insight:C,pay:R,rpc:b,social:L,storage:v};const H=e=>{_={analytics:e.analytics??$,bridge:e.bridge??O,bundler:e.bundler??x,engineCloud:e.engineCloud??N,inAppWallet:e.inAppWallet??A,insight:e.insight??C,pay:e.pay??R,rpc:e.rpc??b,social:e.social??L,storage:e.storage??v}},d=()=>_,V=e=>{const t=_[e];return t.startsWith("localhost")?`http://${t}`:`https://${t}`};let k=null;const X=e=>{k=e},M=()=>k,Ue=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_RPC_URL:b,getServiceKey:M,getThirdwebBaseUrl:V,getThirdwebDomains:d,setServiceKey:X,setThirdwebDomains:H},Symbol.toStringTag,{value:"Module"})),G="5.120.1";class Q extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){const n=super.get(t);return super.has(t)&&n!==void 0&&(this.delete(t),super.set(t,n)),n}set(t,n){if(super.set(t,n),this.maxSize&&this.size>this.maxSize){const r=this.keys().next().value;r&&this.delete(r)}return this}}const U=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Y(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":typeof navigator<"u"?"browser":"node"}function q(e){for(let t=0,n=U.length;t<n;t++){const[r,s]=U[t];if(s.exec(e))return r}return null}function E(e){return e.split(".").length===3}var J={};const Z=typeof z<"u"&&J&&!1,ee=6e4;function te(e,t){async function n(r,s){const{requestTimeoutMs:c=ee,useAuthToken:o,...y}=s||{};let i=y.headers?new Headers(y.headers):typeof r=="object"?r.headers:void 0;const f=typeof r=="string"?r:r.url;if(T(f)){i||(i=new Headers);const p=o&&e.secretKey&&E(e.secretKey)?e.secretKey:void 0,I=e.secretKey&&!E(e.secretKey)?e.secretKey:void 0,m=e.clientId;p&&ie(f)?(i.set("authorization",`Bearer ${p}`),e.teamId&&i.set("x-team-id",e.teamId),m&&i.set("x-client-id",m)):p&&!re(f)&&!se(f)?(i.set("authorization",`Bearer ${p}`),e.teamId&&i.set("x-team-id",e.teamId)):(I&&i.set("x-secret-key",I),m&&i.set("x-client-id",m)),t&&(i.set("x-ecosystem-id",t.id),t.partnerId&&i.set("x-ecosystem-partner-id",t.partnerId));for(const[j,K]of P())i.set(j,K);const W=M();W&&i.set("x-service-api-key",W)}let u,g;return c&&(u=new AbortController,g=setTimeout(()=>{u==null||u.abort("timeout")},c)),fetch(r,{...y,headers:i,signal:u==null?void 0:u.signal}).finally(()=>{g&&clearTimeout(g)})}return n}const ne=[".thirdweb.com",".ipfscdn.io",".thirdweb.dev",".thirdweb-dev.com",".thirdwebstorage-dev.com"],l=new Q(4096);function T(e){if(l.has(e))return l.get(e);try{const{hostname:t}=new URL(e),n=ne.some(r=>t.endsWith(r));return l.set(e,n),n}catch{return l.set(e,!1),!1}}function re(e){try{const{hostname:t}=new URL(e);return t.startsWith("pay.")}catch{return!1}}function se(e){try{const{hostname:t}=new URL(e);return t.startsWith("in-app-wallet.")||t.startsWith("embedded-wallet.")}catch{return!1}}function ie(e){try{const{hostname:t}=new URL(e);return t.endsWith(".bundler.thirdweb.com")||t.endsWith(".bundler.thirdweb-dev.com")}catch{return!1}}const ce="unified-sdk";let h;function P(){if(h)return h;let e=null;typeof navigator<"u"&&(e=q(navigator.userAgent));let t;return typeof globalThis<"u"&&"Application"in globalThis&&(t=globalThis.Application.applicationId),h=Object.entries({"x-sdk-name":ce,"x-sdk-os":e?oe(e):"unknown","x-sdk-platform":Y(),"x-sdk-version":G,...t?{"x-bundle-id":t}:{}}),h}function oe(e){const t=e.toLowerCase();if(t.startsWith("win"))return"win";switch(e){case"Mac OS":return"mac";case"iOS":return"ios";case"Android OS":return"android";default:return t.replace(/\s/gi,"_")}}const Ee=Object.freeze(Object.defineProperty({__proto__:null,IS_THIRDWEB_URL_CACHE:l,getClientFetch:te,getPlatformHeaders:P,isThirdwebUrl:T},Symbol.toStringTag,{value:"Module"})),ue=new Map,ae=new Map;function de(e){const t=(s,c)=>({clear:()=>c.delete(s),get:()=>c.get(s),set:o=>c.set(s,o)}),n=t(e,ue),r=t(e,ae);return{clear:()=>{n.clear(),r.clear()},promise:n,response:r}}async function D(e,{cacheKey:t,cacheTime:n=Number.POSITIVE_INFINITY}){const r=de(t),s=r.response.get();if(s&&n>0&&Date.now()-s.created.getTime()<n)return s.data;let c=r.promise.get();c||(c=e(),r.promise.set(c));try{const o=await c;return r.response.set({created:new Date,data:o}),o}finally{r.promise.clear()}}const a=new Map;function le(e){const t=d().rpc;if(typeof e=="number")return{id:e,rpc:`https://${e}.${t}`};if(be(e))return F(e);if(he(e))return B(e);let n=e.rpc;n||(n=`https://${e.id}.${t}`);const r={...e,rpc:n};return a.set(e.id,r),r}function fe(e){for(const t of e)a.set(t.id,t)}function pe(e){if(a.has(e))return a.get(e);const t=d().rpc;return{id:e,rpc:`https://${e}.${t}`}}function me(e){return a.get(e)}function he(e){return"rpc"in e&&Array.isArray(e.rpc)&&"slug"in e}function B(e){var n;const t=d().rpc;return{blockExplorers:(n=e==null?void 0:e.explorers)==null?void 0:n.map(r=>({apiUrl:r.url,name:r.name,url:r.url})),faucets:e.faucets?[...e.faucets]:void 0,icon:e.icon,id:e.chainId,name:e.name,nativeCurrency:{decimals:e.nativeCurrency.decimals,name:e.nativeCurrency.name,symbol:e.nativeCurrency.symbol},rpc:e.rpc[0]??`https://${e.chainId}.${t}`,testnet:e.testnet?!0:void 0}}function be(e){return"rpcUrls"in e&&!("rpc"in e)}function F(e){const t=d().rpc;return{blockExplorers:e!=null&&e.blockExplorers?Object.values(e==null?void 0:e.blockExplorers).map(n=>({apiUrl:n.apiUrl,name:n.name,url:n.url})):[],id:e.id,name:e.name,nativeCurrency:{decimals:e.nativeCurrency.decimals,name:e.nativeCurrency.name,symbol:e.nativeCurrency.symbol},rpc:e.rpcUrls.default.http[0]??`https://${e.id}.${t}`,testnet:e.testnet?!0:void 0}}function we(e){const t=d().rpc;if(typeof e.chain=="number")return`https://${e.chain}.${t}/${e.client.clientId}`;const{rpc:n}=e.chain;if(T(n)){const r=new URL(e.chain.rpc.replace(b,t));return(r.pathname==="/"||r.pathname.startsWith("/$"))&&(r.pathname=`/${e.client.clientId}`),r.toString()}return n}async function ye(e){var t;return(t=e.nativeCurrency)!=null&&t.symbol?e.nativeCurrency.symbol:w(e).then(n=>n.nativeCurrency.symbol).catch(()=>"ETH")}async function ge(e){var t;return(t=e.nativeCurrency)!=null&&t.decimals?e.nativeCurrency.decimals:w(e).then(n=>n.nativeCurrency.decimals).catch(()=>18)}async function _e(e){var t;return(t=e.nativeCurrency)!=null&&t.name?e.nativeCurrency.name:w(e).then(n=>n.nativeCurrency.name).catch(()=>"ETH")}function w(e){const t=e.id;return D(async()=>{try{const n=await fetch(`https://api.thirdweb.com/v1/chains/${t}`);if(!n.ok)throw new Error(`Failed to fetch chain data for chainId ${t}. ${n.status} ${n.statusText}`);const r=await n.json();if(r.error)throw new Error(`Failed to fetch chain data for chainId ${t}`);if(!r.data)throw new Error(`Failed to fetch chain data for chainId ${t}`);const s=r.data;return S(e,s)}catch{return S(e)}},{cacheKey:`chain:${t}`,cacheTime:300*1e3})}async function Te(){return D(async()=>{const e=await fetch("https://api.thirdweb.com/v1/chains/services?service=insight");if(!e.ok)throw new Error(`Failed to fetch services. ${e.status} ${e.statusText}`);const t=await e.json();return Object.keys(t.data).map(n=>Number(n))},{cacheKey:"chain:insight-enabled",cacheTime:1440*60*1e3})}function Ie(e){var t;return{blockExplorers:(t=e.explorers)==null?void 0:t.map(n=>({apiUrl:n.url,name:n.name,url:n.url})),faucets:e.faucets?[...e.faucets]:void 0,icon:e.icon,id:e.chainId,name:e.name,nativeCurrency:e.nativeCurrency,rpc:e.rpc[0]||"",testnet:e.testnet===!0?!0:void 0}}function S(e,t){var r;const n=e.nativeCurrency?{...t==null?void 0:t.nativeCurrency,...e.nativeCurrency}:t==null?void 0:t.nativeCurrency;return{...t,chain:(t==null?void 0:t.chain)||e.name||"",chainId:e.id||(t==null?void 0:t.chainId)||-1,explorers:((r=e.blockExplorers)==null?void 0:r.map(s=>({name:s.name,standard:"EIP3091",url:s.url})))||(t==null?void 0:t.explorers),icon:e.icon||(t==null?void 0:t.icon),name:e.name||(t==null?void 0:t.name)||"",nativeCurrency:{decimals:(n==null?void 0:n.decimals)||18,name:(n==null?void 0:n.name)||"",symbol:(n==null?void 0:n.symbol)||""},rpc:e.rpc?[e.rpc]:(t==null?void 0:t.rpc)||[""],shortName:(t==null?void 0:t.shortName)||e.name||"",slug:(t==null?void 0:t.slug)||e.name||"",stackType:(t==null?void 0:t.stackType)||"",testnet:e.testnet||(t==null?void 0:t.testnet)||!1}}const Se=Object.freeze(Object.defineProperty({__proto__:null,CUSTOM_CHAIN_MAP:a,cacheChains:fe,convertApiChainToChain:Ie,convertLegacyChain:B,convertViemChain:F,defineChain:le,getCachedChain:pe,getCachedChainIfExists:me,getChainDecimals:ge,getChainMetadata:w,getChainNativeCurrencyName:_e,getChainSymbol:ye,getInsightEnabledChainIds:Te,getRpcUrlForChain:we},Symbol.toStringTag,{value:"Module"}));export{Q as L,pe as a,we as b,V as c,le as d,te as e,d as f,Te as g,me as h,T as i,E as j,w as k,q as l,ye as m,ge as n,_e as o,fe as p,Ue as q,Ee as r,Se as u,D as w};
2
- //# sourceMappingURL=utils-6qnhg71x.js.map
1
+ import{p as z}from"./sentry-B_JVKDG7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="15f53e91-5b4c-4476-af89-157f78f1215c",e._sentryDebugIdIdentifier="sentry-dbid-15f53e91-5b4c-4476-af89-157f78f1215c")}catch{}})();const b="rpc.thirdweb.com",L="social.thirdweb.com",A="embedded-wallet.thirdweb.com",R="pay.thirdweb.com",v="storage.thirdweb.com",x="bundler.thirdweb.com",$="c.thirdweb.com",C="insight.thirdweb.com",N="engine.thirdweb.com",O="bridge.thirdweb.com";let _={analytics:$,bridge:O,bundler:x,engineCloud:N,inAppWallet:A,insight:C,pay:R,rpc:b,social:L,storage:v};const H=e=>{_={analytics:e.analytics??$,bridge:e.bridge??O,bundler:e.bundler??x,engineCloud:e.engineCloud??N,inAppWallet:e.inAppWallet??A,insight:e.insight??C,pay:e.pay??R,rpc:e.rpc??b,social:e.social??L,storage:e.storage??v}},d=()=>_,V=e=>{const t=_[e];return t.startsWith("localhost")?`http://${t}`:`https://${t}`};let k=null;const X=e=>{k=e},M=()=>k,Ue=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_RPC_URL:b,getServiceKey:M,getThirdwebBaseUrl:V,getThirdwebDomains:d,setServiceKey:X,setThirdwebDomains:H},Symbol.toStringTag,{value:"Module"})),G="5.120.1";class Q extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){const n=super.get(t);return super.has(t)&&n!==void 0&&(this.delete(t),super.set(t,n)),n}set(t,n){if(super.set(t,n),this.maxSize&&this.size>this.maxSize){const r=this.keys().next().value;r&&this.delete(r)}return this}}const U=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Y(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":typeof navigator<"u"?"browser":"node"}function q(e){for(let t=0,n=U.length;t<n;t++){const[r,s]=U[t];if(s.exec(e))return r}return null}function E(e){return e.split(".").length===3}var J={};const Z=typeof z<"u"&&J&&!1,ee=6e4;function te(e,t){async function n(r,s){const{requestTimeoutMs:c=ee,useAuthToken:o,...y}=s||{};let i=y.headers?new Headers(y.headers):typeof r=="object"?r.headers:void 0;const f=typeof r=="string"?r:r.url;if(T(f)){i||(i=new Headers);const p=o&&e.secretKey&&E(e.secretKey)?e.secretKey:void 0,I=e.secretKey&&!E(e.secretKey)?e.secretKey:void 0,m=e.clientId;p&&ie(f)?(i.set("authorization",`Bearer ${p}`),e.teamId&&i.set("x-team-id",e.teamId),m&&i.set("x-client-id",m)):p&&!re(f)&&!se(f)?(i.set("authorization",`Bearer ${p}`),e.teamId&&i.set("x-team-id",e.teamId)):(I&&i.set("x-secret-key",I),m&&i.set("x-client-id",m)),t&&(i.set("x-ecosystem-id",t.id),t.partnerId&&i.set("x-ecosystem-partner-id",t.partnerId));for(const[j,K]of P())i.set(j,K);const W=M();W&&i.set("x-service-api-key",W)}let u,g;return c&&(u=new AbortController,g=setTimeout(()=>{u==null||u.abort("timeout")},c)),fetch(r,{...y,headers:i,signal:u==null?void 0:u.signal}).finally(()=>{g&&clearTimeout(g)})}return n}const ne=[".thirdweb.com",".ipfscdn.io",".thirdweb.dev",".thirdweb-dev.com",".thirdwebstorage-dev.com"],l=new Q(4096);function T(e){if(l.has(e))return l.get(e);try{const{hostname:t}=new URL(e),n=ne.some(r=>t.endsWith(r));return l.set(e,n),n}catch{return l.set(e,!1),!1}}function re(e){try{const{hostname:t}=new URL(e);return t.startsWith("pay.")}catch{return!1}}function se(e){try{const{hostname:t}=new URL(e);return t.startsWith("in-app-wallet.")||t.startsWith("embedded-wallet.")}catch{return!1}}function ie(e){try{const{hostname:t}=new URL(e);return t.endsWith(".bundler.thirdweb.com")||t.endsWith(".bundler.thirdweb-dev.com")}catch{return!1}}const ce="unified-sdk";let h;function P(){if(h)return h;let e=null;typeof navigator<"u"&&(e=q(navigator.userAgent));let t;return typeof globalThis<"u"&&"Application"in globalThis&&(t=globalThis.Application.applicationId),h=Object.entries({"x-sdk-name":ce,"x-sdk-os":e?oe(e):"unknown","x-sdk-platform":Y(),"x-sdk-version":G,...t?{"x-bundle-id":t}:{}}),h}function oe(e){const t=e.toLowerCase();if(t.startsWith("win"))return"win";switch(e){case"Mac OS":return"mac";case"iOS":return"ios";case"Android OS":return"android";default:return t.replace(/\s/gi,"_")}}const Ee=Object.freeze(Object.defineProperty({__proto__:null,IS_THIRDWEB_URL_CACHE:l,getClientFetch:te,getPlatformHeaders:P,isThirdwebUrl:T},Symbol.toStringTag,{value:"Module"})),ue=new Map,ae=new Map;function de(e){const t=(s,c)=>({clear:()=>c.delete(s),get:()=>c.get(s),set:o=>c.set(s,o)}),n=t(e,ue),r=t(e,ae);return{clear:()=>{n.clear(),r.clear()},promise:n,response:r}}async function D(e,{cacheKey:t,cacheTime:n=Number.POSITIVE_INFINITY}){const r=de(t),s=r.response.get();if(s&&n>0&&Date.now()-s.created.getTime()<n)return s.data;let c=r.promise.get();c||(c=e(),r.promise.set(c));try{const o=await c;return r.response.set({created:new Date,data:o}),o}finally{r.promise.clear()}}const a=new Map;function le(e){const t=d().rpc;if(typeof e=="number")return{id:e,rpc:`https://${e}.${t}`};if(be(e))return F(e);if(he(e))return B(e);let n=e.rpc;n||(n=`https://${e.id}.${t}`);const r={...e,rpc:n};return a.set(e.id,r),r}function fe(e){for(const t of e)a.set(t.id,t)}function pe(e){if(a.has(e))return a.get(e);const t=d().rpc;return{id:e,rpc:`https://${e}.${t}`}}function me(e){return a.get(e)}function he(e){return"rpc"in e&&Array.isArray(e.rpc)&&"slug"in e}function B(e){var n;const t=d().rpc;return{blockExplorers:(n=e==null?void 0:e.explorers)==null?void 0:n.map(r=>({apiUrl:r.url,name:r.name,url:r.url})),faucets:e.faucets?[...e.faucets]:void 0,icon:e.icon,id:e.chainId,name:e.name,nativeCurrency:{decimals:e.nativeCurrency.decimals,name:e.nativeCurrency.name,symbol:e.nativeCurrency.symbol},rpc:e.rpc[0]??`https://${e.chainId}.${t}`,testnet:e.testnet?!0:void 0}}function be(e){return"rpcUrls"in e&&!("rpc"in e)}function F(e){const t=d().rpc;return{blockExplorers:e!=null&&e.blockExplorers?Object.values(e==null?void 0:e.blockExplorers).map(n=>({apiUrl:n.apiUrl,name:n.name,url:n.url})):[],id:e.id,name:e.name,nativeCurrency:{decimals:e.nativeCurrency.decimals,name:e.nativeCurrency.name,symbol:e.nativeCurrency.symbol},rpc:e.rpcUrls.default.http[0]??`https://${e.id}.${t}`,testnet:e.testnet?!0:void 0}}function we(e){const t=d().rpc;if(typeof e.chain=="number")return`https://${e.chain}.${t}/${e.client.clientId}`;const{rpc:n}=e.chain;if(T(n)){const r=new URL(e.chain.rpc.replace(b,t));return(r.pathname==="/"||r.pathname.startsWith("/$"))&&(r.pathname=`/${e.client.clientId}`),r.toString()}return n}async function ye(e){var t;return(t=e.nativeCurrency)!=null&&t.symbol?e.nativeCurrency.symbol:w(e).then(n=>n.nativeCurrency.symbol).catch(()=>"ETH")}async function ge(e){var t;return(t=e.nativeCurrency)!=null&&t.decimals?e.nativeCurrency.decimals:w(e).then(n=>n.nativeCurrency.decimals).catch(()=>18)}async function _e(e){var t;return(t=e.nativeCurrency)!=null&&t.name?e.nativeCurrency.name:w(e).then(n=>n.nativeCurrency.name).catch(()=>"ETH")}function w(e){const t=e.id;return D(async()=>{try{const n=await fetch(`https://api.thirdweb.com/v1/chains/${t}`);if(!n.ok)throw new Error(`Failed to fetch chain data for chainId ${t}. ${n.status} ${n.statusText}`);const r=await n.json();if(r.error)throw new Error(`Failed to fetch chain data for chainId ${t}`);if(!r.data)throw new Error(`Failed to fetch chain data for chainId ${t}`);const s=r.data;return S(e,s)}catch{return S(e)}},{cacheKey:`chain:${t}`,cacheTime:300*1e3})}async function Te(){return D(async()=>{const e=await fetch("https://api.thirdweb.com/v1/chains/services?service=insight");if(!e.ok)throw new Error(`Failed to fetch services. ${e.status} ${e.statusText}`);const t=await e.json();return Object.keys(t.data).map(n=>Number(n))},{cacheKey:"chain:insight-enabled",cacheTime:1440*60*1e3})}function Ie(e){var t;return{blockExplorers:(t=e.explorers)==null?void 0:t.map(n=>({apiUrl:n.url,name:n.name,url:n.url})),faucets:e.faucets?[...e.faucets]:void 0,icon:e.icon,id:e.chainId,name:e.name,nativeCurrency:e.nativeCurrency,rpc:e.rpc[0]||"",testnet:e.testnet===!0?!0:void 0}}function S(e,t){var r;const n=e.nativeCurrency?{...t==null?void 0:t.nativeCurrency,...e.nativeCurrency}:t==null?void 0:t.nativeCurrency;return{...t,chain:(t==null?void 0:t.chain)||e.name||"",chainId:e.id||(t==null?void 0:t.chainId)||-1,explorers:((r=e.blockExplorers)==null?void 0:r.map(s=>({name:s.name,standard:"EIP3091",url:s.url})))||(t==null?void 0:t.explorers),icon:e.icon||(t==null?void 0:t.icon),name:e.name||(t==null?void 0:t.name)||"",nativeCurrency:{decimals:(n==null?void 0:n.decimals)||18,name:(n==null?void 0:n.name)||"",symbol:(n==null?void 0:n.symbol)||""},rpc:e.rpc?[e.rpc]:(t==null?void 0:t.rpc)||[""],shortName:(t==null?void 0:t.shortName)||e.name||"",slug:(t==null?void 0:t.slug)||e.name||"",stackType:(t==null?void 0:t.stackType)||"",testnet:e.testnet||(t==null?void 0:t.testnet)||!1}}const Se=Object.freeze(Object.defineProperty({__proto__:null,CUSTOM_CHAIN_MAP:a,cacheChains:fe,convertApiChainToChain:Ie,convertLegacyChain:B,convertViemChain:F,defineChain:le,getCachedChain:pe,getCachedChainIfExists:me,getChainDecimals:ge,getChainMetadata:w,getChainNativeCurrencyName:_e,getChainSymbol:ye,getInsightEnabledChainIds:Te,getRpcUrlForChain:we},Symbol.toStringTag,{value:"Module"}));export{Q as L,pe as a,we as b,V as c,le as d,te as e,d as f,Te as g,me as h,T as i,E as j,w as k,q as l,ye as m,ge as n,_e as o,fe as p,Ue as q,Ee as r,Se as u,D as w};
2
+ //# sourceMappingURL=utils-BwbUCluR.js.map
@@ -1,9 +1,9 @@
1
- import{w as a}from"./lit-element-wjYUA6aF.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new l.Error().stack;e&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[e]="1a5d1d7a-2fc8-45b8-a190-777c78ccb643",l._sentryDebugIdIdentifier="sentry-dbid-1a5d1d7a-2fc8-45b8-a190-777c78ccb643")}catch{}})();const n=a`<svg fill="none" viewBox="0 0 28 28">
1
+ import{w as e}from"./lit-element-wjYUA6aF.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new l.Error().stack;a&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[a]="d8ecaaf9-c16a-45cd-a9ca-705ffa191e2f",l._sentryDebugIdIdentifier="sentry-dbid-d8ecaaf9-c16a-45cd-a9ca-705ffa191e2f")}catch{}})();const f=e`<svg fill="none" viewBox="0 0 28 28">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
5
5
  d="M18.1 4.76c-.42-.73-1.33-1.01-2.09-.66l-1.42.66c-.37.18-.8.18-1.18 0l-1.4-.65a1.63 1.63 0 0 0-2.1.66l-.84 1.45c-.2.34-.53.59-.92.67l-1.7.35c-.83.17-1.39.94-1.3 1.78l.19 1.56c.04.39-.08.78-.33 1.07l-1.12 1.3c-.52.6-.52 1.5 0 2.11L5 16.38c.25.3.37.68.33 1.06l-.18 1.57c-.1.83.46 1.6 1.28 1.78l1.7.35c.4.08.73.32.93.66l.84 1.43a1.63 1.63 0 0 0 2.09.66l1.41-.66c.37-.17.8-.17 1.18 0l1.43.67c.76.35 1.66.07 2.08-.65l.86-1.45c.2-.34.54-.58.92-.66l1.68-.35A1.63 1.63 0 0 0 22.84 19l-.18-1.57a1.4 1.4 0 0 1 .33-1.06l1.12-1.32c.52-.6.52-1.5 0-2.11l-1.12-1.3a1.4 1.4 0 0 1-.33-1.07l.18-1.57c.1-.83-.46-1.6-1.28-1.77l-1.68-.35a1.4 1.4 0 0 1-.92-.66l-.86-1.47Zm-3.27-3.2a4.43 4.43 0 0 1 5.69 1.78l.54.93 1.07.22a4.43 4.43 0 0 1 3.5 4.84l-.11.96.7.83a4.43 4.43 0 0 1 .02 5.76l-.72.85.1.96a4.43 4.43 0 0 1-3.5 4.84l-1.06.22-.54.92a4.43 4.43 0 0 1-5.68 1.77l-.84-.4-.82.39a4.43 4.43 0 0 1-5.7-1.79l-.51-.89-1.09-.22a4.43 4.43 0 0 1-3.5-4.84l.1-.96-.72-.85a4.43 4.43 0 0 1 .01-5.76l.71-.83-.1-.95a4.43 4.43 0 0 1 3.5-4.84l1.08-.23.53-.9a4.43 4.43 0 0 1 5.7-1.8l.81.38.83-.39ZM18.2 9.4c.65.42.84 1.28.42 1.93l-4.4 6.87a1.4 1.4 0 0 1-2.26.14L9.5 15.39a1.4 1.4 0 0 1 2.15-1.8l1.23 1.48 3.38-5.26a1.4 1.4 0 0 1 1.93-.42Z"
6
6
  clip-rule="evenodd"
7
7
  />
8
- </svg>`;export{n as verifySvg};
9
- //# sourceMappingURL=verify-BVFN0KHq.js.map
8
+ </svg>`;export{f as verifySvg};
9
+ //# sourceMappingURL=verify-BkXjhgFz.js.map
@@ -1,9 +1,9 @@
1
- import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="f96d614b-3dc6-4679-9ef7-abf09d265f41",e._sentryDebugIdIdentifier="sentry-dbid-f96d614b-3dc6-4679-9ef7-abf09d265f41")}catch{}})();const r=d`<svg fill="none" viewBox="0 0 14 14">
1
+ import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="7eecdc33-7d9e-44fe-a9b6-0362b9a2b00d",e._sentryDebugIdIdentifier="sentry-dbid-7eecdc33-7d9e-44fe-a9b6-0362b9a2b00d")}catch{}})();const o=d`<svg fill="none" viewBox="0 0 14 14">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
5
5
  d="m4.1 12.43-.45-.78-.93-.2a1.65 1.65 0 0 1-1.31-1.8l.1-.86-.61-.71a1.65 1.65 0 0 1 0-2.16l.6-.7-.09-.85c-.1-.86.47-1.64 1.3-1.81l.94-.2.45-.78A1.65 1.65 0 0 1 6.23.9l.77.36.78-.36c.77-.36 1.69-.07 2.12.66l.47.8.91.2c.84.17 1.4.95 1.31 1.8l-.1.86.6.7c.54.62.54 1.54.01 2.16l-.6.71.09.86c.1.85-.47 1.63-1.3 1.8l-.92.2-.47.79a1.65 1.65 0 0 1-2.12.66L7 12.74l-.77.36c-.78.35-1.7.07-2.13-.67Zm5.74-6.9a1 1 0 1 0-1.68-1.07L6.32 7.3l-.55-.66a1 1 0 0 0-1.54 1.28l1.43 1.71a1 1 0 0 0 1.61-.1l2.57-4Z"
6
6
  clip-rule="evenodd"
7
7
  />
8
- </svg>`;export{r as verifyFilledSvg};
9
- //# sourceMappingURL=verify-filled-CgBDmJEs.js.map
8
+ </svg>`;export{o as verifyFilledSvg};
9
+ //# sourceMappingURL=verify-filled-Bgl9j8Ps.js.map
@@ -1,3 +1,3 @@
1
- import{bV as re,bW as we,bX as xe,K as We,bY as ne,bZ as se,b_ as ie,L as He,b$ as Fe,c0 as Pe,c1 as x,c2 as Ye,c3 as H,c4 as w,c5 as l,c6 as b,c7 as p,c8 as ve,c9 as qe,ca as Ie,cb as m,cc as $e,cd as Ge,ce as oe,cf as g,cg as Ze,ch as Xe,ci as Je,cj as Qe,ck as Ke,cl as B,cm as Ae,cn as et,co as S,cp as F,cq as O,cr as tt,cs as k,bU as rt,ct as nt,aQ as V,b8 as st,aI as _,az as Y,b9 as R,bi as Ee,aq as it,aK as ot,aX as ae,am as at,cu as ct,ay as ut,aA as ft,C as dt,x as lt}from"./sendRawTransaction-CoNlS87a.js";import{a7 as ce,a9 as ht,ac as yt,$ as pt,af as ue,ad as mt,ay as Be,a1 as fe,a8 as bt}from"./NetworkUtil-CcWpYyVE.js";import{s as gt}from"./secp256k1-DruP3eGK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e239c254-97e0-497e-b68a-32ecb13d32ab",e._sentryDebugIdIdentifier="sentry-dbid-e239c254-97e0-497e-b68a-32ecb13d32ab")}catch{}})();function kr(e){const t={formatters:void 0,fees:void 0,serializers:void 0,...e};function n(r){return s=>{const i=typeof s=="function"?s(r):s,o={...r,...i};return Object.assign(o,{extend:n(o)})}}return Object.assign(t,{extend:n(t)})}function Vr(){return{}}function de(e){let t;if(typeof e=="string")t=re(e);else{const n=we(e),r=e.length;for(let s=0;s<r;s++){const i=e[s];if(!xe(i)){t=re(i,n);break}}}if(!t)throw new We({signature:e});return t}function le(e){const t=[];if(typeof e=="string"){const n=ne(e),r=n.length;for(let s=0;s<r;s++)t.push(se(n[s],{modifiers:ie}))}else{const n=we(e),r=e.length;for(let s=0;s<r;s++){const i=e[s];if(xe(i))continue;const o=ne(i),a=o.length;for(let u=0;u<a;u++)t.push(se(o[u],{modifiers:ie,structs:n}))}}if(t.length===0)throw new He({params:e});return t}function q(e,t={}){const{as:n=typeof e=="string"?"Hex":"Bytes"}=t,r=Fe(Pe(e));return n==="Bytes"?r:x(r)}function _r(e,t={}){const{as:n=typeof e=="string"?"Hex":"Bytes"}=t,r=Ye(Pe(e));return n==="Bytes"?r:x(r)}function Ur(e){return H(e)&&w(e)===32}const wt={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new vt({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new Pt({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new he({offset:e});const t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new he({offset:e});const t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){const n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){const t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){const t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){const t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,e&255),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();const e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();const n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();const e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();const e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();const e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();const e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){const t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;const e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function xt(e,{recursiveReadLimit:t=8192}={}){const n=Object.create(wt);return n.bytes=e,n.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}class he extends l{constructor({offset:t}){super(`Offset \`${t}\` cannot be negative.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.NegativeOffsetError"})}}class Pt extends l{constructor({length:t,position:n}){super(`Position \`${n}\` is out of bounds (\`0 < position < ${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.PositionOutOfBoundsError"})}}class vt extends l{constructor({count:t,limit:n}){super(`Recursive read limit of \`${n}\` exceeded (recursive read count: \`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.RecursiveReadLimitExceededError"})}}class It extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){const n=super.get(t);return super.has(t)&&n!==void 0&&(this.delete(t),super.set(t,n)),n}set(t,n){if(super.set(t,n),this.maxSize&&this.size>this.maxSize){const r=this.keys().next().value;r&&this.delete(r)}return this}}const $t={checksum:new It(8192)},N=$t.checksum;function Se(e,t={}){const{compressed:n}=t,{prefix:r,x:s,y:i}=e;if(n===!1||typeof s=="bigint"&&typeof i=="bigint"){if(r!==4)throw new ye({prefix:r,cause:new St});return}if(n===!0||typeof s=="bigint"&&typeof i>"u"){if(r!==3&&r!==2)throw new ye({prefix:r,cause:new Bt});return}throw new Et({publicKey:e})}function Tr(e){const t=(()=>{if(H(e))return ze(e);if(qe(e))return At(e);const{prefix:n,x:r,y:s}=e;return typeof r=="bigint"&&typeof s=="bigint"?{prefix:n??4,x:r,y:s}:{prefix:n,x:r}})();return Se(t),t}function At(e){return ze(x(e))}function ze(e){if(e.length!==132&&e.length!==130&&e.length!==68)throw new zt({publicKey:e});if(e.length===130){const r=BigInt(m(e,0,32)),s=BigInt(m(e,32,64));return{prefix:4,x:r,y:s}}if(e.length===132){const r=Number(m(e,0,1)),s=BigInt(m(e,1,33)),i=BigInt(m(e,33,65));return{prefix:r,x:s,y:i}}const t=Number(m(e,0,1)),n=BigInt(m(e,1,33));return{prefix:t,x:n}}function Dr(e,t={}){return ve(Ce(e,t))}function Ce(e,t={}){Se(e);const{prefix:n,x:r,y:s}=e,{includePrefix:i=!0}=t;return b(i?p(n,{size:1}):"0x",p(r,{size:32}),typeof s=="bigint"?p(s,{size:32}):"0x")}class Et extends l{constructor({publicKey:t}){super(`Value \`${Ie(t)}\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}class ye extends l{constructor({prefix:t,cause:n}){super(`Prefix "${t}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}}class Bt extends l{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class St extends l{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}let zt=class extends l{constructor({publicKey:t}){super(`Value \`${t}\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${w($e(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}};const Ct=/^0x[a-fA-F0-9]{40}$/;function v(e,t={}){const{strict:n=!0}=t;if(!Ct.test(e))throw new pe({address:e,cause:new Rt});if(n){if(e.toLowerCase()===e)return;if(G(e)!==e)throw new pe({address:e,cause:new Lt})}}function G(e){if(N.has(e))return N.get(e);v(e,{strict:!1});const t=e.substring(2).toLowerCase(),n=q(Ge(t),{as:"Bytes"}),r=t.split("");for(let i=0;i<40;i+=2)n[i>>1]>>4>=8&&r[i]&&(r[i]=r[i].toUpperCase()),(n[i>>1]&15)>=8&&r[i+1]&&(r[i+1]=r[i+1].toUpperCase());const s=`0x${r.join("")}`;return N.set(e,s),s}function Ot(e,t={}){const{checksum:n=!1}=t;return v(e),n?G(e):e}function Wr(e,t={}){const n=q(`0x${Ce(e).slice(4)}`).substring(26);return Ot(`0x${n}`,t)}function Hr(e,t){return v(e,{strict:!1}),v(t,{strict:!1}),e.toLowerCase()===t.toLowerCase()}function U(e,t={}){const{strict:n=!0}=t??{};try{return v(e,{strict:n}),!0}catch{return!1}}class pe extends l{constructor({address:t,cause:n}){super(`Address "${t}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class Rt extends l{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class Lt extends l{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}const Nt=/^(.*)\[([0-9]*)\]$/,jt=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Oe=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,me=2n**256n-1n;function Z(e,t={}){const{recovered:n}=t;if(typeof e.r>"u")throw new j({signature:e});if(typeof e.s>"u")throw new j({signature:e});if(n&&typeof e.yParity>"u")throw new j({signature:e});if(e.r<0n||e.r>me)throw new Wt({value:e.r});if(e.s<0n||e.s>me)throw new Ht({value:e.s});if(typeof e.yParity=="number"&&e.yParity!==0&&e.yParity!==1)throw new L({value:e.yParity})}function kt(e){return Re(x(e))}function Re(e){if(e.length!==130&&e.length!==132)throw new Mt({signature:e});const t=BigInt(m(e,0,32)),n=BigInt(m(e,32,64)),r=(()=>{const s=+`0x${e.slice(130)}`;if(!Number.isNaN(s))try{return X(s)}catch{throw new L({value:s})}})();return typeof r>"u"?{r:t,s:n}:{r:t,s:n,yParity:r}}function Vt(e){if(!(typeof e.r>"u")&&!(typeof e.s>"u"))return Le(e)}function Le(e){const t=typeof e=="string"?Re(e):e instanceof Uint8Array?kt(e):typeof e.r=="string"?Ut(e):e.v?_t(e):{r:e.r,s:e.s,...typeof e.yParity<"u"?{yParity:e.yParity}:{}};return Z(t),t}function _t(e){return{r:e.r,s:e.s,yParity:X(e.v)}}function Ut(e){const t=(()=>{const n=e.v?Number(e.v):void 0;let r=e.yParity?Number(e.yParity):void 0;if(typeof n=="number"&&typeof r!="number"&&(r=X(n)),typeof r!="number")throw new L({value:e.yParity});return r})();return{r:BigInt(e.r),s:BigInt(e.s),yParity:t}}function Fr(e){const[t,n,r]=e;return Le({r:n==="0x"?0n:BigInt(n),s:r==="0x"?0n:BigInt(r),yParity:t==="0x"?0:Number(t)})}function Yr(e){Z(e);const t=e.r,n=e.s;return b(p(t,{size:32}),p(n,{size:32}),typeof e.yParity=="number"?p(Dt(e.yParity),{size:1}):"0x")}function Tt(e){const{r:t,s:n,yParity:r}=e;return{r:p(t,{size:32}),s:p(n,{size:32}),yParity:r===0?"0x0":"0x1"}}function qr(e){const{r:t,s:n,yParity:r}=e;return[r?"0x01":"0x",t===0n?"0x":oe(p(t)),n===0n?"0x":oe(p(n))]}function X(e){if(e===0||e===27)return 0;if(e===1||e===28)return 1;if(e>=35)return e%2===0?1:0;throw new Ft({value:e})}function Dt(e){if(e===0)return 27;if(e===1)return 28;throw new L({value:e})}class Mt extends l{constructor({signature:t}){super(`Value \`${t}\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${w($e(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class j extends l{constructor({signature:t}){super(`Signature \`${Ie(t)}\` is missing either an \`r\`, \`s\`, or \`yParity\` property.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.MissingPropertiesError"})}}class Wt extends l{constructor({value:t}){super(`Value \`${t}\` is an invalid r value. r must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidRError"})}}class Ht extends l{constructor({value:t}){super(`Value \`${t}\` is an invalid s value. s must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSError"})}}class L extends l{constructor({value:t}){super(`Value \`${t}\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class Ft extends l{constructor({value:t}){super(`Value \`${t}\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}function E(e,t,n){const{checksumAddress:r,staticPosition:s}=n,i=K(t.type);if(i){const[o,a]=i;return qt(e,{...t,type:a},{checksumAddress:r,length:o,staticPosition:s})}if(t.type==="tuple")return Jt(e,t,{checksumAddress:r,staticPosition:s});if(t.type==="address")return Yt(e,{checksum:r});if(t.type==="bool")return Gt(e);if(t.type.startsWith("bytes"))return Zt(e,t,{staticPosition:s});if(t.type.startsWith("uint")||t.type.startsWith("int"))return Xt(e,t);if(t.type==="string")return Qt(e,{staticPosition:s});throw new ee(t.type)}const be=32,T=32;function Yt(e,t={}){const{checksum:n=!1}=t,r=e.readBytes(32);return[(i=>n?G(i):i)(x(Ze(r,-20))),32]}function qt(e,t,n){const{checksumAddress:r,length:s,staticPosition:i}=n;if(!s){const u=g(e.readBytes(T)),c=i+u,f=c+be;e.setPosition(c);const d=g(e.readBytes(be)),y=z(t);let h=0;const $=[];for(let P=0;P<d;++P){e.setPosition(f+(y?P*32:h));const[C,Me]=E(e,t,{checksumAddress:r,staticPosition:f});h+=Me,$.push(C)}return e.setPosition(i+32),[$,32]}if(z(t)){const u=g(e.readBytes(T)),c=i+u,f=[];for(let d=0;d<s;++d){e.setPosition(c+d*32);const[y]=E(e,t,{checksumAddress:r,staticPosition:c});f.push(y)}return e.setPosition(i+32),[f,32]}let o=0;const a=[];for(let u=0;u<s;++u){const[c,f]=E(e,t,{checksumAddress:r,staticPosition:i+o});o+=f,a.push(c)}return[a,o]}function Gt(e){return[Xe(e.readBytes(32),{size:32}),32]}function Zt(e,t,{staticPosition:n}){const[r,s]=t.type.split("bytes");if(!s){const o=g(e.readBytes(32));e.setPosition(n+o);const a=g(e.readBytes(32));if(a===0)return e.setPosition(n+32),["0x",32];const u=e.readBytes(a);return e.setPosition(n+32),[x(u),32]}return[x(e.readBytes(Number.parseInt(s,10),32)),32]}function Xt(e,t){const n=t.type.startsWith("int"),r=Number.parseInt(t.type.split("int")[1]||"256",10),s=e.readBytes(32);return[r>48?Je(s,{signed:n}):g(s,{signed:n}),32]}function Jt(e,t,n){const{checksumAddress:r,staticPosition:s}=n,i=t.components.length===0||t.components.some(({name:u})=>!u),o=i?[]:{};let a=0;if(z(t)){const u=g(e.readBytes(T)),c=s+u;for(let f=0;f<t.components.length;++f){const d=t.components[f];e.setPosition(c+a);const[y,h]=E(e,d,{checksumAddress:r,staticPosition:c});a+=h,o[i?f:d==null?void 0:d.name]=y}return e.setPosition(s+32),[o,32]}for(let u=0;u<t.components.length;++u){const c=t.components[u],[f,d]=E(e,c,{checksumAddress:r,staticPosition:s});o[i?u:c==null?void 0:c.name]=f,a+=d}return[o,a]}function Qt(e,{staticPosition:t}){const n=g(e.readBytes(32)),r=t+n;e.setPosition(r);const s=g(e.readBytes(32));if(s===0)return e.setPosition(t+32),["",32];const i=e.readBytes(s,32),o=Qe(Ke(i));return e.setPosition(t+32),[o,32]}function Kt({checksumAddress:e,parameters:t,values:n}){const r=[];for(let s=0;s<t.length;s++)r.push(J({checksumAddress:e,parameter:t[s],value:n[s]}));return r}function J({checksumAddress:e=!1,parameter:t,value:n}){const r=t,s=K(r.type);if(s){const[i,o]=s;return tr(n,{checksumAddress:e,length:i,parameter:{...r,type:o}})}if(r.type==="tuple")return or(n,{checksumAddress:e,parameter:r});if(r.type==="address")return er(n,{checksum:e});if(r.type==="bool")return nr(n);if(r.type.startsWith("uint")||r.type.startsWith("int")){const i=r.type.startsWith("int"),[,,o="256"]=Oe.exec(r.type)??[];return sr(n,{signed:i,size:Number(o)})}if(r.type.startsWith("bytes"))return rr(n,{type:r.type});if(r.type==="string")return ir(n);throw new ee(r.type)}function Q(e){let t=0;for(let i=0;i<e.length;i++){const{dynamic:o,encoded:a}=e[i];o?t+=32:t+=w(a)}const n=[],r=[];let s=0;for(let i=0;i<e.length;i++){const{dynamic:o,encoded:a}=e[i];o?(n.push(p(t+s,{size:32})),r.push(a),s+=w(a)):n.push(a)}return b(...n,...r)}function er(e,t){const{checksum:n=!1}=t;return v(e,{strict:n}),{dynamic:!1,encoded:B(e.toLowerCase())}}function tr(e,t){const{checksumAddress:n,length:r,parameter:s}=t,i=r===null;if(!Array.isArray(e))throw new lr(e);if(!i&&e.length!==r)throw new dr({expectedLength:r,givenLength:e.length,type:`${s.type}[${r}]`});let o=!1;const a=[];for(let u=0;u<e.length;u++){const c=J({checksumAddress:n,parameter:s,value:e[u]});c.dynamic&&(o=!0),a.push(c)}if(i||o){const u=Q(a);if(i){const c=p(a.length,{size:32});return{dynamic:!0,encoded:a.length>0?b(c,u):c}}if(o)return{dynamic:!0,encoded:u}}return{dynamic:!1,encoded:b(...a.map(({encoded:u})=>u))}}function rr(e,{type:t}){const[,n]=t.split("bytes"),r=w(e);if(!n){let s=e;return r%32!==0&&(s=S(s,Math.ceil((e.length-2)/2/32)*32)),{dynamic:!0,encoded:b(B(p(r,{size:32})),s)}}if(r!==Number.parseInt(n,10))throw new je({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:S(e)}}function nr(e){if(typeof e!="boolean")throw new l(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:B(Ae(e))}}function sr(e,{signed:t,size:n}){if(typeof n=="number"){const r=2n**(BigInt(n)-(t?1n:0n))-1n,s=t?-r-1n:0n;if(e>r||e<s)throw new et({max:r.toString(),min:s.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:p(e,{size:32,signed:t})}}function ir(e){const t=F(e),n=Math.ceil(w(t)/32),r=[];for(let s=0;s<n;s++)r.push(S(m(t,s*32,(s+1)*32)));return{dynamic:!0,encoded:b(S(p(w(t),{size:32})),...r)}}function or(e,t){const{checksumAddress:n,parameter:r}=t;let s=!1;const i=[];for(let o=0;o<r.components.length;o++){const a=r.components[o],u=Array.isArray(e)?o:a.name,c=J({checksumAddress:n,parameter:a,value:e[u]});i.push(c),c.dynamic&&(s=!0)}return{dynamic:s,encoded:s?Q(i):b(...i.map(({encoded:o})=>o))}}function K(e){const t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}function z(e){var r;const{type:t}=e;if(t==="string"||t==="bytes"||t.endsWith("[]"))return!0;if(t==="tuple")return(r=e.components)==null?void 0:r.some(z);const n=K(e.type);return!!(n&&z({...e,type:n[1]}))}function ar(e,t,n={}){const{as:r="Array",checksumAddress:s=!1}=n,i=typeof t=="string"?ve(t):t,o=xt(i);if(O(i)===0&&e.length>0)throw new fr;if(O(i)&&O(i)<32)throw new ur({data:typeof t=="string"?t:x(t),parameters:e,size:O(i)});let a=0;const u=r==="Array"?[]:{};for(let c=0;c<e.length;++c){const f=e[c];o.setPosition(a);const[d,y]=E(o,f,{checksumAddress:s,staticPosition:0});a+=y,r==="Array"?u.push(d):u[f.name??c]=d}return u}function cr(e,t,n){const{checksumAddress:r=!1}={};if(e.length!==t.length)throw new ke({expectedLength:e.length,givenLength:t.length});const s=Kt({checksumAddress:r,parameters:e,values:t}),i=Q(s);return i.length===0?"0x":i}function D(e,t){if(e.length!==t.length)throw new ke({expectedLength:e.length,givenLength:t.length});const n=[];for(let r=0;r<e.length;r++){const s=e[r],i=t[r];n.push(D.encode(s,i))}return b(...n)}(function(e){function t(n,r,s=!1){if(n==="address"){const u=r;return v(u),B(u.toLowerCase(),s?32:0)}if(n==="string")return F(r);if(n==="bytes")return r;if(n==="bool")return B(Ae(r),s?32:1);const i=n.match(Oe);if(i){const[u,c,f="256"]=i,d=Number.parseInt(f,10)/8;return p(r,{size:s?32:d,signed:c==="int"})}const o=n.match(jt);if(o){const[u,c]=o;if(Number.parseInt(c,10)!==(r.length-2)/2)throw new je({expectedSize:Number.parseInt(c,10),value:r});return S(r,s?32:0)}const a=n.match(Nt);if(a&&Array.isArray(r)){const[u,c]=a,f=[];for(let d=0;d<r.length;d++)f.push(t(c,r[d],!0));return f.length===0?"0x":b(...f)}throw new ee(n)}e.encode=t})(D||(D={}));function Ne(e){return Array.isArray(e)&&typeof e[0]=="string"||typeof e=="string"?le(e):e}class ur extends l{constructor({data:t,parameters:n,size:r}){super(`Data size of ${r} bytes is too small for given parameters.`,{metaMessages:[`Params: (${tt(n)})`,`Data: ${t} (${r} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.DataSizeTooSmallError"})}}class fr extends l{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ZeroDataError"})}}class dr extends l{constructor({expectedLength:t,givenLength:n,type:r}){super(`Array length mismatch for type \`${r}\`. Expected: \`${t}\`. Given: \`${n}\`.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ArrayLengthMismatchError"})}}class je extends l{constructor({expectedSize:t,value:n}){super(`Size of bytes "${n}" (bytes${w(n)}) does not match expected size (bytes${t}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class ke extends l{constructor({expectedLength:t,givenLength:n}){super(["ABI encoding parameters/values length mismatch.",`Expected length (parameters): ${t}`,`Given length (values): ${n}`].join(`
1
+ import{bV as re,bW as we,bX as xe,K as We,bY as ne,bZ as se,b_ as ie,L as He,b$ as Fe,c0 as Pe,c1 as x,c2 as Ye,c3 as H,c4 as w,c5 as l,c6 as b,c7 as p,c8 as ve,c9 as qe,ca as Ie,cb as m,cc as $e,cd as Ge,ce as oe,cf as g,cg as Ze,ch as Xe,ci as Je,cj as Qe,ck as Ke,cl as B,cm as Ae,cn as et,co as S,cp as F,cq as O,cr as tt,cs as k,bU as rt,ct as nt,aQ as V,b8 as st,aI as _,az as Y,b9 as R,bi as Ee,aq as it,aK as ot,aX as ae,am as at,cu as ct,ay as ut,aA as ft,C as dt,x as lt}from"./sendRawTransaction-DDaqC6Te.js";import{a7 as ce,a9 as ht,ac as yt,$ as pt,af as ue,ad as mt,ay as Be,a1 as fe,a8 as bt}from"./NetworkUtil-DuoZ256g.js";import{s as gt}from"./secp256k1-BDqFIsVX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e239c254-97e0-497e-b68a-32ecb13d32ab",e._sentryDebugIdIdentifier="sentry-dbid-e239c254-97e0-497e-b68a-32ecb13d32ab")}catch{}})();function kr(e){const t={formatters:void 0,fees:void 0,serializers:void 0,...e};function n(r){return s=>{const i=typeof s=="function"?s(r):s,o={...r,...i};return Object.assign(o,{extend:n(o)})}}return Object.assign(t,{extend:n(t)})}function Vr(){return{}}function de(e){let t;if(typeof e=="string")t=re(e);else{const n=we(e),r=e.length;for(let s=0;s<r;s++){const i=e[s];if(!xe(i)){t=re(i,n);break}}}if(!t)throw new We({signature:e});return t}function le(e){const t=[];if(typeof e=="string"){const n=ne(e),r=n.length;for(let s=0;s<r;s++)t.push(se(n[s],{modifiers:ie}))}else{const n=we(e),r=e.length;for(let s=0;s<r;s++){const i=e[s];if(xe(i))continue;const o=ne(i),a=o.length;for(let u=0;u<a;u++)t.push(se(o[u],{modifiers:ie,structs:n}))}}if(t.length===0)throw new He({params:e});return t}function q(e,t={}){const{as:n=typeof e=="string"?"Hex":"Bytes"}=t,r=Fe(Pe(e));return n==="Bytes"?r:x(r)}function _r(e,t={}){const{as:n=typeof e=="string"?"Hex":"Bytes"}=t,r=Ye(Pe(e));return n==="Bytes"?r:x(r)}function Ur(e){return H(e)&&w(e)===32}const wt={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new vt({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new Pt({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new he({offset:e});const t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new he({offset:e});const t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){const n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){const t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){const t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){const t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,e&255),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();const e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();const n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();const e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();const e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();const e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();const e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){const t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;const e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function xt(e,{recursiveReadLimit:t=8192}={}){const n=Object.create(wt);return n.bytes=e,n.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}class he extends l{constructor({offset:t}){super(`Offset \`${t}\` cannot be negative.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.NegativeOffsetError"})}}class Pt extends l{constructor({length:t,position:n}){super(`Position \`${n}\` is out of bounds (\`0 < position < ${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.PositionOutOfBoundsError"})}}class vt extends l{constructor({count:t,limit:n}){super(`Recursive read limit of \`${n}\` exceeded (recursive read count: \`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.RecursiveReadLimitExceededError"})}}class It extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){const n=super.get(t);return super.has(t)&&n!==void 0&&(this.delete(t),super.set(t,n)),n}set(t,n){if(super.set(t,n),this.maxSize&&this.size>this.maxSize){const r=this.keys().next().value;r&&this.delete(r)}return this}}const $t={checksum:new It(8192)},N=$t.checksum;function Se(e,t={}){const{compressed:n}=t,{prefix:r,x:s,y:i}=e;if(n===!1||typeof s=="bigint"&&typeof i=="bigint"){if(r!==4)throw new ye({prefix:r,cause:new St});return}if(n===!0||typeof s=="bigint"&&typeof i>"u"){if(r!==3&&r!==2)throw new ye({prefix:r,cause:new Bt});return}throw new Et({publicKey:e})}function Tr(e){const t=(()=>{if(H(e))return ze(e);if(qe(e))return At(e);const{prefix:n,x:r,y:s}=e;return typeof r=="bigint"&&typeof s=="bigint"?{prefix:n??4,x:r,y:s}:{prefix:n,x:r}})();return Se(t),t}function At(e){return ze(x(e))}function ze(e){if(e.length!==132&&e.length!==130&&e.length!==68)throw new zt({publicKey:e});if(e.length===130){const r=BigInt(m(e,0,32)),s=BigInt(m(e,32,64));return{prefix:4,x:r,y:s}}if(e.length===132){const r=Number(m(e,0,1)),s=BigInt(m(e,1,33)),i=BigInt(m(e,33,65));return{prefix:r,x:s,y:i}}const t=Number(m(e,0,1)),n=BigInt(m(e,1,33));return{prefix:t,x:n}}function Dr(e,t={}){return ve(Ce(e,t))}function Ce(e,t={}){Se(e);const{prefix:n,x:r,y:s}=e,{includePrefix:i=!0}=t;return b(i?p(n,{size:1}):"0x",p(r,{size:32}),typeof s=="bigint"?p(s,{size:32}):"0x")}class Et extends l{constructor({publicKey:t}){super(`Value \`${Ie(t)}\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}class ye extends l{constructor({prefix:t,cause:n}){super(`Prefix "${t}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}}class Bt extends l{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class St extends l{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}let zt=class extends l{constructor({publicKey:t}){super(`Value \`${t}\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${w($e(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}};const Ct=/^0x[a-fA-F0-9]{40}$/;function v(e,t={}){const{strict:n=!0}=t;if(!Ct.test(e))throw new pe({address:e,cause:new Rt});if(n){if(e.toLowerCase()===e)return;if(G(e)!==e)throw new pe({address:e,cause:new Lt})}}function G(e){if(N.has(e))return N.get(e);v(e,{strict:!1});const t=e.substring(2).toLowerCase(),n=q(Ge(t),{as:"Bytes"}),r=t.split("");for(let i=0;i<40;i+=2)n[i>>1]>>4>=8&&r[i]&&(r[i]=r[i].toUpperCase()),(n[i>>1]&15)>=8&&r[i+1]&&(r[i+1]=r[i+1].toUpperCase());const s=`0x${r.join("")}`;return N.set(e,s),s}function Ot(e,t={}){const{checksum:n=!1}=t;return v(e),n?G(e):e}function Wr(e,t={}){const n=q(`0x${Ce(e).slice(4)}`).substring(26);return Ot(`0x${n}`,t)}function Hr(e,t){return v(e,{strict:!1}),v(t,{strict:!1}),e.toLowerCase()===t.toLowerCase()}function U(e,t={}){const{strict:n=!0}=t??{};try{return v(e,{strict:n}),!0}catch{return!1}}class pe extends l{constructor({address:t,cause:n}){super(`Address "${t}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class Rt extends l{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class Lt extends l{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}const Nt=/^(.*)\[([0-9]*)\]$/,jt=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Oe=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,me=2n**256n-1n;function Z(e,t={}){const{recovered:n}=t;if(typeof e.r>"u")throw new j({signature:e});if(typeof e.s>"u")throw new j({signature:e});if(n&&typeof e.yParity>"u")throw new j({signature:e});if(e.r<0n||e.r>me)throw new Wt({value:e.r});if(e.s<0n||e.s>me)throw new Ht({value:e.s});if(typeof e.yParity=="number"&&e.yParity!==0&&e.yParity!==1)throw new L({value:e.yParity})}function kt(e){return Re(x(e))}function Re(e){if(e.length!==130&&e.length!==132)throw new Mt({signature:e});const t=BigInt(m(e,0,32)),n=BigInt(m(e,32,64)),r=(()=>{const s=+`0x${e.slice(130)}`;if(!Number.isNaN(s))try{return X(s)}catch{throw new L({value:s})}})();return typeof r>"u"?{r:t,s:n}:{r:t,s:n,yParity:r}}function Vt(e){if(!(typeof e.r>"u")&&!(typeof e.s>"u"))return Le(e)}function Le(e){const t=typeof e=="string"?Re(e):e instanceof Uint8Array?kt(e):typeof e.r=="string"?Ut(e):e.v?_t(e):{r:e.r,s:e.s,...typeof e.yParity<"u"?{yParity:e.yParity}:{}};return Z(t),t}function _t(e){return{r:e.r,s:e.s,yParity:X(e.v)}}function Ut(e){const t=(()=>{const n=e.v?Number(e.v):void 0;let r=e.yParity?Number(e.yParity):void 0;if(typeof n=="number"&&typeof r!="number"&&(r=X(n)),typeof r!="number")throw new L({value:e.yParity});return r})();return{r:BigInt(e.r),s:BigInt(e.s),yParity:t}}function Fr(e){const[t,n,r]=e;return Le({r:n==="0x"?0n:BigInt(n),s:r==="0x"?0n:BigInt(r),yParity:t==="0x"?0:Number(t)})}function Yr(e){Z(e);const t=e.r,n=e.s;return b(p(t,{size:32}),p(n,{size:32}),typeof e.yParity=="number"?p(Dt(e.yParity),{size:1}):"0x")}function Tt(e){const{r:t,s:n,yParity:r}=e;return{r:p(t,{size:32}),s:p(n,{size:32}),yParity:r===0?"0x0":"0x1"}}function qr(e){const{r:t,s:n,yParity:r}=e;return[r?"0x01":"0x",t===0n?"0x":oe(p(t)),n===0n?"0x":oe(p(n))]}function X(e){if(e===0||e===27)return 0;if(e===1||e===28)return 1;if(e>=35)return e%2===0?1:0;throw new Ft({value:e})}function Dt(e){if(e===0)return 27;if(e===1)return 28;throw new L({value:e})}class Mt extends l{constructor({signature:t}){super(`Value \`${t}\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${w($e(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class j extends l{constructor({signature:t}){super(`Signature \`${Ie(t)}\` is missing either an \`r\`, \`s\`, or \`yParity\` property.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.MissingPropertiesError"})}}class Wt extends l{constructor({value:t}){super(`Value \`${t}\` is an invalid r value. r must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidRError"})}}class Ht extends l{constructor({value:t}){super(`Value \`${t}\` is an invalid s value. s must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSError"})}}class L extends l{constructor({value:t}){super(`Value \`${t}\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class Ft extends l{constructor({value:t}){super(`Value \`${t}\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}function E(e,t,n){const{checksumAddress:r,staticPosition:s}=n,i=K(t.type);if(i){const[o,a]=i;return qt(e,{...t,type:a},{checksumAddress:r,length:o,staticPosition:s})}if(t.type==="tuple")return Jt(e,t,{checksumAddress:r,staticPosition:s});if(t.type==="address")return Yt(e,{checksum:r});if(t.type==="bool")return Gt(e);if(t.type.startsWith("bytes"))return Zt(e,t,{staticPosition:s});if(t.type.startsWith("uint")||t.type.startsWith("int"))return Xt(e,t);if(t.type==="string")return Qt(e,{staticPosition:s});throw new ee(t.type)}const be=32,T=32;function Yt(e,t={}){const{checksum:n=!1}=t,r=e.readBytes(32);return[(i=>n?G(i):i)(x(Ze(r,-20))),32]}function qt(e,t,n){const{checksumAddress:r,length:s,staticPosition:i}=n;if(!s){const u=g(e.readBytes(T)),c=i+u,f=c+be;e.setPosition(c);const d=g(e.readBytes(be)),y=z(t);let h=0;const $=[];for(let P=0;P<d;++P){e.setPosition(f+(y?P*32:h));const[C,Me]=E(e,t,{checksumAddress:r,staticPosition:f});h+=Me,$.push(C)}return e.setPosition(i+32),[$,32]}if(z(t)){const u=g(e.readBytes(T)),c=i+u,f=[];for(let d=0;d<s;++d){e.setPosition(c+d*32);const[y]=E(e,t,{checksumAddress:r,staticPosition:c});f.push(y)}return e.setPosition(i+32),[f,32]}let o=0;const a=[];for(let u=0;u<s;++u){const[c,f]=E(e,t,{checksumAddress:r,staticPosition:i+o});o+=f,a.push(c)}return[a,o]}function Gt(e){return[Xe(e.readBytes(32),{size:32}),32]}function Zt(e,t,{staticPosition:n}){const[r,s]=t.type.split("bytes");if(!s){const o=g(e.readBytes(32));e.setPosition(n+o);const a=g(e.readBytes(32));if(a===0)return e.setPosition(n+32),["0x",32];const u=e.readBytes(a);return e.setPosition(n+32),[x(u),32]}return[x(e.readBytes(Number.parseInt(s,10),32)),32]}function Xt(e,t){const n=t.type.startsWith("int"),r=Number.parseInt(t.type.split("int")[1]||"256",10),s=e.readBytes(32);return[r>48?Je(s,{signed:n}):g(s,{signed:n}),32]}function Jt(e,t,n){const{checksumAddress:r,staticPosition:s}=n,i=t.components.length===0||t.components.some(({name:u})=>!u),o=i?[]:{};let a=0;if(z(t)){const u=g(e.readBytes(T)),c=s+u;for(let f=0;f<t.components.length;++f){const d=t.components[f];e.setPosition(c+a);const[y,h]=E(e,d,{checksumAddress:r,staticPosition:c});a+=h,o[i?f:d==null?void 0:d.name]=y}return e.setPosition(s+32),[o,32]}for(let u=0;u<t.components.length;++u){const c=t.components[u],[f,d]=E(e,c,{checksumAddress:r,staticPosition:s});o[i?u:c==null?void 0:c.name]=f,a+=d}return[o,a]}function Qt(e,{staticPosition:t}){const n=g(e.readBytes(32)),r=t+n;e.setPosition(r);const s=g(e.readBytes(32));if(s===0)return e.setPosition(t+32),["",32];const i=e.readBytes(s,32),o=Qe(Ke(i));return e.setPosition(t+32),[o,32]}function Kt({checksumAddress:e,parameters:t,values:n}){const r=[];for(let s=0;s<t.length;s++)r.push(J({checksumAddress:e,parameter:t[s],value:n[s]}));return r}function J({checksumAddress:e=!1,parameter:t,value:n}){const r=t,s=K(r.type);if(s){const[i,o]=s;return tr(n,{checksumAddress:e,length:i,parameter:{...r,type:o}})}if(r.type==="tuple")return or(n,{checksumAddress:e,parameter:r});if(r.type==="address")return er(n,{checksum:e});if(r.type==="bool")return nr(n);if(r.type.startsWith("uint")||r.type.startsWith("int")){const i=r.type.startsWith("int"),[,,o="256"]=Oe.exec(r.type)??[];return sr(n,{signed:i,size:Number(o)})}if(r.type.startsWith("bytes"))return rr(n,{type:r.type});if(r.type==="string")return ir(n);throw new ee(r.type)}function Q(e){let t=0;for(let i=0;i<e.length;i++){const{dynamic:o,encoded:a}=e[i];o?t+=32:t+=w(a)}const n=[],r=[];let s=0;for(let i=0;i<e.length;i++){const{dynamic:o,encoded:a}=e[i];o?(n.push(p(t+s,{size:32})),r.push(a),s+=w(a)):n.push(a)}return b(...n,...r)}function er(e,t){const{checksum:n=!1}=t;return v(e,{strict:n}),{dynamic:!1,encoded:B(e.toLowerCase())}}function tr(e,t){const{checksumAddress:n,length:r,parameter:s}=t,i=r===null;if(!Array.isArray(e))throw new lr(e);if(!i&&e.length!==r)throw new dr({expectedLength:r,givenLength:e.length,type:`${s.type}[${r}]`});let o=!1;const a=[];for(let u=0;u<e.length;u++){const c=J({checksumAddress:n,parameter:s,value:e[u]});c.dynamic&&(o=!0),a.push(c)}if(i||o){const u=Q(a);if(i){const c=p(a.length,{size:32});return{dynamic:!0,encoded:a.length>0?b(c,u):c}}if(o)return{dynamic:!0,encoded:u}}return{dynamic:!1,encoded:b(...a.map(({encoded:u})=>u))}}function rr(e,{type:t}){const[,n]=t.split("bytes"),r=w(e);if(!n){let s=e;return r%32!==0&&(s=S(s,Math.ceil((e.length-2)/2/32)*32)),{dynamic:!0,encoded:b(B(p(r,{size:32})),s)}}if(r!==Number.parseInt(n,10))throw new je({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:S(e)}}function nr(e){if(typeof e!="boolean")throw new l(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:B(Ae(e))}}function sr(e,{signed:t,size:n}){if(typeof n=="number"){const r=2n**(BigInt(n)-(t?1n:0n))-1n,s=t?-r-1n:0n;if(e>r||e<s)throw new et({max:r.toString(),min:s.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:p(e,{size:32,signed:t})}}function ir(e){const t=F(e),n=Math.ceil(w(t)/32),r=[];for(let s=0;s<n;s++)r.push(S(m(t,s*32,(s+1)*32)));return{dynamic:!0,encoded:b(S(p(w(t),{size:32})),...r)}}function or(e,t){const{checksumAddress:n,parameter:r}=t;let s=!1;const i=[];for(let o=0;o<r.components.length;o++){const a=r.components[o],u=Array.isArray(e)?o:a.name,c=J({checksumAddress:n,parameter:a,value:e[u]});i.push(c),c.dynamic&&(s=!0)}return{dynamic:s,encoded:s?Q(i):b(...i.map(({encoded:o})=>o))}}function K(e){const t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}function z(e){var r;const{type:t}=e;if(t==="string"||t==="bytes"||t.endsWith("[]"))return!0;if(t==="tuple")return(r=e.components)==null?void 0:r.some(z);const n=K(e.type);return!!(n&&z({...e,type:n[1]}))}function ar(e,t,n={}){const{as:r="Array",checksumAddress:s=!1}=n,i=typeof t=="string"?ve(t):t,o=xt(i);if(O(i)===0&&e.length>0)throw new fr;if(O(i)&&O(i)<32)throw new ur({data:typeof t=="string"?t:x(t),parameters:e,size:O(i)});let a=0;const u=r==="Array"?[]:{};for(let c=0;c<e.length;++c){const f=e[c];o.setPosition(a);const[d,y]=E(o,f,{checksumAddress:s,staticPosition:0});a+=y,r==="Array"?u.push(d):u[f.name??c]=d}return u}function cr(e,t,n){const{checksumAddress:r=!1}={};if(e.length!==t.length)throw new ke({expectedLength:e.length,givenLength:t.length});const s=Kt({checksumAddress:r,parameters:e,values:t}),i=Q(s);return i.length===0?"0x":i}function D(e,t){if(e.length!==t.length)throw new ke({expectedLength:e.length,givenLength:t.length});const n=[];for(let r=0;r<e.length;r++){const s=e[r],i=t[r];n.push(D.encode(s,i))}return b(...n)}(function(e){function t(n,r,s=!1){if(n==="address"){const u=r;return v(u),B(u.toLowerCase(),s?32:0)}if(n==="string")return F(r);if(n==="bytes")return r;if(n==="bool")return B(Ae(r),s?32:1);const i=n.match(Oe);if(i){const[u,c,f="256"]=i,d=Number.parseInt(f,10)/8;return p(r,{size:s?32:d,signed:c==="int"})}const o=n.match(jt);if(o){const[u,c]=o;if(Number.parseInt(c,10)!==(r.length-2)/2)throw new je({expectedSize:Number.parseInt(c,10),value:r});return S(r,s?32:0)}const a=n.match(Nt);if(a&&Array.isArray(r)){const[u,c]=a,f=[];for(let d=0;d<r.length;d++)f.push(t(c,r[d],!0));return f.length===0?"0x":b(...f)}throw new ee(n)}e.encode=t})(D||(D={}));function Ne(e){return Array.isArray(e)&&typeof e[0]=="string"||typeof e=="string"?le(e):e}class ur extends l{constructor({data:t,parameters:n,size:r}){super(`Data size of ${r} bytes is too small for given parameters.`,{metaMessages:[`Params: (${tt(n)})`,`Data: ${t} (${r} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.DataSizeTooSmallError"})}}class fr extends l{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ZeroDataError"})}}class dr extends l{constructor({expectedLength:t,givenLength:n,type:r}){super(`Array length mismatch for type \`${r}\`. Expected: \`${t}\`. Given: \`${n}\`.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ArrayLengthMismatchError"})}}class je extends l{constructor({expectedSize:t,value:n}){super(`Size of bytes "${n}" (bytes${w(n)}) does not match expected size (bytes${t}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class ke extends l{constructor({expectedLength:t,givenLength:n}){super(["ABI encoding parameters/values length mismatch.",`Expected length (parameters): ${t}`,`Given length (values): ${n}`].join(`
2
2
  `)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}class lr extends l{constructor(t){super(`Value \`${t}\` is not a valid array.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidArrayError"})}}class ee extends l{constructor(t){super(`Type \`${t}\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}function M(e){let t=!0,n="",r=0,s="",i=!1;for(let o=0;o<e.length;o++){const a=e[o];if(["(",")",","].includes(a)&&(t=!0),a==="("&&r++,a===")"&&r--,!!t){if(r===0){if(a===" "&&["event","function","error",""].includes(s))s="";else if(s+=a,a===")"){i=!0;break}continue}if(a===" "){e[o-1]!==","&&n!==","&&n!==",("&&(n="",t=!1);continue}s+=a,n+=a}}if(!i)throw new l("Unable to normalize signature.");return s}function W(e,t){const n=typeof e,r=t.type;switch(r){case"address":return U(e,{strict:!1});case"bool":return n==="boolean";case"function":return n==="string";case"string":return n==="string";default:return r==="tuple"&&"components"in t?Object.values(t.components).every((s,i)=>W(Object.values(e)[i],s)):/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(r)?n==="number"||n==="bigint":/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(r)?n==="string"||e instanceof Uint8Array:/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(r)?Array.isArray(e)&&e.every(s=>W(s,{...t,type:r.replace(/(\[[0-9]{0,}\])$/,"")})):!1}}function Ve(e,t,n){for(const r in e){const s=e[r],i=t[r];if(s.type==="tuple"&&i.type==="tuple"&&"components"in s&&"components"in i)return Ve(s.components,i.components,n[r]);const o=[s.type,i.type];if(o.includes("address")&&o.includes("bytes20")?!0:o.includes("address")&&o.includes("string")?U(n[r],{strict:!1}):o.includes("address")&&o.includes("bytes")?U(n[r],{strict:!1}):!1)return o}}function Gr(e,t={}){const{prepare:n=!0}=t,r=Array.isArray(e)||typeof e=="string"?de(e):e;return{...r,...n?{hash:A(r)}:{}}}function te(e,t,n){const{args:r=[],prepare:s=!0}=n??{},i=H(t,{strict:!1}),o=e.filter(c=>i?c.type==="function"||c.type==="error"?hr(c)===m(t,0,4):c.type==="event"?A(c)===t:!1:"name"in c&&c.name===t);if(o.length===0)throw new ge({name:t});if(o.length===1)return{...o[0],...s?{hash:A(o[0])}:{}};let a;for(const c of o){if(!("inputs"in c))continue;if(!r||r.length===0){if(!c.inputs||c.inputs.length===0)return{...c,...s?{hash:A(c)}:{}};continue}if(!c.inputs||c.inputs.length===0||c.inputs.length!==r.length)continue;if(r.every((d,y)=>{const h="inputs"in c&&c.inputs[y];return h?W(d,h):!1})){if(a&&"inputs"in a&&a.inputs){const d=Ve(c.inputs,a.inputs,r);if(d)throw new pr({abiItem:c,type:d[0]},{abiItem:a,type:d[1]})}a=c}}const u=(()=>{if(a)return a;const[c,...f]=o;return{...c,overloads:f}})();if(!u)throw new ge({name:t});return{...u,...s?{hash:A(u)}:{}}}function hr(...e){const t=(()=>{if(Array.isArray(e[0])){const[n,r]=e;return te(n,r)}return e[0]})();return m(A(t),0,4)}function yr(...e){const t=(()=>{if(Array.isArray(e[0])){const[r,s]=e;return te(r,s)}return e[0]})(),n=typeof t=="string"?t:k(t);return M(n)}function A(...e){const t=(()=>{if(Array.isArray(e[0])){const[n,r]=e;return te(n,r)}return e[0]})();return typeof t!="string"&&"hash"in t&&t.hash?t.hash:q(F(yr(t)))}class pr extends l{constructor(t,n){super("Found ambiguous types in overloaded ABI Items.",{metaMessages:[`\`${t.type}\` in \`${M(k(t.abiItem))}\`, and`,`\`${n.type}\` in \`${M(k(n.abiItem))}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.AmbiguityError"})}}class ge extends l{constructor({name:t,data:n,type:r="item"}){const s=t?` with name "${t}"`:n?` with data "${n}"`:"";super(`ABI ${r}${s} not found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.NotFoundError"})}}function mr(e,t={}){return typeof e.chainId=="string"?_e(e):{...e,...t.signature}}function _e(e){const{address:t,chainId:n,nonce:r}=e,s=Vt(e);return{address:t,chainId:Number(n),nonce:BigInt(r),...s}}function Zr(e){return e.map(_e)}function br(e){const{address:t,chainId:n,nonce:r,...s}=e;return{address:t,chainId:p(n),nonce:p(r),...Tt(s)}}function Xr(e){return e.map(br)}async function gr(e,{address:t,blockHash:n,blockNumber:r,blockTag:s="latest",requireCanonical:i}){const o=rt({blockHash:n,blockNumber:r,blockTag:s,requireCanonical:i}),a=await e.request({method:"eth_getCode",params:[t,o]},{dedupe:typeof r=="bigint"||n!==void 0});if(a!=="0x")return a}const Ue="0x6492649264926492649264926492649264926492649264926492649264926492";function wr(e){if(m(e,-32)!==Ue)throw new vr(e)}function xr(e){const{data:t,signature:n,to:r}=e;return b(cr(Ne("address, bytes, bytes"),[r,t,n]),Ue)}function Pr(e){try{return wr(e),!0}catch{return!1}}let vr=class extends l{constructor(t){super(`Value \`${t}\` is an invalid ERC-6492 wrapped signature.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureErc6492.InvalidWrappedSignatureError"})}};const Ir="0x8010801080108010801080108010801080108010801080108010801080108010",$r=Ne("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");function Te(e){if(typeof e=="string"){if(m(e,-32)!==Ir)throw new Br(e)}else Z(e.authorization)}function Ar(e){Te(e);const t=nt(m(e,-64,-32)),n=m(e,-t-64,-64),r=m(e,0,-t-64),[s,i,o]=ar($r,n);return{authorization:mr({address:s.delegation,chainId:Number(s.chainId),nonce:s.nonce,yParity:s.yParity,r:s.r,s:s.s}),signature:r,...o&&o!=="0x"?{data:o,to:i}:{}}}function Er(e){try{return Te(e),!0}catch{return!1}}class Br extends l{constructor(t){super(`Value \`${t}\` is an invalid ERC-8010 wrapped signature.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureErc8010.InvalidWrappedSignatureError"})}}async function Sr({address:e,authorization:t,signature:n}){return V(_(e),await st({authorization:t,signature:n}))}function zr({r:e,s:t,to:n="hex",v:r,yParity:s}){const i=(()=>{if(s===0||s===1)return s;if(r&&(r===27n||r===28n||r>=35n))return r%2n===0n?1:0;throw new Error("Invalid `v` or `yParity` value")})(),o=`0x${new gt.Signature(ce(e),ce(t)).toCompactHex()}${i===0?"1b":"1c"}`;return n==="hex"?o:ht(o)}async function De(e,t){const{abi:n,address:r,args:s,functionName:i,...o}=t,a=Y({abi:n,args:s,functionName:i});try{const{data:u}=await R(e,Ee,"call")({...o,data:a,to:r});return it({abi:n,args:s,functionName:i,data:u||"0x"})}catch(u){throw ot(u,{abi:n,address:r,args:s,docsPath:"/docs/contract/readContract",functionName:i})}}async function Qr(e,t){var c,f,d,y;const{address:n,chain:r=e.chain,hash:s,erc6492VerifierAddress:i=t.universalSignatureVerifierAddress??((f=(c=r==null?void 0:r.contracts)==null?void 0:c.erc6492Verifier)==null?void 0:f.address),multicallAddress:o=t.multicallAddress??((y=(d=r==null?void 0:r.contracts)==null?void 0:d.multicall3)==null?void 0:y.address),mode:a="auto"}=t;if(r!=null&&r.verifyHash)return await r.verifyHash(e,t);const u=(()=>{const h=t.signature;return yt(h)?h:typeof h=="object"&&"r"in h&&"s"in h?zr(h):pt(h)})();try{if(a==="eoa")try{if(V(_(n),await ae({hash:s,signature:u})))return!0}catch{}return Er(u)?await Cr(e,{...t,multicallAddress:o,signature:u}):await Or(e,{...t,verifierAddress:i,signature:u})}catch(h){if(a!=="eoa")try{if(V(_(n),await ae({hash:s,signature:u})))return!0}catch{}if(h instanceof I)return!1;throw h}}async function Cr(e,t){var C;const{address:n,blockNumber:r,blockTag:s,hash:i,multicallAddress:o}=t,{authorization:a,data:u,signature:c,to:f}=Ar(t.signature);if(await gr(e,{address:n,blockNumber:r,blockTag:s})===at(["0xef0100",a.address]))return await Rr(e,{address:n,blockNumber:r,blockTag:s,hash:i,signature:c});const y={address:a.address,chainId:Number(a.chainId),nonce:Number(a.nonce),r:ue(a.r,{size:32}),s:ue(a.s,{size:32}),yParity:a.yParity};if(!await Sr({address:n,authorization:y}))throw new I;const $=await R(e,De,"readContract")({...o?{address:o}:{code:ct},authorizationList:[y],abi:mt,blockNumber:r,blockTag:"pending",functionName:"aggregate3",args:[[...u?[{allowFailure:!0,target:f??n,callData:u}]:[],{allowFailure:!0,target:n,callData:Y({abi:Be,functionName:"isValidSignature",args:[i,c]})}]]}),P=(C=$[$.length-1])==null?void 0:C.returnData;if(P!=null&&P.startsWith("0x1626ba7e"))return!0;throw new I}async function Or(e,t){const{address:n,factory:r,factoryData:s,hash:i,signature:o,verifierAddress:a,...u}=t,c=await(async()=>!r&&!s||Pr(o)?o:xr({data:s,signature:o,to:r}))(),f=a?{to:a,data:Y({abi:fe,functionName:"isValidSig",args:[n,i,c]}),...u}:{data:ut({abi:fe,args:[n,i,c],bytecode:ft}),...u},{data:d}=await R(e,Ee,"call")(f).catch(y=>{throw y instanceof dt?new I:y});if(bt(d??"0x0"))return!0;throw new I}async function Rr(e,t){const{address:n,blockNumber:r,blockTag:s,hash:i,signature:o}=t;if((await R(e,De,"readContract")({address:n,abi:Be,args:[i,o],blockNumber:r,blockTag:s,functionName:"isValidSignature"}).catch(u=>{throw u instanceof lt?new I:u})).startsWith("0x1626ba7e"))return!0;throw new I}class I extends Error{}export{Tt as A,G as B,v as C,Vt as D,Zr as E,Dt as F,Xr as G,Ur as H,Le as I,qr as J,Fr as K,ze as L,ge as N,le as a,cr as b,te as c,kr as d,Vr as e,Gr as f,gr as g,hr as h,xt as i,Hr as j,Dr as k,Tr as l,Wr as m,_r as n,q as o,de as p,Ot as q,De as r,zr as s,Ce as t,U as u,Qr as v,Re as w,Z as x,Ut as y,Yr as z};
3
- //# sourceMappingURL=verifyHash-CHp_1dkh.js.map
3
+ //# sourceMappingURL=verifyHash-Dg88Mnhe.js.map
@@ -1,4 +1,4 @@
1
- import{i as g,b as d,a as he}from"./lit-element-wjYUA6aF.js";import{n as l,o as $,r as u}from"./class-map-DopF_Eyi.js";import{d as v,r as V,e as me,v as B,i as fe}from"./index-DVjQDdLu.js";import{c as f,U as le}from"./index-yeutDs-n.js";import{M as k,Z as ce,R as c,k as we,A as H,C as w,q as U,L as be,E as K,O as A,o as M,S as E,z,T as ge,_ as ye}from"./W3MFrameProviderSingleton-35iFXIWF.js";import{P as D}from"./index-DMAEUsQc.js";import"./index-DF6WG3qn.js";import{H as oe}from"./HelpersUtil-PZUZTOEJ.js";import{C as F}from"./ConstantsUtil-DblXIgum.js";import"./index-CpepHIup.js";import"./index-DclRc8UN.js";import"./index-XkbNngUP.js";import"./index-D-peO4dU.js";import{S as ve}from"./SwapController-CD6bIKjn.js";import"./index-DtVc4xk5.js";import"./index-Ba6ZjOcU.js";import"./react-DyPiTXWH.js";import"./dcl-schemas-BHtFmNb-.js";import"./sentry-wjuCVNXH.js";import"./ethers-DgOG59Su.js";import"./intl-AKLEHPeO.js";import"./index-Be1NJYDT.js";import"./events-DibVD_t7.js";import"./index-Bh1_eNVo.js";import"./index-CXi4JrFW.js";import"./index-OpYIGLSa.js";import"./index-D3fQaxNZ.js";import"./index.es-7_2j1y1c.js";import"./browser-ponyfill-DiBM5SBC.js";import"./NetworkUtil-CcWpYyVE.js";import"./index-CmH_zvOx.js";import"./index-btSRhLw4.js";import"./index-ClTFdTLe.js";import"./index-DvWRa5G-.js";import"./index-CbK4PiBW.js";import"./MathUtil-BvP0JcjY.js";import"./index-CAJOEhqU.js";import"./index-Dana8qUZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="839e527c-271e-44a2-92cb-82d09a52d3bb",e._sentryDebugIdIdentifier="sentry-dbid-839e527c-271e-44a2-92cb-82d09a52d3bb")}catch{}})();const de={isUnsupportedChainView(){return c.state.view==="UnsupportedChain"||c.state.view==="SwitchNetwork"&&c.state.history.includes("UnsupportedChain")},async safeClose(){if(this.isUnsupportedChainView()){k.shake();return}if(await ce.isSIWXCloseDisabled()){k.shake();return}(c.state.view==="DataCapture"||c.state.view==="DataCaptureOtpConfirm")&&we.disconnect(),k.close()}},xe=v`
1
+ import{i as g,b as d,a as he}from"./lit-element-wjYUA6aF.js";import{n as l,o as $,r as u}from"./class-map-C1Xjz5Lx.js";import{d as v,r as V,e as me,v as B,i as fe}from"./index-DXDNY5rD.js";import{c as f,U as le}from"./index-RcwJybRY.js";import{M as k,Z as ce,R as c,k as we,A as H,C as w,q as U,L as be,E as K,O as A,o as M,S as E,z,T as ge,_ as ye}from"./W3MFrameProviderSingleton-C4bKPnoW.js";import{P as D}from"./index-gcU34l-W.js";import"./index-ezGVX9vD.js";import{H as oe}from"./HelpersUtil-Cu5qC5Wy.js";import{C as F}from"./ConstantsUtil-Dxcnn2id.js";import"./index-67UXSZ6-.js";import"./index-2x7zp-10.js";import"./index-Cio2-dWN.js";import"./index-Rsu__56e.js";import{S as ve}from"./SwapController-CXZfwDqu.js";import"./index-CxswY7e9.js";import"./index-BzcOLtVK.js";import"./react-jpAgvPLt.js";import"./dcl-schemas-CGG1jvt5.js";import"./sentry-B_JVKDG7.js";import"./ethers-DsOeUsXW.js";import"./intl-AKLEHPeO.js";import"./index-CWUxuCsZ.js";import"./events-BGkO5_9X.js";import"./index-D7Rj4sfO.js";import"./index-CwuiV47y.js";import"./index-OpYIGLSa.js";import"./index-CnQeqGNS.js";import"./index.es-Ldc81uln.js";import"./browser-ponyfill-B1rBgIk4.js";import"./NetworkUtil-DuoZ256g.js";import"./index-DkYJNtfw.js";import"./index-DA8FNTXG.js";import"./index-DkK4yOyB.js";import"./index-B6cKBWI8.js";import"./index-CAqCUDS4.js";import"./MathUtil-BvP0JcjY.js";import"./index-CGSz8BTC.js";import"./index-DGwfwUpM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f5239b6d-0275-4e99-a111-6f105abd75ec",e._sentryDebugIdIdentifier="sentry-dbid-f5239b6d-0275-4e99-a111-6f105abd75ec")}catch{}})();const de={isUnsupportedChainView(){return c.state.view==="UnsupportedChain"||c.state.view==="SwitchNetwork"&&c.state.history.includes("UnsupportedChain")},async safeClose(){if(this.isUnsupportedChainView()){k.shake();return}if(await ce.isSIWXCloseDisabled()){k.shake();return}(c.state.view==="DataCapture"||c.state.view==="DataCaptureOtpConfirm")&&we.disconnect(),k.close()}},xe=v`
2
2
  :host {
3
3
  display: block;
4
4
  border-radius: clamp(0px, ${({borderRadius:e})=>e[8]}, 44px);
@@ -889,4 +889,4 @@ import{i as g,b as d,a as he}from"./lit-element-wjYUA6aF.js";import{n as l,o as
889
889
  </div>
890
890
  </div>
891
891
  `}onViewChange(t){const i=t.split(",").filter(Boolean),r=this.historyState.split(",").filter(Boolean),a=r.length,o=i.length,n=i[i.length-1]||"",s=le.cssDurationToNumber(this.transitionDuration);let m="";o>a?m="next":o<a?m="prev":o===a&&i[o-1]!==r[a-1]&&(m="next"),queueMicrotask(()=>{this.viewDirection=`${m}-${n}`}),setTimeout(()=>{var y;this.historyState=t,(y=this.setView)==null||y.call(this,n)},s),setTimeout(()=>{this.viewDirection=""},s*2)}getWrapper(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("div.page")}updateContainerHeight(){var a;const t=this.getWrapper();if(!t)return;const i=parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--apkt-footer-height")||"0");let r=0;if(this.mobileFullScreen){const o=((a=window.visualViewport)==null?void 0:a.height)||window.innerHeight,n=this.getHeaderHeight();r=o-n-i,this.style.setProperty("--local-border-bottom-radius","0px")}else r=t.getBoundingClientRect().height+i,this.style.setProperty("--local-border-bottom-radius",i?"var(--apkt-borderRadius-5)":"0px");this.style.setProperty("--local-container-height",`${r}px`),this.previousHeight!=="0px"&&this.style.setProperty("--local-duration-height",this.transitionDuration),this.previousHeight=`${r}px`}getHeaderHeight(){return Ve}};b.styles=[Le];I([l({type:String})],b.prototype,"transitionDuration",void 0);I([l({type:String})],b.prototype,"transitionFunction",void 0);I([l({type:String})],b.prototype,"history",void 0);I([l({type:String})],b.prototype,"view",void 0);I([l({attribute:!1})],b.prototype,"setView",void 0);I([u()],b.prototype,"viewDirection",void 0);I([u()],b.prototype,"historyState",void 0);I([u()],b.prototype,"previousHeight",void 0);I([u()],b.prototype,"mobileFullScreen",void 0);b=I([f("w3m-router-container")],b);export{se as AppKitModal,p as W3mListWallet,ne as W3mModal,x as W3mModalBase,b as W3mRouterContainer,Y as W3mUsageExceededView};
892
- //# sourceMappingURL=w3m-modal-BidasrnU.js.map
892
+ //# sourceMappingURL=w3m-modal-CaJHArzK.js.map
@@ -1,4 +1,4 @@
1
- import{a as f,i as v,b as a}from"./lit-element-wjYUA6aF.js";import{n as w,r as d,o as q}from"./class-map-DopF_Eyi.js";import{w as fe,s as ve,a as ge,p as be,M as g,S as se,R as l,r as _,A as K,e as ce,c as le,C as m,b as Y,d as ye,f as S,E as ie,O as E,g as F,h as oe,i as T,j as H,T as xe,k as Ce,l as ke,m as Se}from"./core-DANcYiPS.js";import{c as u,U as We}from"./index-CF0TwWos.js";import"./index-Ba6ZjOcU.js";import"./react-DyPiTXWH.js";import"./dcl-schemas-BHtFmNb-.js";import"./sentry-wjuCVNXH.js";import"./ethers-DgOG59Su.js";import"./intl-AKLEHPeO.js";import"./index-Be1NJYDT.js";import"./events-DibVD_t7.js";import"./index-Bh1_eNVo.js";import"./index-CXi4JrFW.js";import"./index.es-Uf1O-fY2.js";import"./index-OpYIGLSa.js";import"./index-YkV_OCpx.js";import"./index.es-7_2j1y1c.js";import"./browser-ponyfill-DiBM5SBC.js";import"./NetworkUtil-CcWpYyVE.js";import"./W3MFrameProviderSingleton-35iFXIWF.js";import"./async-directive-BF5rCMgn.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="e3815928-6d0e-4d27-b6a6-b55dd139d411",r._sentryDebugIdIdentifier="sentry-dbid-e3815928-6d0e-4d27-b6a6-b55dd139d411")}catch{}})();const p=be({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),Re={state:p,subscribe(r){return ge(p,()=>r(p))},subscribeKey(r,e){return ve(p,r,e)},showTooltip({message:r,triggerRect:e,variant:t}){p.open=!0,p.message=r,p.triggerRect=e,p.variant=t},hide(){p.open=!1,p.message="",p.triggerRect={width:0,height:0,top:0,left:0}}},O=fe(Re),de={isUnsupportedChainView(){return l.state.view==="UnsupportedChain"||l.state.view==="SwitchNetwork"&&l.state.history.includes("UnsupportedChain")},async safeClose(){if(this.isUnsupportedChainView()){g.shake();return}if(await se.isSIWXCloseDisabled()){g.shake();return}g.close()}},$e=f`
1
+ import{a as f,i as v,b as a}from"./lit-element-wjYUA6aF.js";import{n as w,r as d,o as q}from"./class-map-C1Xjz5Lx.js";import{w as fe,s as ve,a as ge,p as be,M as g,S as se,R as l,r as _,A as K,e as ce,c as le,C as m,b as Y,d as ye,f as S,E as ie,O as E,g as F,h as oe,i as T,j as H,T as xe,k as Ce,l as ke,m as Se}from"./core-BA652j12.js";import{c as u,U as We}from"./index-BRFgK8K_.js";import"./index-BzcOLtVK.js";import"./react-jpAgvPLt.js";import"./dcl-schemas-CGG1jvt5.js";import"./sentry-B_JVKDG7.js";import"./ethers-DsOeUsXW.js";import"./intl-AKLEHPeO.js";import"./index-CWUxuCsZ.js";import"./events-BGkO5_9X.js";import"./index-D7Rj4sfO.js";import"./index-CwuiV47y.js";import"./index.es-D_Vs6Oyb.js";import"./index-OpYIGLSa.js";import"./index-BQCoqhZr.js";import"./index.es-Ldc81uln.js";import"./browser-ponyfill-B1rBgIk4.js";import"./NetworkUtil-DuoZ256g.js";import"./W3MFrameProviderSingleton-C4bKPnoW.js";import"./async-directive--Ed0QLAK.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="03d04a40-350d-41dc-8be0-8dbfec1b0ea3",r._sentryDebugIdIdentifier="sentry-dbid-03d04a40-350d-41dc-8be0-8dbfec1b0ea3")}catch{}})();const p=be({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),Re={state:p,subscribe(r){return ge(p,()=>r(p))},subscribeKey(r,e){return ve(p,r,e)},showTooltip({message:r,triggerRect:e,variant:t}){p.open=!0,p.message=r,p.triggerRect=e,p.variant=t},hide(){p.open=!1,p.message="",p.triggerRect={width:0,height:0,top:0,left:0}}},O=fe(Re),de={isUnsupportedChainView(){return l.state.view==="UnsupportedChain"||l.state.view==="SwitchNetwork"&&l.state.history.includes("UnsupportedChain")},async safeClose(){if(this.isUnsupportedChainView()){g.shake();return}if(await se.isSIWXCloseDisabled()){g.shake();return}g.close()}},$e=f`
2
2
  :host {
3
3
  display: block;
4
4
  border-radius: clamp(0px, var(--wui-border-radius-l), 44px);
@@ -640,4 +640,4 @@ import{a as f,i as v,b as a}from"./lit-element-wjYUA6aF.js";import{n as w,r as d
640
640
  pointer-events: auto;
641
641
  }
642
642
  `,document.head.appendChild(e)}onScrollUnlock(){const e=document.head.querySelector(`style[data-w3m="${ae}"]`);e&&e.remove()}onAddKeyboardListener(){var t;this.abortController=new AbortController;const e=(t=this.shadowRoot)==null?void 0:t.querySelector("wui-card");e==null||e.focus(),window.addEventListener("keydown",o=>{if(o.key==="Escape")this.handleClose();else if(o.key==="Tab"){const{tagName:n}=o.target;n&&!n.includes("W3M-")&&!n.includes("WUI-")&&(e==null||e.focus())}},this.abortController)}onRemoveKeyboardListener(){var e;(e=this.abortController)==null||e.abort(),this.abortController=void 0}async onNewAddress(e){const t=m.state.isSwitchingNamespace,o=ke.getPlainAddress(e);!o&&!t?g.close():t&&o&&l.goBack(),await se.initializeIfEnabled(),this.caipAddress=e,m.setIsSwitchingNamespace(!1)}onNewNetwork(e){var Z,ee,te;const t=this.caipNetwork,o=(Z=t==null?void 0:t.caipNetworkId)==null?void 0:Z.toString(),n=t==null?void 0:t.chainNamespace,i=(ee=e==null?void 0:e.caipNetworkId)==null?void 0:ee.toString(),s=e==null?void 0:e.chainNamespace,c=o!==i,k=c&&!(n!==s),j=(t==null?void 0:t.name)===Se.UNSUPPORTED_NETWORK_NAME,L=l.state.view==="ConnectingExternal",U=!((te=m.getAccountData(e==null?void 0:e.chainNamespace))!=null&&te.caipAddress),me=l.state.view==="UnsupportedChain",he=g.state.open;let z=!1;he&&!L&&(U?c&&(z=!0):(me||k&&!j)&&(z=!0)),z&&l.state.view!=="SIWXSignMessage"&&l.goBack(),this.caipNetwork=e}prefetch(){this.hasPrefetched||(H.prefetch(),H.fetchWalletsByPage({page:1}),this.hasPrefetched=!0)}}x.styles=ze;C([w({type:Boolean})],x.prototype,"enableEmbedded",void 0);C([d()],x.prototype,"open",void 0);C([d()],x.prototype,"caipAddress",void 0);C([d()],x.prototype,"caipNetwork",void 0);C([d()],x.prototype,"shake",void 0);C([d()],x.prototype,"filterByNamespace",void 0);let ne=class extends x{};ne=C([u("w3m-modal")],ne);let re=class extends x{};re=C([u("appkit-modal")],re);export{re as AppKitModal,ne as W3mModal,x as W3mModalBase};
643
- //# sourceMappingURL=w3m-modal-D-YLR-nS.js.map
643
+ //# sourceMappingURL=w3m-modal-vxDi7BAE.js.map
@@ -1,2 +1,2 @@
1
- import{f as N}from"./transactionReceipt-Cs2L3s90.js";import{h as T,c as g}from"./prepare-contract-call-CTis3Ksb.js";import{s as L}from"./sleep-fBr8OToA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e6a5bcdc-e91a-4f1c-abee-3530793c407b",e._sentryDebugIdIdentifier="sentry-dbid-e6a5bcdc-e91a-4f1c-abee-3530793c407b")}catch{}})();async function B(e){const t=await e({method:"eth_blockNumber"});return T(t)}async function A(e,t){const n=await e({method:"eth_getTransactionReceipt",params:[t.hash]});if(!n)throw new Error("Transaction receipt not found.");return N(n)}const D=5e3,E=1e3,_=500,x=2,y=10;function M(e){for(;e.length<y;)e.unshift(E);return e.reduce((n,i)=>n+i,0)/e.length}function R(e,t,n,i){let l=[],c=[],a=!1,o,r;const m=g({chain:t,client:e});async function d(){if(!a)return;try{const s=await B(m);if(!o||s>o){let h=[];if(o)for(let f=o+1n;f<=s;f++)h.push(BigInt(f));else h=[s];o=s;const p=Date.now();if(r){const f=(p-r)/h.length;c.push(f),c=c.slice(-y)}r=p;for(const f of h)for(const I of l)I(f)}}catch(s){i?i(s):console.error(`[watchBlockNumber]: Failed to poll for latest block number: ${s}`)}const b=M(c),u=Math.max(_,Math.min(D,Math.max(_,b)));await L(u/(n??x)),d()}return function(u,s){return l.push(u),a||(o=s,a=!0,d()),function(){l=l.filter(p=>p!==u),l.length===0&&(o=void 0,r=void 0,a=!1)}}}const k=new Map;function O(e){const{client:t,chain:n,onNewBlockNumber:i,overPollRatio:l,latestBlockNumber:c,onError:a}=e,o=n.id;let r=k.get(o);return r||(r=R(t,n,l,a),k.set(o,r)),r(i,c)}const P=100,w=new Map;function v(e){const{transactionHash:t,chain:n,client:i}=e,c=`${n.id}:tx_${t}`,a=e.maxBlocksWaitTime??P;if(w.has(c))return w.get(c);const o=new Promise((r,m)=>{t||m(new Error("Transaction has no transactionHash to wait for, did you execute it?"));const d=g({chain:n,client:i});let b=-1;const u=O({chain:n,client:i,onNewBlockNumber:async()=>{if(b++,b>=a){u(),m(new Error(`Transaction receipt for ${t} not found after ${a} blocks`));return}try{const s=await A(d,{hash:t});u(),r(s)}catch{}}})}).finally(()=>{w.delete(c)});return w.set(c,o),o}export{B as a,O as b,A as e,v as w};
2
- //# sourceMappingURL=wait-for-tx-receipt-CuAEC_h9.js.map
1
+ import{f as N}from"./transactionReceipt-yESuKxXC.js";import{h as T,c as g}from"./prepare-contract-call-CBUo3pmv.js";import{s as L}from"./sleep-fBr8OToA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4d1beca6-4cde-4cc0-b102-dcec04f91160",e._sentryDebugIdIdentifier="sentry-dbid-4d1beca6-4cde-4cc0-b102-dcec04f91160")}catch{}})();async function B(e){const t=await e({method:"eth_blockNumber"});return T(t)}async function A(e,t){const n=await e({method:"eth_getTransactionReceipt",params:[t.hash]});if(!n)throw new Error("Transaction receipt not found.");return N(n)}const D=5e3,E=1e3,_=500,x=2,y=10;function M(e){for(;e.length<y;)e.unshift(E);return e.reduce((n,i)=>n+i,0)/e.length}function R(e,t,n,i){let l=[],c=[],a=!1,o,r;const h=g({chain:t,client:e});async function m(){if(!a)return;try{const s=await B(h);if(!o||s>o){let d=[];if(o)for(let f=o+1n;f<=s;f++)d.push(BigInt(f));else d=[s];o=s;const p=Date.now();if(r){const f=(p-r)/d.length;c.push(f),c=c.slice(-y)}r=p;for(const f of d)for(const I of l)I(f)}}catch(s){i?i(s):console.error(`[watchBlockNumber]: Failed to poll for latest block number: ${s}`)}const b=M(c),u=Math.max(_,Math.min(D,Math.max(_,b)));await L(u/(n??x)),m()}return function(u,s){return l.push(u),a||(o=s,a=!0,m()),function(){l=l.filter(p=>p!==u),l.length===0&&(o=void 0,r=void 0,a=!1)}}}const k=new Map;function O(e){const{client:t,chain:n,onNewBlockNumber:i,overPollRatio:l,latestBlockNumber:c,onError:a}=e,o=n.id;let r=k.get(o);return r||(r=R(t,n,l,a),k.set(o,r)),r(i,c)}const P=100,w=new Map;function v(e){const{transactionHash:t,chain:n,client:i}=e,c=`${n.id}:tx_${t}`,a=e.maxBlocksWaitTime??P;if(w.has(c))return w.get(c);const o=new Promise((r,h)=>{t||h(new Error("Transaction has no transactionHash to wait for, did you execute it?"));const m=g({chain:n,client:i});let b=-1;const u=O({chain:n,client:i,onNewBlockNumber:async()=>{if(b++,b>=a){u(),h(new Error(`Transaction receipt for ${t} not found after ${a} blocks`));return}try{const s=await A(m,{hash:t});u(),r(s)}catch{}}})}).finally(()=>{w.delete(c)});return w.set(c,o),o}export{B as a,O as b,A as e,v as w};
2
+ //# sourceMappingURL=wait-for-tx-receipt-_T-7FsA0.js.map
@@ -1,4 +1,4 @@
1
- import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="b7763b4b-afa8-4f94-ab3c-f1b9efe02325",e._sentryDebugIdIdentifier="sentry-dbid-b7763b4b-afa8-4f94-ab3c-f1b9efe02325")}catch{}})();const r=n`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="1a6f18e8-a5b0-4fd4-aab8-a4569b3b6911",e._sentryDebugIdIdentifier="sentry-dbid-1a6f18e8-a5b0-4fd4-aab8-a4569b3b6911")}catch{}})();const r=n`<svg fill="none" viewBox="0 0 20 20">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -6,4 +6,4 @@ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof windo
6
6
  clip-rule="evenodd"
7
7
  />
8
8
  </svg>`;export{r as walletSvg};
9
- //# sourceMappingURL=wallet-FHuzmtut.js.map
9
+ //# sourceMappingURL=wallet-h2At2yYW.js.map
@@ -1,4 +1,4 @@
1
- import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="9bbcdd37-171a-4127-88f2-cc08842699dc",e._sentryDebugIdIdentifier="sentry-dbid-9bbcdd37-171a-4127-88f2-cc08842699dc")}catch{}})();const o=d`
1
+ import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="a98c9ded-adce-4a78-923d-a601f6924bd1",a._sentryDebugIdIdentifier="sentry-dbid-a98c9ded-adce-4a78-923d-a601f6924bd1")}catch{}})();const n=d`
2
2
  <svg fill="none" viewBox="0 0 48 44">
3
3
  <path
4
4
  style="fill: var(--wui-color-bg-300);"
@@ -11,5 +11,5 @@ import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof windo
11
11
  clip-rule="evenodd"
12
12
  />
13
13
  </svg>
14
- `;export{o as walletPlaceholderSvg};
15
- //# sourceMappingURL=wallet-placeholder-BaNh3suA.js.map
14
+ `;export{n as walletPlaceholderSvg};
15
+ //# sourceMappingURL=wallet-placeholder-BAdAxbaS.js.map
@@ -1,4 +1,4 @@
1
- import{w as t}from"./lit-element-wjYUA6aF.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new l.Error().stack;a&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[a]="1ad3eb95-d8ff-489c-b260-d7db94ad30c7",l._sentryDebugIdIdentifier="sentry-dbid-1ad3eb95-d8ff-489c-b260-d7db94ad30c7")}catch{}})();const i=t`<svg fill="none" viewBox="0 0 96 67">
1
+ import{w as t}from"./lit-element-wjYUA6aF.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new l.Error().stack;e&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[e]="4799699e-2144-4cdb-889b-0cde8b4bf612",l._sentryDebugIdIdentifier="sentry-dbid-4799699e-2144-4cdb-889b-0cde8b4bf612")}catch{}})();const i=t`<svg fill="none" viewBox="0 0 96 67">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M25.32 18.8a32.56 32.56 0 0 1 45.36 0l1.5 1.47c.63.62.63 1.61 0 2.22l-5.15 5.05c-.31.3-.82.3-1.14 0l-2.07-2.03a22.71 22.71 0 0 0-31.64 0l-2.22 2.18c-.31.3-.82.3-1.14 0l-5.15-5.05a1.55 1.55 0 0 1 0-2.22l1.65-1.62Zm56.02 10.44 4.59 4.5c.63.6.63 1.6 0 2.21l-20.7 20.26c-.62.61-1.63.61-2.26 0L48.28 41.83a.4.4 0 0 0-.56 0L33.03 56.21c-.63.61-1.64.61-2.27 0L10.07 35.95a1.55 1.55 0 0 1 0-2.22l4.59-4.5a1.63 1.63 0 0 1 2.27 0L31.6 43.63a.4.4 0 0 0 .57 0l14.69-14.38a1.63 1.63 0 0 1 2.26 0l14.69 14.38a.4.4 0 0 0 .57 0l14.68-14.38a1.63 1.63 0 0 1 2.27 0Z"
@@ -28,4 +28,4 @@ import{w as t}from"./lit-element-wjYUA6aF.js";(function(){try{var l=typeof windo
28
28
  <path d="M15.0199 14.067L12 11.0656L8.98 14.067L5.96004 11.0656L4.66663 12.3511L8.98 16.6393L12 13.638L15.0199 16.6393L19.3333 12.3511L18.0399 11.0656L15.0199 14.067Z" fill="#C7B994"/>
29
29
  </svg>
30
30
  `;export{n as walletConnectBrownSvg,c as walletConnectLightBrownSvg,i as walletConnectSvg};
31
- //# sourceMappingURL=walletconnect-SOaTuXVA.js.map
31
+ //# sourceMappingURL=walletconnect-DGwNgL-R.js.map