@dcl/shop 1.8.0 → 1.8.1-32008909185.commit-2a37b14

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 (401) hide show
  1. package/_assets/{Activity-DSCP3qVT.js → Activity-DgrlHUeM.js} +6 -6
  2. package/_assets/{AnimatedBackground-DI6E3R8h.js → AnimatedBackground-CmcDe6Jw.js} +2 -2
  3. package/_assets/{Assets-BoDVV5Un.js → Assets-C-Xz1Uru.js} +3 -3
  4. package/_assets/{Authorizations-DlT06os0.js → Authorizations-DW3Kihg1.js} +3 -3
  5. package/_assets/{Cart-98H8SEDi.js → Cart-D3FEOEFo.js} +2 -2
  6. package/_assets/{CircularProgress-CVMElXyN.js → CircularProgress-DwZ-WtmB.js} +2 -2
  7. package/_assets/{Collection-kp118x-L.js → Collection-CaubpEOP.js} +8 -8
  8. package/_assets/{CollectionCarousel-Bi0QxTqN.js → CollectionCarousel-DiibtNyL.js} +97 -97
  9. package/_assets/{Confetti-W3F-dgtT.js → Confetti-B3ae-TOD.js} +4 -4
  10. package/_assets/{ConstantsUtil-H5MzXw_a.js → ConstantsUtil-DLte7utN.js} +2 -2
  11. package/_assets/{ContentClient-CouwHQze.js → ContentClient-BaklVvU8.js} +2 -2
  12. package/_assets/{Creator-DuIxXv5-.js → Creator-DuILeiyu.js} +2 -2
  13. package/_assets/{DeploymentBuilder-RTPThLbC.js → DeploymentBuilder-Eh0hDhmv.js} +3 -3
  14. package/_assets/{EmotePlaybackBar-CwnUkIi2.js → EmotePlaybackBar-D6pW2L63.js} +3 -3
  15. package/_assets/{ErrorNotice-DInl_aPc.js → ErrorNotice-B20z7ZKJ.js} +2 -2
  16. package/_assets/{ExchangeController-BHhqTqpp.js → ExchangeController-DrmVoZ_M.js} +2 -2
  17. package/_assets/{Faq-CaLlq-Oz.js → Faq-D0sWC_bf.js} +2 -2
  18. package/_assets/{GetCredits-DrG2HYOY.js → GetCredits-BR44yJwR.js} +8 -8
  19. package/_assets/{Grow-BuawLV7j.js → Grow-BqwDEw5F.js} +2 -2
  20. package/_assets/{HelpersUtil-DxE7pdoJ.js → HelpersUtil-WHjsGWK5.js} +3 -3
  21. package/_assets/{ItemDetail-D1lNYrvj.js → ItemDetail-DPcas8qC.js} +219 -219
  22. package/_assets/{LoadMore-BLj9usRy.js → LoadMore-Cc9p10Fd.js} +2 -2
  23. package/_assets/{ManaPricingBanner.styles-C5QyYWv_.js → ManaPricingBanner.styles-Dumah5ZL.js} +2 -2
  24. package/_assets/{MyAssets-BHHo-axx.js → MyAssets-CUqbIzOz.js} +2 -2
  25. package/_assets/{MyFavorites-qN6xot5-.js → MyFavorites-CEHEl8Ip.js} +3 -3
  26. package/_assets/{NetworkUtil-eeGGUC7p.js → NetworkUtil-6HpBot6Z.js} +2 -2
  27. package/_assets/{NotFound-CjS_h0nT.js → NotFound-C7KJaRWT.js} +2 -2
  28. package/_assets/{NotificationsBell-BxNn8kmF.js → NotificationsBell-CSBOtift.js} +13 -13
  29. package/_assets/{OutfitDetail-DcwkX_BA.js → OutfitDetail-DfIiJ70C.js} +2 -2
  30. package/_assets/OutfitPreview-xwYHzHe_.js +7 -0
  31. package/_assets/{OutfitStudio-Kg0wPrSp.js → OutfitStudio-FBYfk5tv.js} +2 -2
  32. package/_assets/{PhArrowCircleDown-DBmTctYK.js → PhArrowCircleDown-vJZVrJ42.js} +5 -5
  33. package/_assets/{PhArrowClockwise-ZWBqR1iF.js → PhArrowClockwise-BdoT04dp.js} +5 -5
  34. package/_assets/{PhArrowDown-WIeXIufM.js → PhArrowDown-CcGbWaQp.js} +5 -5
  35. package/_assets/{PhArrowLeft-DvlPA_kr.js → PhArrowLeft-B1wZcKN1.js} +2 -2
  36. package/_assets/{PhArrowRight-CcUcrmQK.js → PhArrowRight-CxxvhfEq.js} +3 -3
  37. package/_assets/{PhArrowSquareOut-eQSuZWr9.js → PhArrowSquareOut-C7VVJaUM.js} +4 -4
  38. package/_assets/{PhArrowUp-oNKVxFhx.js → PhArrowUp-ZLIFqDsg.js} +5 -5
  39. package/_assets/{PhArrowUpRight-mk1FSkK1.js → PhArrowUpRight-CASBOtJ6.js} +3 -3
  40. package/_assets/{PhArrowsClockwise-DvXb79Nq.js → PhArrowsClockwise-Cg_DKbkh.js} +4 -4
  41. package/_assets/{PhArrowsDownUp-fJXobkfl.js → PhArrowsDownUp-DcDTQ9Nq.js} +5 -5
  42. package/_assets/{PhArrowsLeftRight-DsRlafed.js → PhArrowsLeftRight-Cp6Duw59.js} +4 -4
  43. package/_assets/{PhBank-BxBmdtlc.js → PhBank-DaH1J2fm.js} +5 -5
  44. package/_assets/{PhBrowser-TbGdYALn.js → PhBrowser-CuEI8T8V.js} +3 -3
  45. package/_assets/PhCaretDown-C_h7B-wg.js +15 -0
  46. package/_assets/{PhCaretLeft-BkF0xuuP.js → PhCaretLeft-C6AiFDuB.js} +4 -4
  47. package/_assets/{PhCaretRight-cZcclogr.js → PhCaretRight-DfyFNdXD.js} +4 -4
  48. package/_assets/PhCaretUp-_p9r-ftN.js +15 -0
  49. package/_assets/{PhCheck-Dok-YRwJ.js → PhCheck-CR4ph65X.js} +3 -3
  50. package/_assets/{PhCircleHalf-C_G0Deju.js → PhCircleHalf-bf4_rQfM.js} +5 -5
  51. package/_assets/{PhClock-DxtyCCHN.js → PhClock-GAqyMVHL.js} +3 -3
  52. package/_assets/{PhCompass-Cr5Wk3ha.js → PhCompass-Bgio4FOk.js} +4 -4
  53. package/_assets/{PhCopy-DpSRSBDo.js → PhCopy-CIyquHtv.js} +5 -5
  54. package/_assets/{PhCreditCard-rQSlkLhU.js → PhCreditCard-BSXEWsER.js} +2 -2
  55. package/_assets/{PhCurrencyDollar-DSXfHZr-.js → PhCurrencyDollar-CqUojjE3.js} +4 -4
  56. package/_assets/{PhDesktop-B8t_jyeP.js → PhDesktop-BogmbwY2.js} +4 -4
  57. package/_assets/{PhDeviceMobile-CKMo2R-O.js → PhDeviceMobile-Dmvj5_IH.js} +5 -5
  58. package/_assets/{PhDotsThree-CBBnUUK5.js → PhDotsThree-BQIClXtD.js} +3 -3
  59. package/_assets/{PhEnvelope-B3Ot4kfs.js → PhEnvelope-BfJyEfUD.js} +3 -3
  60. package/_assets/{PhFunnelSimple-ST58vUHY.js → PhFunnelSimple-CGNzs6Mz.js} +4 -4
  61. package/_assets/{PhGlobe-B1QBE0Ic.js → PhGlobe-Cs0mC85b.js} +3 -3
  62. package/_assets/{PhIdentificationCard-CmHEoEuJ.js → PhIdentificationCard-BQUI9UIj.js} +2 -2
  63. package/_assets/{PhImage-BM2XMyb9.js → PhImage-mIqmB6rB.js} +5 -5
  64. package/_assets/{PhInfo-DfmzAoRe.js → PhInfo-Bq-uaME7.js} +4 -4
  65. package/_assets/{PhLightbulb-Dhfv4D4c.js → PhLightbulb-D4uDMi2O.js} +4 -4
  66. package/_assets/{PhMagnifyingGlass-Djq6rEa-.js → PhMagnifyingGlass-CzUCQ7HZ.js} +2 -2
  67. package/_assets/{PhPaperPlaneRight-d8LGOK8o.js → PhPaperPlaneRight-DFGlqosO.js} +2 -2
  68. package/_assets/{PhPlus-B6aOwiLq.js → PhPlus-DzP_I_Lh.js} +4 -4
  69. package/_assets/{PhPower-DAs5tvdn.js → PhPower-BU0zl-V8.js} +5 -5
  70. package/_assets/{PhPuzzlePiece-C5F9l0Xz.js → PhPuzzlePiece-B06cIo0S.js} +4 -4
  71. package/_assets/{PhQrCode-DjCH9MIj.js → PhQrCode-CO2vMeyK.js} +2 -2
  72. package/_assets/{PhQuestion-Bd3_nr1y.js → PhQuestion-CGnki4M2.js} +3 -3
  73. package/_assets/{PhQuestionMark-Chm0gISn.js → PhQuestionMark-VYuR2-QR.js} +5 -5
  74. package/_assets/{PhSealCheck-BighefRp.js → PhSealCheck-7OjMmNjK.js} +2 -2
  75. package/_assets/{PhSignOut-X3VDO26Z.js → PhSignOut-BTcF9VJt.js} +3 -3
  76. package/_assets/{PhSpinner-CMt3xHt0.js → PhSpinner-d4GybHgJ.js} +3 -3
  77. package/_assets/{PhTrash-CBxSNELa.js → PhTrash-Cs80GpfS.js} +2 -2
  78. package/_assets/{PhUser-zWIlEtkm.js → PhUser-CrV8vTcH.js} +3 -3
  79. package/_assets/{PhVault-B5GZzffa.js → PhVault-DXMjxe4B.js} +2 -2
  80. package/_assets/{PhWallet-D6uFkw0p.js → PhWallet-B1y2ir8X.js} +4 -4
  81. package/_assets/{PhWarning-C2cnWjQI.js → PhWarning-DiUh_2q2.js} +3 -3
  82. package/_assets/{PhWarningCircle-BN86yUC5.js → PhWarningCircle-DwMiptTF.js} +5 -5
  83. package/_assets/{PhX-D9xXQPUU.js → PhX-D10cz3zh.js} +5 -5
  84. package/_assets/{StoreSettings-BMhll_uY.js → StoreSettings-COrspO93.js} +2 -2
  85. package/_assets/{Success--EmgMp_h.js → Success-j28DgkFG.js} +31 -31
  86. package/_assets/{SwapController-DBYu3_GC.js → SwapController-B1FcuDLF.js} +2 -2
  87. package/_assets/{Tooltip-DRKOJG6M.js → Tooltip-DdArv_uM.js} +2 -2
  88. package/_assets/{TradeService-CMmg1hhm.js → TradeService-BTR2cMaG.js} +2 -2
  89. package/_assets/{W3MFrameProviderSingleton-BZDRIDaX.js → W3MFrameProviderSingleton-CoxZjEAW.js} +4 -4
  90. package/_assets/{WebCryptoP256-DngvQsIc.js → WebCryptoP256-DxQOFZ2a.js} +2 -2
  91. package/_assets/{add-CSXcCGk_.js → add-C6BISYDT.js} +2 -2
  92. package/_assets/{all-wallets-DqZYwMwo.js → all-wallets-xo-RBy44.js} +2 -2
  93. package/_assets/{app-store-BefptbeL.js → app-store-BkcDu50q.js} +3 -3
  94. package/_assets/{apple-Bfh__HiP.js → apple-pa1-mgQL.js} +3 -3
  95. package/_assets/{arrow-bottom-B24463bX.js → arrow-bottom-B2TV7ghp.js} +2 -2
  96. package/_assets/{arrow-bottom-circle-u1TPNWtr.js → arrow-bottom-circle-BTYP_ql9.js} +2 -2
  97. package/_assets/{arrow-left-BvEq2K0o.js → arrow-left-D8Zy5CGX.js} +3 -3
  98. package/_assets/{arrow-right-W2XAOWM7.js → arrow-right-PuYqHFou.js} +3 -3
  99. package/_assets/{arrow-top-nu1PUCK6.js → arrow-top-BdiVfpFf.js} +3 -3
  100. package/_assets/async-directive-BF5rCMgn.js +10 -0
  101. package/_assets/{authorizations-Bp29CgB8.js → authorizations-DfzPgCw6.js} +2 -2
  102. package/_assets/{bank-BBag9zS_.js → bank-h_csYWke.js} +2 -2
  103. package/_assets/{basic-D-nCiahk.js → basic-B66PJDKD.js} +2 -2
  104. package/_assets/{biconomy-ChcwZEzk.js → biconomy-lWr3p6So.js} +2 -2
  105. package/_assets/{browseLayout.styles-EyGWvLIQ.js → browseLayout.styles-D1CM9KmN.js} +8 -8
  106. package/_assets/{browser-CPTAYjan.js → browser-BBrR2BtI.js} +3 -3
  107. package/_assets/{browser-8yCVpLQu.js → browser-QqqD3TFw.js} +2 -2
  108. package/_assets/{browser-ponyfill-BmvHJGnt.js → browser-ponyfill-BnqlLDGI.js} +2 -2
  109. package/_assets/{builder-DSIPU3qH.js → builder-G0IBSqxp.js} +2 -2
  110. package/_assets/buy-05S3RUjW.js +2 -0
  111. package/_assets/{buy-gasless-BVf_EoZF.js → buy-gasless-4AFVVU-o.js} +2 -2
  112. package/_assets/{card-C81sr-3j.js → card-BBiBeHzu.js} +2 -2
  113. package/_assets/{ccip-C2v3VpEN.js → ccip-CbPzd1j4.js} +2 -2
  114. package/_assets/{ccip-tsmIe2rK.js → ccip-DQgM3TkB.js} +2 -2
  115. package/_assets/{chains-ZGrkcPp8.js → chains-Bc-1sDIe.js} +2 -2
  116. package/_assets/{checkmark-Bo-gp4Ll.js → checkmark-DGh2aL9_.js} +2 -2
  117. package/_assets/{checkmark-bold-CrqYbcSP.js → checkmark-bold-BWpmcvWa.js} +2 -2
  118. package/_assets/chevron-bottom-CKrN3wHT.js +9 -0
  119. package/_assets/{chevron-left-KdfBU_7V.js → chevron-left-BSMCiWRu.js} +3 -3
  120. package/_assets/chevron-right-NSTsMrfQ.js +9 -0
  121. package/_assets/chevron-top-BiVhyzKv.js +9 -0
  122. package/_assets/{chrome-store-DtnWFF8y.js → chrome-store-BQ9_RhUA.js} +2 -2
  123. package/_assets/{class-map-C1Xjz5Lx.js → class-map-DopF_Eyi.js} +2 -2
  124. package/_assets/{clock-Baa7165K.js → clock-D5AXnR4c.js} +3 -3
  125. package/_assets/{close-wDYvpJu8.js → close-vtnC_SRG.js} +2 -2
  126. package/_assets/{coinPlaceholder-De2q0FMg.js → coinPlaceholder-Bbk6i-Hs.js} +2 -2
  127. package/_assets/collectionPage.styles-8Xd8LOXB.js +40 -0
  128. package/_assets/common-CoiDeeGp.js +2 -0
  129. package/_assets/{compass-BP3lwd_h.js → compass-CHspogsk.js} +3 -3
  130. package/_assets/{controller-BxLT4wSK.js → controller-CJZl5LHE.js} +3 -3
  131. package/_assets/{copy-EHnRey4G.js → copy-QgJXjsdf.js} +2 -2
  132. package/_assets/{core-fYHKdQB7.js → core-D09turdV.js} +5 -5
  133. package/_assets/{createSvgIcon-DK7LeDz8.js → createSvgIcon-BEUqk9eO.js} +2 -2
  134. package/_assets/{cursor-BuTKrcda.js → cursor-CIvWVuwc.js} +3 -3
  135. package/_assets/{cursor-transparent-7tV62vAu.js → cursor-transparent-CMFKnbKD.js} +3 -3
  136. package/_assets/{custom-CNWBSH0Y.js → custom-DwDXGAmh.js} +2 -2
  137. package/_assets/{data-capture-BRE7a_Af.js → data-capture-BK9IxMGw.js} +2 -2
  138. package/_assets/{dcl-schemas--SOz4s6t.js → dcl-schemas-BYdQ7kkG.js} +2 -2
  139. package/_assets/decimals-C7G-vT4E.js +2 -0
  140. package/_assets/decimals-D2VRihn0.js +2 -0
  141. package/_assets/{desktop-wbkE-tMP.js → desktop-BQs8_lD6.js} +3 -3
  142. package/_assets/detectExtension-B8fRWnGZ.js +2 -0
  143. package/_assets/{disconnect-DR7Yq8KR.js → disconnect-CN9A3nDW.js} +3 -3
  144. package/_assets/{discord-BcAZXa5x.js → discord-BtZldxgt.js} +2 -2
  145. package/_assets/{disposePreview-BM0qOKtx.js → disposePreview-CbUHkWpm.js} +2 -2
  146. package/_assets/{email-BmAjF25r.js → email-CAnxXQlJ.js} +2 -2
  147. package/_assets/{embedded-wallet-CrYsPIo3.js → embedded-wallet-BSjZnUnZ.js} +2 -2
  148. package/_assets/{emotion-styled.browser.esm-QAN7vOQx.js → emotion-styled.browser.esm-BzkAb7an.js} +2 -2
  149. package/_assets/{engine-Qfbe01DZ.js → engine-RQnHECpA.js} +2 -2
  150. package/_assets/{errors-Pkf3SgsD.js → errors-CF1vLLbk.js} +2 -2
  151. package/_assets/estimate-l1-fee-DQ6SPNVC.js +2 -0
  152. package/_assets/eth_estimateGas-DpOgUrDZ.js +2 -0
  153. package/_assets/eth_getStorageAt-DOWgijZV.js +2 -0
  154. package/_assets/eth_getTransactionCount-BdvoceEV.js +2 -0
  155. package/_assets/ethereum-D33Nzdgq.js +2 -0
  156. package/_assets/{ethers-BGK6CGbc.js → ethers-BdNwa1Wm.js} +2 -2
  157. package/_assets/{etherscan-DmDyp2wT.js → etherscan-DQsvLcA9.js} +2 -2
  158. package/_assets/{events-dtXWOsMC.js → events-C0i8BPHO.js} +2 -2
  159. package/_assets/{exclamation-triangle-COwloaAZ.js → exclamation-triangle-Cy7ZFMOM.js} +3 -3
  160. package/_assets/{execute-C8YYpwHp.js → execute-BKUd3699.js} +3 -3
  161. package/_assets/{extension-BXZVsCm9.js → extension-02r3DmNk.js} +2 -2
  162. package/_assets/external-link-CGMMz88J.js +9 -0
  163. package/_assets/extractIPFS-CdnqFjzP.js +2 -0
  164. package/_assets/{facebook-Ce3bxU5i.js → facebook-D9vyDeMs.js} +2 -2
  165. package/_assets/{farcaster-5HoyJqWe.js → farcaster-CUy-7jKk.js} +3 -3
  166. package/_assets/{features-CXUhxSHE.js → features-CICfS7ce.js} +2 -2
  167. package/_assets/{fetchTokenMetadata-D2sHJ20d.js → fetchTokenMetadata-DMUj_PU3.js} +3 -3
  168. package/_assets/{field.styles-lQKL7wnA.js → field.styles-ByoreJ6e.js} +2 -2
  169. package/_assets/{filters-B_7HUVyj.js → filters-BlIPZ-w_.js} +3 -3
  170. package/_assets/{fortmatic-VbcTaYCb.js → fortmatic-B3WbZBdq.js} +2 -2
  171. package/_assets/{get-bytecode-CHdK0jd1.js → get-bytecode-CVXftxLw.js} +2 -2
  172. package/_assets/get-ecosystem-wallet-info-JCRnkv-x.js +2 -0
  173. package/_assets/{getBalance-Cc-ynq9O.js → getBalance-5XVNz5UG.js} +3 -3
  174. package/_assets/getInstalledModules-JjJgMC9w.js +2 -0
  175. package/_assets/getNFT-CbB7B8a6.js +2 -0
  176. package/_assets/{getNFT-quDZXBOG.js → getNFT-RdMraD-P.js} +3 -3
  177. package/_assets/{github-psRgdSRX.js → github-CAcAfKle.js} +3 -3
  178. package/_assets/{google-zz0wXA6h.js → google-CxMs1yY4.js} +3 -3
  179. package/_assets/{grid.styles-ZTmDzFjp.js → grid.styles-BCSbJf2V.js} +2 -2
  180. package/_assets/{hashTypedData-DtLk4Oqc.js → hashTypedData-BlC8laee.js} +2 -2
  181. package/_assets/{hashTypedData-Cw8rSdk5.js → hashTypedData-DZgWETiq.js} +2 -2
  182. package/_assets/{help-circle-CaVlHgtL.js → help-circle-D3pVuyNX.js} +2 -2
  183. package/_assets/{id-B-QQrIC1.js → id-EZmnUdnm.js} +2 -2
  184. package/_assets/{image-C2jmt9mb.js → image-D_jaNeLn.js} +2 -2
  185. package/_assets/{in-app-XuiUAS3s.js → in-app-BRAAeRTM.js} +2 -2
  186. package/_assets/in-app-wallet-calls-Dc-5RRsW.js +2 -0
  187. package/_assets/{index-B-AIFgeo.js → index-B0I39KHD.js} +4 -4
  188. package/_assets/{index-DiNnPlO5.js → index-B1V0IIpL.js} +4 -4
  189. package/_assets/{index-CmHFYeQW.js → index-B221RLCQ.js} +2 -2
  190. package/_assets/{index-GC1Q65VQ.js → index-B3dvKsvA.js} +2 -2
  191. package/_assets/{index-D7Vr2oVM.js → index-BB5QyTUX.js} +12 -12
  192. package/_assets/{index-CPvTZ3mm.js → index-BCtV7iMx.js} +2 -2
  193. package/_assets/{index-Ct4f_kk7.js → index-BHFcr_8h.js} +2 -2
  194. package/_assets/{index-D7qOh2Pb.js → index-BHOpSk6g.js} +2 -2
  195. package/_assets/{index-BmPDz-lq.js → index-BTeCKPso.js} +2 -2
  196. package/_assets/{index-BjbppcFc.js → index-BZ6gXdNc.js} +2 -2
  197. package/_assets/{index-7EHHt4dM.js → index-B_4kBaNj.js} +6 -6
  198. package/_assets/{index-CWaSn_Fb.js → index-BaaMrF_F.js} +2 -2
  199. package/_assets/{index-gEDrLFcO.js → index-BdKcORG_.js} +2 -2
  200. package/_assets/{index-DFae84bA.js → index-Bgdoe1SV.js} +2 -2
  201. package/_assets/{index-CGKgopQY.js → index-BvCx6uXB.js} +3 -3
  202. package/_assets/index-Bwd-Urke.js +20 -0
  203. package/_assets/{index-B6rGZKVV.js → index-BxkQVM9p.js} +9 -9
  204. package/_assets/{index-CTlXshC8.js → index-ByM-AaN-.js} +2 -2
  205. package/_assets/{index-CA2RKWQC.js → index-ByQB84w-.js} +3 -3
  206. package/_assets/{index-B6F_Rucm.js → index-BzqbXDG5.js} +2 -2
  207. package/_assets/{index-DWCrguT4.js → index-C7KvJ4Ap.js} +2 -2
  208. package/_assets/{index-Bp5YE3NX.js → index-CAUfIFBn.js} +3 -3
  209. package/_assets/{index-7gPoET6B.js → index-CCmAzfK6.js} +5 -5
  210. package/_assets/{index-Ja9_mxz7.js → index-CLIQcA_B.js} +4 -4
  211. package/_assets/{index-DJFSJQ6v.js → index-CPCZRJJ8.js} +4 -4
  212. package/_assets/{index-DHcc1n0K.js → index-CPoXLDvO.js} +2 -2
  213. package/_assets/{index-BXHRk0yG.js → index-CTJ1p-tQ.js} +4 -4
  214. package/_assets/index-CUqWQbl3.js +3 -0
  215. package/_assets/{index-DS0AiyWl.js → index-Cbl6ZT2O.js} +2 -2
  216. package/_assets/{index-XmZ_5wbk.js → index-CepgNdZH.js} +2 -2
  217. package/_assets/{index-C8V_2yLm.js → index-Ct0BdBBO.js} +13 -13
  218. package/_assets/{index-B-_i8PBE.js → index-Cy9CkVcr.js} +2 -2
  219. package/_assets/{index-pSNJtHsU.js → index-D3Dh_0Zu.js} +2 -2
  220. package/_assets/index-D6EPHIMW.js +31 -0
  221. package/_assets/{index-sLrcgF-e.js → index-DBQc-iYs.js} +3 -3
  222. package/_assets/{index-CTOwNiNy.js → index-DDTIp2Fe.js} +2 -2
  223. package/_assets/{index-Wa87Q05Z.js → index-DEnNYMqD.js} +16 -16
  224. package/_assets/{index-DKKtGhbW.js → index-DFnE6AYn.js} +2 -2
  225. package/_assets/{index-B2VG6Otl.js → index-DJHYbQts.js} +3 -3
  226. package/_assets/index-DJW-FshA.js +2 -0
  227. package/_assets/{index-X6c4Uv6E.js → index-DMB2CPJ7.js} +2 -2
  228. package/_assets/{index-DJY8bktM.js → index-DMCfd_3z.js} +2 -2
  229. package/_assets/{index-TQ31Dj9G.js → index-DRvBbHp6.js} +2 -2
  230. package/_assets/{index-Cp6zKIzb.js → index-DTxzI9aE.js} +4 -4
  231. package/_assets/{index-DevU24aH.js → index-DWvfMJOM.js} +2 -2
  232. package/_assets/{index-B0KcUDm0.js → index-DaYiKik0.js} +2 -2
  233. package/_assets/{index-C2if4RD2.js → index-DbsyCUOB.js} +5 -5
  234. package/_assets/{index-Cs9MFQFw.js → index-DcdtBsv_.js} +2 -2
  235. package/_assets/{index-DLpbip__.js → index-DevjersM.js} +2 -2
  236. package/_assets/{index-XX0RysAj.js → index-DgZ9k8XX.js} +6 -6
  237. package/_assets/{index-BzXbsAOr.js → index-Dnma3Mdc.js} +2 -2
  238. package/_assets/{index-B8X_PuAG.js → index-Dq5RuaHw.js} +2 -2
  239. package/_assets/{index-Cew2sd8o.js → index-Dqer7ekI.js} +2 -2
  240. package/_assets/{index-B4WtCx0a.js → index-Dqgu0_eL.js} +2 -2
  241. package/_assets/{index-Bfwb72mL.js → index-Dtwbwzea.js} +2 -2
  242. package/_assets/{index-DVG-jLyq.js → index-Dum6-n3F.js} +2 -2
  243. package/_assets/{index-GLWmYkx4.js → index-Dx0T2nxw.js} +2 -2
  244. package/_assets/{index-CHQz8mM1.js → index-H5mtH1us.js} +3 -3
  245. package/_assets/{index-DiwLErnV.js → index-Kl3m7Xng.js} +2 -2
  246. package/_assets/{index-BFbab9CT.js → index-T9Gl9ldl.js} +2 -2
  247. package/_assets/index-TplsDVol.js +2 -0
  248. package/_assets/{index-BeGu1OK5.js → index-WZavAsDC.js} +3 -3
  249. package/_assets/{index-BHP4R-KS.js → index-WypKdDUw.js} +4 -4
  250. package/_assets/{index-CXF1GvZf.js → index-aIHoE7f1.js} +2 -2
  251. package/_assets/{index-zxKYmTZp.js → index-hoaOmVWG.js} +6 -6
  252. package/_assets/{index-hcGr914s.js → index-n44WWiK0.js} +2 -2
  253. package/_assets/{index-BSiRCa0g.js → index-xbM2705M.js} +2 -2
  254. package/_assets/{index.es-DgIVXTLg.js → index.es-73zpw4Yy.js} +2 -2
  255. package/_assets/{index.es-DCk5s8aZ.js → index.es-CQDrgVpl.js} +2 -2
  256. package/_assets/{index.es-DXO6gTHr.js → index.es-DmUm_ysg.js} +2 -2
  257. package/_assets/{index.es-C5gwSK8p.js → index.es-hX0Zyq3m.js} +5 -5
  258. package/_assets/{info-OmyNm-OX.js → info-DnsR7NqF.js} +2 -2
  259. package/_assets/{info-circle-BXcv2mSp.js → info-circle-CYhLz303.js} +3 -3
  260. package/_assets/items-empty-CzPw_3VX.js +2 -0
  261. package/_assets/jsxRuntime.module-BdZCPzuh.js +2 -0
  262. package/_assets/jump-BkIR-oXx.js +2 -0
  263. package/_assets/{lightbulb-BhYYPKCa.js → lightbulb-CrV2ehUv.js} +3 -3
  264. package/_assets/linkAccount-KNtoz6aA.js +2 -0
  265. package/_assets/{localBatchGatewayRequest-BDIxXCol.js → localBatchGatewayRequest-DYf0W7l-.js} +2 -2
  266. package/_assets/{mail-BujAiJT_.js → mail-DCBuUzr3.js} +2 -2
  267. package/_assets/{mobile-DbqgdYYl.js → mobile-BaKd3Qnj.js} +2 -2
  268. package/_assets/{more-DW0Ubi-A.js → more-LgdfAy-0.js} +2 -2
  269. package/_assets/{native-Bz1HptbK.js → native-C4nePaT-.js} +2 -2
  270. package/_assets/{network-placeholder-9yKv-UCl.js → network-placeholder-DGOUzxhW.js} +2 -2
  271. package/_assets/{networks-Br0BLqPR.js → networks-exXmNRjb.js} +2 -2
  272. package/_assets/{nftPlaceholder-Dp7HrYOG.js → nftPlaceholder-DfAiM1YP.js} +3 -3
  273. package/_assets/{off-B06N3u5j.js → off-I_Bs0UMa.js} +2 -2
  274. package/_assets/{onramp-CuUrfCki.js → onramp-BfUpoh8G.js} +2 -2
  275. package/_assets/openzeppelin-BBFetUge.js +2 -0
  276. package/_assets/ownerOf-BG5P7ZnF.js +2 -0
  277. package/_assets/parseNft-Bn5wiTO3.js +3 -0
  278. package/_assets/{parseSignature-DyGLTNfl.js → parseSignature-DSGd6q0T.js} +4 -4
  279. package/_assets/{parseSignature-0MbHeBsG.js → parseSignature-Ui8Kn0-5.js} +2 -2
  280. package/_assets/{passkeys-DyqK36QT.js → passkeys-fHFX7ZTh.js} +2 -2
  281. package/_assets/{pay-with-exchange-Dwi8NtSl.js → pay-with-exchange-B6jKJcdx.js} +2 -2
  282. package/_assets/{play-store-CGV0O_Jz.js → play-store-Zdx677t2.js} +3 -3
  283. package/_assets/{plus-D8Do9lRK.js → plus-BpaXWvxm.js} +2 -2
  284. package/_assets/{prepare-contract-call-DSjIXieB.js → prepare-contract-call-RHFlvvVY.js} +2 -2
  285. package/_assets/{qr-code-CnvkPJlE.js → qr-code-Bc1ba80O.js} +3 -3
  286. package/_assets/{qr-overlay-CmEL3PEn.js → qr-overlay-BFXvNlAS.js} +4 -4
  287. package/_assets/{react-CPKOypa5.js → react-DrXI7vJR.js} +2 -2
  288. package/_assets/{receive-DsBylJty.js → receive-C_wcchez.js} +2 -2
  289. package/_assets/{recycle-horizontal-BUI1wFhc.js → recycle-horizontal-n6I99nC_.js} +3 -3
  290. package/_assets/{ref-LkxlwUph.js → ref-Uk7bJ2Ii.js} +2 -2
  291. package/_assets/{refresh-gWkM7TpU.js → refresh-DqnhFnmq.js} +2 -2
  292. package/_assets/{reown-logo-CpiN-NOh.js → reown-logo-BV-uLdVW.js} +3 -3
  293. package/_assets/{resolveImplementation-DbQfhb72.js → resolveImplementation-BLpU_89k.js} +2 -2
  294. package/_assets/{resume-buy-7yxAf7iG.js → resume-buy-GvBiIhRS.js} +2 -2
  295. package/_assets/{rpc-CPWgZb0d.js → rpc-5nIPHZPT.js} +2 -2
  296. package/_assets/{sales-empty-000uqg0s.js → sales-empty-Df7J1gIl.js} +2 -2
  297. package/_assets/{search-Wn0h8HYX.js → search-8HlgtNap.js} +2 -2
  298. package/_assets/{search-empty-h0zJ0pvu.js → search-empty-DCejy82l.js} +2 -2
  299. package/_assets/{secp256k1-CyDqUXh0.js → secp256k1-CqUHoMxc.js} +2 -2
  300. package/_assets/{secp256k1-CRcsJ61A.js → secp256k1-DLbaOuou.js} +2 -2
  301. package/_assets/{secp256k1-QdDJCZZ8.js → secp256k1-Dg1Bk89u.js} +2 -2
  302. package/_assets/{send-BbZytlP1.js → send-BHKhUGFX.js} +2 -2
  303. package/_assets/{send-YURKn6T0.js → send-DfVX23rc.js} +2 -2
  304. package/_assets/send-batch-transaction-mvSbUTWw.js +2 -0
  305. package/_assets/{send-eip712-transaction-DL0MdBtR.js → send-eip712-transaction-Yfrn4IE_.js} +3 -3
  306. package/_assets/send-gasless-transaction-IECvu2wV.js +3 -0
  307. package/_assets/send-transaction-D46R_9UE.js +3 -0
  308. package/_assets/{sendMetaTransaction-LMY2d53Q.js → sendMetaTransaction-Cky3anzd.js} +2 -2
  309. package/_assets/{sendRawTransaction-ZBmmYmyk.js → sendRawTransaction-CQTI70Ie.js} +4 -4
  310. package/_assets/{sentry-Dhl3FQKR.js → sentry-SqoaCfGs.js} +3 -3
  311. package/_assets/{serializeTransaction-BV8O5uLy.js → serializeTransaction-vCS8JhOY.js} +2 -2
  312. package/_assets/{session-proposal-xqSYsPIQ.js → session-proposal-Cc5vNWC6.js} +2 -2
  313. package/_assets/session-request-C_SwgN4D.js +3 -0
  314. package/_assets/{sha256-BOQDDqPA.js → sha256-ChfZ32Do.js} +2 -2
  315. package/_assets/{signing-CNpKg_vp.js → signing-CkFwiO56.js} +4 -4
  316. package/_assets/{skeleton.styles-Dtw6XMDS.js → skeleton.styles-Q8AD9FjQ.js} +2 -2
  317. package/_assets/{socials-D58ZHtqS.js → socials-BN7TsNqA.js} +2 -2
  318. package/_assets/{styled-BUVq9rPS.js → styled-DK05okY6.js} +2 -2
  319. package/_assets/{swapHorizontal-3Mejt9DE.js → swapHorizontal-CXfaNtti.js} +2 -2
  320. package/_assets/{swapHorizontalBold-DkYUmHIw.js → swapHorizontalBold-gpSWS3ym.js} +3 -3
  321. package/_assets/{swapHorizontalMedium-C-AChIRi.js → swapHorizontalMedium-YvybS1X0.js} +3 -3
  322. package/_assets/{swapHorizontalRoundedBold-BtKMBAIU.js → swapHorizontalRoundedBold-4mt2CKzr.js} +2 -2
  323. package/_assets/{swapVertical-drqnjZhx.js → swapVertical-D7tPfByp.js} +3 -3
  324. package/_assets/{swaps-xcPgt9Tf.js → swaps-D24FrgTc.js} +8 -8
  325. package/_assets/{telegram-B0zQ2xux.js → telegram-CZbPcX2g.js} +2 -2
  326. package/_assets/{thirdweb-4dN90LaI.js → thirdweb-tFd9HRr4.js} +4 -4
  327. package/_assets/{three-dots-CalKjIbH.js → three-dots-Cf1FPHh0.js} +2 -2
  328. package/_assets/{to-serializable-transaction-Bsbzt-I2.js → to-serializable-transaction-DA0W2RfI.js} +3 -3
  329. package/_assets/totalSupply-DJpw9_J8.js +2 -0
  330. package/_assets/{transaction-DKG_a6g-.js → transaction-BtG_MHVn.js} +2 -2
  331. package/_assets/transactionReceipt-8j05XYJp.js +2 -0
  332. package/_assets/transactions-DU2g2tYq.js +17 -0
  333. package/_assets/{twitch-DFJ9vbRU.js → twitch-DW3PgCNj.js} +3 -3
  334. package/_assets/{twitterIcon-PQaPXSEq.js → twitterIcon-CnG-gacS.js} +3 -3
  335. package/_assets/{useCreditPacks-BFMlIcuP.js → useCreditPacks-DosC6YO1.js} +2 -2
  336. package/_assets/{useInfiniteGrid-D4LyqgVq.js → useInfiniteGrid-BBK3oobh.js} +2 -2
  337. package/_assets/useStore-BfAHWs1J.js +3 -0
  338. package/_assets/{useTheme-By5MMSvI.js → useTheme-CaaF56wf.js} +2 -2
  339. package/_assets/{utils-C3caSBM-.js → utils-CIkjve2U.js} +2 -2
  340. package/_assets/{verify-BkXjhgFz.js → verify-BVFN0KHq.js} +3 -3
  341. package/_assets/{verify-filled-Bgl9j8Ps.js → verify-filled-CgBDmJEs.js} +3 -3
  342. package/_assets/{verifyHash-BEhRQ8gC.js → verifyHash-BEun742s.js} +2 -2
  343. package/_assets/{w3m-modal-BJSRAvV3.js → w3m-modal-BFi8c3V1.js} +2 -2
  344. package/_assets/{w3m-modal-9oohg6Nw.js → w3m-modal-DvEpLin2.js} +2 -2
  345. package/_assets/{wait-for-tx-receipt-BZg4176M.js → wait-for-tx-receipt-C3XcyqB7.js} +2 -2
  346. package/_assets/{wallet-h2At2yYW.js → wallet-FHuzmtut.js} +2 -2
  347. package/_assets/{wallet-placeholder-BAdAxbaS.js → wallet-placeholder-BaNh3suA.js} +3 -3
  348. package/_assets/{walletconnect-DGwNgL-R.js → walletconnect-SOaTuXVA.js} +2 -2
  349. package/_assets/{wallets-BgFKM5Un.js → wallets-CgZfCb74.js} +6 -6
  350. package/_assets/{warning-circle-BcDrWyl5.js → warning-circle-IYnfnelV.js} +2 -2
  351. package/_assets/{web-connector-13zKCG8W.js → web-connector-Cy97mzba.js} +4 -4
  352. package/_assets/{writeContract-BCrBUtwK.js → writeContract-Cx4Nny0J.js} +2 -2
  353. package/_assets/{x-DoyXusK-.js → x-C1-09R-N.js} +3 -3
  354. package/_assets/{zora-sepolia-BKmyGkTB.js → zora-sepolia-BU07mfI_.js} +2 -2
  355. package/_assets/{zoraTestnet-BYfzXpe9.js → zoraTestnet-Bv9txE7V.js} +2 -2
  356. package/index.html +11 -11
  357. package/package.json +2 -2
  358. package/_assets/JumpInIcon-gwWkyigc.js +0 -2
  359. package/_assets/OutfitPreview-Dzwv8CZm.js +0 -7
  360. package/_assets/PhCaretDown-DjcNJ1zq.js +0 -15
  361. package/_assets/PhCaretUp-BTUuw_V5.js +0 -15
  362. package/_assets/async-directive--Ed0QLAK.js +0 -10
  363. package/_assets/buy-4aaQ0a-u.js +0 -2
  364. package/_assets/chevron-bottom-B7xC8zte.js +0 -9
  365. package/_assets/chevron-right-r7vxjQcl.js +0 -9
  366. package/_assets/chevron-top-B9aXAl0y.js +0 -9
  367. package/_assets/collectionPage.styles-x9Ys9-EJ.js +0 -40
  368. package/_assets/common-DbVrNU8d.js +0 -2
  369. package/_assets/decimals-BRIIwlS4.js +0 -2
  370. package/_assets/decimals-Cwkjreuy.js +0 -2
  371. package/_assets/detectExtension-D_bmEQsq.js +0 -2
  372. package/_assets/estimate-l1-fee-BhPYKs0i.js +0 -2
  373. package/_assets/eth_estimateGas-DJtpIKCF.js +0 -2
  374. package/_assets/eth_getStorageAt-BvVTVakd.js +0 -2
  375. package/_assets/eth_getTransactionCount-CTg3O9yy.js +0 -2
  376. package/_assets/ethereum-BHI7M48A.js +0 -2
  377. package/_assets/external-link-DY6qwfgd.js +0 -9
  378. package/_assets/extractIPFS-K2F3vQ0J.js +0 -2
  379. package/_assets/get-ecosystem-wallet-info-BTsiiXK0.js +0 -2
  380. package/_assets/getInstalledModules-CUmb37N4.js +0 -2
  381. package/_assets/getNFT-DrE5xjA6.js +0 -2
  382. package/_assets/in-app-wallet-calls-dlWnJrek.js +0 -2
  383. package/_assets/index-BGx3L_1D.js +0 -2
  384. package/_assets/index-C6eQqGHR.js +0 -2
  385. package/_assets/index-DNEXEMAx.js +0 -31
  386. package/_assets/index-yN1Hh4Se.js +0 -20
  387. package/_assets/index-ydLU_5Gn.js +0 -3
  388. package/_assets/items-empty-Ch7uK_cC.js +0 -2
  389. package/_assets/jsxRuntime.module-MtWsgs3K.js +0 -2
  390. package/_assets/linkAccount-tKw9D7Vs.js +0 -2
  391. package/_assets/openzeppelin-D-JFhdr0.js +0 -2
  392. package/_assets/ownerOf-BYoH6fJy.js +0 -2
  393. package/_assets/parseNft-SkdP6ZWl.js +0 -3
  394. package/_assets/send-batch-transaction-DlrF3ECN.js +0 -2
  395. package/_assets/send-gasless-transaction-Lit3VLzk.js +0 -3
  396. package/_assets/send-transaction-eG41zAfO.js +0 -3
  397. package/_assets/session-request-BcCCmadp.js +0 -3
  398. package/_assets/totalSupply-C8piMspG.js +0 -2
  399. package/_assets/transactionReceipt-Co69hre1.js +0 -2
  400. package/_assets/transactions-Cx163gKY.js +0 -17
  401. package/_assets/useStore-CUpQXMuK.js +0 -3
@@ -1,7 +1,7 @@
1
- import{w as a}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="16c317cb-e5a1-46b7-aaaf-7f389424c555",e._sentryDebugIdIdentifier="sentry-dbid-16c317cb-e5a1-46b7-aaaf-7f389424c555")}catch{}})();const r=a`<svg fill="none" viewBox="0 0 16 16">
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:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="28c286d9-c185-45c7-8bbe-f561b5cbe60d",e._sentryDebugIdIdentifier="sentry-dbid-28c286d9-c185-45c7-8bbe-f561b5cbe60d")}catch{}})();const r=n`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z"
5
5
  />
6
6
  </svg>`;export{r as etherscanSvg};
7
- //# sourceMappingURL=etherscan-DmDyp2wT.js.map
7
+ //# sourceMappingURL=etherscan-DQsvLcA9.js.map
@@ -1,2 +1,2 @@
1
- import"./react-CPKOypa5.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new u.Error().stack;c&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[c]="952f5bce-77dc-4b53-b8aa-c7d5fc6c1ab7",u._sentryDebugIdIdentifier="sentry-dbid-952f5bce-77dc-4b53-b8aa-c7d5fc6c1ab7")}catch{}})();var p={exports:{}},x;function T(){if(x)return p.exports;x=1;var u=typeof Reflect=="object"?Reflect:null,c=u&&typeof u.apply=="function"?u.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},l;u&&typeof u.ownKeys=="function"?l=u.ownKeys:Object.getOwnPropertySymbols?l=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:l=function(e){return Object.getOwnPropertyNames(e)};function C(t){console&&console.warn&&console.warn(t)}var h=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}p.exports=o,p.exports.once=M,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var y=10;function v(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return y},set:function(t){if(typeof t!="number"||t<0||h(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");y=t}}),o.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||h(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function L(t){return t._maxListeners===void 0?o.defaultMaxListeners:t._maxListeners}o.prototype.getMaxListeners=function(){return L(this)},o.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",f=this._events;if(f!==void 0)i=i&&f.error===void 0;else if(!i)return!1;if(i){var s;if(n.length>0&&(s=n[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var d=f[e];if(d===void 0)return!1;if(typeof d=="function")c(d,this,n);else for(var O=d.length,I=w(d,O),r=0;r<O;++r)c(I[r],this,n);return!0};function m(t,e,n,r){var i,f,s;if(v(n),f=t._events,f===void 0?(f=t._events=Object.create(null),t._eventsCount=0):(f.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),f=t._events),s=f[e]),s===void 0)s=f[e]=n,++t._eventsCount;else if(typeof s=="function"?s=f[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=L(t),i>0&&s.length>i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=s.length,C(a)}return t}o.prototype.addListener=function(e,n){return m(this,e,n,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,n){return m(this,e,n,!0)};function R(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function g(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=R.bind(r);return i.listener=n,r.wrapFn=i,i}o.prototype.once=function(e,n){return v(n),this.on(e,g(this,e,n)),this},o.prototype.prependOnceListener=function(e,n){return v(n),this.prependListener(e,g(this,e,n)),this},o.prototype.removeListener=function(e,n){var r,i,f,s,a;if(v(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(f=-1,s=r.length-1;s>=0;s--)if(r[s]===n||r[s].listener===n){a=r[s].listener,f=s;break}if(f<0)return this;f===0?r.shift():j(r,f),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||n)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var f=Object.keys(r),s;for(i=0;i<f.length;++i)s=f[i],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function b(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?N(i):w(i,i.length)}o.prototype.listeners=function(e){return b(this,e,!0)},o.prototype.rawListeners=function(e){return b(this,e,!1)},o.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):_.call(t,e)},o.prototype.listenerCount=_;function _(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}o.prototype.eventNames=function(){return this._eventsCount>0?l(this._events):[]};function w(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function j(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function N(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function M(t,e){return new Promise(function(n,r){function i(s){t.removeListener(e,f),r(s)}function f(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}E(t,e,f,{once:!0}),e!=="error"&&A(t,i,{once:!0})})}function A(t,e,n){typeof t.on=="function"&&E(t,"error",e,n)}function E(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(f){r.once&&t.removeEventListener(e,i),n(f)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}return p.exports}export{T as r};
2
- //# sourceMappingURL=events-dtXWOsMC.js.map
1
+ import"./react-DrXI7vJR.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new u.Error().stack;c&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[c]="952f5bce-77dc-4b53-b8aa-c7d5fc6c1ab7",u._sentryDebugIdIdentifier="sentry-dbid-952f5bce-77dc-4b53-b8aa-c7d5fc6c1ab7")}catch{}})();var p={exports:{}},x;function T(){if(x)return p.exports;x=1;var u=typeof Reflect=="object"?Reflect:null,c=u&&typeof u.apply=="function"?u.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},l;u&&typeof u.ownKeys=="function"?l=u.ownKeys:Object.getOwnPropertySymbols?l=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:l=function(e){return Object.getOwnPropertyNames(e)};function C(t){console&&console.warn&&console.warn(t)}var h=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}p.exports=o,p.exports.once=M,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var y=10;function v(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return y},set:function(t){if(typeof t!="number"||t<0||h(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");y=t}}),o.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||h(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function L(t){return t._maxListeners===void 0?o.defaultMaxListeners:t._maxListeners}o.prototype.getMaxListeners=function(){return L(this)},o.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",f=this._events;if(f!==void 0)i=i&&f.error===void 0;else if(!i)return!1;if(i){var s;if(n.length>0&&(s=n[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var d=f[e];if(d===void 0)return!1;if(typeof d=="function")c(d,this,n);else for(var O=d.length,I=w(d,O),r=0;r<O;++r)c(I[r],this,n);return!0};function m(t,e,n,r){var i,f,s;if(v(n),f=t._events,f===void 0?(f=t._events=Object.create(null),t._eventsCount=0):(f.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),f=t._events),s=f[e]),s===void 0)s=f[e]=n,++t._eventsCount;else if(typeof s=="function"?s=f[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=L(t),i>0&&s.length>i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=s.length,C(a)}return t}o.prototype.addListener=function(e,n){return m(this,e,n,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,n){return m(this,e,n,!0)};function R(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function g(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=R.bind(r);return i.listener=n,r.wrapFn=i,i}o.prototype.once=function(e,n){return v(n),this.on(e,g(this,e,n)),this},o.prototype.prependOnceListener=function(e,n){return v(n),this.prependListener(e,g(this,e,n)),this},o.prototype.removeListener=function(e,n){var r,i,f,s,a;if(v(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(f=-1,s=r.length-1;s>=0;s--)if(r[s]===n||r[s].listener===n){a=r[s].listener,f=s;break}if(f<0)return this;f===0?r.shift():j(r,f),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||n)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var f=Object.keys(r),s;for(i=0;i<f.length;++i)s=f[i],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function b(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?N(i):w(i,i.length)}o.prototype.listeners=function(e){return b(this,e,!0)},o.prototype.rawListeners=function(e){return b(this,e,!1)},o.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):_.call(t,e)},o.prototype.listenerCount=_;function _(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}o.prototype.eventNames=function(){return this._eventsCount>0?l(this._events):[]};function w(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function j(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function N(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function M(t,e){return new Promise(function(n,r){function i(s){t.removeListener(e,f),r(s)}function f(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}E(t,e,f,{once:!0}),e!=="error"&&A(t,i,{once:!0})})}function A(t,e,n){typeof t.on=="function"&&E(t,"error",e,n)}function E(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(f){r.once&&t.removeEventListener(e,i),n(f)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}return p.exports}export{T as r};
2
+ //# sourceMappingURL=events-C0i8BPHO.js.map
@@ -1,5 +1,5 @@
1
- import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var C=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new C.Error().stack;e&&(C._sentryDebugIds=C._sentryDebugIds||{},C._sentryDebugIds[e]="77da0c8a-3d20-408f-866a-a124a21022fb",C._sentryDebugIdIdentifier="sentry-dbid-77da0c8a-3d20-408f-866a-a124a21022fb")}catch{}})();const a=n`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ import{w as n}from"./lit-element-wjYUA6aF.js";(function(){try{var C=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new C.Error().stack;e&&(C._sentryDebugIds=C._sentryDebugIds||{},C._sentryDebugIds[e]="4a634728-1acf-43ae-847d-6f57b521278d",C._sentryDebugIdIdentifier="sentry-dbid-4a634728-1acf-43ae-847d-6f57b521278d")}catch{}})();const o=n`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
3
3
  </svg>
4
- `;export{a as exclamationTriangleSvg};
5
- //# sourceMappingURL=exclamation-triangle-COwloaAZ.js.map
4
+ `;export{o as exclamationTriangleSvg};
5
+ //# sourceMappingURL=exclamation-triangle-Cy7ZFMOM.js.map
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-DiNnPlO5.js","_assets/index-D7Vr2oVM.js","_assets/react-CPKOypa5.js","_assets/dcl-schemas--SOz4s6t.js","_assets/sentry-Dhl3FQKR.js","_assets/ethers-BGK6CGbc.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/ethereum-BHI7M48A.js","_assets/utils-C3caSBM-.js","_assets/types-BeDU9GfL.js","_assets/get-bytecode-CHdK0jd1.js","_assets/prepare-contract-call-DSjIXieB.js","_assets/to-serializable-transaction-Bsbzt-I2.js","_assets/transaction-DKG_a6g-.js","_assets/web-connector-13zKCG8W.js","_assets/linkAccount-tKw9D7Vs.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/sleep-fBr8OToA.js","_assets/detectExtension-D_bmEQsq.js"])))=>i.map(i=>d[i]);
2
- import{u as x,o as F,s as M,a5 as $}from"./prepare-contract-call-DSjIXieB.js";import{_ as E}from"./index-D7Vr2oVM.js";import{w as V,c as H,h as K,a as j}from"./utils-C3caSBM-.js";import{d as B}from"./detectExtension-D_bmEQsq.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]="8aa2ea4c-a742-4e07-988c-77ffbdfe9b03",e._sentryDebugIdIdentifier="sentry-dbid-8aa2ea4c-a742-4e07-988c-77ffbdfe9b03")}catch{}})();function oe(e=32){return x(z(e))}function z(e=32){return globalThis.crypto.getRandomValues(new Uint8Array(e))}async function P(e){const{client:t,ecosystem:n,walletType:a,walletAddress:c,chainId:h}=e;return F({client:t,data:{action:"connect",chainId:h,source:"connectWallet",walletAddress:c,walletType:a},ecosystem:n})}const re={async getItem(e){try{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(e)}catch{}return null},async removeItem(e){typeof window<"u"&&window.localStorage&&localStorage.removeItem(e)},async setItem(e,t){try{typeof window<"u"&&window.localStorage&&localStorage.setItem(e,t)}catch{}}};function X(){const e=new Map;return{emit(t,n){const a=e.get(t);if(a)for(const c of a)c(n)},subscribe(t,n){var a;return e.has(t)?(a=e.get(t))==null||a.add(n):e.set(t,new Set([n])),()=>{const c=e.get(t);c&&c.delete(n)}}}}function Y(){return X()}async function Z(e){return V(async()=>{var a;const n=await(await fetch(`${H("inAppWallet")}/api/2024-05-05/ecosystem-wallet`,{headers:{"x-ecosystem-id":e}})).json();if(!n||n.code==="UNAUTHORIZED")throw new Error(n.message||`Could not find ecosystem wallet with id ${e}, please check your ecosystem wallet configuration.`);return(a=n.authOptions)!=null&&a.includes("siwe")&&(n.authOptions=n.authOptions.filter(c=>c!=="siwe"),n.authOptions.push("wallet")),n},{cacheKey:`ecosystem-wallet-options-${e}`,cacheTime:1e3*60*5})}const b=new Map;async function g(e,t,n){var h;const a=M({clientId:e.clientId,ecosystem:n,partialSecretKey:(h=e.secretKey)==null?void 0:h.slice(0,5)});if(b.has(a))return b.get(a);const c=await t(e);return b.set(a,c),c}function q(e){const{createOptions:t,connectorFactory:n,ecosystem:a}=e,c=a?a.id:"inApp",h=Y();let o=t,l,p,i,w,A=null;const C=async s=>{if(a){const r=await Z(a.id),u=r==null?void 0:r.smartAccountOptions;if(u)if(r.smartAccountOptions.executionMode==="EIP7702")o={...o,executionMode:{mode:"EIP7702",sponsorGas:u.sponsorGas}};else{const{defaultChainId:y}=r.smartAccountOptions,m=(s==null?void 0:s.chain)??(y?j(y):void 0);if(!m)throw new Error("A chain must be provided either via 'chain' in connect options or 'defaultChainId' in ecosystem configuration. Please pass it via connect() or update the ecosystem configuration.");o={...o,smartAccount:{chain:m,factoryAddress:u.accountFactoryAddress,sponsorGas:u.sponsorGas}}}}};return{autoConnect:async s=>{const{autoConnectInAppWallet:r}=await E(async()=>{const{autoConnectInAppWallet:d}=await import("./index-DiNnPlO5.js").then(_=>_.n);return{autoConnectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},connect:async s=>{const{connectInAppWallet:r}=await E(async()=>{const{connectInAppWallet:d}=await import("./index-DiNnPlO5.js").then(_=>_.n);return{connectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},disconnect:async()=>{if(w&&!(await(await g(w,n,a)).logout()).success)throw new Error("Failed to logout");l=void 0,p=void 0,i=void 0,A=null,h.emit("disconnect",void 0)},getAccount:()=>l,getAdminAccount:()=>p,getAuthToken:()=>A,getChain(){if(i)return i=K(i.id)||i,i},getConfig:()=>o,id:c,subscribe:h.subscribe,switchChain:async s=>{var r;if((o!=null&&o.smartAccount||((r=o==null?void 0:o.executionMode)==null?void 0:r.mode)==="EIP4337")&&w&&l){const{autoConnectInAppWallet:u}=await E(async()=>{const{autoConnectInAppWallet:_}=await import("./index-DiNnPlO5.js").then(G=>G.n);return{autoConnectInAppWallet:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),I=await g(w,n,a);await C({chain:s});const{account:y,chain:m,adminAccount:d}=await u({chain:s,client:w},o,I);p=d,l=y,i=m}else i=s;h.emit("chainChanged",s)}}}function ie(e){return q({connectorFactory:async t=>{var a;const{InAppWebConnector:n}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-13zKCG8W.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new n({client:t,passkeyDomain:(a=e==null?void 0:e.auth)==null?void 0:a.passkeyDomain,storage:e==null?void 0:e.storage})},createOptions:e})}async function f(e,t){return g(e,async n=>{const{InAppWebConnector:a}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-13zKCG8W.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new a({client:n,ecosystem:t})},t)}async function R(e){const{client:t,ecosystem:n}=e,c=await(await f(t,n)).getUser();switch(c.status){case"Logged In, Wallet Initialized":return c}}async function ue(e){const t=await R(e);if(t&&"email"in t.authDetails)return t.authDetails.email}async function le(e){const t=await R(e);if(t&&"phoneNumber"in t.authDetails)return t.authDetails.phoneNumber}async function de(e){return(await f(e.client,e.ecosystem)).preAuthenticate(e)}async function he(e){return(await f(e.client,e.ecosystem)).authenticate(e)}async function ye(e){const t=await f(e.client,e.ecosystem);if(!t.authenticateWithRedirect)throw new Error("authenticateWithRedirect is not supported on this platform");return t.authenticateWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function me(e){const t=await f(e.client,e.ecosystem);if(!t.linkProfileWithRedirect)throw new Error("linkProfileWithRedirect is not supported on this platform");return t.linkProfileWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function fe(e){return await(await f(e.client,e.ecosystem)).linkProfile(e)}async function we(e){return await(await f(e.client,e.ecosystem)).unlinkProfile(e.profileToUnlink,e.allowAccountDeletion)}async function Ae(e){return(await f(e.client,e.ecosystem)).getProfiles()}const Ie="/sdk/2022-08-12/embedded-wallet",v=e=>`thirdwebEwsWalletUserId-${e}`,J="walletToken",S=e=>`${J}-${e}`,T=e=>`passkey-credential-id-${e}`,Q="a",k=(e,t)=>`${Q}-${e}-${t}`,W=e=>`walletConnectSessions-${e}`,L=e=>`thirdweb_guest_session_id_${e}`,O=new Map;class pe{constructor({storage:t,clientId:n,ecosystem:a}){Object.defineProperty(this,"key",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"storage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ecosystem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.storage=t,this.key=ee(n,a==null?void 0:a.id),this.ecosystem=a}async getItem(t){return this.storage?this.storage.getItem(t):O.get(t)??null}async setItem(t,n){if(this.storage)return this.storage.setItem(t,n);O.set(t,n)}async removeItem(t){const n=await this.getItem(t);return this.storage&&n?(this.storage.removeItem(t),!0):!1}async getWalletConnectSessions(){return this.getItem(W(this.key))}async saveWalletConnectSessions(t){await this.setItem(W(this.key),t)}async savePasskeyCredentialId(t){await this.setItem(T(this.key),t)}async getPasskeyCredentialId(){return this.getItem(T(this.key))}async saveAuthCookie(t){await this.setItem(S(this.key),t)}async getAuthCookie(){return this.getItem(S(this.key))}async removeAuthCookie(){return this.removeItem(S(this.key))}async saveDeviceShare(t,n){await this.saveWalletUserId(n),await this.setItem(k(this.key,n),t)}async getDeviceShare(){const t=await this.getWalletUserId();return t?this.getItem(k(this.key,t)):null}async removeDeviceShare(){const t=await this.getWalletUserId();return t?this.removeItem(k(this.key,t)):!1}async getWalletUserId(){return this.getItem(v(this.key))}async saveWalletUserId(t){await this.setItem(v(this.key),t)}async removeWalletUserId(){return this.removeItem(v(this.key))}async getGuestSessionId(){return this.getItem(L(this.key))}async saveGuestSessionId(t){await this.setItem(L(this.key),t)}}const ee=(e,t)=>`${e}${t?`-${t}`:""}`;function te(e){let t;return()=>(t||(t=e()),t)}const D="0x3f707e6b",U=[{type:"tuple[]",name:"calls",components:[{type:"address",name:"target"},{type:"uint256",name:"value"},{type:"bytes",name:"data"}]}],N=[];function _e(e){return B({availableSelectors:e,method:[D,U,N]})}function ge(e){const t=te(async()=>"asyncParams"in e?await e.asyncParams():e);return $({contract:e.contract,method:[D,U,N],params:async()=>[(await t()).calls],value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.value},accessList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.accessList},gas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gas},gasPrice:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gasPrice},maxFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxFeePerGas},maxPriorityFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxPriorityFeePerGas},nonce:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.nonce},extraGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.extraGas},erc20Value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.erc20Value},authorizationList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.authorizationList}})}export{pe as C,Ie as I,ue as a,he as b,Ae as c,le as d,ge as e,_e as f,Z as g,me as h,ie as i,Y as j,q as k,fe as l,ye as m,te as o,de as p,oe as r,P as t,we as u,re as w};
3
- //# sourceMappingURL=execute-C8YYpwHp.js.map
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/index-B1V0IIpL.js","_assets/index-BB5QyTUX.js","_assets/react-DrXI7vJR.js","_assets/dcl-schemas-BYdQ7kkG.js","_assets/sentry-SqoaCfGs.js","_assets/ethers-BdNwa1Wm.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/ethereum-D33Nzdgq.js","_assets/utils-CIkjve2U.js","_assets/types-BeDU9GfL.js","_assets/get-bytecode-CVXftxLw.js","_assets/prepare-contract-call-RHFlvvVY.js","_assets/to-serializable-transaction-DA0W2RfI.js","_assets/transaction-BtG_MHVn.js","_assets/web-connector-Cy97mzba.js","_assets/linkAccount-KNtoz6aA.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/sleep-fBr8OToA.js","_assets/detectExtension-B8fRWnGZ.js"])))=>i.map(i=>d[i]);
2
+ import{u as x,o as F,s as M,a5 as $}from"./prepare-contract-call-RHFlvvVY.js";import{_ as E}from"./index-BB5QyTUX.js";import{w as V,c as H,h as K,a as j}from"./utils-CIkjve2U.js";import{d as B}from"./detectExtension-B8fRWnGZ.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]="3a432edd-642a-4f49-bad1-107400b4f060",e._sentryDebugIdIdentifier="sentry-dbid-3a432edd-642a-4f49-bad1-107400b4f060")}catch{}})();function oe(e=32){return x(z(e))}function z(e=32){return globalThis.crypto.getRandomValues(new Uint8Array(e))}async function P(e){const{client:t,ecosystem:n,walletType:a,walletAddress:c,chainId:h}=e;return F({client:t,data:{action:"connect",chainId:h,source:"connectWallet",walletAddress:c,walletType:a},ecosystem:n})}const re={async getItem(e){try{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(e)}catch{}return null},async removeItem(e){typeof window<"u"&&window.localStorage&&localStorage.removeItem(e)},async setItem(e,t){try{typeof window<"u"&&window.localStorage&&localStorage.setItem(e,t)}catch{}}};function X(){const e=new Map;return{emit(t,n){const a=e.get(t);if(a)for(const c of a)c(n)},subscribe(t,n){var a;return e.has(t)?(a=e.get(t))==null||a.add(n):e.set(t,new Set([n])),()=>{const c=e.get(t);c&&c.delete(n)}}}}function Y(){return X()}async function Z(e){return V(async()=>{var a;const n=await(await fetch(`${H("inAppWallet")}/api/2024-05-05/ecosystem-wallet`,{headers:{"x-ecosystem-id":e}})).json();if(!n||n.code==="UNAUTHORIZED")throw new Error(n.message||`Could not find ecosystem wallet with id ${e}, please check your ecosystem wallet configuration.`);return(a=n.authOptions)!=null&&a.includes("siwe")&&(n.authOptions=n.authOptions.filter(c=>c!=="siwe"),n.authOptions.push("wallet")),n},{cacheKey:`ecosystem-wallet-options-${e}`,cacheTime:1e3*60*5})}const b=new Map;async function g(e,t,n){var h;const a=M({clientId:e.clientId,ecosystem:n,partialSecretKey:(h=e.secretKey)==null?void 0:h.slice(0,5)});if(b.has(a))return b.get(a);const c=await t(e);return b.set(a,c),c}function q(e){const{createOptions:t,connectorFactory:n,ecosystem:a}=e,c=a?a.id:"inApp",h=Y();let o=t,l,p,i,w,A=null;const C=async s=>{if(a){const r=await Z(a.id),u=r==null?void 0:r.smartAccountOptions;if(u)if(r.smartAccountOptions.executionMode==="EIP7702")o={...o,executionMode:{mode:"EIP7702",sponsorGas:u.sponsorGas}};else{const{defaultChainId:y}=r.smartAccountOptions,m=(s==null?void 0:s.chain)??(y?j(y):void 0);if(!m)throw new Error("A chain must be provided either via 'chain' in connect options or 'defaultChainId' in ecosystem configuration. Please pass it via connect() or update the ecosystem configuration.");o={...o,smartAccount:{chain:m,factoryAddress:u.accountFactoryAddress,sponsorGas:u.sponsorGas}}}}};return{autoConnect:async s=>{const{autoConnectInAppWallet:r}=await E(async()=>{const{autoConnectInAppWallet:d}=await import("./index-B1V0IIpL.js").then(_=>_.n);return{autoConnectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},connect:async s=>{const{connectInAppWallet:r}=await E(async()=>{const{connectInAppWallet:d}=await import("./index-B1V0IIpL.js").then(_=>_.n);return{connectInAppWallet:d}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),u=await g(s.client,n,a);await C();const{account:I,chain:y,adminAccount:m}=await r(s,o,u);w=s.client,l=I,p=m,i=y;try{A=await u.storage.getAuthCookie()}catch(d){console.error("Failed to retrieve auth token:",d),A=null}return P({chainId:i.id,client:s.client,ecosystem:a,walletAddress:l.address,walletType:c}),l},disconnect:async()=>{if(w&&!(await(await g(w,n,a)).logout()).success)throw new Error("Failed to logout");l=void 0,p=void 0,i=void 0,A=null,h.emit("disconnect",void 0)},getAccount:()=>l,getAdminAccount:()=>p,getAuthToken:()=>A,getChain(){if(i)return i=K(i.id)||i,i},getConfig:()=>o,id:c,subscribe:h.subscribe,switchChain:async s=>{var r;if((o!=null&&o.smartAccount||((r=o==null?void 0:o.executionMode)==null?void 0:r.mode)==="EIP4337")&&w&&l){const{autoConnectInAppWallet:u}=await E(async()=>{const{autoConnectInAppWallet:_}=await import("./index-B1V0IIpL.js").then(G=>G.n);return{autoConnectInAppWallet:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])),I=await g(w,n,a);await C({chain:s});const{account:y,chain:m,adminAccount:d}=await u({chain:s,client:w},o,I);p=d,l=y,i=m}else i=s;h.emit("chainChanged",s)}}}function ie(e){return q({connectorFactory:async t=>{var a;const{InAppWebConnector:n}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-Cy97mzba.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new n({client:t,passkeyDomain:(a=e==null?void 0:e.auth)==null?void 0:a.passkeyDomain,storage:e==null?void 0:e.storage})},createOptions:e})}async function f(e,t){return g(e,async n=>{const{InAppWebConnector:a}=await E(async()=>{const{InAppWebConnector:c}=await import("./web-connector-Cy97mzba.js");return{InAppWebConnector:c}},__vite__mapDeps([15,1,2,3,4,5,6,7,9,10,12,16,14,17,18,19]));return new a({client:n,ecosystem:t})},t)}async function R(e){const{client:t,ecosystem:n}=e,c=await(await f(t,n)).getUser();switch(c.status){case"Logged In, Wallet Initialized":return c}}async function ue(e){const t=await R(e);if(t&&"email"in t.authDetails)return t.authDetails.email}async function le(e){const t=await R(e);if(t&&"phoneNumber"in t.authDetails)return t.authDetails.phoneNumber}async function de(e){return(await f(e.client,e.ecosystem)).preAuthenticate(e)}async function he(e){return(await f(e.client,e.ecosystem)).authenticate(e)}async function ye(e){const t=await f(e.client,e.ecosystem);if(!t.authenticateWithRedirect)throw new Error("authenticateWithRedirect is not supported on this platform");return t.authenticateWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function me(e){const t=await f(e.client,e.ecosystem);if(!t.linkProfileWithRedirect)throw new Error("linkProfileWithRedirect is not supported on this platform");return t.linkProfileWithRedirect(e.strategy,e.mode,e.redirectUrl)}async function fe(e){return await(await f(e.client,e.ecosystem)).linkProfile(e)}async function we(e){return await(await f(e.client,e.ecosystem)).unlinkProfile(e.profileToUnlink,e.allowAccountDeletion)}async function Ae(e){return(await f(e.client,e.ecosystem)).getProfiles()}const Ie="/sdk/2022-08-12/embedded-wallet",v=e=>`thirdwebEwsWalletUserId-${e}`,J="walletToken",S=e=>`${J}-${e}`,T=e=>`passkey-credential-id-${e}`,Q="a",k=(e,t)=>`${Q}-${e}-${t}`,W=e=>`walletConnectSessions-${e}`,L=e=>`thirdweb_guest_session_id_${e}`,O=new Map;class pe{constructor({storage:t,clientId:n,ecosystem:a}){Object.defineProperty(this,"key",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"storage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ecosystem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.storage=t,this.key=ee(n,a==null?void 0:a.id),this.ecosystem=a}async getItem(t){return this.storage?this.storage.getItem(t):O.get(t)??null}async setItem(t,n){if(this.storage)return this.storage.setItem(t,n);O.set(t,n)}async removeItem(t){const n=await this.getItem(t);return this.storage&&n?(this.storage.removeItem(t),!0):!1}async getWalletConnectSessions(){return this.getItem(W(this.key))}async saveWalletConnectSessions(t){await this.setItem(W(this.key),t)}async savePasskeyCredentialId(t){await this.setItem(T(this.key),t)}async getPasskeyCredentialId(){return this.getItem(T(this.key))}async saveAuthCookie(t){await this.setItem(S(this.key),t)}async getAuthCookie(){return this.getItem(S(this.key))}async removeAuthCookie(){return this.removeItem(S(this.key))}async saveDeviceShare(t,n){await this.saveWalletUserId(n),await this.setItem(k(this.key,n),t)}async getDeviceShare(){const t=await this.getWalletUserId();return t?this.getItem(k(this.key,t)):null}async removeDeviceShare(){const t=await this.getWalletUserId();return t?this.removeItem(k(this.key,t)):!1}async getWalletUserId(){return this.getItem(v(this.key))}async saveWalletUserId(t){await this.setItem(v(this.key),t)}async removeWalletUserId(){return this.removeItem(v(this.key))}async getGuestSessionId(){return this.getItem(L(this.key))}async saveGuestSessionId(t){await this.setItem(L(this.key),t)}}const ee=(e,t)=>`${e}${t?`-${t}`:""}`;function te(e){let t;return()=>(t||(t=e()),t)}const D="0x3f707e6b",U=[{type:"tuple[]",name:"calls",components:[{type:"address",name:"target"},{type:"uint256",name:"value"},{type:"bytes",name:"data"}]}],N=[];function _e(e){return B({availableSelectors:e,method:[D,U,N]})}function ge(e){const t=te(async()=>"asyncParams"in e?await e.asyncParams():e);return $({contract:e.contract,method:[D,U,N],params:async()=>[(await t()).calls],value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.value},accessList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.accessList},gas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gas},gasPrice:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.gasPrice},maxFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxFeePerGas},maxPriorityFeePerGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.maxPriorityFeePerGas},nonce:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.nonce},extraGas:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.extraGas},erc20Value:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.erc20Value},authorizationList:async()=>{var n;return(n=(await t()).overrides)==null?void 0:n.authorizationList}})}export{pe as C,Ie as I,ue as a,he as b,Ae as c,le as d,ge as e,_e as f,Z as g,me as h,ie as i,Y as j,q as k,fe as l,ye as m,te as o,de as p,oe as r,P as t,we as u,re as w};
3
+ //# sourceMappingURL=execute-BKUd3699.js.map
@@ -1,4 +1,4 @@
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]="ad1fdd38-90df-4d11-a71c-647a9a28e170",a._sentryDebugIdIdentifier="sentry-dbid-ad1fdd38-90df-4d11-a71c-647a9a28e170")}catch{}})();const o=d`<svg fill="none" viewBox="0 0 14 15">
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]="73357d8b-b0b9-4cc8-b964-d6d89f2542eb",e._sentryDebugIdIdentifier="sentry-dbid-73357d8b-b0b9-4cc8-b964-d6d89f2542eb")}catch{}})();const o=d`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -6,4 +6,4 @@ import{w as d}from"./lit-element-wjYUA6aF.js";(function(){try{var a=typeof windo
6
6
  clip-rule="evenodd"
7
7
  />
8
8
  </svg>`;export{o as extensionSvg};
9
- //# sourceMappingURL=extension-BXZVsCm9.js.map
9
+ //# sourceMappingURL=extension-02r3DmNk.js.map
@@ -0,0 +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:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="496524f8-3264-41d8-af34-175192408aff",e._sentryDebugIdIdentifier="sentry-dbid-496524f8-3264-41d8-af34-175192408aff")}catch{}})();const l=d`<svg fill="none" viewBox="0 0 14 15">
2
+ <path
3
+ fill="currentColor"
4
+ fill-rule="evenodd"
5
+ d="M3.74 3.99a1 1 0 0 1 1-1H11a1 1 0 0 1 1 1v6.26a1 1 0 0 1-2 0V6.4l-6.3 6.3a1 1 0 0 1-1.4-1.42l6.29-6.3H4.74a1 1 0 0 1-1-1Z"
6
+ clip-rule="evenodd"
7
+ />
8
+ </svg>`;export{l as externalLinkSvg};
9
+ //# sourceMappingURL=external-link-CGMMz88J.js.map
@@ -0,0 +1,2 @@
1
+ import{f as N,H as T}from"./prepare-contract-call-RHFlvvVY.js";import"./utils-CIkjve2U.js";import"./sentry-SqoaCfGs.js";import"./react-DrXI7vJR.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="b41a6574-02c2-40c7-a170-32d4b709f881",t._sentryDebugIdIdentifier="sentry-dbid-b41a6574-02c2-40c7-a170-32d4b709f881")}catch{}})();const C="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",U=C.length,L=C.charAt(0),M=Math.log(256)/Math.log(U);function v(t){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length===0)return"";let e=0,i=0,n=0;const s=t.length;for(;n!==s&&t[n]===0;)n++,e++;const f=(s-n)*M+1>>>0,a=new Uint8Array(f);for(;n!==s;){let x=t[n]||0,b=0;for(let y=f-1;(x!==0||b<i)&&y!==-1;y--,b++)x+=256*(a[y]||0)>>>0,a[y]=x%U>>>0,x=x/U>>>0;if(x!==0)throw new Error("Non-zero carry");i=b,n++}let l=f-i;for(;l!==f&&a[l]===0;)l++;let u=L.repeat(e);for(;l<f;++l)u+=C.charAt(a[l]||0);return u}let o,E,r=0,D={},w,P;const k=0;let _=0,m,j,z;const O={mapsAsObjects:!0,useRecords:!1};function F(t){let e;if(t<16&&(e=$(t)))return e;if(t>64&&decoder)return decoder.decode(o.subarray(r,r+=t));const i=r+t,n=[];for(e="";r<i;){const s=o[r++];if((s&128)===0)n.push(s);else if((s&224)===192){const f=o[r++]&63;n.push((s&31)<<6|f)}else if((s&240)===224){const f=o[r++]&63,a=o[r++]&63;n.push((s&31)<<12|f<<6|a)}else if((s&248)===240){const f=o[r++]&63,a=o[r++]&63,l=o[r++]&63;let u=(s&7)<<18|f<<12|a<<6|l;u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u)}else n.push(s);n.length>=4096&&(e+=d.apply(String,n),n.length=0)}return n.length>0&&(e+=d.apply(String,n)),e}class I{constructor(){Object.assign(this,O)}decodeKey(e){return e}decode(e,i=-1){E=i>-1?i:e.length,r=0,_=0,P=null,m=null,o=e;try{z=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(n){throw o=null,e instanceof Uint8Array?n:new Error(`Source must be a Uint8Array or Buffer but was a ${e&&typeof e=="object"?e.constructor.name:typeof e}`)}return this instanceof I?(D=this,this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),(!w||w.length>0)&&(w=[])):(D=O,(!w||w.length>0)&&(w=[])),H()}}function H(){try{const t=S();if(m){if(r>=m.postBundlePosition){const e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}r=m.postBundlePosition,m=null}if(r===E)w=null,o=null,j&&(j=null);else if(r>E){const e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}else throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw q(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function S(){let t=o[r++];const e=t>>5;if(t=t&31,t>23)switch(t){case 24:t=o[r++];break;default:throw new Error(`Unknown token ${t}`)}switch(e){case 0:return t;case 1:return~t;case 2:return W(t);case 3:if(_>=r)return P.slice(r-k,(r+=t)-k);if(_===0&&E<140&&t<32){const i=t<16?$(t):K(t);if(i!==null)return i}return F(t);case 4:{const i=new Array(t);for(let n=0;n<t;n++)i[n]=S();return i}case 5:{const i={};for(let n=0;n<t;n++)i[J(S())]=S();return i}default:if(Number.isNaN(t)){const i=new Error("Unexpected end of CBOR data");throw i.incomplete=!0,i}throw new Error(`Unknown CBOR token ${t}`)}}function J(t){if(typeof t=="string")return t==="__proto__"?"__proto_":t;if(typeof t!="object")return t.toString();throw new Error(`Invalid property name type ${typeof t}`)}const d=String.fromCharCode;function K(t){const e=r,i=new Array(t);for(let n=0;n<t;n++){const s=o[r++];if((s&128)>0){r=e;return}i[n]=s}return d.apply(String,i)}function $(t){if(t<4){if(t<2){if(t===0)return"";const V=o[r++];if((V&128)>1){r-=1;return}return d(V)}const c=o[r++],p=o[r++];if((c&128)>0||(p&128)>0){r-=2;return}if(t<3)return d(c,p);const h=o[r++];if((h&128)>0){r-=3;return}return d(c,p,h)}const e=o[r++],i=o[r++],n=o[r++],s=o[r++];if((e&128)>0||(i&128)>0||(n&128)>0||(s&128)>0){r-=4;return}if(t<6){if(t===4)return d(e,i,n,s);const c=o[r++];if((c&128)>0){r-=5;return}return d(e,i,n,s,c)}if(t<8){const c=o[r++],p=o[r++];if((c&128)>0||(p&128)>0){r-=6;return}if(t<7)return d(e,i,n,s,c,p);const h=o[r++];if((h&128)>0){r-=7;return}return d(e,i,n,s,c,p,h)}const f=o[r++],a=o[r++],l=o[r++],u=o[r++];if((f&128)>0||(a&128)>0||(l&128)>0||(u&128)>0){r-=8;return}if(t<10){if(t===8)return d(e,i,n,s,f,a,l,u);const c=o[r++];if((c&128)>0){r-=9;return}return d(e,i,n,s,f,a,l,u,c)}if(t<12){const c=o[r++],p=o[r++];if((c&128)>0||(p&128)>0){r-=10;return}if(t<11)return d(e,i,n,s,f,a,l,u,c,p);const h=o[r++];if((h&128)>0){r-=11;return}return d(e,i,n,s,f,a,l,u,c,p,h)}const x=o[r++],b=o[r++],y=o[r++],g=o[r++];if((x&128)>0||(b&128)>0||(y&128)>0||(g&128)>0){r-=12;return}if(t<14){if(t===12)return d(e,i,n,s,f,a,l,u,x,b,y,g);const c=o[r++];if((c&128)>0){r-=13;return}return d(e,i,n,s,f,a,l,u,x,b,y,g,c)}const A=o[r++],B=o[r++];if((A&128)>0||(B&128)>0){r-=14;return}if(t<15)return d(e,i,n,s,f,a,l,u,x,b,y,g,A,B);const R=o[r++];if((R&128)>0){r-=15;return}return d(e,i,n,s,f,a,l,u,x,b,y,g,A,B,R)}function W(t){return D.copyBuffers?Uint8Array.prototype.slice.call(o,r,r+=t):o.subarray(r,r+=t)}function q(){o=null,j=null,w=null}const G=new Array(147);for(let t=0;t<256;t++)G[t]=+`1e${Math.floor(45.15-t*.30103)}`;const Q=new I,X=Q.decode;function Y(t){return N(t,{strict:!1})?t:`0x${t}`}function nt(t){const e=T(Y(t)),i=e[e.length-2]*256+e[e.length-1],n=e.length-2-i;if(n<0||n>e.length)return;const s=e.slice(n,-2),f=X(s);if("ipfs"in f)return`ipfs://${v(f.ipfs)}`}export{nt as extractIPFSUri};
2
+ //# sourceMappingURL=extractIPFS-CdnqFjzP.js.map
@@ -1,4 +1,4 @@
1
- import{w as i}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new f.Error().stack;l&&(f._sentryDebugIds=f._sentryDebugIds||{},f._sentryDebugIds[l]="ebb9dcf4-f512-42ed-9a93-f00b8ba51919",f._sentryDebugIdIdentifier="sentry-dbid-ebb9dcf4-f512-42ed-9a93-f00b8ba51919")}catch{}})();const h=i`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as e}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new f.Error().stack;l&&(f._sentryDebugIds=f._sentryDebugIds||{},f._sentryDebugIds[l]="2687628b-1d23-4193-8948-9e5febe47b22",f._sentryDebugIdIdentifier="sentry-dbid-2687628b-1d23-4193-8948-9e5febe47b22")}catch{}})();const h=e`<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="#1877F2" />
@@ -24,4 +24,4 @@ import{w as i}from"./lit-element-wjYUA6aF.js";(function(){try{var f=typeof windo
24
24
  <clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
25
25
  </defs>
26
26
  </svg>`;export{h as facebookSvg};
27
- //# sourceMappingURL=facebook-Ce3bxU5i.js.map
27
+ //# sourceMappingURL=facebook-D9vyDeMs.js.map
@@ -1,4 +1,4 @@
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:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="034767ee-452a-4807-9417-af703b341f44",e._sentryDebugIdIdentifier="sentry-dbid-034767ee-452a-4807-9417-af703b341f44")}catch{}})();const r=t`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
1
+ import{w as f}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]="61e8d705-65b1-4b57-bd26-078d4259d6a3",e._sentryDebugIdIdentifier="sentry-dbid-61e8d705-65b1-4b57-bd26-078d4259d6a3")}catch{}})();const h=f`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
2
2
  <rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
3
3
  <path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
4
4
  <path
@@ -9,5 +9,5 @@ import{w as t}from"./lit-element-wjYUA6aF.js";(function(){try{var e=typeof windo
9
9
  fill="#fff"
10
10
  d="m225 320 21.16 71.46h17.9v289.09a16.29 16.29 0 0 0-16.28 16.24v19.49h-3.25a16.3 16.3 0 0 0-16.28 16.24V752h182.26v-19.48a16.22 16.22 0 0 0-16.28-16.24h-3.25v-19.5a16.22 16.22 0 0 0-16.28-16.23h-19.52V320H225Zm400.3 360.55a16.3 16.3 0 0 0-15.04 10.02 16.2 16.2 0 0 0-1.24 6.22v19.49h-3.25a16.29 16.29 0 0 0-16.27 16.24V752h182.24v-19.48a16.23 16.23 0 0 0-16.27-16.24h-3.25v-19.5a16.2 16.2 0 0 0-10.04-15 16.3 16.3 0 0 0-6.23-1.23v-289.1h17.9L775 320H644.82v360.55H625.3Z"
11
11
  />
12
- </svg>`;export{r as farcasterSvg};
13
- //# sourceMappingURL=farcaster-5HoyJqWe.js.map
12
+ </svg>`;export{h as farcasterSvg};
13
+ //# sourceMappingURL=farcaster-CUy-7jKk.js.map
@@ -1,6 +1,6 @@
1
- import{C as g,x as y,a6 as m,v as u,B as k,z as S}from"./W3MFrameProviderSingleton-BZDRIDaX.js";import{az as A,au as p}from"./NetworkUtil-eeGGUC7p.js";import"./dcl-schemas--SOz4s6t.js";import"./react-CPKOypa5.js";import"./index-DJY8bktM.js";import"./sentry-Dhl3FQKR.js";import"./index-CGKgopQY.js";import"./events-dtXWOsMC.js";import"./index-D7Vr2oVM.js";import"./ethers-BGK6CGbc.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-BmvHJGnt.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]="01dceda4-f169-4ad1-b031-2e9357c30202",r._sentryDebugIdIdentifier="sentry-dbid-01dceda4-f169-4ad1-b031-2e9357c30202")}catch{}})();class N{constructor(e){this.getNonce=e.getNonce}async createMessage(e){const t={accountAddress:e.accountAddress,chainId:e.chainId,version:"1",domain:typeof document>"u"?"Unknown Domain":document.location.host,uri:typeof document>"u"?"Unknown URI":document.location.href,resources:this.resources,nonce:await this.getNonce(e),issuedAt:this.stringifyDate(new Date),statement:void 0,expirationTime:void 0,notBefore:void 0};return Object.assign(t,{toString:()=>this.stringify(t)})}stringify(e){var n;const t=this.getNetworkName(e.chainId);return[`${e.domain} wants you to sign in with your ${t} account:`,e.accountAddress,e.statement?`
1
+ import{C as g,x as y,a6 as m,v as u,B as k,z as S}from"./W3MFrameProviderSingleton-CoxZjEAW.js";import{az as A,au as p}from"./NetworkUtil-6HpBot6Z.js";import"./dcl-schemas-BYdQ7kkG.js";import"./react-DrXI7vJR.js";import"./index-DMCfd_3z.js";import"./sentry-SqoaCfGs.js";import"./index-BvCx6uXB.js";import"./events-C0i8BPHO.js";import"./index-BB5QyTUX.js";import"./ethers-BdNwa1Wm.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-BnqlLDGI.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]="01dceda4-f169-4ad1-b031-2e9357c30202",r._sentryDebugIdIdentifier="sentry-dbid-01dceda4-f169-4ad1-b031-2e9357c30202")}catch{}})();class N{constructor(e){this.getNonce=e.getNonce}async createMessage(e){const t={accountAddress:e.accountAddress,chainId:e.chainId,version:"1",domain:typeof document>"u"?"Unknown Domain":document.location.host,uri:typeof document>"u"?"Unknown URI":document.location.href,resources:this.resources,nonce:await this.getNonce(e),issuedAt:this.stringifyDate(new Date),statement:void 0,expirationTime:void 0,notBefore:void 0};return Object.assign(t,{toString:()=>this.stringify(t)})}stringify(e){var n;const t=this.getNetworkName(e.chainId);return[`${e.domain} wants you to sign in with your ${t} account:`,e.accountAddress,e.statement?`
2
2
  ${e.statement}
3
3
  `:"",`URI: ${e.uri}`,`Version: ${e.version}`,`Chain ID: ${e.chainId}`,`Nonce: ${e.nonce}`,e.issuedAt&&`Issued At: ${e.issuedAt}`,e.expirationTime&&`Expiration Time: ${e.expirationTime}`,e.notBefore&&`Not Before: ${e.notBefore}`,e.requestId&&`Request ID: ${e.requestId}`,((n=e.resources)==null?void 0:n.length)&&e.resources.reduce((s,o)=>`${s}
4
4
  - ${o}`,"Resources:")].filter(s=>typeof s=="string").join(`
5
5
  `).trim()}getNetworkName(e){const t=g.getAllRequestedCaipNetworks();return A.getNetworkNameByCaipNetworkId(t,e)}stringifyDate(e){return e.toISOString()}}class P{constructor(e={}){this.otpUuid=null,this.listeners={sessionChanged:[]},this.localAuthStorageKey=e.localAuthStorageKey||y.SIWX_AUTH_TOKEN,this.localNonceStorageKey=e.localNonceStorageKey||y.SIWX_NONCE_TOKEN,this.required=e.required??!0,this.messenger=new N({getNonce:this.getNonce.bind(this)})}async createMessage(e){return this.messenger.createMessage(e)}async addSession(e){const t=await this.request({method:"POST",key:"authenticate",body:{data:e.data,message:e.message,signature:e.signature,clientId:this.getClientId(),walletInfo:this.getWalletInfo()},headers:["nonce","otp"]});this.setStorageToken(t.token,this.localAuthStorageKey),this.emit("sessionChanged",e),this.setAppKitAccountUser(I(t.token)),this.otpUuid=null}async getSessions(e,t){try{if(!this.getStorageToken(this.localAuthStorageKey))return[];const n=await this.request({method:"GET",key:"me",query:{},headers:["auth"]});if(!n)return[];const s=n.address.toLowerCase()===t.toLowerCase(),o=n.caip2Network===e;if(!s||!o)return[];const i={data:{accountAddress:n.address,chainId:n.caip2Network},message:"",signature:""};return this.emit("sessionChanged",i),this.setAppKitAccountUser(n),[i]}catch{return[]}}async revokeSession(e,t){return Promise.resolve(this.clearStorageTokens())}async setSessions(e){if(e.length===0)this.clearStorageTokens();else{const t=e.find(n=>{var s;return n.data.chainId===((s=m())==null?void 0:s.caipNetworkId)})||e[0];await this.addSession(t)}}getRequired(){return this.required}async getSessionAccount(){if(!this.getStorageToken(this.localAuthStorageKey))throw new Error("Not authenticated");return this.request({method:"GET",key:"me",body:void 0,query:{includeAppKitAccount:!0},headers:["auth"]})}async setSessionAccountMetadata(e=null){if(!this.getStorageToken(this.localAuthStorageKey))throw new Error("Not authenticated");return this.request({method:"PUT",key:"account-metadata",body:{metadata:e},headers:["auth"]})}on(e,t){return this.listeners[e].push(t),()=>{this.listeners[e]=this.listeners[e].filter(n=>n!==t)}}removeAllListeners(){Object.keys(this.listeners).forEach(t=>{this.listeners[t]=[]})}async requestEmailOtp({email:e,account:t}){const n=await this.request({method:"POST",key:"otp",body:{email:e,account:t}});return this.otpUuid=n.uuid,this.messenger.resources=[`email:${e}`],n}confirmEmailOtp({code:e}){return this.request({method:"PUT",key:"otp",body:{code:e},headers:["otp"]})}async request({method:e,key:t,query:n,body:s,headers:o}){var f;const{projectId:i,st:h,sv:w}=this.getSDKProperties(),c=new URL(`${p.W3M_API_URL}/auth/v1/${String(t)}`);c.searchParams.set("projectId",i),c.searchParams.set("st",h),c.searchParams.set("sv",w),n&&Object.entries(n).forEach(([a,l])=>c.searchParams.set(a,String(l)));const d=await fetch(c,{method:e,body:s?JSON.stringify(s):void 0,headers:Array.isArray(o)?o.reduce((a,l)=>{switch(l){case"nonce":a["x-nonce-jwt"]=`Bearer ${this.getStorageToken(this.localNonceStorageKey)}`;break;case"auth":a.Authorization=`Bearer ${this.getStorageToken(this.localAuthStorageKey)}`;break;case"otp":this.otpUuid&&(a["x-otp"]=this.otpUuid);break}return a},{}):void 0});if(!d.ok)throw new Error(await d.text());return(f=d.headers.get("content-type"))!=null&&f.includes("application/json")?d.json():null}getStorageToken(e){return u.getItem(e)}setStorageToken(e,t){u.setItem(t,e)}clearStorageTokens(){this.otpUuid=null,u.removeItem(this.localAuthStorageKey),u.removeItem(this.localNonceStorageKey),this.emit("sessionChanged",void 0)}async getNonce(){const{nonce:e,token:t}=await this.request({method:"GET",key:"nonce"});return this.setStorageToken(t,this.localNonceStorageKey),e}getClientId(){return k.state.clientId}getWalletInfo(){var o;const e=(o=g.getAccountData())==null?void 0:o.connectedWalletInfo;if(!e)return;if("social"in e&&"identifier"in e){const i=e.social,h=e.identifier;return{type:"social",social:i,identifier:h}}const{name:t,icon:n}=e;let s="unknown";switch(e.type){case"EXTERNAL":case"INJECTED":case"ANNOUNCED":s="extension";break;case"WALLET_CONNECT":s="walletconnect";break;default:s="unknown"}return{type:s,name:t,icon:n}}getSDKProperties(){return S._getSdkProperties()}emit(e,t){this.listeners[e].forEach(n=>n(t))}setAppKitAccountUser(e){const{email:t}=e;t&&Object.values(p.CHAIN).forEach(n=>{g.setAccountProp("user",{email:t},n)})}}function I(r){const e=r.split(".");if(e.length!==3)throw new Error("Invalid token");const t=e[1];if(typeof t!="string")throw new Error("Invalid token");const n=t.replace(/-/gu,"+").replace(/_/gu,"/"),s=n.padEnd(n.length+(4-n.length%4)%4,"=");return JSON.parse(atob(s))}export{P as ReownAuthentication,N as ReownAuthenticationMessenger};
6
- //# sourceMappingURL=features-CXUhxSHE.js.map
6
+ //# sourceMappingURL=features-CICfS7ce.js.map
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/to-serializable-transaction-Bsbzt-I2.js","_assets/index-D7Vr2oVM.js","_assets/react-CPKOypa5.js","_assets/dcl-schemas--SOz4s6t.js","_assets/sentry-Dhl3FQKR.js","_assets/ethers-BGK6CGbc.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/prepare-contract-call-DSjIXieB.js","_assets/utils-C3caSBM-.js","_assets/transaction-DKG_a6g-.js"])))=>i.map(i=>d[i]);
2
- import{_ as c}from"./index-D7Vr2oVM.js";import{b as s}from"./uint8-array-BMe04WIx.js";import{n as d}from"./prepare-contract-call-DSjIXieB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7c7c11d4-9518-485c-b5b0-3e7b05ac370d",e._sentryDebugIdIdentifier="sentry-dbid-7c7c11d4-9518-485c-b5b0-3e7b05ac370d")}catch{}})();const f="data:application/json;base64";function u(e){return!!e.toLowerCase().startsWith(f)}function l(e){const o=e.indexOf(","),r=e.slice(o+1);return s(r)}const w="data:application/json;utf-8";function b(e){return!!e.toLowerCase().startsWith(w)}function h(e){const o=e.indexOf(","),r=e.slice(o+1);try{return decodeURIComponent(r)}catch{return r}}async function _(e){const{client:o,tokenId:r,tokenUri:n}=e;if(u(n))try{return JSON.parse(l(n))}catch(t){throw console.error("Failed to fetch base64 encoded NFT",{tokenId:r,tokenUri:n},t),t}if(b(n))try{return JSON.parse(h(n))}catch(t){throw console.error("Failed to fetch utf8 encoded NFT",{tokenId:r,tokenUri:n},t),t}const{download:a}=await c(async()=>{const{download:t}=await import("./to-serializable-transaction-Bsbzt-I2.js").then(i=>i.L);return{download:t}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]));try{if(!n.includes("{id}"))return await(await a({client:o,uri:n})).json()}catch(t){throw console.error("Failed to fetch non-dynamic NFT",{tokenId:r,tokenUri:n},t),t}try{try{return await(await a({client:o,uri:n.replace("{id}",d(r,{size:32}).slice(2))})).json()}catch{return await(await a({client:o,uri:n.replace("{id}",r.toString())})).json()}}catch(t){throw console.error("Failed to fetch dynamic NFT",{tokenId:r,tokenUri:n},t),t}}export{_ as f};
3
- //# sourceMappingURL=fetchTokenMetadata-D2sHJ20d.js.map
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/to-serializable-transaction-DA0W2RfI.js","_assets/index-BB5QyTUX.js","_assets/react-DrXI7vJR.js","_assets/dcl-schemas-BYdQ7kkG.js","_assets/sentry-SqoaCfGs.js","_assets/ethers-BdNwa1Wm.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/prepare-contract-call-RHFlvvVY.js","_assets/utils-CIkjve2U.js","_assets/transaction-BtG_MHVn.js"])))=>i.map(i=>d[i]);
2
+ import{_ as s}from"./index-BB5QyTUX.js";import{b as c}from"./uint8-array-BMe04WIx.js";import{n as d}from"./prepare-contract-call-RHFlvvVY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="61e61030-f04b-4914-be2e-b352865b1b79",e._sentryDebugIdIdentifier="sentry-dbid-61e61030-f04b-4914-be2e-b352865b1b79")}catch{}})();const f="data:application/json;base64";function u(e){return!!e.toLowerCase().startsWith(f)}function l(e){const o=e.indexOf(","),r=e.slice(o+1);return c(r)}const b="data:application/json;utf-8";function w(e){return!!e.toLowerCase().startsWith(b)}function h(e){const o=e.indexOf(","),r=e.slice(o+1);try{return decodeURIComponent(r)}catch{return r}}async function _(e){const{client:o,tokenId:r,tokenUri:n}=e;if(u(n))try{return JSON.parse(l(n))}catch(t){throw console.error("Failed to fetch base64 encoded NFT",{tokenId:r,tokenUri:n},t),t}if(w(n))try{return JSON.parse(h(n))}catch(t){throw console.error("Failed to fetch utf8 encoded NFT",{tokenId:r,tokenUri:n},t),t}const{download:a}=await s(async()=>{const{download:t}=await import("./to-serializable-transaction-DA0W2RfI.js").then(i=>i.L);return{download:t}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]));try{if(!n.includes("{id}"))return await(await a({client:o,uri:n})).json()}catch(t){throw console.error("Failed to fetch non-dynamic NFT",{tokenId:r,tokenUri:n},t),t}try{try{return await(await a({client:o,uri:n.replace("{id}",d(r,{size:32}).slice(2))})).json()}catch{return await(await a({client:o,uri:n.replace("{id}",r.toString())})).json()}}catch(t){throw console.error("Failed to fetch dynamic NFT",{tokenId:r,tokenUri:n},t),t}}export{_ as f};
3
+ //# sourceMappingURL=fetchTokenMetadata-DMUj_PU3.js.map
@@ -1,4 +1,4 @@
1
- import{t as a,s as r}from"./index-D7Vr2oVM.js";import"./react-CPKOypa5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="1f1c03d9-c365-4827-be7b-02376e4c5757",t._sentryDebugIdIdentifier="sentry-dbid-1f1c03d9-c365-4827-be7b-02376e4c5757")}catch{}})();const{colors:e}=a,s=r.input`
1
+ import{t as a,s as r}from"./index-BB5QyTUX.js";import"./react-DrXI7vJR.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="1f1c03d9-c365-4827-be7b-02376e4c5757",t._sentryDebugIdIdentifier="sentry-dbid-1f1c03d9-c365-4827-be7b-02376e4c5757")}catch{}})();const{colors:e}=a,s=r.input`
2
2
  --box: 17.143px;
3
3
  position: relative;
4
4
  appearance: none;
@@ -68,4 +68,4 @@ import{t as a,s as r}from"./index-D7Vr2oVM.js";import"./react-CPKOypa5.js";(func
68
68
  font: inherit;
69
69
  }
70
70
  `;export{s as C,d as F};
71
- //# sourceMappingURL=field.styles-lQKL7wnA.js.map
71
+ //# sourceMappingURL=field.styles-ByoreJ6e.js.map
@@ -1,9 +1,9 @@
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]="e08b83d9-7b3b-4855-a796-a0525e2b65ed",e._sentryDebugIdIdentifier="sentry-dbid-e08b83d9-7b3b-4855-a796-a0525e2b65ed")}catch{}})();const o=n`<svg fill="none" viewBox="0 0 16 16">
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]="52d583b2-8809-4cfc-a308-5c7946a9b99f",e._sentryDebugIdIdentifier="sentry-dbid-52d583b2-8809-4cfc-a308-5c7946a9b99f")}catch{}})();const f=n`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
5
5
  d="M0 3a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm2.63 5.25a1 1 0 0 1 1-1h8.75a1 1 0 1 1 0 2H3.63a1 1 0 0 1-1-1Zm2.62 5.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 0 2h-3.5a1 1 0 0 1-1-1Z"
6
6
  clip-rule="evenodd"
7
7
  />
8
- </svg>`;export{o as filtersSvg};
9
- //# sourceMappingURL=filters-B_7HUVyj.js.map
8
+ </svg>`;export{f as filtersSvg};
9
+ //# sourceMappingURL=filters-BlIPZ-w_.js.map
@@ -1,4 +1,4 @@
1
- import{g as X}from"./react-CPKOypa5.js";(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},y=new p.Error().stack;y&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[y]="81dea6e3-5b52-43e1-87f9-c6b03a3ad522",p._sentryDebugIdIdentifier="sentry-dbid-81dea6e3-5b52-43e1-87f9-c6b03a3ad522")}catch{}})();function ee(p,y){for(var a=0;a<y.length;a++){const r=y[a];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in p)){const u=Object.getOwnPropertyDescriptor(r,o);u&&Object.defineProperty(p,o,u.get?u:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var V,J;function te(){return J||(J=1,V=(function(p){var y={};function a(r){if(y[r])return y[r].exports;var o=y[r]={i:r,l:!1,exports:{}};return p[r].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=p,a.c=y,a.d=function(r,o,u){a.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:u})},a.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},a.t=function(r,o){if(1&o&&(r=a(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var u=Object.create(null);if(a.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var l in r)a.d(u,l,(function(R){return r[R]}).bind(null,l));return u},a.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return a.d(o,"a",o),o},a.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},a.p="",a(a.s=3)})([function(p,y){p.exports=function(a){return a&&a.__esModule?a:{default:a}}},function(p,y){p.exports=function(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}},function(p,y,a){function r(){return Math.floor(9e4*Math.random())+1e4}Object.defineProperty(y,"__esModule",{value:!0}),y.sendAsyncWrapper=function(o,u){var l=this;return new Promise(function(R,I){l.sendAsync({jsonrpc:"2.0",id:r(),method:o,params:u||[]},function(O,T){O?I(O):R(T.result)})})},y.sendFortmaticAsyncWrapper=function(o){var u=this;return new Promise(function(l,R){u.getProvider().sendFortmaticAsync(o,function(I,O){I?R(I):l(O?O.result:{})})})},y.randomId=r,y.findExistingResponse=function(o,u){for(var l=0;l<o.length;l++)if(o[l].id===u)return o[l];return null}},function(p,y,a){p.exports=a(4)},function(p,y,a){var r=a(0),o=r(a(1)),u=r(a(5)),l=a(2),R="fm_composeSend",I="fm_logout",O="fm_get_balances",T="fm_get_transactions",w="fm_is_logged_in",P="fm_accountSettings",n="fm_deposit",s="fm_get_user",c="fm_configure",f={};p.exports=function b(_,A,x){var v=this;if((0,o.default)(this,b),this.fortmaticClient="https://x2.fortmatic.com",!_)throw new Error("Please provide a Fortmatic API key that you acquired from the developer dashboard.");this.apiKey=_,this.options=x,this.ethNetwork=A,this.queryParams=btoa(JSON.stringify({API_KEY:_,ETH_NETWORK:A})),this.transactions={send:function(m,M){var C=new g(R,{to:m.to,value:m.amount});v.getProvider().sendFortmaticAsync(C,M)}},this.getProvider=function(){return f["fortmatic-".concat(v.queryParams)]||(f["fortmatic-".concat(v.queryParams)]=new u.default(v.fortmaticClient,{API_KEY:_,ETH_NETWORK:A})),f["fortmatic-".concat(v.queryParams)]},this.user={login:function(){return v.getProvider().enable()},logout:function(){v.getProvider().account=null,v.getProvider().network=null;var m=new g(I);return l.sendFortmaticAsyncWrapper.call(v,m)},getUser:function(){var m=new g(s);return l.sendFortmaticAsyncWrapper.call(v,m)},getBalances:function(){var m=new g(O);return l.sendFortmaticAsyncWrapper.call(v,m)},getTransactions:function(){var m=new g(T);return l.sendFortmaticAsyncWrapper.call(v,m)},isLoggedIn:function(){var m=new g(w);return l.sendFortmaticAsyncWrapper.call(v,m)},settings:function(){var m=new g(P);return l.sendFortmaticAsyncWrapper.call(v,m)},deposit:function(m){var M=new g(n,m);return l.sendFortmaticAsyncWrapper.call(v,M)}},this.configure=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=new g(c);return M.params=[m],l.sendFortmaticAsyncWrapper.call(v,M)}};var g=function b(_,A){(0,o.default)(this,b),this.id=(0,l.randomId)(),this.method=_,this.params=A?[A]:[{}]}},function(p,y,a){var r=a(0);Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var o=r(a(6)),u=r(a(9)),l=r(a(1)),R=r(a(10)),I=a(11),O=r(a(12)),T=a(2),w=(function(){function P(n,s){if((0,l.default)(this,P),this.fortmaticClient=n,this.requests={},this.queue=[],this.account=null,this.network=null,this.isFortmatic=!0,this.overlayReady=!1,this.isLoggedIn=!1,this.postMessages={FORTMATIC_HANDLE_BATCH_REQUEST:"FORTMATIC_HANDLE_BATCH_REQUEST",FORTMATIC_HANDLE_REQUEST:"FORTMATIC_HANDLE_REQUEST",FORTMATIC_HANDLE_FORTMATIC_REQUEST:"FORTMATIC_HANDLE_FORTMATIC_REQUEST",FORTMATIC_HANDLE_RESPONSE:"FORTMATIC_HANDLE_RESPONSE",FORTMATIC_OVERLAY_READY:"FORTMATIC_OVERLAY_READY",FORTMATIC_SHOW_OVERLAY:"FORTMATIC_SHOW_OVERLAY",FORTMATIC_HIDE_OVERLAY:"FORTMATIC_HIDE_OVERLAY",FORTMATIC_USER_DENIED:"FORTMATIC_USER_DENIED",FORTMATIC_USER_LOGOUT:"FORTMATIC_USER_LOGOUT",FORTMATIC_UNAUTHORIZED_API_KEY:"FORTMATIC_UNAUTHORIZED_API_KEY"},!s.API_KEY)throw new Error("Please provide a Fortmatic API key that you acquired from the developer dashboard.");this.options={API_KEY:s.API_KEY,ETH_NETWORK:s.ETH_NETWORK,DOMAIN_ORIGIN:window.location?window.location.origin:"",version:I.version},this.queryParams=btoa(JSON.stringify(this.options)),this.constructPostMessage(),this.overlay=this.createOverlay(),this.listenMessage()}return(0,R.default)(P,[{key:"constructPostMessage",value:function(){var n=this;Object.keys(this.postMessages).map(function(s){n.postMessages[s]+="-".concat(n.queryParams)})}},{key:"createOverlay",value:function(){var n=this;return new Promise(function(s,c){var f=function(){if((function(){var A=!0,x=!1,v=void 0;try{for(var m,M=document.getElementsByClassName("fortmatic-iframe")[Symbol.iterator]();!(A=(m=M.next()).done);A=!0)if(m.value.src.includes(n.queryParams))return!1}catch(C){x=!0,v=C}finally{try{A||M.return==null||M.return()}finally{if(x)throw v}}return!0})()){var g=document.createElement("style");g.innerHTML=O.default.css,g.type="text/css",document.head.appendChild(g);var b=document.createElement("iframe");b.className="fortmatic-iframe",b.src="".concat(n.fortmaticClient,"/send?params=").concat(n.queryParams),document.body.appendChild(b);var _=document.createElement("img");_.src="https://static.fortmatic.com/assets/trans.gif",document.body.appendChild(_),s({iframe:b})}else console.error("Fortmatic: Duplicate instances found.")};["loaded","interactive","complete"].indexOf(document.readyState)>-1?f():window.addEventListener("load",f.bind(n),!1)})}},{key:"showOverlay",value:(function(){var n=(0,u.default)(o.default.mark(function s(){return o.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.overlay;case 2:c.sent.iframe.style.display="block";case 4:case"end":return c.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"hideOverlay",value:(function(){var n=(0,u.default)(o.default.mark(function s(){return o.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.overlay;case 2:c.sent.iframe.style.display="none";case 4:case"end":return c.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"sendAsync",value:function(n,s){n.length>0?this.enqueue({payload:{id:(0,T.randomId)(),batch:n.map(function(c){return c.id=(0,T.randomId)(),c}),method:"eth_batchRequest"},cb:s}):this.enqueue({payload:n,cb:s})}},{key:"sendFortmaticAsync",value:function(n,s){this.enqueue({payload:n,cb:s,isNative:!0})}},{key:"send",value:function(n,s){if(typeof n=="string")return T.sendAsyncWrapper.call(this,n,s);if(!s){console.warn("Non-async web3 methods will be deprecated in web3 > 1.0, and are not supported by the Fortmatic provider. An async method to be used instead."),this.sendAsync(n,function(){});var c={};switch(n.method){case"eth_accounts":c=this.account?[this.account]:[];break;case"eth_coinbase":c=this.account;break;case"net_version":c=this.network||(this.options.API_KEY.startsWith("pk_live")?1:4);break;case"eth_uninstallFilter":c=!0;break;default:c={}}return{id:n.id,jsonrpc:n.jsonrpc,result:c}}this.sendAsync(n,s)}},{key:"enqueue",value:function(n){this.queue.push(n),this.overlayReady&&this.dequeue()}},{key:"dequeue",value:(function(){var n=(0,u.default)(o.default.mark(function s(){var c,f,g,b=this;return o.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(this.queue.length!==0){_.next=2;break}return _.abrupt("return");case 2:if(!(c=this.queue.shift())){_.next=11;break}return f=c.payload,g=c.cb,f.id=(0,T.randomId)(),_.next=9,this.postMessage(c.isNative?this.postMessages.FORTMATIC_HANDLE_FORTMATIC_REQUEST:this.postMessages.FORTMATIC_HANDLE_REQUEST,c.payload);case 9:f.batch&&f.batch.length>0?(f.batch.forEach(function(A){b.requests[A.id]={parentId:f.id,payload:A,cb:function(x,v){var m=b.requests[f.id].batchResponse;if(x&&x.response&&!(0,T.findExistingResponse)(m,x.response.id))throw m.push({jsonrpc:"2.0",id:x.response.id,error:{code:x.response.code,message:x.response.message}}),b.requests[f.id].cb(null,m),x.response;if(v&&v.result&&!(0,T.findExistingResponse)(m,v.id))return m.push(v);throw new Error("Fortmatic: unexpected callback behavior")}}}),this.requests[f.id]={payload:f,cb:g,batchResponse:[]}):this.requests[f.id]={payload:f,cb:g},this.dequeue();case 11:case"end":return _.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"postMessage",value:(function(){var n=(0,u.default)(o.default.mark(function s(c,f){var g;return o.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,this.overlay;case 2:if(!(g=b.sent).iframe.contentWindow){b.next=7;break}g.iframe.contentWindow.postMessage({msgType:c,payload:f},"*"),b.next=8;break;case 7:throw new Error("Fortmatic: Modal is not ready.");case 8:case"end":return b.stop()}},s,this)}));return function(s,c){return n.apply(this,arguments)}})()},{key:"enable",value:function(){return T.sendAsyncWrapper.call(this,"eth_accounts")}},{key:"listenMessage",value:function(){var n=this;window.addEventListener("message",function(s){if(s.origin===n.fortmaticClient){var c=s.data.response?s.data.response.id:null;switch(s.data.msgType){case n.postMessages.FORTMATIC_OVERLAY_READY:n.overlayReady=!0,n.dequeue();break;case n.postMessages.FORTMATIC_HANDLE_RESPONSE:try{n.requests[c].cb(null,s.data.response);var f=n.requests[c].parentId;f&&n.requests[f].payload.batch.length===n.requests[f].batchResponse.length&&n.requests[f].cb(null,n.requests[f].batchResponse),n.requests[c].payload.method==="eth_accounts"?n.account=s.data.response.result[0]:n.requests[c].payload.method==="eth_coinbase"?n.account=s.data.response.result:n.requests[c].payload.method==="net_version"&&(n.network=s.data.response.result)}catch{}n.isLoggedIn=!0,n.dequeue();break;case n.postMessages.FORTMATIC_HIDE_OVERLAY:n.hideOverlay();break;case n.postMessages.FORTMATIC_SHOW_OVERLAY:n.showOverlay();break;case n.postMessages.FORTMATIC_USER_LOGOUT:n.account=null,n.network=null,n.isLoggedIn=!1;break;case n.postMessages.FORTMATIC_UNAUTHORIZED_API_KEY:throw n.overlayReady=!1,new Error("Given API key is not authorized to access the resource.");case n.postMessages.FORTMATIC_USER_DENIED:if(c){var g=s.data.response&&s.data.response.message?s.data.response.message:"Fortmatic: Modal was closed without executing action!",b=s.data.response&&s.data.response.code?s.data.response.code:1;n.requests[c].cb({message:g,code:b,response:s.data.response})}else n.queue.forEach(function(_){return _.cb({message:"Fortmatic: Modal was closed without executing action!",code:1})});n.dequeue()}}})}}]),P})();y.default=w},function(p,y,a){p.exports=a(7)},function(p,y,a){var r=(function(){return this||typeof self=="object"&&self})()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,u=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,p.exports=a(8),o)r.regeneratorRuntime=u;else try{delete r.regeneratorRuntime}catch{r.regeneratorRuntime=void 0}},function(p,y){(function(a){var r,o=Object.prototype,u=o.hasOwnProperty,l=typeof Symbol=="function"?Symbol:{},R=l.iterator||"@@iterator",I=l.asyncIterator||"@@asyncIterator",O=l.toStringTag||"@@toStringTag",T=typeof p=="object",w=a.regeneratorRuntime;if(w)T&&(p.exports=w);else{(w=a.regeneratorRuntime=T?p.exports:{}).wrap=x;var P="suspendedStart",n="suspendedYield",s="executing",c="completed",f={},g={};g[R]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(G([])));_&&_!==o&&u.call(_,R)&&(g=_);var A=C.prototype=m.prototype=Object.create(g);M.prototype=A.constructor=C,C.constructor=M,C[O]=M.displayName="GeneratorFunction",w.isGeneratorFunction=function(t){var e=typeof t=="function"&&t.constructor;return!!e&&(e===M||(e.displayName||e.name)==="GeneratorFunction")},w.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,O in t||(t[O]="GeneratorFunction")),t.prototype=Object.create(A),t},w.awrap=function(t){return{__await:t}},B(U.prototype),U.prototype[I]=function(){return this},w.AsyncIterator=U,w.async=function(t,e,d,h){var i=new U(x(t,e,d,h));return w.isGeneratorFunction(e)?i:i.next().then(function(F){return F.done?F.value:i.next()})},B(A),A[O]="Generator",A[R]=function(){return this},A.toString=function(){return"[object Generator]"},w.keys=function(t){var e=[];for(var d in t)e.push(d);return e.reverse(),function h(){for(;e.length;){var i=e.pop();if(i in t)return h.value=i,h.done=!1,h}return h.done=!0,h}},w.values=G,K.prototype={constructor:K,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(Y),!t)for(var e in this)e.charAt(0)==="t"&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if(t.type==="throw")throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function d(W,E){return F.type="throw",F.arg=t,e.next=W,E&&(e.method="next",e.arg=r),!!E}for(var h=this.tryEntries.length-1;h>=0;--h){var i=this.tryEntries[h],F=i.completion;if(i.tryLoc==="root")return d("end");if(i.tryLoc<=this.prev){var j=u.call(i,"catchLoc"),q=u.call(i,"finallyLoc");if(j&&q){if(this.prev<i.catchLoc)return d(i.catchLoc,!0);if(this.prev<i.finallyLoc)return d(i.finallyLoc)}else if(j){if(this.prev<i.catchLoc)return d(i.catchLoc,!0)}else{if(!q)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return d(i.finallyLoc)}}}},abrupt:function(t,e){for(var d=this.tryEntries.length-1;d>=0;--d){var h=this.tryEntries[d];if(h.tryLoc<=this.prev&&u.call(h,"finallyLoc")&&this.prev<h.finallyLoc){var i=h;break}}i&&(t==="break"||t==="continue")&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var F=i?i.completion:{};return F.type=t,F.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(F)},complete:function(t,e){if(t.type==="throw")throw t.arg;return t.type==="break"||t.type==="continue"?this.next=t.arg:t.type==="return"?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):t.type==="normal"&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var d=this.tryEntries[e];if(d.finallyLoc===t)return this.complete(d.completion,d.afterLoc),Y(d),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var d=this.tryEntries[e];if(d.tryLoc===t){var h=d.completion;if(h.type==="throw"){var i=h.arg;Y(d)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,d){return this.delegate={iterator:G(t),resultName:e,nextLoc:d},this.method==="next"&&(this.arg=r),f}}}function x(t,e,d,h){var i=e&&e.prototype instanceof m?e:m,F=Object.create(i.prototype),j=new K(h||[]);return F._invoke=(function(q,W,E){var L=P;return function(S,D){if(L===s)throw new Error("Generator is already running");if(L===c){if(S==="throw")throw D;return z()}for(E.method=S,E.arg=D;;){var H=E.delegate;if(H){var N=Q(H,E);if(N){if(N===f)continue;return N}}if(E.method==="next")E.sent=E._sent=E.arg;else if(E.method==="throw"){if(L===P)throw L=c,E.arg;E.dispatchException(E.arg)}else E.method==="return"&&E.abrupt("return",E.arg);L=s;var k=v(q,W,E);if(k.type==="normal"){if(L=E.done?c:n,k.arg===f)continue;return{value:k.arg,done:E.done}}k.type==="throw"&&(L=c,E.method="throw",E.arg=k.arg)}}})(t,d,j),F}function v(t,e,d){try{return{type:"normal",arg:t.call(e,d)}}catch(h){return{type:"throw",arg:h}}}function m(){}function M(){}function C(){}function B(t){["next","throw","return"].forEach(function(e){t[e]=function(d){return this._invoke(e,d)}})}function U(t){var e;this._invoke=function(d,h){function i(){return new Promise(function(F,j){(function q(W,E,L,S){var D=v(t[W],t,E);if(D.type!=="throw"){var H=D.arg,N=H.value;return N&&typeof N=="object"&&u.call(N,"__await")?Promise.resolve(N.__await).then(function(k){q("next",k,L,S)},function(k){q("throw",k,L,S)}):Promise.resolve(N).then(function(k){H.value=k,L(H)},function(k){return q("throw",k,L,S)})}S(D.arg)})(d,h,F,j)})}return e=e?e.then(i,i):i()}}function Q(t,e){var d=t.iterator[e.method];if(d===r){if(e.delegate=null,e.method==="throw"){if(t.iterator.return&&(e.method="return",e.arg=r,Q(t,e),e.method==="throw"))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var h=v(d,t.iterator,e.arg);if(h.type==="throw")return e.method="throw",e.arg=h.arg,e.delegate=null,f;var i=h.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,e.method!=="return"&&(e.method="next",e.arg=r),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function $(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function Y(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function K(t){this.tryEntries=[{tryLoc:"root"}],t.forEach($,this),this.reset(!0)}function G(t){if(t){var e=t[R];if(e)return e.call(t);if(typeof t.next=="function")return t;if(!isNaN(t.length)){var d=-1,h=function i(){for(;++d<t.length;)if(u.call(t,d))return i.value=t[d],i.done=!1,i;return i.value=r,i.done=!0,i};return h.next=h}}return{next:z}}function z(){return{value:r,done:!0}}})((function(){return this||typeof self=="object"&&self})()||Function("return this")())},function(p,y){function a(r,o,u,l,R,I,O){try{var T=r[I](O),w=T.value}catch(P){return void u(P)}T.done?o(w):Promise.resolve(w).then(l,R)}p.exports=function(r){return function(){var o=this,u=arguments;return new Promise(function(l,R){var I=r.apply(o,u);function O(w){a(I,l,R,O,T,"next",w)}function T(w){a(I,l,R,O,T,"throw",w)}O(void 0)})}}},function(p,y){function a(r,o){for(var u=0;u<o.length;u++){var l=o[u];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}p.exports=function(r,o,u){return o&&a(r.prototype,o),u&&a(r,u),r}},function(p){p.exports={name:"fortmatic",version:"1.1.3",description:"Fortmatic Javascript SDK",main:"lib/fortmatic.js",scripts:{build:"WEBPACK_ENV=production webpack","build:dev":"WEBPACK_ENV=development BABEL_ENV=development webpack --progress --colors --watch",test:"nyc --reporter=lcov --reporter=text-summary ava"},author:"Fortmatic <team@fortmatic.com> (https://fortmatic.com/)",license:"MIT",repository:{type:"git",url:"https://github.com/fortmatic/fortmatic-js"},keywords:["Auth","Login","Web3","Crypto","Ethereum","MetaMask","Wallet","Blockchain","Dapp"],homepage:"https://www.fortmatic.com",ava:{require:["@babel/register"],files:["test/**/*.spec.js"],babel:{testOptions:{presets:["@babel/env"],plugins:["@babel/plugin-proposal-function-bind","@babel/plugin-transform-runtime"]}},verbose:!0},nyc:{all:!1,"check-coverage":!0,"per-file":!0,lines:80,statements:80,functions:80,branches:80,include:["src/**/*.js"],exclude:["*/style.js"],require:[],reporter:["html","lcov"]},dependencies:{"@babel/runtime":"7.3.4"},devDependencies:{"@babel/core":"7.3.4","@babel/plugin-proposal-function-bind":"7.2.0","@babel/plugin-transform-modules-commonjs":"7.2.0","@babel/plugin-transform-runtime":"7.3.4","@babel/preset-env":"7.3.4","@babel/register":"7.0.0",ava:"2.2.0","babel-eslint":"10.0.1","babel-loader":"8.0.5",eslint:"5.9.0",lodash:"4.17.11",nyc:"13.1.0",sinon:"7.1.1",webpack:"4.26.1","webpack-cli":"3.1.2"}}},function(p,y,a){y.css=`
1
+ import{g as X}from"./react-DrXI7vJR.js";(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},y=new p.Error().stack;y&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[y]="81dea6e3-5b52-43e1-87f9-c6b03a3ad522",p._sentryDebugIdIdentifier="sentry-dbid-81dea6e3-5b52-43e1-87f9-c6b03a3ad522")}catch{}})();function ee(p,y){for(var a=0;a<y.length;a++){const r=y[a];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in p)){const u=Object.getOwnPropertyDescriptor(r,o);u&&Object.defineProperty(p,o,u.get?u:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var V,J;function te(){return J||(J=1,V=(function(p){var y={};function a(r){if(y[r])return y[r].exports;var o=y[r]={i:r,l:!1,exports:{}};return p[r].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=p,a.c=y,a.d=function(r,o,u){a.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:u})},a.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},a.t=function(r,o){if(1&o&&(r=a(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var u=Object.create(null);if(a.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var l in r)a.d(u,l,(function(R){return r[R]}).bind(null,l));return u},a.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return a.d(o,"a",o),o},a.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},a.p="",a(a.s=3)})([function(p,y){p.exports=function(a){return a&&a.__esModule?a:{default:a}}},function(p,y){p.exports=function(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}},function(p,y,a){function r(){return Math.floor(9e4*Math.random())+1e4}Object.defineProperty(y,"__esModule",{value:!0}),y.sendAsyncWrapper=function(o,u){var l=this;return new Promise(function(R,I){l.sendAsync({jsonrpc:"2.0",id:r(),method:o,params:u||[]},function(O,T){O?I(O):R(T.result)})})},y.sendFortmaticAsyncWrapper=function(o){var u=this;return new Promise(function(l,R){u.getProvider().sendFortmaticAsync(o,function(I,O){I?R(I):l(O?O.result:{})})})},y.randomId=r,y.findExistingResponse=function(o,u){for(var l=0;l<o.length;l++)if(o[l].id===u)return o[l];return null}},function(p,y,a){p.exports=a(4)},function(p,y,a){var r=a(0),o=r(a(1)),u=r(a(5)),l=a(2),R="fm_composeSend",I="fm_logout",O="fm_get_balances",T="fm_get_transactions",w="fm_is_logged_in",P="fm_accountSettings",n="fm_deposit",s="fm_get_user",c="fm_configure",f={};p.exports=function b(_,A,x){var v=this;if((0,o.default)(this,b),this.fortmaticClient="https://x2.fortmatic.com",!_)throw new Error("Please provide a Fortmatic API key that you acquired from the developer dashboard.");this.apiKey=_,this.options=x,this.ethNetwork=A,this.queryParams=btoa(JSON.stringify({API_KEY:_,ETH_NETWORK:A})),this.transactions={send:function(m,M){var C=new g(R,{to:m.to,value:m.amount});v.getProvider().sendFortmaticAsync(C,M)}},this.getProvider=function(){return f["fortmatic-".concat(v.queryParams)]||(f["fortmatic-".concat(v.queryParams)]=new u.default(v.fortmaticClient,{API_KEY:_,ETH_NETWORK:A})),f["fortmatic-".concat(v.queryParams)]},this.user={login:function(){return v.getProvider().enable()},logout:function(){v.getProvider().account=null,v.getProvider().network=null;var m=new g(I);return l.sendFortmaticAsyncWrapper.call(v,m)},getUser:function(){var m=new g(s);return l.sendFortmaticAsyncWrapper.call(v,m)},getBalances:function(){var m=new g(O);return l.sendFortmaticAsyncWrapper.call(v,m)},getTransactions:function(){var m=new g(T);return l.sendFortmaticAsyncWrapper.call(v,m)},isLoggedIn:function(){var m=new g(w);return l.sendFortmaticAsyncWrapper.call(v,m)},settings:function(){var m=new g(P);return l.sendFortmaticAsyncWrapper.call(v,m)},deposit:function(m){var M=new g(n,m);return l.sendFortmaticAsyncWrapper.call(v,M)}},this.configure=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=new g(c);return M.params=[m],l.sendFortmaticAsyncWrapper.call(v,M)}};var g=function b(_,A){(0,o.default)(this,b),this.id=(0,l.randomId)(),this.method=_,this.params=A?[A]:[{}]}},function(p,y,a){var r=a(0);Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var o=r(a(6)),u=r(a(9)),l=r(a(1)),R=r(a(10)),I=a(11),O=r(a(12)),T=a(2),w=(function(){function P(n,s){if((0,l.default)(this,P),this.fortmaticClient=n,this.requests={},this.queue=[],this.account=null,this.network=null,this.isFortmatic=!0,this.overlayReady=!1,this.isLoggedIn=!1,this.postMessages={FORTMATIC_HANDLE_BATCH_REQUEST:"FORTMATIC_HANDLE_BATCH_REQUEST",FORTMATIC_HANDLE_REQUEST:"FORTMATIC_HANDLE_REQUEST",FORTMATIC_HANDLE_FORTMATIC_REQUEST:"FORTMATIC_HANDLE_FORTMATIC_REQUEST",FORTMATIC_HANDLE_RESPONSE:"FORTMATIC_HANDLE_RESPONSE",FORTMATIC_OVERLAY_READY:"FORTMATIC_OVERLAY_READY",FORTMATIC_SHOW_OVERLAY:"FORTMATIC_SHOW_OVERLAY",FORTMATIC_HIDE_OVERLAY:"FORTMATIC_HIDE_OVERLAY",FORTMATIC_USER_DENIED:"FORTMATIC_USER_DENIED",FORTMATIC_USER_LOGOUT:"FORTMATIC_USER_LOGOUT",FORTMATIC_UNAUTHORIZED_API_KEY:"FORTMATIC_UNAUTHORIZED_API_KEY"},!s.API_KEY)throw new Error("Please provide a Fortmatic API key that you acquired from the developer dashboard.");this.options={API_KEY:s.API_KEY,ETH_NETWORK:s.ETH_NETWORK,DOMAIN_ORIGIN:window.location?window.location.origin:"",version:I.version},this.queryParams=btoa(JSON.stringify(this.options)),this.constructPostMessage(),this.overlay=this.createOverlay(),this.listenMessage()}return(0,R.default)(P,[{key:"constructPostMessage",value:function(){var n=this;Object.keys(this.postMessages).map(function(s){n.postMessages[s]+="-".concat(n.queryParams)})}},{key:"createOverlay",value:function(){var n=this;return new Promise(function(s,c){var f=function(){if((function(){var A=!0,x=!1,v=void 0;try{for(var m,M=document.getElementsByClassName("fortmatic-iframe")[Symbol.iterator]();!(A=(m=M.next()).done);A=!0)if(m.value.src.includes(n.queryParams))return!1}catch(C){x=!0,v=C}finally{try{A||M.return==null||M.return()}finally{if(x)throw v}}return!0})()){var g=document.createElement("style");g.innerHTML=O.default.css,g.type="text/css",document.head.appendChild(g);var b=document.createElement("iframe");b.className="fortmatic-iframe",b.src="".concat(n.fortmaticClient,"/send?params=").concat(n.queryParams),document.body.appendChild(b);var _=document.createElement("img");_.src="https://static.fortmatic.com/assets/trans.gif",document.body.appendChild(_),s({iframe:b})}else console.error("Fortmatic: Duplicate instances found.")};["loaded","interactive","complete"].indexOf(document.readyState)>-1?f():window.addEventListener("load",f.bind(n),!1)})}},{key:"showOverlay",value:(function(){var n=(0,u.default)(o.default.mark(function s(){return o.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.overlay;case 2:c.sent.iframe.style.display="block";case 4:case"end":return c.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"hideOverlay",value:(function(){var n=(0,u.default)(o.default.mark(function s(){return o.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.overlay;case 2:c.sent.iframe.style.display="none";case 4:case"end":return c.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"sendAsync",value:function(n,s){n.length>0?this.enqueue({payload:{id:(0,T.randomId)(),batch:n.map(function(c){return c.id=(0,T.randomId)(),c}),method:"eth_batchRequest"},cb:s}):this.enqueue({payload:n,cb:s})}},{key:"sendFortmaticAsync",value:function(n,s){this.enqueue({payload:n,cb:s,isNative:!0})}},{key:"send",value:function(n,s){if(typeof n=="string")return T.sendAsyncWrapper.call(this,n,s);if(!s){console.warn("Non-async web3 methods will be deprecated in web3 > 1.0, and are not supported by the Fortmatic provider. An async method to be used instead."),this.sendAsync(n,function(){});var c={};switch(n.method){case"eth_accounts":c=this.account?[this.account]:[];break;case"eth_coinbase":c=this.account;break;case"net_version":c=this.network||(this.options.API_KEY.startsWith("pk_live")?1:4);break;case"eth_uninstallFilter":c=!0;break;default:c={}}return{id:n.id,jsonrpc:n.jsonrpc,result:c}}this.sendAsync(n,s)}},{key:"enqueue",value:function(n){this.queue.push(n),this.overlayReady&&this.dequeue()}},{key:"dequeue",value:(function(){var n=(0,u.default)(o.default.mark(function s(){var c,f,g,b=this;return o.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(this.queue.length!==0){_.next=2;break}return _.abrupt("return");case 2:if(!(c=this.queue.shift())){_.next=11;break}return f=c.payload,g=c.cb,f.id=(0,T.randomId)(),_.next=9,this.postMessage(c.isNative?this.postMessages.FORTMATIC_HANDLE_FORTMATIC_REQUEST:this.postMessages.FORTMATIC_HANDLE_REQUEST,c.payload);case 9:f.batch&&f.batch.length>0?(f.batch.forEach(function(A){b.requests[A.id]={parentId:f.id,payload:A,cb:function(x,v){var m=b.requests[f.id].batchResponse;if(x&&x.response&&!(0,T.findExistingResponse)(m,x.response.id))throw m.push({jsonrpc:"2.0",id:x.response.id,error:{code:x.response.code,message:x.response.message}}),b.requests[f.id].cb(null,m),x.response;if(v&&v.result&&!(0,T.findExistingResponse)(m,v.id))return m.push(v);throw new Error("Fortmatic: unexpected callback behavior")}}}),this.requests[f.id]={payload:f,cb:g,batchResponse:[]}):this.requests[f.id]={payload:f,cb:g},this.dequeue();case 11:case"end":return _.stop()}},s,this)}));return function(){return n.apply(this,arguments)}})()},{key:"postMessage",value:(function(){var n=(0,u.default)(o.default.mark(function s(c,f){var g;return o.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,this.overlay;case 2:if(!(g=b.sent).iframe.contentWindow){b.next=7;break}g.iframe.contentWindow.postMessage({msgType:c,payload:f},"*"),b.next=8;break;case 7:throw new Error("Fortmatic: Modal is not ready.");case 8:case"end":return b.stop()}},s,this)}));return function(s,c){return n.apply(this,arguments)}})()},{key:"enable",value:function(){return T.sendAsyncWrapper.call(this,"eth_accounts")}},{key:"listenMessage",value:function(){var n=this;window.addEventListener("message",function(s){if(s.origin===n.fortmaticClient){var c=s.data.response?s.data.response.id:null;switch(s.data.msgType){case n.postMessages.FORTMATIC_OVERLAY_READY:n.overlayReady=!0,n.dequeue();break;case n.postMessages.FORTMATIC_HANDLE_RESPONSE:try{n.requests[c].cb(null,s.data.response);var f=n.requests[c].parentId;f&&n.requests[f].payload.batch.length===n.requests[f].batchResponse.length&&n.requests[f].cb(null,n.requests[f].batchResponse),n.requests[c].payload.method==="eth_accounts"?n.account=s.data.response.result[0]:n.requests[c].payload.method==="eth_coinbase"?n.account=s.data.response.result:n.requests[c].payload.method==="net_version"&&(n.network=s.data.response.result)}catch{}n.isLoggedIn=!0,n.dequeue();break;case n.postMessages.FORTMATIC_HIDE_OVERLAY:n.hideOverlay();break;case n.postMessages.FORTMATIC_SHOW_OVERLAY:n.showOverlay();break;case n.postMessages.FORTMATIC_USER_LOGOUT:n.account=null,n.network=null,n.isLoggedIn=!1;break;case n.postMessages.FORTMATIC_UNAUTHORIZED_API_KEY:throw n.overlayReady=!1,new Error("Given API key is not authorized to access the resource.");case n.postMessages.FORTMATIC_USER_DENIED:if(c){var g=s.data.response&&s.data.response.message?s.data.response.message:"Fortmatic: Modal was closed without executing action!",b=s.data.response&&s.data.response.code?s.data.response.code:1;n.requests[c].cb({message:g,code:b,response:s.data.response})}else n.queue.forEach(function(_){return _.cb({message:"Fortmatic: Modal was closed without executing action!",code:1})});n.dequeue()}}})}}]),P})();y.default=w},function(p,y,a){p.exports=a(7)},function(p,y,a){var r=(function(){return this||typeof self=="object"&&self})()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,u=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,p.exports=a(8),o)r.regeneratorRuntime=u;else try{delete r.regeneratorRuntime}catch{r.regeneratorRuntime=void 0}},function(p,y){(function(a){var r,o=Object.prototype,u=o.hasOwnProperty,l=typeof Symbol=="function"?Symbol:{},R=l.iterator||"@@iterator",I=l.asyncIterator||"@@asyncIterator",O=l.toStringTag||"@@toStringTag",T=typeof p=="object",w=a.regeneratorRuntime;if(w)T&&(p.exports=w);else{(w=a.regeneratorRuntime=T?p.exports:{}).wrap=x;var P="suspendedStart",n="suspendedYield",s="executing",c="completed",f={},g={};g[R]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(G([])));_&&_!==o&&u.call(_,R)&&(g=_);var A=C.prototype=m.prototype=Object.create(g);M.prototype=A.constructor=C,C.constructor=M,C[O]=M.displayName="GeneratorFunction",w.isGeneratorFunction=function(t){var e=typeof t=="function"&&t.constructor;return!!e&&(e===M||(e.displayName||e.name)==="GeneratorFunction")},w.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,O in t||(t[O]="GeneratorFunction")),t.prototype=Object.create(A),t},w.awrap=function(t){return{__await:t}},B(U.prototype),U.prototype[I]=function(){return this},w.AsyncIterator=U,w.async=function(t,e,d,h){var i=new U(x(t,e,d,h));return w.isGeneratorFunction(e)?i:i.next().then(function(F){return F.done?F.value:i.next()})},B(A),A[O]="Generator",A[R]=function(){return this},A.toString=function(){return"[object Generator]"},w.keys=function(t){var e=[];for(var d in t)e.push(d);return e.reverse(),function h(){for(;e.length;){var i=e.pop();if(i in t)return h.value=i,h.done=!1,h}return h.done=!0,h}},w.values=G,K.prototype={constructor:K,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(Y),!t)for(var e in this)e.charAt(0)==="t"&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if(t.type==="throw")throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function d(W,E){return F.type="throw",F.arg=t,e.next=W,E&&(e.method="next",e.arg=r),!!E}for(var h=this.tryEntries.length-1;h>=0;--h){var i=this.tryEntries[h],F=i.completion;if(i.tryLoc==="root")return d("end");if(i.tryLoc<=this.prev){var j=u.call(i,"catchLoc"),q=u.call(i,"finallyLoc");if(j&&q){if(this.prev<i.catchLoc)return d(i.catchLoc,!0);if(this.prev<i.finallyLoc)return d(i.finallyLoc)}else if(j){if(this.prev<i.catchLoc)return d(i.catchLoc,!0)}else{if(!q)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return d(i.finallyLoc)}}}},abrupt:function(t,e){for(var d=this.tryEntries.length-1;d>=0;--d){var h=this.tryEntries[d];if(h.tryLoc<=this.prev&&u.call(h,"finallyLoc")&&this.prev<h.finallyLoc){var i=h;break}}i&&(t==="break"||t==="continue")&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var F=i?i.completion:{};return F.type=t,F.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(F)},complete:function(t,e){if(t.type==="throw")throw t.arg;return t.type==="break"||t.type==="continue"?this.next=t.arg:t.type==="return"?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):t.type==="normal"&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var d=this.tryEntries[e];if(d.finallyLoc===t)return this.complete(d.completion,d.afterLoc),Y(d),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var d=this.tryEntries[e];if(d.tryLoc===t){var h=d.completion;if(h.type==="throw"){var i=h.arg;Y(d)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,d){return this.delegate={iterator:G(t),resultName:e,nextLoc:d},this.method==="next"&&(this.arg=r),f}}}function x(t,e,d,h){var i=e&&e.prototype instanceof m?e:m,F=Object.create(i.prototype),j=new K(h||[]);return F._invoke=(function(q,W,E){var L=P;return function(S,D){if(L===s)throw new Error("Generator is already running");if(L===c){if(S==="throw")throw D;return z()}for(E.method=S,E.arg=D;;){var H=E.delegate;if(H){var N=Q(H,E);if(N){if(N===f)continue;return N}}if(E.method==="next")E.sent=E._sent=E.arg;else if(E.method==="throw"){if(L===P)throw L=c,E.arg;E.dispatchException(E.arg)}else E.method==="return"&&E.abrupt("return",E.arg);L=s;var k=v(q,W,E);if(k.type==="normal"){if(L=E.done?c:n,k.arg===f)continue;return{value:k.arg,done:E.done}}k.type==="throw"&&(L=c,E.method="throw",E.arg=k.arg)}}})(t,d,j),F}function v(t,e,d){try{return{type:"normal",arg:t.call(e,d)}}catch(h){return{type:"throw",arg:h}}}function m(){}function M(){}function C(){}function B(t){["next","throw","return"].forEach(function(e){t[e]=function(d){return this._invoke(e,d)}})}function U(t){var e;this._invoke=function(d,h){function i(){return new Promise(function(F,j){(function q(W,E,L,S){var D=v(t[W],t,E);if(D.type!=="throw"){var H=D.arg,N=H.value;return N&&typeof N=="object"&&u.call(N,"__await")?Promise.resolve(N.__await).then(function(k){q("next",k,L,S)},function(k){q("throw",k,L,S)}):Promise.resolve(N).then(function(k){H.value=k,L(H)},function(k){return q("throw",k,L,S)})}S(D.arg)})(d,h,F,j)})}return e=e?e.then(i,i):i()}}function Q(t,e){var d=t.iterator[e.method];if(d===r){if(e.delegate=null,e.method==="throw"){if(t.iterator.return&&(e.method="return",e.arg=r,Q(t,e),e.method==="throw"))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var h=v(d,t.iterator,e.arg);if(h.type==="throw")return e.method="throw",e.arg=h.arg,e.delegate=null,f;var i=h.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,e.method!=="return"&&(e.method="next",e.arg=r),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function $(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function Y(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function K(t){this.tryEntries=[{tryLoc:"root"}],t.forEach($,this),this.reset(!0)}function G(t){if(t){var e=t[R];if(e)return e.call(t);if(typeof t.next=="function")return t;if(!isNaN(t.length)){var d=-1,h=function i(){for(;++d<t.length;)if(u.call(t,d))return i.value=t[d],i.done=!1,i;return i.value=r,i.done=!0,i};return h.next=h}}return{next:z}}function z(){return{value:r,done:!0}}})((function(){return this||typeof self=="object"&&self})()||Function("return this")())},function(p,y){function a(r,o,u,l,R,I,O){try{var T=r[I](O),w=T.value}catch(P){return void u(P)}T.done?o(w):Promise.resolve(w).then(l,R)}p.exports=function(r){return function(){var o=this,u=arguments;return new Promise(function(l,R){var I=r.apply(o,u);function O(w){a(I,l,R,O,T,"next",w)}function T(w){a(I,l,R,O,T,"throw",w)}O(void 0)})}}},function(p,y){function a(r,o){for(var u=0;u<o.length;u++){var l=o[u];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}p.exports=function(r,o,u){return o&&a(r.prototype,o),u&&a(r,u),r}},function(p){p.exports={name:"fortmatic",version:"1.1.3",description:"Fortmatic Javascript SDK",main:"lib/fortmatic.js",scripts:{build:"WEBPACK_ENV=production webpack","build:dev":"WEBPACK_ENV=development BABEL_ENV=development webpack --progress --colors --watch",test:"nyc --reporter=lcov --reporter=text-summary ava"},author:"Fortmatic <team@fortmatic.com> (https://fortmatic.com/)",license:"MIT",repository:{type:"git",url:"https://github.com/fortmatic/fortmatic-js"},keywords:["Auth","Login","Web3","Crypto","Ethereum","MetaMask","Wallet","Blockchain","Dapp"],homepage:"https://www.fortmatic.com",ava:{require:["@babel/register"],files:["test/**/*.spec.js"],babel:{testOptions:{presets:["@babel/env"],plugins:["@babel/plugin-proposal-function-bind","@babel/plugin-transform-runtime"]}},verbose:!0},nyc:{all:!1,"check-coverage":!0,"per-file":!0,lines:80,statements:80,functions:80,branches:80,include:["src/**/*.js"],exclude:["*/style.js"],require:[],reporter:["html","lcov"]},dependencies:{"@babel/runtime":"7.3.4"},devDependencies:{"@babel/core":"7.3.4","@babel/plugin-proposal-function-bind":"7.2.0","@babel/plugin-transform-modules-commonjs":"7.2.0","@babel/plugin-transform-runtime":"7.3.4","@babel/preset-env":"7.3.4","@babel/register":"7.0.0",ava:"2.2.0","babel-eslint":"10.0.1","babel-loader":"8.0.5",eslint:"5.9.0",lodash:"4.17.11",nyc:"13.1.0",sinon:"7.1.1",webpack:"4.26.1","webpack-cli":"3.1.2"}}},function(p,y,a){y.css=`
2
2
  .fortmatic-iframe {
3
3
  display: none;
4
4
  position: fixed;
@@ -11,4 +11,4 @@ import{g as X}from"./react-CPKOypa5.js";(function(){try{var p=typeof window<"u"?
11
11
  z-index: 2147483647;
12
12
  }
13
13
  `}])),V}var Z=te();const re=X(Z),oe=ee({__proto__:null,default:re},[Z]);export{oe as f};
14
- //# sourceMappingURL=fortmatic-VbcTaYCb.js.map
14
+ //# sourceMappingURL=fortmatic-B3WbZBdq.js.map
@@ -1,2 +1,2 @@
1
- import{C as E,I as v,J as L,K as _,L as T,M as D,N,d as C,O as x,P as O,Q as b,E as k,x as B,R as S,c as j}from"./prepare-contract-call-DSjIXieB.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]="a3c12b55-f7f4-49ea-9731-45a9857af45f",e._sentryDebugIdIdentifier="sentry-dbid-a3c12b55-f7f4-49ea-9731-45a9857af45f")}catch{}})();function z(e,t){if(!E(e,{strict:!1}))throw new v({address:e});if(!E(t,{strict:!1}))throw new v({address:t});return e.toLowerCase()===t.toLowerCase()}const I="/docs/contract/decodeEventLog";function M(e){const{abi:t,data:a,strict:o,topics:l}=e,i=o??!0,[r,...c]=l;if(!r)throw new L({docsPath:I});const s=t.find(n=>n.type==="event"&&r===_(T(n)));if(!(s&&"name"in s)||s.type!=="event")throw new D(r,{docsPath:I});const{name:f,inputs:u}=s,y=u==null?void 0:u.some(n=>!("name"in n&&n.name)),g=y?[]:{},h=u.map((n,d)=>[n,d]).filter(([n])=>"indexed"in n&&n.indexed);for(let n=0;n<h.length;n++){const[d,A]=h[n],w=c[n];if(!w)throw new N({abiItem:s,param:d});g[y?A:d.name||A]=P({param:d,value:w})}const m=u.filter(n=>!("indexed"in n&&n.indexed));if(m.length>0){if(a&&a!=="0x")try{const n=C(m,a);if(n)if(y)for(let d=0;d<u.length;d++)g[d]=g[d]??n.shift();else for(let d=0;d<m.length;d++)g[m[d].name]=n[d]}catch(n){if(i)throw n instanceof x||n instanceof O?new b({abiItem:s,data:a,params:m,size:k(a)}):n}else if(i)throw new b({abiItem:s,data:"0x",params:m,size:0})}return{eventName:f,args:Object.values(g).length>0?g:void 0}}function P({param:e,value:t}){return e.type==="string"||e.type==="bytes"||e.type==="tuple"||e.type.match(/^(.*)\[(\d+)?\]$/)?t:(C([e],t)||[])[0]}function q(e){const{abi:t,args:a,logs:o,strict:l=!0}=e,i=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return o.map(r=>{var c;try{const s=t.find(u=>u.type==="event"&&r.topics[0]===_(u));if(!s)return null;const f=M({...r,abi:[s],strict:l});return i&&!i.includes(f.eventName)||!R({args:f.args,inputs:s.inputs,matchArgs:a})?null:{...f,...r}}catch(s){let f,u;if(s instanceof D)return null;if(s instanceof b||s instanceof N){if(l)return null;f=s.abiItem.name,u=(c=s.abiItem.inputs)==null?void 0:c.some(y=>!("name"in y&&y.name))}return{...r,args:u?[]:{},eventName:f}}}).filter(Boolean)}function R(e){const{args:t,inputs:a,matchArgs:o}=e;if(!o)return!0;if(!t)return!1;function l(i,r,c){try{return i.type==="address"?z(r,c):i.type==="string"||i.type==="bytes"?B(S(r))===c:r===c}catch{return!1}}return Array.isArray(t)&&Array.isArray(o)?o.every((i,r)=>{if(i==null)return!0;const c=a[r];return c?(Array.isArray(i)?i:[i]).some(f=>l(c,f,t[r])):!1}):typeof t=="object"&&!Array.isArray(t)&&typeof o=="object"&&!Array.isArray(o)?Object.entries(o).every(([i,r])=>{if(r==null)return!0;const c=a.find(f=>f.name===i);return c?(Array.isArray(r)?r:[r]).some(f=>l(c,f,t[i])):!1}):!1}async function U(e,t){return e({method:"eth_getCode",params:[t.address,t.blockTag||"latest"]})}function F(e){const{logs:t,events:a,strict:o}=e;return q({abi:a.map(l=>l.abiEvent),logs:t,strict:o})}const p=new WeakMap;function H(e){if(p.has(e))return p.get(e);const t=(async()=>{const a=j(e),o=await U(a,{address:e.address,blockTag:"latest"});return o==="0x"&&p.delete(e),o})();return p.set(e,t),t}export{q as a,M as d,U as e,H as g,z as i,F as p};
2
- //# sourceMappingURL=get-bytecode-CHdK0jd1.js.map
1
+ import{C as E,I as v,J as L,K as _,L as T,M as D,N,d as C,O as x,P as O,Q as b,E as k,x as B,R as S,c as j}from"./prepare-contract-call-RHFlvvVY.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]="285fb899-038e-4dac-b294-6c893ad10f4b",e._sentryDebugIdIdentifier="sentry-dbid-285fb899-038e-4dac-b294-6c893ad10f4b")}catch{}})();function z(e,t){if(!E(e,{strict:!1}))throw new v({address:e});if(!E(t,{strict:!1}))throw new v({address:t});return e.toLowerCase()===t.toLowerCase()}const I="/docs/contract/decodeEventLog";function M(e){const{abi:t,data:a,strict:o,topics:l}=e,i=o??!0,[r,...c]=l;if(!r)throw new L({docsPath:I});const s=t.find(n=>n.type==="event"&&r===_(T(n)));if(!(s&&"name"in s)||s.type!=="event")throw new D(r,{docsPath:I});const{name:f,inputs:u}=s,y=u==null?void 0:u.some(n=>!("name"in n&&n.name)),g=y?[]:{},h=u.map((n,d)=>[n,d]).filter(([n])=>"indexed"in n&&n.indexed);for(let n=0;n<h.length;n++){const[d,A]=h[n],w=c[n];if(!w)throw new N({abiItem:s,param:d});g[y?A:d.name||A]=P({param:d,value:w})}const m=u.filter(n=>!("indexed"in n&&n.indexed));if(m.length>0){if(a&&a!=="0x")try{const n=C(m,a);if(n)if(y)for(let d=0;d<u.length;d++)g[d]=g[d]??n.shift();else for(let d=0;d<m.length;d++)g[m[d].name]=n[d]}catch(n){if(i)throw n instanceof x||n instanceof O?new b({abiItem:s,data:a,params:m,size:k(a)}):n}else if(i)throw new b({abiItem:s,data:"0x",params:m,size:0})}return{eventName:f,args:Object.values(g).length>0?g:void 0}}function P({param:e,value:t}){return e.type==="string"||e.type==="bytes"||e.type==="tuple"||e.type.match(/^(.*)\[(\d+)?\]$/)?t:(C([e],t)||[])[0]}function q(e){const{abi:t,args:a,logs:o,strict:l=!0}=e,i=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return o.map(r=>{var c;try{const s=t.find(u=>u.type==="event"&&r.topics[0]===_(u));if(!s)return null;const f=M({...r,abi:[s],strict:l});return i&&!i.includes(f.eventName)||!R({args:f.args,inputs:s.inputs,matchArgs:a})?null:{...f,...r}}catch(s){let f,u;if(s instanceof D)return null;if(s instanceof b||s instanceof N){if(l)return null;f=s.abiItem.name,u=(c=s.abiItem.inputs)==null?void 0:c.some(y=>!("name"in y&&y.name))}return{...r,args:u?[]:{},eventName:f}}}).filter(Boolean)}function R(e){const{args:t,inputs:a,matchArgs:o}=e;if(!o)return!0;if(!t)return!1;function l(i,r,c){try{return i.type==="address"?z(r,c):i.type==="string"||i.type==="bytes"?B(S(r))===c:r===c}catch{return!1}}return Array.isArray(t)&&Array.isArray(o)?o.every((i,r)=>{if(i==null)return!0;const c=a[r];return c?(Array.isArray(i)?i:[i]).some(f=>l(c,f,t[r])):!1}):typeof t=="object"&&!Array.isArray(t)&&typeof o=="object"&&!Array.isArray(o)?Object.entries(o).every(([i,r])=>{if(r==null)return!0;const c=a.find(f=>f.name===i);return c?(Array.isArray(r)?r:[r]).some(f=>l(c,f,t[i])):!1}):!1}async function U(e,t){return e({method:"eth_getCode",params:[t.address,t.blockTag||"latest"]})}function F(e){const{logs:t,events:a,strict:o}=e;return q({abi:a.map(l=>l.abiEvent),logs:t,strict:o})}const p=new WeakMap;function H(e){if(p.has(e))return p.get(e);const t=(async()=>{const a=j(e),o=await U(a,{address:e.address,blockTag:"latest"});return o==="0x"&&p.delete(e),o})();return p.set(e,t),t}export{q as a,M as d,U as e,H as g,z as i,F as p};
2
+ //# sourceMappingURL=get-bytecode-CVXftxLw.js.map
@@ -0,0 +1,2 @@
1
+ import{g as l}from"./execute-BKUd3699.js";import"./prepare-contract-call-RHFlvvVY.js";import"./utils-CIkjve2U.js";import"./sentry-SqoaCfGs.js";import"./react-DrXI7vJR.js";import"./index-BB5QyTUX.js";import"./dcl-schemas-BYdQ7kkG.js";import"./ethers-BdNwa1Wm.js";import"./intl-AKLEHPeO.js";import"./detectExtension-B8fRWnGZ.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]="a419ab3c-760f-4be4-99ed-ef79f444a91d",e._sentryDebugIdIdentifier="sentry-dbid-a419ab3c-760f-4be4-99ed-ef79f444a91d")}catch{}})();async function g(e){const n=await l(e);return{app:{android:null,browser:null,chrome:null,edge:null,firefox:null,ios:null,linux:null,mac:null,opera:null,safari:null,windows:null},desktop:{native:null,universal:null},homepage:n.homepage||"",id:e,image_id:n.imageUrl||"",mobile:{native:null,universal:null},name:n.name,rdns:null}}export{g as getEcosystemWalletInfo};
2
+ //# sourceMappingURL=get-ecosystem-wallet-info-JCRnkv-x.js.map