@dcl/shop 1.10.0 → 1.10.1-32751632078.commit-18b4167

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 (228) hide show
  1. package/_assets/{Activity-BICiX_hy.js → Activity-D5iDpxeu.js} +8 -8
  2. package/_assets/{AnimatedBackground-C-wwvO2r.js → AnimatedBackground-CHPgJrfI.js} +3 -3
  3. package/_assets/{Assets-BsdvrTNx.js → Assets-DIJeEVVP.js} +3 -3
  4. package/_assets/{Authorizations-D2flTp4x.js → Authorizations-BEliFUsy.js} +2 -2
  5. package/_assets/{Cart-C3DizVtU.js → Cart-CBkPlyAB.js} +2 -2
  6. package/_assets/{Collection-BKSgVKJb.js → Collection-PpatbQgV.js} +2 -2
  7. package/_assets/{CollectionCarousel-Cd2cxTqr.js → CollectionCarousel-DtZncDGj.js} +3 -3
  8. package/_assets/{Confetti-qRAe3sEm.js → Confetti-B0czEs8h.js} +4 -4
  9. package/_assets/{ConstantsUtil-CSNaVzH3.js → ConstantsUtil-Ddprfye9.js} +2 -2
  10. package/_assets/{ContentClient-IvOavf-H.js → ContentClient-SAubJf3M.js} +2 -2
  11. package/_assets/{Creator-B39voF2X.js → Creator-D_2eqozB.js} +2 -2
  12. package/_assets/{DeploymentBuilder-RK2SVoAz.js → DeploymentBuilder-DgfkW4On.js} +2 -2
  13. package/_assets/{EmotePlaybackBar-DBorKQ-7.js → EmotePlaybackBar-XYXct4vs.js} +3 -3
  14. package/_assets/{ErrorNotice-5pa_F5sz.js → ErrorNotice-BOHl5lJ4.js} +2 -2
  15. package/_assets/{ExchangeController-Dz_UYYR2.js → ExchangeController-Br59IQxL.js} +2 -2
  16. package/_assets/{Faq-CNnBIEfE.js → Faq-CapoMKG9.js} +2 -2
  17. package/_assets/{GetCredits-zQOMVKAQ.js → GetCredits-BawS3Bpx.js} +2 -2
  18. package/_assets/{Grow-Cp6MOXYH.js → Grow-CzhocoLW.js} +2 -2
  19. package/_assets/{HelpersUtil-BEwPK78z.js → HelpersUtil-DfiX43jC.js} +2 -2
  20. package/_assets/{ItemDetail-CUt75T50.js → ItemDetail-j46PEOcT.js} +2 -2
  21. package/_assets/{LoadMore-CTFjioUv.js → LoadMore-BiPQYRaw.js} +2 -2
  22. package/_assets/{ManaPricingBanner.styles-BTa9K2RR.js → ManaPricingBanner.styles-WGUWAn0P.js} +2 -2
  23. package/_assets/{MyAssets-DFovNm57.js → MyAssets-CehMg27B.js} +2 -2
  24. package/_assets/{MyFavorites-Cqm7xauU.js → MyFavorites-Dsxw1ifp.js} +2 -2
  25. package/_assets/{NetworkUtil-BclgfaOh.js → NetworkUtil-CJdozShf.js} +2 -2
  26. package/_assets/{NotFound-DAmVzYXY.js → NotFound-BOypNl0a.js} +2 -2
  27. package/_assets/{NotificationsBell-BVRv35rb.js → NotificationsBell-9QymFnF7.js} +2 -2
  28. package/_assets/{OutfitDetail-BGiWMRR7.js → OutfitDetail-BdsSDfAe.js} +2 -2
  29. package/_assets/{OutfitPreview-CFubFMxC.js → OutfitPreview-VDsvXSx9.js} +2 -2
  30. package/_assets/{OutfitStudio-dqbYm6LX.js → OutfitStudio-BcJzNDJ_.js} +2 -2
  31. package/_assets/{StoreSettings-9grVc6lN.js → StoreSettings-C123SKOp.js} +4 -4
  32. package/_assets/{Success-HKNsnB1Y.js → Success-nMIdYZ0m.js} +2 -2
  33. package/_assets/{SwapController-BsLXz2qh.js → SwapController-jpad-gUN.js} +2 -2
  34. package/_assets/{TradeService-dcBKxJ12.js → TradeService-CQpHlFAC.js} +2 -2
  35. package/_assets/{W3MFrameProviderSingleton-Coji1m5x.js → W3MFrameProviderSingleton-Ct7CKy80.js} +4 -4
  36. package/_assets/{WebCryptoP256-BsPX1fES.js → WebCryptoP256-Ca71IMtp.js} +2 -2
  37. package/_assets/{authorizations-BnWB-XGW.js → authorizations-Ctr93XKE.js} +2 -2
  38. package/_assets/{basic-CnVxFbpY.js → basic-rvyi25zY.js} +2 -2
  39. package/_assets/{biconomy-h5mxqFn0.js → biconomy-BhRULWvs.js} +2 -2
  40. package/_assets/{browseLayout.styles-CfRRd5jq.js → browseLayout.styles-DnKhyzgL.js} +2 -2
  41. package/_assets/{browser-CRuQIWFp.js → browser-CDY_A1MH.js} +2 -2
  42. package/_assets/{browser-ponyfill-DuOHNKSs.js → browser-ponyfill-Bg_q9GLh.js} +2 -2
  43. package/_assets/{builder-Dx8iDFgg.js → builder-B14wKhZy.js} +2 -2
  44. package/_assets/{buy-Cnme_X5d.js → buy-CsdwkSeZ.js} +2 -2
  45. package/_assets/{buy-gasless-DhSQJMNQ.js → buy-gasless-9rxqPWxY.js} +2 -2
  46. package/_assets/{categories-Dk_NiD5O.js → categories-CW3jft0E.js} +2 -2
  47. package/_assets/{ccip-DvzlGkST.js → ccip-DXgPFBYx.js} +2 -2
  48. package/_assets/{ccip-x67JK5_7.js → ccip-DuDPLLha.js} +2 -2
  49. package/_assets/{chains-Bamqxcmr.js → chains-BCUFlLA9.js} +2 -2
  50. package/_assets/collectionPage.styles-Bem190R7.js +40 -0
  51. package/_assets/{common-D1XANjz0.js → common-DJAa7y_q.js} +2 -2
  52. package/_assets/{controller-DTk6Havj.js → controller-DDBQf2BK.js} +3 -3
  53. package/_assets/{core-B19c2rnF.js → core-lmm4TsiI.js} +5 -5
  54. package/_assets/{createSvgIcon-CT3Gwjcy.js → createSvgIcon-Dd3y1PDc.js} +2 -2
  55. package/_assets/{custom-fmgA8lkC.js → custom-Da7nbPCI.js} +2 -2
  56. package/_assets/{data-capture-DDe22HY7.js → data-capture-MdIgLL75.js} +2 -2
  57. package/_assets/{dcl-schemas-CfMjyfZx.js → dcl-schemas-DuJDHbQk.js} +2 -2
  58. package/_assets/{decimals-kDkfNEul.js → decimals-BCpguOaF.js} +2 -2
  59. package/_assets/{decimals-DwpYjDat.js → decimals-CVvxR32f.js} +2 -2
  60. package/_assets/{detectExtension-DDD8D4gU.js → detectExtension-Bvwc-R4L.js} +2 -2
  61. package/_assets/{disposePreview-xjGjtRoP.js → disposePreview-DFi1d5Yo.js} +2 -2
  62. package/_assets/{email-CxWcNkcR.js → email-ByPvibQH.js} +2 -2
  63. package/_assets/{embedded-wallet-Bq17gZ2o.js → embedded-wallet-bzrLbQDW.js} +2 -2
  64. package/_assets/{emotion-styled.browser.esm-D4jxZZdu.js → emotion-styled.browser.esm-Cu5a2ryg.js} +2 -2
  65. package/_assets/{engine-CstRCS0P.js → engine-ad3_ANYs.js} +2 -2
  66. package/_assets/{errors-C2O8i7S8.js → errors-C-_yhM6w.js} +2 -2
  67. package/_assets/{estimate-l1-fee-D6wU0bu9.js → estimate-l1-fee-vq9Oy0c7.js} +2 -2
  68. package/_assets/{eth_estimateGas-Bwq_fGM7.js → eth_estimateGas-BGiwk7HW.js} +2 -2
  69. package/_assets/{eth_getStorageAt-CSG0CFbd.js → eth_getStorageAt-aiJLYH-W.js} +2 -2
  70. package/_assets/{eth_getTransactionCount-CRyqNDQC.js → eth_getTransactionCount-CpGgfwnZ.js} +2 -2
  71. package/_assets/{ethereum-BrsO-PtF.js → ethereum-lIc4Ofpo.js} +2 -2
  72. package/_assets/{ethers-Dv96XuWO.js → ethers-Bd91seFi.js} +2 -2
  73. package/_assets/{events-BI-hNCIc.js → events-BNdgIchM.js} +2 -2
  74. package/_assets/{execute-DBY_k70_.js → execute-C3fmg7V5.js} +3 -3
  75. package/_assets/{extractIPFS-BKCaGHg0.js → extractIPFS-C1texZcX.js} +2 -2
  76. package/_assets/{features-B-lWKxpl.js → features-CdLF5w4Y.js} +2 -2
  77. package/_assets/{fetchTokenMetadata-4TPAW-0J.js → fetchTokenMetadata-VeaR6G4_.js} +3 -3
  78. package/_assets/{field.styles-DkP4EUDp.js → field.styles-BXPjHJ8y.js} +2 -2
  79. package/_assets/{fortmatic-Byi5UiOW.js → fortmatic-_wchK_6T.js} +2 -2
  80. package/_assets/{get-bytecode-Cu090exg.js → get-bytecode-D5G7GeC4.js} +2 -2
  81. package/_assets/{get-ecosystem-wallet-info-BtF8AVTy.js → get-ecosystem-wallet-info-gHr0FIPL.js} +2 -2
  82. package/_assets/{getBalance-CLerx9db.js → getBalance-BXNxLBH7.js} +3 -3
  83. package/_assets/{getInstalledModules-JS9WynYq.js → getInstalledModules-S6jzW5WK.js} +2 -2
  84. package/_assets/{getNFT-FIIFTAk5.js → getNFT-B72PROvH.js} +3 -3
  85. package/_assets/{getNFT-DDa0Gtz6.js → getNFT-BLjpl390.js} +2 -2
  86. package/_assets/{grid.styles--7kuSBOW.js → grid.styles-SQ1XgyTv.js} +2 -2
  87. package/_assets/{hashTypedData-BAid2zcm.js → hashTypedData-BZ22OwPO.js} +2 -2
  88. package/_assets/{hashTypedData-CxsyK_ey.js → hashTypedData-CSOzHvOn.js} +2 -2
  89. package/_assets/{in-app-Bdlyj-VE.js → in-app-D6qDAQrz.js} +2 -2
  90. package/_assets/{in-app-wallet-calls-CbJr8ixd.js → in-app-wallet-calls-V0UX9_Kx.js} +2 -2
  91. package/_assets/{index-Dy2SxTsa.js → index-10Bi4Iyi.js} +2 -2
  92. package/_assets/{index-DEMKJ56b.js → index-3upqB-If.js} +2 -2
  93. package/_assets/{index-DTPYPqJU.js → index-4aQKfyLx.js} +3 -3
  94. package/_assets/{index-ChJw9kFE.js → index-7-Uj_d9m.js} +2 -2
  95. package/_assets/{index-De_zfcOO.js → index-7zRxa9g6.js} +4 -4
  96. package/_assets/{index-D0ZGbOcV.js → index-85nkyiaf.js} +2 -2
  97. package/_assets/{index-DgXBPAm_.js → index-B-PovmKf.js} +2 -2
  98. package/_assets/{index-B1OQapSe.js → index-B1ejVt6q.js} +2 -2
  99. package/_assets/{index-CHHUeGtc.js → index-BBUrax5X.js} +3 -3
  100. package/_assets/{index-BAFd5X5s.js → index-BJsnxJjQ.js} +2 -2
  101. package/_assets/{index-X2m4MLDN.js → index-BTnDNJop.js} +3 -3
  102. package/_assets/{index-CV5pItZG.js → index-BaUCQy2a.js} +2 -2
  103. package/_assets/{index-JahQM-0d.js → index-BasDjaD1.js} +2 -2
  104. package/_assets/{index-BO3CZL7c.js → index-BbsJhlWk.js} +2 -2
  105. package/_assets/{index-DipEvVT9.js → index-BeiMLd_n.js} +2 -2
  106. package/_assets/{index-C7kKm9Pu.js → index-Bf7hZIyV.js} +2 -2
  107. package/_assets/{index-DRCOJh6s.js → index-BhBHJjr5.js} +2 -2
  108. package/_assets/{index-BSaDYTxt.js → index-Btci0qKD.js} +2 -2
  109. package/_assets/{index-CQP1mPeG.js → index-C-zM3l0B.js} +2 -2
  110. package/_assets/{index-N3qNnxTo.js → index-C0DD4NDC.js} +2 -2
  111. package/_assets/{index-ClzkdB8z.js → index-C6ibzmt6.js} +2 -2
  112. package/_assets/{index-66a3-eV4.js → index-CR4PUqyE.js} +2 -2
  113. package/_assets/{index-C6o6IpUT.js → index-CTMTREuP.js} +2 -2
  114. package/_assets/{index-Cj153qSg.js → index-CU9-7vaF.js} +4 -4
  115. package/_assets/{index-Dl4hrRT2.js → index-CdL_T94r.js} +13 -13
  116. package/_assets/{index-sPgW1Gyb.js → index-CdiyUHnb.js} +2 -2
  117. package/_assets/{index-CJxYNhjz.js → index-CirSejNo.js} +2 -2
  118. package/_assets/{index-N7hPewar.js → index-CjVfCEhk.js} +2 -2
  119. package/_assets/{index-CtAQFnxk.js → index-CkC8srip.js} +2 -2
  120. package/_assets/{index-DTaaHeVQ.js → index-CkFFLLYY.js} +2 -2
  121. package/_assets/{index-BA0ecyfk.js → index-CknpKgQS.js} +2 -2
  122. package/_assets/{index-DUzStg09.js → index-ClMZ-b0_.js} +2 -2
  123. package/_assets/{index-CoF-9wxy.js → index-CnvuNTt9.js} +2 -2
  124. package/_assets/{index-WyhU4TBa.js → index-Ct3ZTSrS.js} +2 -2
  125. package/_assets/{index-C6CdXJkm.js → index-Cy5TwGFw.js} +2 -2
  126. package/_assets/{index-C94H9_tC.js → index-DOEsJk5K.js} +2 -2
  127. package/_assets/{index-Bhox8ufA.js → index-DQFYf8S1.js} +2 -2
  128. package/_assets/{index-DGyZchp-.js → index-DQvDaUym.js} +2 -2
  129. package/_assets/{index-y8riFEF7.js → index-DS0e1gUo.js} +2 -2
  130. package/_assets/{index-B8DDvD5C.js → index-DSgEKZXj.js} +2 -2
  131. package/_assets/{index-OvuTK60o.js → index-DVL9TVPR.js} +2 -2
  132. package/_assets/{index-DYooaWId.js → index-DW6Gtqbi.js} +2 -2
  133. package/_assets/{index-Dn8xuNDB.js → index-DWWgR2Kv.js} +2 -2
  134. package/_assets/{index-D8aZQi2T.js → index-DZvwxAv8.js} +2 -2
  135. package/_assets/{index-5T7h8H5X.js → index-Dch-Q1-O.js} +2 -2
  136. package/_assets/{index-qzzwKbJI.js → index-DgcV6tmH.js} +2 -2
  137. package/_assets/{index-DjkvHGdg.js → index-Dhv5AWGT.js} +4 -4
  138. package/_assets/{index-DIxEiVFV.js → index-Dhxc7kds.js} +2 -2
  139. package/_assets/{index-BjWQloYQ.js → index-DkC8-g3i.js} +2 -2
  140. package/_assets/{index-RC5VhbLR.js → index-DkIiPOu6.js} +2 -2
  141. package/_assets/{index-CMnmh3jz.js → index-DtsuKnXb.js} +2 -2
  142. package/_assets/{index-BIdoUXuM.js → index-Ecq9YQiP.js} +2 -2
  143. package/_assets/{index-DGWb-703.js → index-JBKFsMRl.js} +2 -2
  144. package/_assets/{index-C-_gSOF6.js → index-Um5cPWzy.js} +3 -3
  145. package/_assets/{index-DT71XGP-.js → index-V71VGA83.js} +2 -2
  146. package/_assets/{index--IK1Sft8.js → index-aaNoVO6u.js} +2 -2
  147. package/_assets/{index-C7Y7jomx.js → index-cbxzhqoc.js} +2 -2
  148. package/_assets/{index-BzKehLq1.js → index-drJZE8gy.js} +2 -2
  149. package/_assets/{index-BMnKJ7um.js → index-ebcT6-li.js} +2 -2
  150. package/_assets/{index-CXukCjj1.js → index-fqnIPJ67.js} +2 -2
  151. package/_assets/{index-hwQ3WWoP.js → index-qgr6xAO1.js} +2 -2
  152. package/_assets/{index-DpYNYuLQ.js → index-tXmqXzik.js} +2 -2
  153. package/_assets/{index-DhQbUPpF.js → index-tc_EaHaC.js} +2 -2
  154. package/_assets/{index-DpKuFVdi.js → index-wONggV0h.js} +2 -2
  155. package/_assets/{index-BYc2EMXr.js → index-wfNibSP6.js} +2 -2
  156. package/_assets/{index-BU7bOvUQ.js → index-xI-AWGxU.js} +2 -2
  157. package/_assets/{index-C4q1d-Fd.js → index-yf3hltAV.js} +2 -2
  158. package/_assets/{index.es-5ighfc2K.js → index.es-BdLHy2O2.js} +2 -2
  159. package/_assets/{index.es-DAQ2POad.js → index.es-BgzrhhV5.js} +5 -5
  160. package/_assets/{index.es-BN_feL1z.js → index.es-CQ-Tex_U.js} +2 -2
  161. package/_assets/{index.es-Bas2yfUy.js → index.es-D813Q1i9.js} +2 -2
  162. package/_assets/items-empty-BaK1hSKM.js +2 -0
  163. package/_assets/{jump-Dr035GHt.js → jump-Ddqmpced.js} +2 -2
  164. package/_assets/{linkAccount-DDcAG0nl.js → linkAccount-C3hhMAMW.js} +2 -2
  165. package/_assets/{localBatchGatewayRequest-C6osHWxc.js → localBatchGatewayRequest-B7VH1x8R.js} +2 -2
  166. package/_assets/{native-C52Z8TfX.js → native-C-id_Ksr.js} +2 -2
  167. package/_assets/{networks-CkG0QClb.js → networks-DTseys-F.js} +2 -2
  168. package/_assets/{onramp-DIygeWPQ.js → onramp-rd1iGV4B.js} +2 -2
  169. package/_assets/{openzeppelin-gox-REHN.js → openzeppelin-Cdi1RECb.js} +2 -2
  170. package/_assets/{ownerOf-DGnXfk0_.js → ownerOf-DFxmrnfm.js} +2 -2
  171. package/_assets/{parseNft-BcJ4-C71.js → parseNft-D5aA93TN.js} +3 -3
  172. package/_assets/{parseSignature-gm5DxN9A.js → parseSignature-DE4aL0Oh.js} +4 -4
  173. package/_assets/{parseSignature-nraJiLlg.js → parseSignature-FmbhTenh.js} +2 -2
  174. package/_assets/{passkeys-C5HPgqf5.js → passkeys-B66K_-FB.js} +2 -2
  175. package/_assets/{pay-with-exchange-Ba7yTfPB.js → pay-with-exchange-DcbEoESH.js} +2 -2
  176. package/_assets/{prepare-contract-call-BIfjyTYu.js → prepare-contract-call-TeQAyz7v.js} +2 -2
  177. package/_assets/{qr-overlay-CxWKfrGr.js → qr-overlay-juS4WcUh.js} +4 -4
  178. package/_assets/{react-D7nfuWd6.js → react-yelKzn1D.js} +2 -2
  179. package/_assets/{receive-CNs-u97l.js → receive-Bv7HJT57.js} +2 -2
  180. package/_assets/{resolveImplementation-_7q3dOKp.js → resolveImplementation-DQtB_VRm.js} +2 -2
  181. package/_assets/{resume-buy-BQxam5dL.js → resume-buy-BoElTEGp.js} +2 -2
  182. package/_assets/{rpc-WOvA0Ped.js → rpc-C4xTznMk.js} +2 -2
  183. package/_assets/{sales-empty-CCTVsons.js → sales-empty-Dj8Rcsdd.js} +2 -2
  184. package/_assets/{search-empty-B4_pLY-K.js → search-empty-eQihu3fy.js} +2 -2
  185. package/_assets/{secp256k1-NiwVfMiW.js → secp256k1-DB6QQcRb.js} +2 -2
  186. package/_assets/{secp256k1-DTLAfMHI.js → secp256k1-DSoz3uBi.js} +2 -2
  187. package/_assets/{secp256k1-nmicBOFq.js → secp256k1-m2QETH3c.js} +2 -2
  188. package/_assets/{send-DMVF8o0c.js → send-BFBlMYqX.js} +2 -2
  189. package/_assets/{send-batch-transaction-DSUMPrdj.js → send-batch-transaction-CjKdWSIw.js} +2 -2
  190. package/_assets/{send-eip712-transaction-IUeUwhLU.js → send-eip712-transaction-hxOlYRfK.js} +3 -3
  191. package/_assets/{send-gasless-transaction-DPOrkR-S.js → send-gasless-transaction-6GqgFmjg.js} +3 -3
  192. package/_assets/{send-transaction-cYAHoDgz.js → send-transaction-B2KeCcmr.js} +3 -3
  193. package/_assets/{sendMetaTransaction-DmChWu2Q.js → sendMetaTransaction-a661O2Wl.js} +2 -2
  194. package/_assets/{sendRawTransaction-Cnquj3L1.js → sendRawTransaction-DsZj5CTU.js} +4 -4
  195. package/_assets/{sentry-CoTjVJfh.js → sentry-AMrL76Mt.js} +3 -3
  196. package/_assets/{serializeTransaction-Bp_Y4Oqz.js → serializeTransaction-D48YwQJ-.js} +2 -2
  197. package/_assets/{session-proposal-COdN5hib.js → session-proposal-GtbARxJy.js} +2 -2
  198. package/_assets/{session-request-bFy7aBRa.js → session-request-Bk4LnFfi.js} +3 -3
  199. package/_assets/{sha256-XcxD-HDJ.js → sha256-CFWfrAK1.js} +2 -2
  200. package/_assets/{signing-CcTSfbp4.js → signing-DCvP1daK.js} +4 -4
  201. package/_assets/{skeleton.styles-DBZfxDFe.js → skeleton.styles-D3SMwl7U.js} +2 -2
  202. package/_assets/{socials-CSee1341.js → socials-DnrQoTq0.js} +2 -2
  203. package/_assets/{styled-EO0aCK0k.js → styled-CaAKIR1b.js} +2 -2
  204. package/_assets/{swaps-y_VHcKeY.js → swaps-Bss9Fdik.js} +2 -2
  205. package/_assets/{thirdweb-CL9aFDQn.js → thirdweb-DEfD3PfW.js} +4 -4
  206. package/_assets/{to-serializable-transaction-68n-Uy9K.js → to-serializable-transaction-B7GO2_To.js} +3 -3
  207. package/_assets/{totalSupply-BWWtuqmY.js → totalSupply-CaZIibwJ.js} +2 -2
  208. package/_assets/{transaction-xKWAbiZz.js → transaction-CgureqO9.js} +2 -2
  209. package/_assets/{transactionReceipt-VPc5kVRc.js → transactionReceipt-BhHZRt44.js} +2 -2
  210. package/_assets/{transactions-CQO9InHD.js → transactions-DHSr3sPE.js} +2 -2
  211. package/_assets/{useCreditPacks-CAXhYC8D.js → useCreditPacks-BPcKkDg2.js} +2 -2
  212. package/_assets/{useInfiniteGrid-B88HDzOV.js → useInfiniteGrid-B8rKwgbV.js} +2 -2
  213. package/_assets/{useStore-EuJEkDB4.js → useStore-BfLOesMp.js} +3 -3
  214. package/_assets/{useTheme-Df-Vsg8U.js → useTheme-CIskf_GX.js} +2 -2
  215. package/_assets/{utils-esa8OSIj.js → utils-dbPI1-5J.js} +2 -2
  216. package/_assets/{verifyHash-PbJswfF6.js → verifyHash-CgsyOLUu.js} +2 -2
  217. package/_assets/{w3m-modal-Ctr3krI_.js → w3m-modal-BYcKtPDe.js} +2 -2
  218. package/_assets/{w3m-modal-X3ZNcEkC.js → w3m-modal-FcTfrgMw.js} +2 -2
  219. package/_assets/{wait-for-tx-receipt-CrqjqK2x.js → wait-for-tx-receipt-CRWzWLYh.js} +2 -2
  220. package/_assets/{wallets-ChmX60CP.js → wallets-DyVrSwOe.js} +6 -6
  221. package/_assets/{web-connector-Bk-wpPaT.js → web-connector-CNw63Hjg.js} +4 -4
  222. package/_assets/{writeContract-DP5yj6TY.js → writeContract-9kr0C3A_.js} +2 -2
  223. package/_assets/{zora-sepolia-CZVN75mJ.js → zora-sepolia-BhUs4Aah.js} +2 -2
  224. package/_assets/{zoraTestnet-C0i-JsRg.js → zoraTestnet-DszhKKAH.js} +2 -2
  225. package/index.html +11 -11
  226. package/package.json +2 -2
  227. package/_assets/collectionPage.styles-C8SZeNNm.js +0 -40
  228. package/_assets/items-empty-D3FNNYeD.js +0 -2
@@ -1,4 +1,4 @@
1
- import{i as h,b as c}from"./lit-element-wjYUA6aF.js";import{n as f}from"./class-map-DopF_Eyi.js";import{c as l}from"./index-sPgW1Gyb.js";import{d as m}from"./index-DjkvHGdg.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]="b21c7cf0-1498-4042-832f-f3d6aad405d1",e._sentryDebugIdIdentifier="sentry-dbid-b21c7cf0-1498-4042-832f-f3d6aad405d1")}catch{}})();const p=m`
1
+ import{i as h,b as c}from"./lit-element-wjYUA6aF.js";import{n as f}from"./class-map-DopF_Eyi.js";import{c as l}from"./index-CdiyUHnb.js";import{d as m}from"./index-Dhv5AWGT.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]="b21c7cf0-1498-4042-832f-f3d6aad405d1",e._sentryDebugIdIdentifier="sentry-dbid-b21c7cf0-1498-4042-832f-f3d6aad405d1")}catch{}})();const p=m`
2
2
  :host {
3
3
  display: block;
4
4
  background: linear-gradient(
@@ -28,4 +28,4 @@ import{i as h,b as c}from"./lit-element-wjYUA6aF.js";import{n as f}from"./class-
28
28
  width: ${this.width};
29
29
  height: ${this.height};
30
30
  `,this.dataset.rounded=this.rounded?"true":"false",c`<slot></slot>`}};o.styles=[p];d([f()],o.prototype,"width",void 0);d([f()],o.prototype,"height",void 0);d([f()],o.prototype,"variant",void 0);d([f({type:Boolean})],o.prototype,"rounded",void 0);o=d([l("wui-shimmer")],o);
31
- //# sourceMappingURL=index-BA0ecyfk.js.map
31
+ //# sourceMappingURL=index-CknpKgQS.js.map
@@ -1,4 +1,4 @@
1
- import{i as _,b as l,a as Te}from"./lit-element-wjYUA6aF.js";import{n as x,o as f,r as h,a as Ie}from"./class-map-DopF_Eyi.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-DjkvHGdg.js";import{c as C,U as _e}from"./index-sPgW1Gyb.js";import"./index-DGyZchp-.js";import"./index-y8riFEF7.js";import"./index-C7Y7jomx.js";import"./index-ChJw9kFE.js";import"./index-DpKuFVdi.js";import"./index-CXukCjj1.js";import"./index-BMnKJ7um.js";import{$ as Ce,k as T,a0 as $e,a1 as y,b as O,a2 as Re,a3 as N,O as ce,N as A,a4 as me,C as m,q as v,E as M,S as R,n as Oe,M as G,e as Ue,i as Le,p as qe,o as P,R as z}from"./W3MFrameProviderSingleton-Coji1m5x.js";import{au as I}from"./NetworkUtil-BclgfaOh.js";import"./index-BA0ecyfk.js";import{M as ge}from"./MathUtil-BvP0JcjY.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]="98d0b7c5-a2c2-4f59-96d8-94fa819634b1",t._sentryDebugIdIdentifier="sentry-dbid-98d0b7c5-a2c2-4f59-96d8-94fa819634b1")}catch{}})();const De=U`
1
+ import{i as _,b as l,a as Te}from"./lit-element-wjYUA6aF.js";import{n as x,o as f,r as h,a as Ie}from"./class-map-DopF_Eyi.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-Dhv5AWGT.js";import{c as C,U as _e}from"./index-CdiyUHnb.js";import"./index-DQvDaUym.js";import"./index-DS0e1gUo.js";import"./index-cbxzhqoc.js";import"./index-7-Uj_d9m.js";import"./index-wONggV0h.js";import"./index-fqnIPJ67.js";import"./index-ebcT6-li.js";import{$ as Ce,k as T,a0 as $e,a1 as y,b as O,a2 as Re,a3 as N,O as ce,N as A,a4 as me,C as m,q as v,E as M,S as R,n as Oe,M as G,e as Ue,i as Le,p as qe,o as P,R as z}from"./W3MFrameProviderSingleton-Ct7CKy80.js";import{au as I}from"./NetworkUtil-CJdozShf.js";import"./index-CknpKgQS.js";import{M as ge}from"./MathUtil-BvP0JcjY.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]="98d0b7c5-a2c2-4f59-96d8-94fa819634b1",t._sentryDebugIdIdentifier="sentry-dbid-98d0b7c5-a2c2-4f59-96d8-94fa819634b1")}catch{}})();const De=U`
2
2
  :host {
3
3
  position: relative;
4
4
  }
@@ -1062,4 +1062,4 @@ import{i as _,b as l,a as Te}from"./lit-element-wjYUA6aF.js";import{n as x,o as
1062
1062
  ></wui-icon>`}
1063
1063
  </wui-button>
1064
1064
  `}getPaymentAssetFromTokenBalances(){return this.namespace?(this.tokenBalances[this.namespace]??[]).map(i=>{try{return tt(i)}catch{return null}}).filter(i=>!!i).filter(i=>{const{chainId:a}=y.parseCaipNetworkId(i.network),{chainId:o}=y.parseCaipNetworkId(this.paymentAsset.network);return N.isLowerCaseMatch(i.asset,this.paymentAsset.asset)?!0:this.selectedExchange?!N.isLowerCaseMatch(a.toString(),o.toString()):!0}):[]}onTokenBalancesChanged(e){this.tokenBalances=e;const[n]=this.getPaymentAssetFromTokenBalances();n&&u.setSelectedPaymentAsset(n)}async onConnectOtherWallet(){await P.connect(),await G.open({view:"PayQuote"})}onAccountStateChanged(e){const{address:n}=this.caipAddress?y.parseCaipAddress(this.caipAddress):{};if(this.caipAddress=e==null?void 0:e.caipAddress,this.profileName=(e==null?void 0:e.profileName)??null,n){const{address:s}=this.caipAddress?y.parseCaipAddress(this.caipAddress):{};s?N.isLowerCaseMatch(s,n)||(this.resetAssetsState(),this.resetQuoteState(),this.fetchTokens()):G.close()}}onSelectedPaymentAssetChanged(e){this.isFetchingQuote||u.setSelectedPaymentAsset(e)}async onTransfer(){var n,s,i;const e=ie(this.quote);if(e){if(!N.isLowerCaseMatch((n=this.selectedPaymentAsset)==null?void 0:n.asset,e.deposit.currency))throw new Error("Quote asset is not the same as the selected payment asset");const o=((s=this.selectedPaymentAsset)==null?void 0:s.amount)??"0",c=A.formatNumber(e.deposit.amount,{decimals:((i=this.selectedPaymentAsset)==null?void 0:i.metadata.decimals)??0}).toString();if(!A.bigNumber(o).gte(c)){R.showError("Insufficient funds");return}if(this.quote&&this.selectedPaymentAsset&&this.caipAddress&&this.namespace){const{address:L}=y.parseCaipAddress(this.caipAddress);await u.onTransfer({chainNamespace:this.namespace,fromAddress:L,toAddress:e.deposit.receiver,amount:c,paymentAsset:this.selectedPaymentAsset}),u.setRequestId(e.requestId),z.push("PayLoading")}}}async onSendTransactions(){var o,c,g;const e=((o=this.selectedPaymentAsset)==null?void 0:o.amount)??"0",n=A.formatNumber(((c=this.quote)==null?void 0:c.origin.amount)??0,{decimals:((g=this.selectedPaymentAsset)==null?void 0:g.metadata.decimals)??0}).toString();if(!A.bigNumber(e).gte(n)){R.showError("Insufficient funds");return}const i=te(this.quote),[a]=te(this.quote,this.completedTransactionsCount);a&&this.namespace&&(await u.onSendTransaction({namespace:this.namespace,transactionStep:a}),this.completedTransactionsCount+=1,this.completedTransactionsCount===i.length&&(u.setRequestId(a.requestId),z.push("PayLoading")))}onPayWithExchange(){if(this.exchangeUrlForQuote){const e=O.returnOpenHref("","popupWindow","scrollbar=yes,width=480,height=720");if(!e)throw new Error("Could not create popup window");e.location.href=this.exchangeUrlForQuote;const n=ie(this.quote);n&&u.setRequestId(n.requestId),u.initiatePayment(),z.push("PayLoading")}}resetAssetsState(){u.setSelectedPaymentAsset(null)}resetQuoteState(){u.resetQuoteState()}};w.styles=Nt;b([h()],w.prototype,"profileName",void 0);b([h()],w.prototype,"paymentAsset",void 0);b([h()],w.prototype,"namespace",void 0);b([h()],w.prototype,"caipAddress",void 0);b([h()],w.prototype,"amount",void 0);b([h()],w.prototype,"recipient",void 0);b([h()],w.prototype,"activeConnectorIds",void 0);b([h()],w.prototype,"selectedPaymentAsset",void 0);b([h()],w.prototype,"selectedExchange",void 0);b([h()],w.prototype,"isFetchingQuote",void 0);b([h()],w.prototype,"quoteError",void 0);b([h()],w.prototype,"quote",void 0);b([h()],w.prototype,"isFetchingTokenBalances",void 0);b([h()],w.prototype,"tokenBalances",void 0);b([h()],w.prototype,"isPaymentInProgress",void 0);b([h()],w.prototype,"exchangeUrlForQuote",void 0);b([h()],w.prototype,"completedTransactionsCount",void 0);w=b([C("w3m-pay-quote-view")],w);export{p as A,u as P,E as W,d as a,w as b,k as c};
1065
- //# sourceMappingURL=index-DUzStg09.js.map
1065
+ //# sourceMappingURL=index-ClMZ-b0_.js.map
@@ -1,4 +1,4 @@
1
- import{i as g,b as e}from"./lit-element-wjYUA6aF.js";import{r as f,n as w,o as v}from"./class-map-DopF_Eyi.js";import{d as y,r as k,e as P}from"./index-DjkvHGdg.js";import{c as b}from"./index-sPgW1Gyb.js";import"./index-CQP1mPeG.js";import{H as x}from"./HelpersUtil-BEwPK78z.js";import{R as u,E as I}from"./W3MFrameProviderSingleton-Coji1m5x.js";import"./index-DT71XGP-.js";import"./index-CXukCjj1.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="7606ac6e-fbff-43b5-9182-dee796e0085f",t._sentryDebugIdIdentifier="sentry-dbid-7606ac6e-fbff-43b5-9182-dee796e0085f")}catch{}})();const A=y`
1
+ import{i as g,b as e}from"./lit-element-wjYUA6aF.js";import{r as f,n as w,o as v}from"./class-map-DopF_Eyi.js";import{d as y,r as k,e as P}from"./index-Dhv5AWGT.js";import{c as b}from"./index-CdiyUHnb.js";import"./index-C-zM3l0B.js";import{H as x}from"./HelpersUtil-DfiX43jC.js";import{R as u,E as I}from"./W3MFrameProviderSingleton-Ct7CKy80.js";import"./index-V71VGA83.js";import"./index-fqnIPJ67.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="7606ac6e-fbff-43b5-9182-dee796e0085f",t._sentryDebugIdIdentifier="sentry-dbid-7606ac6e-fbff-43b5-9182-dee796e0085f")}catch{}})();const A=y`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -208,4 +208,4 @@ import{i as g,b as e}from"./lit-element-wjYUA6aF.js";import{r as f,n as w,o as v
208
208
  imageSrc=${this.imageSrc}
209
209
  name=${this.name}
210
210
  ></wui-wallet-image>`:!this.showAllWallets&&!this.imageSrc?e`<wui-wallet-image size="sm" name=${this.name}></wui-wallet-image>`:null}templateStatus(){return this.loading?e`<wui-loading-spinner size="lg" color="accent-primary"></wui-loading-spinner>`:this.tagLabel&&this.tagVariant?e`<wui-tag size="sm" variant=${this.tagVariant}>${this.tagLabel}</wui-tag>`:null}};l.styles=[k,P,E];m([w({type:Array})],l.prototype,"walletImages",void 0);m([w()],l.prototype,"imageSrc",void 0);m([w()],l.prototype,"name",void 0);m([w()],l.prototype,"size",void 0);m([w()],l.prototype,"tagLabel",void 0);m([w()],l.prototype,"tagVariant",void 0);m([w()],l.prototype,"walletIcon",void 0);m([w()],l.prototype,"tabIdx",void 0);m([w({type:Array})],l.prototype,"namespaces",void 0);m([w({type:Boolean})],l.prototype,"disabled",void 0);m([w({type:Boolean})],l.prototype,"showAllWallets",void 0);m([w({type:Boolean})],l.prototype,"loading",void 0);m([w({type:String})],l.prototype,"loadingSpinnerColor",void 0);l=m([b("wui-list-wallet")],l);export{d as W,p as a};
211
- //# sourceMappingURL=index-CoF-9wxy.js.map
211
+ //# sourceMappingURL=index-CnvuNTt9.js.map
@@ -1,4 +1,4 @@
1
- import{i as y,b as h}from"./lit-element-wjYUA6aF.js";import{n as b,o as v,r as C}from"./class-map-DopF_Eyi.js";import{d as m,r as g}from"./index-DjkvHGdg.js";import{c as k}from"./index-sPgW1Gyb.js";import{e as _,n as O}from"./ref-Uk7bJ2Ii.js";import{e as E,i as L,p as R,O as l}from"./W3MFrameProviderSingleton-Coji1m5x.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]="35ac52e4-123c-4a73-88bc-cc30cfcf73b4",e._sentryDebugIdIdentifier="sentry-dbid-35ac52e4-123c-4a73-88bc-cc30cfcf73b4")}catch{}})();const d=R({isLegalCheckboxChecked:!1}),x={state:d,subscribe(e){return L(d,()=>e(d))},subscribeKey(e,t){return E(d,e,t)},setIsLegalCheckboxChecked(e){d.isLegalCheckboxChecked=e}},j=m`
1
+ import{i as y,b as h}from"./lit-element-wjYUA6aF.js";import{n as b,o as v,r as C}from"./class-map-DopF_Eyi.js";import{d as m,r as g}from"./index-Dhv5AWGT.js";import{c as k}from"./index-CdiyUHnb.js";import{e as _,n as O}from"./ref-Uk7bJ2Ii.js";import{e as E,i as L,p as R,O as l}from"./W3MFrameProviderSingleton-Ct7CKy80.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]="35ac52e4-123c-4a73-88bc-cc30cfcf73b4",e._sentryDebugIdIdentifier="sentry-dbid-35ac52e4-123c-4a73-88bc-cc30cfcf73b4")}catch{}})();const d=R({isLegalCheckboxChecked:!1}),x={state:d,subscribe(e){return L(d,()=>e(d))},subscribeKey(e,t){return E(d,e,t)},setIsLegalCheckboxChecked(e){d.isLegalCheckboxChecked=e}},j=m`
2
2
  label {
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -187,4 +187,4 @@ import{i as y,b as h}from"./lit-element-wjYUA6aF.js";import{n as b,o as v,r as C
187
187
  />
188
188
  </svg>
189
189
  `}};u.styles=[g,I];$([b({type:Number})],u.prototype,"radius",void 0);u=$([k("wui-loading-thumbnail")],u);export{x as O};
190
- //# sourceMappingURL=index-WyhU4TBa.js.map
190
+ //# sourceMappingURL=index-Ct3ZTSrS.js.map
@@ -1,2 +1,2 @@
1
- import"./react-D7nfuWd6.js";import{r as I}from"./index-N7hPewar.js";import{az as w}from"./sendRawTransaction-Cnquj3L1.js";import{c as k,e as v}from"./hashTypedData-CxsyK_ey.js";import"./NetworkUtil-BclgfaOh.js";import"./sentry-CoTjVJfh.js";import"./index-Dl4hrRT2.js";import"./dcl-schemas-CfMjyfZx.js";import"./ethers-Dv96XuWO.js";import"./intl-AKLEHPeO.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]="ddfde736-fe64-4280-9382-0b3a84edca79",t._sentryDebugIdIdentifier="sentry-dbid-ddfde736-fe64-4280-9382-0b3a84edca79")}catch{}})();const q=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const _=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=I();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!_(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},d={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,d.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,d.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,d.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,d.blockNumberToHex,d.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,d.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[d.blockNumberToHex,d.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,d.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class h extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,h.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new h("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new h("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new h("Permissions rejected",p);return a.apply(this)},s};var D=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return v({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),_(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}D([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new S(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,q as getSDKVersion,_ as isObjectEIP712TypedData};
2
- //# sourceMappingURL=index-C6CdXJkm.js.map
1
+ import"./react-yelKzn1D.js";import{r as I}from"./index-CjVfCEhk.js";import{az as w}from"./sendRawTransaction-DsZj5CTU.js";import{c as k,e as v}from"./hashTypedData-CSOzHvOn.js";import"./NetworkUtil-CJdozShf.js";import"./sentry-AMrL76Mt.js";import"./index-CdL_T94r.js";import"./dcl-schemas-DuJDHbQk.js";import"./ethers-Bd91seFi.js";import"./intl-AKLEHPeO.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]="ddfde736-fe64-4280-9382-0b3a84edca79",t._sentryDebugIdIdentifier="sentry-dbid-ddfde736-fe64-4280-9382-0b3a84edca79")}catch{}})();const q=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const _=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=I();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!_(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},d={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,d.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,d.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,d.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,d.blockNumberToHex,d.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,d.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[d.blockNumberToHex,d.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,d.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class h extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,h.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new h("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new h("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new h("Permissions rejected",p);return a.apply(this)},s};var D=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return v({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),_(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}D([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new S(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,q as getSDKVersion,_ as isObjectEIP712TypedData};
2
+ //# sourceMappingURL=index-Cy5TwGFw.js.map
@@ -1,4 +1,4 @@
1
- import{d as j}from"./index-DipEvVT9.js";import"./react-D7nfuWd6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d323fd9c-c993-42a3-978e-d0b4de4a76ee",e._sentryDebugIdIdentifier="sentry-dbid-d323fd9c-c993-42a3-978e-d0b4de4a76ee")}catch{}})();/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function P(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function V(e,r){return Array.isArray(r)?r.length===0?!0:e?r.every(n=>typeof n=="string"):r.every(n=>Number.isSafeInteger(n)):!1}function B(e,r){if(typeof r!="string")throw new Error(`${e}: string expected`);return!0}function I(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function v(e){if(!Array.isArray(e))throw new Error("array expected")}function S(e,r){if(!V(!0,r))throw new Error(`${e}: array of strings expected`)}function K(e,r){if(!V(!1,r))throw new Error(`${e}: array of numbers expected`)}function J(...e){const r=l=>l,n=(l,u)=>i=>l(u(i)),h=e.map(l=>l.encode).reduceRight(n,r),d=e.map(l=>l.decode).reduce(n,r);return{encode:h,decode:d}}function Q(e){const r=typeof e=="string"?e.split(""):e,n=r.length;S("alphabet",r);const h=new Map(r.map((d,l)=>[d,l]));return{encode:d=>(v(d),d.map(l=>{if(!Number.isSafeInteger(l)||l<0||l>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${l}". Allowed: ${e}`);return r[l]})),decode:d=>(v(d),d.map(l=>{B("alphabet.decode",l);const u=h.get(l);if(u===void 0)throw new Error(`Unknown letter: "${l}". Allowed: ${e}`);return u}))}}function W(e=""){return B("join",e),{encode:r=>(S("join.decode",r),r.join(e)),decode:r=>(B("join.decode",r),r.split(e))}}function fe(e,r="="){return I(e),B("padding",r),{encode(n){for(S("padding.encode",n);n.length*e%8;)n.push(r);return n},decode(n){S("padding.decode",n);let h=n.length;if(h*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;h>0&&n[h-1]===r;h--)if((h-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,h)}}}function G(e,r,n){if(r<2)throw new Error(`convertRadix: invalid from=${r}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(v(e),!e.length)return[];let h=0;const d=[],l=Array.from(e,i=>{if(I(i),i<0||i>=r)throw new Error(`invalid integer: ${i}`);return i}),u=l.length;for(;;){let i=0,a=!0;for(let w=h;w<u;w++){const p=l[w],x=r*i,A=x+p;if(!Number.isSafeInteger(A)||x/r!==i||A-p!==x)throw new Error("convertRadix: carry overflow");const m=A/n;i=A%n;const s=Math.floor(m);if(l[w]=s,!Number.isSafeInteger(s)||s*n+i!==A)throw new Error("convertRadix: carry overflow");if(a)s?a=!1:h=w;else continue}if(d.push(i),a)break}for(let i=0;i<e.length-1&&e[i]===0;i++)d.push(0);return d.reverse()}const X=(e,r)=>r===0?e:X(r,e%r),$=(e,r)=>e+(r-X(e,r)),R=(()=>{let e=[];for(let r=0;r<40;r++)e.push(2**r);return e})();function F(e,r,n,h){if(v(e),r<=0||r>32)throw new Error(`convertRadix2: wrong from=${r}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if($(r,n)>32)throw new Error(`convertRadix2: carry overflow from=${r} to=${n} carryBits=${$(r,n)}`);let d=0,l=0;const u=R[r],i=R[n]-1,a=[];for(const w of e){if(I(w),w>=u)throw new Error(`convertRadix2: invalid data word=${w} from=${r}`);if(d=d<<r|w,l+r>32)throw new Error(`convertRadix2: carry overflow pos=${l} from=${r}`);for(l+=r;l>=n;l-=n)a.push((d>>l-n&i)>>>0);const p=R[l];if(p===void 0)throw new Error("invalid carry");d&=p-1}if(d=d<<n-l&i,!h&&l>=r)throw new Error("Excess padding");if(!h&&d>0)throw new Error(`Non-zero padding: ${d}`);return h&&l>0&&a.push(d>>>0),a}function ae(e){I(e);const r=2**8;return{encode:n=>{if(!P(n))throw new Error("radix.encode input should be Uint8Array");return G(Array.from(n),r,e)},decode:n=>(K("radix.decode",n),Uint8Array.from(G(n,e,r)))}}function se(e,r=!1){if(I(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if($(8,e)>32||$(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!P(n))throw new Error("radix2.encode input should be Uint8Array");return F(Array.from(n),8,e,!r)},decode:n=>(K("radix2.decode",n),Uint8Array.from(F(n,e,8,r)))}}const we=J(se(5),Q("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),fe(5),W("")),le=e=>J(ae(58),Q(e),W("")),ge=le("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");function M(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Y(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?M(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function pe(e,r){r||(r=e.reduce((d,l)=>d+l.length,0));const n=Y(r);let h=0;for(const d of e)n.set(d,h),h+=d.length;return M(n)}function Z(e,r,n,h){return{name:e,prefix:r,encoder:{name:e,prefix:r,encode:n},decoder:{decode:h}}}const q=Z("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),T=Z("ascii","a",e=>{let r="a";for(let n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return r},e=>{e=e.substring(1);const r=Y(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}),ee={utf8:q,"utf-8":q,hex:j.base16,latin1:T,ascii:T,binary:T,...j};function ye(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?M(globalThis.Buffer.from(e,"utf-8")):n.decoder.decode(`${n.prefix}${e}`)}function Ae(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):n.encoder.encode(e).substring(1)}var H,N;function re(){if(N)return H;N=1;const e="Input must be an string, Buffer or Uint8Array";function r(u){let i;if(u instanceof Uint8Array)i=u;else if(typeof u=="string")i=new TextEncoder().encode(u);else throw new Error(e);return i}function n(u){return Array.prototype.map.call(u,function(i){return(i<16?"0":"")+i.toString(16)}).join("")}function h(u){return(4294967296+u).toString(16).substring(1)}function d(u,i,a){let w=`
1
+ import{d as j}from"./index-BeiMLd_n.js";import"./react-yelKzn1D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d323fd9c-c993-42a3-978e-d0b4de4a76ee",e._sentryDebugIdIdentifier="sentry-dbid-d323fd9c-c993-42a3-978e-d0b4de4a76ee")}catch{}})();/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function P(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function V(e,r){return Array.isArray(r)?r.length===0?!0:e?r.every(n=>typeof n=="string"):r.every(n=>Number.isSafeInteger(n)):!1}function B(e,r){if(typeof r!="string")throw new Error(`${e}: string expected`);return!0}function I(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function v(e){if(!Array.isArray(e))throw new Error("array expected")}function S(e,r){if(!V(!0,r))throw new Error(`${e}: array of strings expected`)}function K(e,r){if(!V(!1,r))throw new Error(`${e}: array of numbers expected`)}function J(...e){const r=l=>l,n=(l,u)=>i=>l(u(i)),h=e.map(l=>l.encode).reduceRight(n,r),d=e.map(l=>l.decode).reduce(n,r);return{encode:h,decode:d}}function Q(e){const r=typeof e=="string"?e.split(""):e,n=r.length;S("alphabet",r);const h=new Map(r.map((d,l)=>[d,l]));return{encode:d=>(v(d),d.map(l=>{if(!Number.isSafeInteger(l)||l<0||l>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${l}". Allowed: ${e}`);return r[l]})),decode:d=>(v(d),d.map(l=>{B("alphabet.decode",l);const u=h.get(l);if(u===void 0)throw new Error(`Unknown letter: "${l}". Allowed: ${e}`);return u}))}}function W(e=""){return B("join",e),{encode:r=>(S("join.decode",r),r.join(e)),decode:r=>(B("join.decode",r),r.split(e))}}function fe(e,r="="){return I(e),B("padding",r),{encode(n){for(S("padding.encode",n);n.length*e%8;)n.push(r);return n},decode(n){S("padding.decode",n);let h=n.length;if(h*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;h>0&&n[h-1]===r;h--)if((h-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,h)}}}function G(e,r,n){if(r<2)throw new Error(`convertRadix: invalid from=${r}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(v(e),!e.length)return[];let h=0;const d=[],l=Array.from(e,i=>{if(I(i),i<0||i>=r)throw new Error(`invalid integer: ${i}`);return i}),u=l.length;for(;;){let i=0,a=!0;for(let w=h;w<u;w++){const p=l[w],x=r*i,A=x+p;if(!Number.isSafeInteger(A)||x/r!==i||A-p!==x)throw new Error("convertRadix: carry overflow");const m=A/n;i=A%n;const s=Math.floor(m);if(l[w]=s,!Number.isSafeInteger(s)||s*n+i!==A)throw new Error("convertRadix: carry overflow");if(a)s?a=!1:h=w;else continue}if(d.push(i),a)break}for(let i=0;i<e.length-1&&e[i]===0;i++)d.push(0);return d.reverse()}const X=(e,r)=>r===0?e:X(r,e%r),$=(e,r)=>e+(r-X(e,r)),R=(()=>{let e=[];for(let r=0;r<40;r++)e.push(2**r);return e})();function F(e,r,n,h){if(v(e),r<=0||r>32)throw new Error(`convertRadix2: wrong from=${r}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if($(r,n)>32)throw new Error(`convertRadix2: carry overflow from=${r} to=${n} carryBits=${$(r,n)}`);let d=0,l=0;const u=R[r],i=R[n]-1,a=[];for(const w of e){if(I(w),w>=u)throw new Error(`convertRadix2: invalid data word=${w} from=${r}`);if(d=d<<r|w,l+r>32)throw new Error(`convertRadix2: carry overflow pos=${l} from=${r}`);for(l+=r;l>=n;l-=n)a.push((d>>l-n&i)>>>0);const p=R[l];if(p===void 0)throw new Error("invalid carry");d&=p-1}if(d=d<<n-l&i,!h&&l>=r)throw new Error("Excess padding");if(!h&&d>0)throw new Error(`Non-zero padding: ${d}`);return h&&l>0&&a.push(d>>>0),a}function ae(e){I(e);const r=2**8;return{encode:n=>{if(!P(n))throw new Error("radix.encode input should be Uint8Array");return G(Array.from(n),r,e)},decode:n=>(K("radix.decode",n),Uint8Array.from(G(n,e,r)))}}function se(e,r=!1){if(I(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if($(8,e)>32||$(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!P(n))throw new Error("radix2.encode input should be Uint8Array");return F(Array.from(n),8,e,!r)},decode:n=>(K("radix2.decode",n),Uint8Array.from(F(n,e,8,r)))}}const we=J(se(5),Q("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),fe(5),W("")),le=e=>J(ae(58),Q(e),W("")),ge=le("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");function M(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Y(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?M(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function pe(e,r){r||(r=e.reduce((d,l)=>d+l.length,0));const n=Y(r);let h=0;for(const d of e)n.set(d,h),h+=d.length;return M(n)}function Z(e,r,n,h){return{name:e,prefix:r,encoder:{name:e,prefix:r,encode:n},decoder:{decode:h}}}const q=Z("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),T=Z("ascii","a",e=>{let r="a";for(let n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return r},e=>{e=e.substring(1);const r=Y(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}),ee={utf8:q,"utf-8":q,hex:j.base16,latin1:T,ascii:T,binary:T,...j};function ye(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?M(globalThis.Buffer.from(e,"utf-8")):n.decoder.decode(`${n.prefix}${e}`)}function Ae(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):n.encoder.encode(e).substring(1)}var H,N;function re(){if(N)return H;N=1;const e="Input must be an string, Buffer or Uint8Array";function r(u){let i;if(u instanceof Uint8Array)i=u;else if(typeof u=="string")i=new TextEncoder().encode(u);else throw new Error(e);return i}function n(u){return Array.prototype.map.call(u,function(i){return(i<16?"0":"")+i.toString(16)}).join("")}function h(u){return(4294967296+u).toString(16).substring(1)}function d(u,i,a){let w=`
2
2
  `+u+" = ";for(let p=0;p<i.length;p+=2){if(a===32)w+=h(i[p]).toUpperCase(),w+=" ",w+=h(i[p+1]).toUpperCase();else if(a===64)w+=h(i[p+1]).toUpperCase(),w+=h(i[p]).toUpperCase();else throw new Error("Invalid size "+a);p%6===4?w+=`
3
3
  `+new Array(u.length+4).join(" "):p<i.length-2&&(w+=" ")}console.log(w)}function l(u,i,a){let w=new Date().getTime();const p=new Uint8Array(i);for(let A=0;A<i;A++)p[A]=A%256;const x=new Date().getTime();console.log("Generated random input in "+(x-w)+"ms"),w=x;for(let A=0;A<a;A++){const m=u(p),s=new Date().getTime(),b=s-w;w=s,console.log("Hashed in "+b+"ms: "+m.substring(0,20)+"..."),console.log(Math.round(i/(1<<20)/(b/1e3)*100)/100+" MB PER SECOND")}}return H={normalizeInput:r,toHex:n,debugPrint:d,testSpeed:l},H}var C,O;function ue(){if(O)return C;O=1;const e=re();function r(t,c,o){const g=t[c]+t[o];let y=t[c+1]+t[o+1];g>=4294967296&&y++,t[c]=g,t[c+1]=y}function n(t,c,o,g){let y=t[c]+o;o<0&&(y+=4294967296);let k=t[c+1]+g;y>=4294967296&&k++,t[c]=y,t[c+1]=k}function h(t,c){return t[c]^t[c+1]<<8^t[c+2]<<16^t[c+3]<<24}function d(t,c,o,g,y,k){const ne=w[y],te=w[y+1],oe=w[k],ie=w[k+1];r(a,t,c),n(a,t,ne,te);let U=a[g]^a[t],E=a[g+1]^a[t+1];a[g]=E,a[g+1]=U,r(a,o,g),U=a[c]^a[o],E=a[c+1]^a[o+1],a[c]=U>>>24^E<<8,a[c+1]=E>>>24^U<<8,r(a,t,c),n(a,t,oe,ie),U=a[g]^a[t],E=a[g+1]^a[t+1],a[g]=U>>>16^E<<16,a[g+1]=E>>>16^U<<16,r(a,o,g),U=a[c]^a[o],E=a[c+1]^a[o+1],a[c]=E>>>31^U<<1,a[c+1]=U>>>31^E<<1}const l=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],i=new Uint8Array(u.map(function(t){return t*2})),a=new Uint32Array(32),w=new Uint32Array(32);function p(t,c){let o=0;for(o=0;o<16;o++)a[o]=t.h[o],a[o+16]=l[o];for(a[24]=a[24]^t.t,a[25]=a[25]^t.t/4294967296,c&&(a[28]=~a[28],a[29]=~a[29]),o=0;o<32;o++)w[o]=h(t.b,4*o);for(o=0;o<12;o++)d(0,8,16,24,i[o*16+0],i[o*16+1]),d(2,10,18,26,i[o*16+2],i[o*16+3]),d(4,12,20,28,i[o*16+4],i[o*16+5]),d(6,14,22,30,i[o*16+6],i[o*16+7]),d(0,10,20,30,i[o*16+8],i[o*16+9]),d(2,12,22,24,i[o*16+10],i[o*16+11]),d(4,14,16,26,i[o*16+12],i[o*16+13]),d(6,8,18,28,i[o*16+14],i[o*16+15]);for(o=0;o<16;o++)t.h[o]=t.h[o]^a[o]^a[o+16]}const x=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function A(t,c,o,g){if(t===0||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(c&&c.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(o&&o.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(g&&g.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const y={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t};x.fill(0),x[0]=t,c&&(x[1]=c.length),x[2]=1,x[3]=1,o&&x.set(o,32),g&&x.set(g,48);for(let k=0;k<16;k++)y.h[k]=l[k]^h(x,k*4);return c&&(m(y,c),y.c=128),y}function m(t,c){for(let o=0;o<c.length;o++)t.c===128&&(t.t+=t.c,p(t,!1),t.c=0),t.b[t.c++]=c[o]}function s(t){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;p(t,!0);const c=new Uint8Array(t.outlen);for(let o=0;o<t.outlen;o++)c[o]=t.h[o>>2]>>8*(o&3);return c}function b(t,c,o,g,y){o=o||64,t=e.normalizeInput(t),g&&(g=e.normalizeInput(g)),y&&(y=e.normalizeInput(y));const k=A(o,c,g,y);return m(k,t),s(k)}function f(t,c,o,g,y){const k=b(t,c,o,g,y);return e.toHex(k)}return C={blake2b:b,blake2bHex:f,blake2bInit:A,blake2bUpdate:m,blake2bFinal:s},C}var D,z;function ce(){if(z)return D;z=1;const e=re();function r(s,b){return s[b]^s[b+1]<<8^s[b+2]<<16^s[b+3]<<24}function n(s,b,f,t,c,o){u[s]=u[s]+u[b]+c,u[t]=h(u[t]^u[s],16),u[f]=u[f]+u[t],u[b]=h(u[b]^u[f],12),u[s]=u[s]+u[b]+o,u[t]=h(u[t]^u[s],8),u[f]=u[f]+u[t],u[b]=h(u[b]^u[f],7)}function h(s,b){return s>>>b^s<<32-b}const d=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),l=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),u=new Uint32Array(16),i=new Uint32Array(16);function a(s,b){let f=0;for(f=0;f<8;f++)u[f]=s.h[f],u[f+8]=d[f];for(u[12]^=s.t,u[13]^=s.t/4294967296,b&&(u[14]=~u[14]),f=0;f<16;f++)i[f]=r(s.b,4*f);for(f=0;f<10;f++)n(0,4,8,12,i[l[f*16+0]],i[l[f*16+1]]),n(1,5,9,13,i[l[f*16+2]],i[l[f*16+3]]),n(2,6,10,14,i[l[f*16+4]],i[l[f*16+5]]),n(3,7,11,15,i[l[f*16+6]],i[l[f*16+7]]),n(0,5,10,15,i[l[f*16+8]],i[l[f*16+9]]),n(1,6,11,12,i[l[f*16+10]],i[l[f*16+11]]),n(2,7,8,13,i[l[f*16+12]],i[l[f*16+13]]),n(3,4,9,14,i[l[f*16+14]],i[l[f*16+15]]);for(f=0;f<8;f++)s.h[f]^=u[f]^u[f+8]}function w(s,b){if(!(s>0&&s<=32))throw new Error("Incorrect output length, should be in [1, 32]");const f=b?b.length:0;if(b&&!(f>0&&f<=32))throw new Error("Incorrect key length, should be in [1, 32]");const t={h:new Uint32Array(d),b:new Uint8Array(64),c:0,t:0,outlen:s};return t.h[0]^=16842752^f<<8^s,f>0&&(p(t,b),t.c=64),t}function p(s,b){for(let f=0;f<b.length;f++)s.c===64&&(s.t+=s.c,a(s,!1),s.c=0),s.b[s.c++]=b[f]}function x(s){for(s.t+=s.c;s.c<64;)s.b[s.c++]=0;a(s,!0);const b=new Uint8Array(s.outlen);for(let f=0;f<s.outlen;f++)b[f]=s.h[f>>2]>>8*(f&3)&255;return b}function A(s,b,f){f=f||32,s=e.normalizeInput(s);const t=w(f,b);return p(t,s),x(t)}function m(s,b,f){const t=A(s,b,f);return e.toHex(t)}return D={blake2s:A,blake2sHex:m,blake2sInit:w,blake2sUpdate:p,blake2sFinal:x},D}var _,L;function de(){if(L)return _;L=1;const e=ue(),r=ce();return _={blake2b:e.blake2b,blake2bHex:e.blake2bHex,blake2bInit:e.blake2bInit,blake2bUpdate:e.blake2bUpdate,blake2bFinal:e.blake2bFinal,blake2s:r.blake2s,blake2sHex:r.blake2sHex,blake2sInit:r.blake2sInit,blake2sUpdate:r.blake2sUpdate,blake2sFinal:r.blake2sFinal},_}var xe=de();export{we as a,ge as b,pe as c,xe as d,ye as f,Ae as t};
4
- //# sourceMappingURL=index-C94H9_tC.js.map
4
+ //# sourceMappingURL=index-DOEsJk5K.js.map
@@ -1,4 +1,4 @@
1
- import{a as w,i as g,b as f}from"./lit-element-wjYUA6aF.js";import{n as y,r as h}from"./class-map-DopF_Eyi.js";import{d as v}from"./index-DjkvHGdg.js";import{c as b}from"./index-sPgW1Gyb.js";import{j as x,e as $,i as R,p as _,R as T,M as C}from"./W3MFrameProviderSingleton-Coji1m5x.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]="ad751328-ffee-4ae0-9ad8-69a6a57c61be",t._sentryDebugIdIdentifier="sentry-dbid-ad751328-ffee-4ae0-9ad8-69a6a57c61be")}catch{}})();const s=_({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),P={state:s,subscribe(t){return R(s,()=>t(s))},subscribeKey(t,e){return $(s,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){s.open=!0,s.message=t,s.triggerRect=e,s.variant=o},hide(){s.open=!1,s.message="",s.triggerRect={width:0,height:0,top:0,left:0}}},a=x(P),j=w`
1
+ import{a as w,i as g,b as f}from"./lit-element-wjYUA6aF.js";import{n as y,r as h}from"./class-map-DopF_Eyi.js";import{d as v}from"./index-Dhv5AWGT.js";import{c as b}from"./index-CdiyUHnb.js";import{j as x,e as $,i as R,p as _,R as T,M as C}from"./W3MFrameProviderSingleton-Ct7CKy80.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]="ad751328-ffee-4ae0-9ad8-69a6a57c61be",t._sentryDebugIdIdentifier="sentry-dbid-ad751328-ffee-4ae0-9ad8-69a6a57c61be")}catch{}})();const s=_({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),P={state:s,subscribe(t){return R(s,()=>t(s))},subscribeKey(t,e){return $(s,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){s.open=!0,s.message=t,s.triggerRect=e,s.variant=o},hide(){s.open=!1,s.message="",s.triggerRect={width:0,height:0,top:0,left:0}}},a=x(P),j=w`
2
2
  :host {
3
3
  width: 100%;
4
4
  display: block;
@@ -98,4 +98,4 @@ import{a as w,i as g,b as f}from"./lit-element-wjYUA6aF.js";import{n as y,r as h
98
98
  <wui-icon data-placement="top" size="inherit" name="cursor"></wui-icon>
99
99
  <wui-text color="primary" variant="sm-regular">${this.message}</wui-text>
100
100
  </wui-flex>`}};p.styles=[E];u([h()],p.prototype,"open",void 0);u([h()],p.prototype,"message",void 0);u([h()],p.prototype,"triggerRect",void 0);u([h()],p.prototype,"variant",void 0);p=u([b("w3m-tooltip")],p);
101
- //# sourceMappingURL=index-Bhox8ufA.js.map
101
+ //# sourceMappingURL=index-DQFYf8S1.js.map
@@ -1,4 +1,4 @@
1
- import{i as b,b as u}from"./lit-element-wjYUA6aF.js";import{n}from"./class-map-DopF_Eyi.js";import{c as g}from"./index-sPgW1Gyb.js";import"./index-DpKuFVdi.js";import{d as p,r as m,e as h}from"./index-DjkvHGdg.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="e1fc8103-17dd-4f87-b649-cc1a61917f9b",t._sentryDebugIdIdentifier="sentry-dbid-e1fc8103-17dd-4f87-b649-cc1a61917f9b")}catch{}})();const v=p`
1
+ import{i as b,b as u}from"./lit-element-wjYUA6aF.js";import{n}from"./class-map-DopF_Eyi.js";import{c as g}from"./index-CdiyUHnb.js";import"./index-wONggV0h.js";import{d as p,r as m,e as h}from"./index-Dhv5AWGT.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="e1fc8103-17dd-4f87-b649-cc1a61917f9b",t._sentryDebugIdIdentifier="sentry-dbid-e1fc8103-17dd-4f87-b649-cc1a61917f9b")}catch{}})();const v=p`
2
2
  :host {
3
3
  width: var(--local-width);
4
4
  }
@@ -150,4 +150,4 @@ import{i as b,b as u}from"./lit-element-wjYUA6aF.js";import{n}from"./class-map-D
150
150
  <slot name="iconRight"></slot>
151
151
  </button>
152
152
  `}loadingTemplate(){if(this.loading){const r=y[this.size],a=this.variant==="neutral-primary"||this.variant==="accent-primary"?"invert":"primary";return u`<wui-loading-spinner color=${a} size=${r}></wui-loading-spinner>`}return null}};e.styles=[m,h,v];i([n()],e.prototype,"size",void 0);i([n({type:Boolean})],e.prototype,"disabled",void 0);i([n({type:Boolean})],e.prototype,"fullWidth",void 0);i([n({type:Boolean})],e.prototype,"loading",void 0);i([n()],e.prototype,"variant",void 0);i([n()],e.prototype,"textVariant",void 0);e=i([g("wui-button")],e);
153
- //# sourceMappingURL=index-DGyZchp-.js.map
153
+ //# sourceMappingURL=index-DQvDaUym.js.map
@@ -1,4 +1,4 @@
1
- import{i as l,b}from"./lit-element-wjYUA6aF.js";import{n as r}from"./class-map-DopF_Eyi.js";import{c as p}from"./index-sPgW1Gyb.js";import{d as f,r as h,e as v}from"./index-DjkvHGdg.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]="032e2478-5891-42ea-b973-8f62e799da19",t._sentryDebugIdIdentifier="sentry-dbid-032e2478-5891-42ea-b973-8f62e799da19")}catch{}})();const y=f`
1
+ import{i as l,b}from"./lit-element-wjYUA6aF.js";import{n as r}from"./class-map-DopF_Eyi.js";import{c as p}from"./index-CdiyUHnb.js";import{d as f,r as h,e as v}from"./index-Dhv5AWGT.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]="032e2478-5891-42ea-b973-8f62e799da19",t._sentryDebugIdIdentifier="sentry-dbid-032e2478-5891-42ea-b973-8f62e799da19")}catch{}})();const y=f`
2
2
  button {
3
3
  background-color: transparent;
4
4
  padding: ${({spacing:t})=>t[1]};
@@ -75,4 +75,4 @@ import{i as l,b}from"./lit-element-wjYUA6aF.js";import{n as r}from"./class-map-D
75
75
  ></wui-icon>
76
76
  </button>
77
77
  `}};n.styles=[h,v,y];a([r()],n.prototype,"size",void 0);a([r({type:Boolean})],n.prototype,"disabled",void 0);a([r()],n.prototype,"icon",void 0);a([r()],n.prototype,"iconColor",void 0);a([r()],n.prototype,"variant",void 0);n=a([p("wui-icon-link")],n);
78
- //# sourceMappingURL=index-y8riFEF7.js.map
78
+ //# sourceMappingURL=index-DS0e1gUo.js.map
@@ -1,4 +1,4 @@
1
- import{r as R,j as B,f as La,c as Ur,g as gt,k as Bt}from"./react-D7nfuWd6.js";import{p as bt}from"./dcl-schemas-CfMjyfZx.js";import{b as it,h as st,a as Ae,i as na,j as aa,k as oa,l as Ta,m as Lt,e as qa,n as Aa,o as _a,p as Da,q as ja,d as Kt,s as ia,g as sa,c as la,f as Na,t as Wa,r as Fa}from"./index-BIdoUXuM.js";import{p as Xt}from"./sentry-CoTjVJfh.js";import{bU as mt,bV as lt,bW as C,cL as Ie,co as Gr,cb as St,cH as Fr,bX as ve,cM as Ha,cN as za,cF as Tt,cO as Hr}from"./index-Dl4hrRT2.js";import{c as Va}from"./index-N3qNnxTo.js";import{a as ht,g as tt,c as qe,b as yt,n as Ve}from"./emotion-styled.browser.esm-D4jxZZdu.js";import{u as Mt,b as zt,o as Ze,c as Ua,d as Ga,B as Ka,r as qt,e as zr}from"./createSvgIcon-CT3Gwjcy.js";import{B as Ya,a as Za,b as Xa,c as Ja}from"./index-DgXBPAm_.js";import{E as Bs}from"./index-DgXBPAm_.js";import{s as Ee,a as Qa,b as ua}from"./styled-EO0aCK0k.js";import{e as Jt,i as Vt,u as et,G as eo,P as to}from"./Grow-Cp6MOXYH.js";import"./ethers-Dv96XuWO.js";import"./intl-AKLEHPeO.js";import"./useTheme-Df-Vsg8U.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]="dbfe6546-f5bb-4ba0-8675-f8bc8d344a39",e._sentryDebugIdIdentifier="sentry-dbid-dbfe6546-f5bb-4ba0-8675-f8bc8d344a39")}catch{}})();function ro(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function no(e){return R.Children.toArray(e).filter(t=>R.isValidElement(t))}const ao={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var Qt={exports:{}},ne={};/**
1
+ import{r as R,j as B,f as La,c as Ur,g as gt,k as Bt}from"./react-yelKzn1D.js";import{p as bt}from"./dcl-schemas-DuJDHbQk.js";import{b as it,h as st,a as Ae,i as na,j as aa,k as oa,l as Ta,m as Lt,e as qa,n as Aa,o as _a,p as Da,q as ja,d as Kt,s as ia,g as sa,c as la,f as Na,t as Wa,r as Fa}from"./index-Ecq9YQiP.js";import{p as Xt}from"./sentry-AMrL76Mt.js";import{bU as mt,bV as lt,bW as C,cL as Ie,co as Gr,cb as St,cH as Fr,bX as ve,cM as Ha,cN as za,cF as Tt,cO as Hr}from"./index-CdL_T94r.js";import{c as Va}from"./index-C0DD4NDC.js";import{a as ht,g as tt,c as qe,b as yt,n as Ve}from"./emotion-styled.browser.esm-Cu5a2ryg.js";import{u as Mt,b as zt,o as Ze,c as Ua,d as Ga,B as Ka,r as qt,e as zr}from"./createSvgIcon-Dd3y1PDc.js";import{B as Ya,a as Za,b as Xa,c as Ja}from"./index-B-PovmKf.js";import{E as Bs}from"./index-B-PovmKf.js";import{s as Ee,a as Qa,b as ua}from"./styled-CaAKIR1b.js";import{e as Jt,i as Vt,u as et,G as eo,P as to}from"./Grow-CzhocoLW.js";import"./ethers-Bd91seFi.js";import"./intl-AKLEHPeO.js";import"./useTheme-CIskf_GX.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]="dbfe6546-f5bb-4ba0-8675-f8bc8d344a39",e._sentryDebugIdIdentifier="sentry-dbid-dbfe6546-f5bb-4ba0-8675-f8bc8d344a39")}catch{}})();function ro(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function no(e){return R.Children.toArray(e).filter(t=>R.isValidElement(t))}const ao={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var Qt={exports:{}},ne={};/**
2
2
  * @license React
3
3
  * react-is.production.min.js
4
4
  *
@@ -10,4 +10,4 @@ import{r as R,j as B,f as La,c as Ur,g as gt,k as Bt}from"./react-D7nfuWd6.js";i
10
10
  `)>=0)return!1;return!0}function H(i,c){var F;if(i.indent===" ")F=" ";else if(typeof i.indent=="number"&&i.indent>0)F=_.call(Array(i.indent+1)," ");else return null;return{base:F,prev:_.call(Array(c+1),F)}}function be(i,c){if(i.length===0)return"";var F=`
11
11
  `+c.prev+c.base;return F+_.call(i,","+F)+`
12
12
  `+c.prev}function Se(i,c){var F=E(i),Q=[];if(F){Q.length=i.length;for(var re=0;re<i.length;re++)Q[re]=ce(i,re)?c(i[re],i):""}var N=typeof ae=="function"?ae(i):[],Re;if(fe){Re={};for(var Me=0;Me<N.length;Me++)Re["$"+N[Me]]=N[Me]}for(var he in i)ce(i,he)&&(F&&String(Number(he))===he&&he<i.length||fe&&Re["$"+he]instanceof Symbol||(L.call(/[^\w$]/,he)?Q.push(c(he,i)+": "+c(i[he],i)):Q.push(he+": "+c(i[he],i))));if(typeof ae=="function")for(var Ce=0;Ce<N.length;Ce++)Be.call(i,N[Ce])&&Q.push("["+c(N[Ce])+"]: "+c(i[N[Ce]],i));return Q}return tr}var rr,sn;function fi(){if(sn)return rr;sn=1;var e=Yt(),t=it(),r=function(o,u,f){for(var g=o,p;(p=g.next)!=null;g=p)if(p.key===u)return g.next=p.next,f||(p.next=o.next,o.next=p),p},a=function(o,u){if(o){var f=r(o,u);return f&&f.value}},n=function(o,u,f){var g=r(o,u);g?g.value=f:o.next={key:u,next:o.next,value:f}},l=function(o,u){return o?!!r(o,u):!1},s=function(o,u){if(o)return r(o,u,!0)};return rr=function(){var u,f={assert:function(g){if(!f.has(g))throw new t("Side channel does not contain "+e(g))},delete:function(g){var p=s(u,g);return p&&u&&!u.next&&(u=void 0),!!p},get:function(g){return a(u,g)},has:function(g){return l(u,g)},set:function(g,p){u||(u={next:void 0}),n(u,g,p)}};return f},rr}var nr,ln;function da(){if(ln)return nr;ln=1;var e=st(),t=Ae(),r=Yt(),a=it(),n=e("%Map%",!0),l=t("Map.prototype.get",!0),s=t("Map.prototype.set",!0),o=t("Map.prototype.has",!0),u=t("Map.prototype.delete",!0),f=t("Map.prototype.size",!0);return nr=!!n&&function(){var p,b={assert:function(m){if(!b.has(m))throw new a("Side channel does not contain "+r(m))},delete:function(m){if(p){var h=u(p,m);return f(p)===0&&(p=void 0),h}return!1},get:function(m){if(p)return l(p,m)},has:function(m){return p?o(p,m):!1},set:function(m,h){p||(p=new n),s(p,m,h)}};return b},nr}var ar,un;function pi(){if(un)return ar;un=1;var e=st(),t=Ae(),r=Yt(),a=da(),n=it(),l=e("%WeakMap%",!0),s=t("WeakMap.prototype.get",!0),o=t("WeakMap.prototype.set",!0),u=t("WeakMap.prototype.has",!0),f=t("WeakMap.prototype.delete",!0);return ar=l?function(){var p,b,m={assert:function(h){if(!m.has(h))throw new n("Side channel does not contain "+r(h))},delete:function(h){if(l&&h&&(typeof h=="object"||typeof h=="function")){if(p)return f(p,h)}else if(a&&b)return b.delete(h);return!1},get:function(h){return l&&h&&(typeof h=="object"||typeof h=="function")&&p?s(p,h):b&&b.get(h)},has:function(h){return l&&h&&(typeof h=="object"||typeof h=="function")&&p?u(p,h):!!b&&b.has(h)},set:function(h,k){l&&h&&(typeof h=="object"||typeof h=="function")?(p||(p=new l),o(p,h,k)):a&&(b||(b=a()),b.set(h,k))}};return m}:a,ar}var or,cn;function va(){if(cn)return or;cn=1;var e=it(),t=Yt(),r=fi(),a=da(),n=pi(),l=n||a||r;return or=function(){var o,u={assert:function(f){if(!u.has(f)){var g=f&&Object(f)===f?"the given object key":t(f);throw new e("Side channel does not contain "+g)}},delete:function(f){return!!o&&o.delete(f)},get:function(f){return o&&o.get(f)},has:function(f){return!!o&&o.has(f)},set:function(f,g){o||(o=l()),o.set(f,g)}};return u},or}var ir,fn;function ga(){if(fn)return ir;fn=1;var e=Object.prototype.toString;return ir=function(r){var a=e.call(r),n=a==="[object Arguments]";return n||(n=a!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&e.call(r.callee)==="[object Function]"),n},ir}var sr,pn;function di(){if(pn)return sr;pn=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=ga(),n=Object.prototype.propertyIsEnumerable,l=!n.call({toString:null},"toString"),s=n.call(function(){},"prototype"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(b){var m=b.constructor;return m&&m.prototype===b},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},g=(function(){if(typeof window>"u")return!1;for(var b in window)try{if(!f["$"+b]&&t.call(window,b)&&window[b]!==null&&typeof window[b]=="object")try{u(window[b])}catch{return!0}}catch{return!0}return!1})(),p=function(b){if(typeof window>"u"||!g)return u(b);try{return u(b)}catch{return!1}};e=function(m){var h=m!==null&&typeof m=="object",k=r.call(m)==="[object Function]",v=a(m),M=h&&r.call(m)==="[object String]",w=[];if(!h&&!k&&!v)throw new TypeError("Object.keys called on a non-object");var S=s&&k;if(M&&m.length>0&&!t.call(m,0))for(var P=0;P<m.length;++P)w.push(String(P));if(v&&m.length>0)for(var T=0;T<m.length;++T)w.push(String(T));else for(var L in m)!(S&&L==="prototype")&&t.call(m,L)&&w.push(String(L));if(l)for(var W=p(m),_=0;_<o.length;++_)!(W&&o[_]==="constructor")&&t.call(m,o[_])&&w.push(o[_]);return w}}return sr=e,sr}var lr,dn;function Vr(){if(dn)return lr;dn=1;var e=Array.prototype.slice,t=ga(),r=Object.keys,a=r?function(s){return r(s)}:di(),n=Object.keys;return a.shim=function(){if(Object.keys){var s=(function(){var o=Object.keys(arguments);return o&&o.length===arguments.length})(1,2);s||(Object.keys=function(u){return t(u)?n(e.call(u)):n(u)})}else Object.keys=a;return Object.keys||a},lr=a,lr}var ur,vn;function ut(){if(vn)return ur;vn=1;var e=Vr(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,a=Array.prototype.concat,n=aa(),l=function(f){return typeof f=="function"&&r.call(f)==="[object Function]"},s=na()(),o=function(f,g,p,b){if(g in f){if(b===!0){if(f[g]===p)return}else if(!l(b)||!b())return}s?n(f,g,p,!0):n(f,g,p)},u=function(f,g){var p=arguments.length>2?arguments[2]:{},b=e(g);t&&(b=a.call(b,Object.getOwnPropertySymbols(g)));for(var m=0;m<b.length;m+=1)o(f,b[m],g[b[m]],p[b[m]])};return u.supportsDescriptors=!!s,ur=u,ur}var cr,gn;function ma(){if(gn)return cr;gn=1;var e=Vr(),t=oa()(),r=Ae(),a=Ta(),n=r("Array.prototype.push"),l=r("Object.prototype.propertyIsEnumerable"),s=t?a.getOwnPropertySymbols:null;return cr=function(u,f){if(u==null)throw new TypeError("target must be an object");var g=a(u);if(arguments.length===1)return g;for(var p=1;p<arguments.length;++p){var b=a(arguments[p]),m=e(b),h=t&&(a.getOwnPropertySymbols||s);if(h)for(var k=h(b),v=0;v<k.length;++v){var M=k[v];l(b,M)&&n(m,M)}for(var w=0;w<m.length;++w){var S=m[w];if(l(b,S)){var P=b[S];g[S]=P}}}return g},cr}var fr,mn;function ha(){if(mn)return fr;mn=1;var e=ma(),t=function(){if(!Object.assign)return!1;for(var a="abcdefghijklmnopqrst",n=a.split(""),l={},s=0;s<n.length;++s)l[n[s]]=n[s];var o=Object.assign({},l),u="";for(var f in o)u+=f;return a!==u},r=function(){if(!Object.assign||!Object.preventExtensions)return!1;var a=Object.preventExtensions({1:2});try{Object.assign(a,"xy")}catch{return a[1]==="y"}return!1};return fr=function(){return!Object.assign||t()||r()?e:Object.assign},fr}var pr,hn;function vi(){if(hn)return pr;hn=1;var e=ut(),t=ha();return pr=function(){var a=t();return e(Object,{assign:a},{assign:function(){return Object.assign!==a}}),a},pr}var dr,yn;function gi(){if(yn)return dr;yn=1;var e=ut(),t=Lt(),r=ma(),a=ha(),n=vi(),l=t.apply(a()),s=function(u,f){return l(Object,arguments)};return e(s,{getPolyfill:a,implementation:r,shim:n}),dr=s,dr}var vr,bn;function ya(){if(bn)return vr;bn=1;var e=st(),t=Lt(),r=t(e("String.prototype.indexOf"));return vr=function(n,l){var s=e(n,!!l);return typeof s=="function"&&r(n,".prototype.")>-1?t(s):s},vr}var gr,Sn;function mi(){if(Sn)return gr;Sn=1;var e=function(){return typeof(function(){}).name=="string"},t=Object.getOwnPropertyDescriptor;if(t)try{t([],"length")}catch{t=null}e.functionsHaveConfigurableNames=function(){if(!e()||!t)return!1;var n=t(function(){},"name");return!!n&&!!n.configurable};var r=Function.prototype.bind;return e.boundFunctionsHaveNames=function(){return e()&&typeof r=="function"&&(function(){}).bind().name!==""},gr=e,gr}var mr,xn;function hi(){if(xn)return mr;xn=1;var e=aa(),t=na()(),r=mi().functionsHaveConfigurableNames(),a=it();return mr=function(l,s){if(typeof l!="function")throw new a("`fn` is not a function");var o=arguments.length>2&&!!arguments[2];return(!o||r)&&(t?e(l,"name",s,!0,!0):e(l,"name",s)),l},mr}var hr,$n;function ba(){if($n)return hr;$n=1;var e=hi(),t=it(),r=Object;return hr=e(function(){if(this==null||this!==r(this))throw new t("RegExp.prototype.flags getter called on non-object");var n="";return this.hasIndices&&(n+="d"),this.global&&(n+="g"),this.ignoreCase&&(n+="i"),this.multiline&&(n+="m"),this.dotAll&&(n+="s"),this.unicode&&(n+="u"),this.unicodeSets&&(n+="v"),this.sticky&&(n+="y"),n},"get flags",!0),hr}var yr,wn;function Sa(){if(wn)return yr;wn=1;var e=ba(),t=ut().supportsDescriptors,r=Object.getOwnPropertyDescriptor;return yr=function(){if(t&&/a/mig.flags==="gim"){var n=r(RegExp.prototype,"flags");if(n&&typeof n.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var l="",s={};if(Object.defineProperty(s,"hasIndices",{get:function(){l+="d"}}),Object.defineProperty(s,"sticky",{get:function(){l+="y"}}),n.get.call(s),l==="dy")return n.get}}return e},yr}var br,kn;function yi(){if(kn)return br;kn=1;var e=ut().supportsDescriptors,t=Sa(),r=_a(),a=Object.defineProperty,n=Aa(),l=qa(),s=/a/;return br=function(){if(!e||!l)throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var u=t(),f=l(s),g=r(f,"flags");return(!g||g.get!==u)&&a(f,"flags",{configurable:!0,enumerable:!1,get:u}),u},br}var Sr,Rn;function bi(){if(Rn)return Sr;Rn=1;var e=ut(),t=Lt(),r=ba(),a=Sa(),n=yi(),l=t(a());return e(l,{getPolyfill:a,implementation:r,shim:n}),Sr=l,Sr}var wt={exports:{}},xr,Cn;function Si(){if(Cn)return xr;Cn=1;var e=Da(),t=va()(),r=it(),a={assert:function(n,l){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof l!="string")throw new r("`slot` must be a string");if(t.assert(n),!a.has(n,l))throw new r("`"+l+"` is not present on `O`")},get:function(n,l){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof l!="string")throw new r("`slot` must be a string");var s=t.get(n);return s&&s["$"+l]},has:function(n,l){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof l!="string")throw new r("`slot` must be a string");var s=t.get(n);return!!s&&e(s,"$"+l)},set:function(n,l,s){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof l!="string")throw new r("`slot` must be a string");var o=t.get(n);o||(o={},t.set(n,o)),o["$"+l]=s}};return Object.freeze&&Object.freeze(a),xr=a,xr}var $r,In;function xi(){if(In)return $r;In=1;var e=Si(),t=ja(),r=typeof StopIteration=="object"?StopIteration:null;return $r=function(n){if(!r)throw new t("this environment lacks StopIteration");e.set(n,"[[Done]]",!1);var l={next:function(){var o=e.get(this,"[[Iterator]]"),u=!!e.get(o,"[[Done]]");try{return{done:u,value:u?void 0:o.next()}}catch(f){if(e.set(o,"[[Done]]",!0),f!==r)throw f;return{done:!0,value:void 0}}}};return e.set(l,"[[Iterator]]",n),l},$r}var wr,Pn;function xa(){if(Pn)return wr;Pn=1;var e=Ae(),t=e("String.prototype.valueOf"),r=function(o){try{return t(o),!0}catch{return!1}},a=e("Object.prototype.toString"),n="[object String]",l=Kt()();return wr=function(o){return typeof o=="string"?!0:!o||typeof o!="object"?!1:l?r(o):a(o)===n},wr}var kr,On;function $a(){if(On)return kr;On=1;var e=typeof Map=="function"&&Map.prototype?Map:null,t=typeof Set=="function"&&Set.prototype?Set:null,r;e||(r=function(s){return!1});var a=e?Map.prototype.has:null,n=t?Set.prototype.has:null;return!r&&!a&&(r=function(s){return!1}),kr=r||function(s){if(!s||typeof s!="object")return!1;try{if(a.call(s),n)try{n.call(s)}catch{return!0}return s instanceof e}catch{}return!1},kr}var Rr,Mn;function wa(){if(Mn)return Rr;Mn=1;var e=typeof Map=="function"&&Map.prototype?Map:null,t=typeof Set=="function"&&Set.prototype?Set:null,r;t||(r=function(s){return!1});var a=e?Map.prototype.has:null,n=t?Set.prototype.has:null;return!r&&!n&&(r=function(s){return!1}),Rr=r||function(s){if(!s||typeof s!="object")return!1;try{if(n.call(s),a)try{a.call(s)}catch{return!0}return s instanceof t}catch{}return!1},Rr}var En;function $i(){if(En)return wt.exports;En=1;var e=sa(),t=xi();if(ia()()||oa()()){var r=Symbol.iterator;wt.exports=function(O){if(O!=null&&typeof O[r]<"u")return O[r]();if(e(O))return Array.prototype[r].call(O)}}else{var a=la(),n=xa(),l=st(),s=l("%Map%",!0),o=l("%Set%",!0),u=ya(),f=u("Array.prototype.push"),g=u("String.prototype.charCodeAt"),p=u("String.prototype.slice"),b=function(O,U){var ee=O.length;if(U+1>=ee)return U+1;var ae=g(O,U);if(ae<55296||ae>56319)return U+1;var Y=g(O,U+1);return Y<56320||Y>57343?U+1:U+2},m=function(O){var U=0;return{next:function(){var ae=U>=O.length,Y;return ae||(Y=O[U],U+=1),{done:ae,value:Y}}}},h=function(O,U){if(a(O)||e(O))return m(O);if(n(O)){var ee=0;return{next:function(){var Y=b(O,ee),fe=p(O,ee,Y);return ee=Y,{done:Y>O.length,value:fe}}}}if(U&&typeof O["_es6-shim iterator_"]<"u")return O["_es6-shim iterator_"]()};if(!s&&!o)wt.exports=function(O){if(O!=null)return h(O,!0)};else{var k=$a(),v=wa(),M=u("Map.prototype.forEach",!0),w=u("Set.prototype.forEach",!0);if(typeof Xt>"u"||!Xt.versions||!Xt.versions.node)var S=u("Map.prototype.iterator",!0),P=u("Set.prototype.iterator",!0);var T=u("Map.prototype.@@iterator",!0)||u("Map.prototype._es6-shim iterator_",!0),L=u("Set.prototype.@@iterator",!0)||u("Set.prototype._es6-shim iterator_",!0),W=function(O){if(k(O)){if(S)return t(S(O));if(T)return T(O);if(M){var U=[];return M(O,function(ae,Y){f(U,[Y,ae])}),m(U)}}if(v(O)){if(P)return t(P(O));if(L)return L(O);if(w){var ee=[];return w(O,function(ae){f(ee,ae)}),m(ee)}}};wt.exports=function(O){return W(O)||h(O)}}}return wt.exports}var Cr,Bn;function ka(){if(Bn)return Cr;Bn=1;var e=function(t){return t!==t};return Cr=function(r,a){return r===0&&a===0?1/r===1/a:!!(r===a||e(r)&&e(a))},Cr}var Ir,Ln;function Ra(){if(Ln)return Ir;Ln=1;var e=ka();return Ir=function(){return typeof Object.is=="function"?Object.is:e},Ir}var Pr,Tn;function wi(){if(Tn)return Pr;Tn=1;var e=Ra(),t=ut();return Pr=function(){var a=e();return t(Object,{is:a},{is:function(){return Object.is!==a}}),a},Pr}var Or,qn;function ki(){if(qn)return Or;qn=1;var e=ut(),t=Lt(),r=ka(),a=Ra(),n=wi(),l=t(a(),Object);return e(l,{getPolyfill:a,implementation:r,shim:n}),Or=l,Or}var Mr,An;function Ca(){if(An)return Mr;An=1;var e=Lt(),t=Ae(),r=st(),a=r("%ArrayBuffer%",!0),n=t("ArrayBuffer.prototype.byteLength",!0),l=t("Object.prototype.toString"),s=!!a&&!n&&new a(0).slice,o=!!s&&e(s);return Mr=n||o?function(f){if(!f||typeof f!="object")return!1;try{return n?n(f):o(f,0),!0}catch{return!1}}:a?function(f){return l(f)==="[object ArrayBuffer]"}:function(f){return!1},Mr}var Er,_n;function Ri(){if(_n)return Er;_n=1;var e=Ae(),t=e("Date.prototype.getDay"),r=function(o){try{return t(o),!0}catch{return!1}},a=e("Object.prototype.toString"),n="[object Date]",l=Kt()();return Er=function(o){return typeof o!="object"||o===null?!1:l?r(o):a(o)===n},Er}var Br,Dn;function Ci(){if(Dn)return Br;Dn=1;var e=Ae(),t=e("SharedArrayBuffer.prototype.byteLength",!0);return Br=t?function(a){if(!a||typeof a!="object")return!1;try{return t(a),!0}catch{return!1}}:function(a){return!1},Br}var Lr,jn;function Ii(){if(jn)return Lr;jn=1;var e=Ae(),t=e("Number.prototype.toString"),r=function(o){try{return t(o),!0}catch{return!1}},a=e("Object.prototype.toString"),n="[object Number]",l=Kt()();return Lr=function(o){return typeof o=="number"?!0:!o||typeof o!="object"?!1:l?r(o):a(o)===n},Lr}var Tr,Nn;function Pi(){if(Nn)return Tr;Nn=1;var e=Ae(),t=e("Boolean.prototype.toString"),r=e("Object.prototype.toString"),a=function(o){try{return t(o),!0}catch{return!1}},n="[object Boolean]",l=Kt()();return Tr=function(o){return typeof o=="boolean"?!0:o===null||typeof o!="object"?!1:l?a(o):r(o)===n},Tr}var Wt={exports:{}},Wn;function Oi(){if(Wn)return Wt.exports;Wn=1;var e=Ae(),t=e("Object.prototype.toString"),r=ia()(),a=Na();if(r){var n=e("Symbol.prototype.toString"),l=a(/^Symbol\(.*\)$/),s=function(u){return typeof u.valueOf()!="symbol"?!1:l(n(u))};Wt.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||t(u)!=="[object Symbol]")return!1;try{return s(u)}catch{return!1}}}else Wt.exports=function(u){return!1};return Wt.exports}var Ft={exports:{}},qr,Fn;function Mi(){if(Fn)return qr;Fn=1;var e=typeof BigInt<"u"&&BigInt;return qr=function(){return typeof e=="function"&&typeof BigInt=="function"&&typeof e(42)=="bigint"&&typeof BigInt(42)=="bigint"},qr}var Hn;function Ei(){if(Hn)return Ft.exports;Hn=1;var e=Mi()();if(e){var t=BigInt.prototype.valueOf,r=function(n){try{return t.call(n),!0}catch{}return!1};Ft.exports=function(n){return n===null||typeof n>"u"||typeof n=="boolean"||typeof n=="string"||typeof n=="number"||typeof n=="symbol"||typeof n=="function"?!1:typeof n=="bigint"?!0:r(n)}}else Ft.exports=function(n){return!1};return Ft.exports}var Ar,zn;function Bi(){if(zn)return Ar;zn=1;var e=xa(),t=Ii(),r=Pi(),a=Oi(),n=Ei();return Ar=function(s){if(s==null||typeof s!="object"&&typeof s!="function")return null;if(e(s))return"String";if(t(s))return"Number";if(r(s))return"Boolean";if(a(s))return"Symbol";if(n(s))return"BigInt"},Ar}var _r,Vn;function Li(){if(Vn)return _r;Vn=1;var e=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,t=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,r;e||(r=function(s){return!1});var a=e?e.prototype.has:null,n=t?t.prototype.has:null;return!r&&!a&&(r=function(s){return!1}),_r=r||function(s){if(!s||typeof s!="object")return!1;try{if(a.call(s,a),n)try{n.call(s,n)}catch{return!0}return s instanceof e}catch{}return!1},_r}var Ht={exports:{}},Un;function Ti(){if(Un)return Ht.exports;Un=1;var e=st(),t=Ae(),r=e("%WeakSet%",!0),a=t("WeakSet.prototype.has",!0);if(a){var n=t("WeakMap.prototype.has",!0);Ht.exports=function(s){if(!s||typeof s!="object")return!1;try{if(a(s,a),n)try{n(s,n)}catch{return!0}return s instanceof r}catch{}return!1}}else Ht.exports=function(s){return!1};return Ht.exports}var Dr,Gn;function qi(){if(Gn)return Dr;Gn=1;var e=$a(),t=wa(),r=Li(),a=Ti();return Dr=function(l){if(l&&typeof l=="object"){if(e(l))return"Map";if(t(l))return"Set";if(r(l))return"WeakMap";if(a(l))return"WeakSet"}return!1},Dr}var jr,Kn;function Ai(){if(Kn)return jr;Kn=1;var e=Ae(),t=e("ArrayBuffer.prototype.byteLength",!0),r=Ca();return jr=function(n){return r(n)?t?t(n):n.byteLength:NaN},jr}var Nr,Yn;function _i(){if(Yn)return Nr;Yn=1;var e=gi(),t=ya(),r=bi(),a=st(),n=$i(),l=va(),s=ki(),o=sa(),u=la(),f=Ca(),g=Ri(),p=Wa(),b=Ci(),m=Vr(),h=Bi(),k=qi(),v=Fa(),M=Ai(),w=t("SharedArrayBuffer.prototype.byteLength",!0),S=t("Date.prototype.getTime"),P=Object.getPrototypeOf,T=t("Object.prototype.toString"),L=a("%Set%",!0),W=t("Map.prototype.has",!0),_=t("Map.prototype.get",!0),O=t("Map.prototype.size",!0),U=t("Set.prototype.add",!0),ee=t("Set.prototype.delete",!0),ae=t("Set.prototype.has",!0),Y=t("Set.prototype.size",!0);function fe(d,$,q,E){for(var D=n(d),te;(te=D.next())&&!te.done;)if(pe($,te.value,q,E))return ee(d,te.value),!0;return!1}function oe(d){if(typeof d>"u")return null;if(typeof d!="object")return typeof d=="symbol"?!1:typeof d=="string"||typeof d=="number"?+d==+d:!0}function Be(d,$,q,E,D,te){var Z=oe(q);if(Z!=null)return Z;var X=_($,Z),j=e({},D,{strict:!1});return typeof X>"u"&&!W($,Z)||!pe(E,X,j,te)?!1:!W(d,Z)&&pe(E,X,j,te)}function se(d,$,q){var E=oe(q);return E??(ae($,E)&&!ae(d,E))}function ge(d,$,q,E,D,te){for(var Z=n(d),X,j;(X=Z.next())&&!X.done;)if(j=X.value,pe(q,j,D,te)&&pe(E,_($,j),D,te))return ee(d,j),!0;return!1}function pe(d,$,q,E){var D=q||{};if(D.strict?s(d,$):d===$)return!0;var te=h(d),Z=h($);if(te!==Z)return!1;if(!d||!$||typeof d!="object"&&typeof $!="object")return D.strict?s(d,$):d==$;var X=E.has(d),j=E.has($),G;if(X&&j){if(E.get(d)===E.get($))return!0}else G={};return X||E.set(d,G),j||E.set($,G),Pe(d,$,D,E)}function _e(d){return!d||typeof d!="object"||typeof d.length!="number"||typeof d.copy!="function"||typeof d.slice!="function"||d.length>0&&typeof d[0]!="number"?!1:!!(d.constructor&&d.constructor.isBuffer&&d.constructor.isBuffer(d))}function je(d,$,q,E){if(Y(d)!==Y($))return!1;for(var D=n(d),te=n($),Z,X,j;(Z=D.next())&&!Z.done;)if(Z.value&&typeof Z.value=="object")j||(j=new L),U(j,Z.value);else if(!ae($,Z.value)){if(q.strict||!se(d,$,Z.value))return!1;j||(j=new L),U(j,Z.value)}if(j){for(;(X=te.next())&&!X.done;)if(X.value&&typeof X.value=="object"){if(!fe(j,X.value,q.strict,E))return!1}else if(!q.strict&&!ae(d,X.value)&&!fe(j,X.value,q.strict,E))return!1;return Y(j)===0}return!0}function De(d,$,q,E){if(O(d)!==O($))return!1;for(var D=n(d),te=n($),Z,X,j,G,J,z;(Z=D.next())&&!Z.done;)if(G=Z.value[0],J=Z.value[1],G&&typeof G=="object")j||(j=new L),U(j,G);else if(z=_($,G),typeof z>"u"&&!W($,G)||!pe(J,z,q,E)){if(q.strict||!Be(d,$,G,J,q,E))return!1;j||(j=new L),U(j,G)}if(j){for(;(X=te.next())&&!X.done;)if(G=X.value[0],z=X.value[1],G&&typeof G=="object"){if(!ge(j,d,G,z,q,E))return!1}else if(!q.strict&&(!d.has(G)||!pe(_(d,G),z,q,E))&&!ge(j,d,G,z,e({},q,{strict:!1}),E))return!1;return Y(j)===0}return!0}function Pe(d,$,q,E){var D,te;if(typeof d!=typeof $||d==null||$==null||T(d)!==T($)||o(d)!==o($))return!1;var Z=u(d),X=u($);if(Z!==X)return!1;var j=d instanceof Error,G=$ instanceof Error;if(j!==G||(j||G)&&(d.name!==$.name||d.message!==$.message))return!1;var J=p(d),z=p($);if(J!==z||(J||z)&&(d.source!==$.source||r(d)!==r($)))return!1;var me=g(d),ce=g($);if(me!==ce||(me||ce)&&S(d)!==S($)||q.strict&&P&&P(d)!==P($))return!1;var le=v(d),Ne=v($);if(le!==Ne)return!1;if(le||Ne){if(d.length!==$.length)return!1;for(D=0;D<d.length;D++)if(d[D]!==$[D])return!1;return!0}var ue=_e(d),Oe=_e($);if(ue!==Oe)return!1;if(ue||Oe){if(d.length!==$.length)return!1;for(D=0;D<d.length;D++)if(d[D]!==$[D])return!1;return!0}var We=f(d),Fe=f($);if(We!==Fe)return!1;if(We||Fe)return M(d)!==M($)?!1:typeof Uint8Array=="function"&&pe(new Uint8Array(d),new Uint8Array($),q,E);var He=b(d),Ue=b($);if(He!==Ue)return!1;if(He||Ue)return w(d)!==w($)?!1:typeof Uint8Array=="function"&&pe(new Uint8Array(d),new Uint8Array($),q,E);if(typeof d!=typeof $)return!1;var we=m(d),ke=m($);if(we.length!==ke.length)return!1;for(we.sort(),ke.sort(),D=we.length-1;D>=0;D--)if(we[D]!=ke[D])return!1;for(D=we.length-1;D>=0;D--)if(te=we[D],!pe(d[te],$[te],q,E))return!1;var y=k(d),x=k($);return y!==x?!1:y==="Set"||x==="Set"?je(d,$,q,E):y==="Map"?De(d,$,q,E):!0}return Nr=function($,q,E){return pe($,q,E,l())},Nr}var Di=_i();const Zn=gt(Di),ji=Ve("iframe")({background:"transparent",border:0,width:"100%",height:"100%"}),Ni=500,A=(e,t)=>t==null||t===""?"":Array.isArray(t)?t.length>0?t.map(r=>`${e}=${encodeURIComponent(String(r))}`).join("&"):"":`${e}=${encodeURIComponent(String(t))}`,Wi=e=>{const{dev:t=!1,baseUrl:r=Va.get("WEARABLE_PREVIEW_URL"),unity:a=!1,onLoad:n=()=>{},onError:l=()=>{},onUpdate:s=()=>{},...o}=e,[u,f]=R.useState({isReady:!1,pendingOptions:null}),g=R.useRef(null),p=R.useRef(null),b=R.useRef(null),m=R.useMemo(()=>{const{contractAddress:w,tokenId:S,itemId:P,profile:T,urns:L,urls:W,base64s:_,skin:O,hair:U,eyes:ee,bodyShape:ae,emote:Y,camera:fe,projection:oe,zoom:Be,background:se,offsetX:ge,offsetY:pe,offsetZ:_e,cameraX:je,cameraY:De,cameraZ:Pe,wheelZoom:d,wheelPrecision:$,wheelStart:q,disableBackground:E,disableAutoRotate:D,disableAutoCenter:te,disableFace:Z,disableDefaultWearables:X,disableDefaultEmotes:j,disableFadeEffect:G,showSceneBoundaries:J,showThumbnailBoundaries:z,panning:me,lockAlpha:ce,lockBeta:le,lockRadius:Ne,peerUrl:ue,nftServerUrl:Oe,marketplaceServerUrl:We,type:Fe,unityMode:He,username:Ue,socialEmote:we}=o,ke=A("contract",w),y=A("token",S),x=A("item",P),I=A("profile",T),V=A("urn",L),K=A("url",W),H=A("base64",_),be=A("skin",O),Se=A("hair",U),i=A("eyes",ee),c=A("bodyShape",ae),F=A("emote",Y),Q=A("camera",fe),re=A("projection",oe),N=A("zoom",Be),Re=A("background",se),Me=A("offsetX",ge),he=A("offsetY",pe),Ce=A("offsetZ",_e),rt=A("cameraX",je),Le=A("cameraY",De),xe=A("cameraZ",Pe),Xe=A("wheelZoom",d),ct=A("wheelPrecision",$),ft=A("wheelStart",q),Ge=A("disableBackground",E),nt=A("disableAutoRotate",D),Je=A("disableAutoCenter",te),at=A("disableFace",Z),Ke=A("disableDefaultWearables",X),pt=A("disableDefaultEmotes",j),Qe=A("disableFadeEffect",G),Ye=A("showSceneBoundaries",J),dt=A("showThumbnailBoundaries",z),ie=A("peerUrl",ue),ot=A("marketplaceServerUrl",We??Oe),ze=A("type",Fe),ye=A("panning",me),vt=A("lockAlpha",ce),Zt=A("lockBeta",le),At=A("lockRadius",Ne),Ia=A("env",t?"dev":void 0),Pa=A("unity",a),Oa=A("mode",He),Ma=A("username",Ue),Ea=A("socialEmote",we);return r+"?"+[ke,y,x,I,V,K,H,be,Se,i,c,F,Q,re,N,Re,Me,he,Ce,rt,Le,xe,Xe,ct,ft,Ge,nt,Je,at,Ke,pt,Qe,Ye,dt,ie,ot,ze,ye,vt,Zt,At,Ia,Pa,Oa,Ma,Ea].filter(Ba=>!!Ba).join("&")},[o,r,t,a]),h=R.useMemo(()=>{const w={};for(const S in o)typeof o[S]!="function"&&(w[S]=o[S]);return w},[o]),k=R.useCallback(w=>{var P;const S=p.current;(!S||!Zn(w,S))&&((P=g.current)!=null&&P.contentWindow&&bt.sendMessage(g.current.contentWindow,bt.PreviewMessageType.UPDATE,{options:w}),s(w),p.current=w)},[s]),v=R.useCallback(()=>{g.current?typeof window<"u"&&(u.isReady?k(h):Zn(u.pendingOptions,h)||f(w=>({...w,pendingOptions:h,url:m}))):console.warn("Could not send update, iframe is not referenced")},[h,u.pendingOptions,u.isReady,k]),M=R.useCallback(w=>{var T;const{origin:S}=w;if(S!==r||!((T=w.data)!=null&&T.type))return;switch(w.data.type){case bt.PreviewMessageType.LOAD:{const L=w.data.payload;n(L==null?void 0:L.renderer);break}case bt.PreviewMessageType.ERROR:{const L=w.data.payload;l(new Error(L.message));break}case bt.PreviewMessageType.READY:{f(L=>L.isReady?L:L.pendingOptions!==null?(k(L.pendingOptions),{...L,isReady:!0,pendingOptions:null}):{...L,isReady:!0});break}}},[r,n,l,k]);return R.useEffect(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M,!1)}),[M]),R.useEffect(()=>{e.blob||b.current===m||(b.current=m,p.current=h)},[m,h,e.blob]),R.useEffect(()=>{e.blob&&v()},[e.blob,v]),R.useEffect(()=>{const w=setTimeout(v,Ni);return()=>clearTimeout(w)},[v]),e.tokenId&&e.itemId&&console.warn("You should NOT use `tokenId` and `itemId` props simultaneously"),B.jsx(ji,{id:e.id,src:m,ref:g,allow:"autoplay"})};Wi.createController=za;var kt={},Xn;function Fi(){if(Xn)return kt;Xn=1;var e=Tt();Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=void 0;var t=e(qt()),r=Bt();return kt.default=(0,t.default)((0,r.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown"),kt}var Hi=Fi();const zi=gt(Hi);var Rt={},Jn;function Vi(){if(Jn)return Rt;Jn=1;var e=Tt();Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.default=void 0;var t=e(qt()),r=Bt();return Rt.default=(0,t.default)((0,r.jsx)("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp"),Rt}var Ui=Vi();const Gi=gt(Ui),Ki=Ve(Xa)(({theme:e})=>({gap:e.spacing(1)})),Yi=Ve(fa)(({theme:e})=>({height:"calc(100% + 8px)",marginTop:e.spacing(-.5),borderColor:e.palette.common.white})),Zi=Ve(eo)(({placement:e})=>({transformOrigin:e==="bottom"?"center top":"center bottom"})),Is=({wearablePreviewId:e,className:t,wearablePreviewController:r,selectedAnimation:a,onSelectAnimation:n,renderAnimationSelector:l})=>{const{controllerRef:s,isReady:o}=Hr(e,r),[u,f]=R.useState(!1),g=R.useRef(null),[p,b]=R.useState(void 0),[m,h]=R.useState(0);R.useEffect(()=>{if(!p||!a)return;const w=p.findIndex(S=>S.title===a.title);h(w>=0?w:0)},[p,a]),R.useEffect(()=>{!o||!s.current||p!==void 0||Promise.all([s.current.emote.getSocialEmoteAnimations(),s.current.emote.getPlayingSocialEmoteAnimation()]).then(([w,S])=>{if(b(w),S){n==null||n(S);const P=(w==null?void 0:w.findIndex(T=>T.title===S.title))??-1;h(P>=0?P:0)}}).catch(w=>{console.error("Error checking social emote:",w),b(null)})},[p,o,s,n]);const k=R.useCallback((w,S)=>{f(!1),h(S),p!=null&&p[S]&&(n==null||n(p[S]))},[p,n]),v=R.useCallback(()=>{f(w=>!w)},[]),M=R.useCallback(w=>{var S;(S=g.current)!=null&&S.contains(w.target)||f(!1)},[]);return!p||p.length===0?null:l&&n?l({socialEmoteAnimations:p,selectedAnimation:a??p[0],onSelectAnimation:n}):B.jsxs(R.Fragment,{children:[B.jsx(Po,{className:t,variant:"contained",ref:g,"aria-label":"Button group with a nested menu",children:B.jsxs(Ki,{size:"small","aria-controls":u?"split-button-menu":void 0,"aria-expanded":u?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:v,children:[p[m].title,B.jsx(Yi,{orientation:"vertical",flexItem:!0}),u?B.jsx(Gi,{}):B.jsx(zi,{})]})}),B.jsx(to,{open:u,anchorEl:g.current,role:void 0,transition:!0,disablePortal:!0,className:`${t}__popper`,children:({TransitionProps:w,placement:S})=>B.jsx(Zi,{...w,placement:S,children:B.jsx(fo,{children:B.jsx(go,{onClickAway:M,children:B.jsx(No,{id:"split-button-menu",autoFocusItem:!0,children:p.map((P,T)=>B.jsx(Uo,{selected:T===m,onClick:L=>k(L,T),children:P.title},P.title))})})})})})]})};var Ct={},Qn;function Xi(){if(Qn)return Ct;Qn=1;var e=Tt();Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.default=void 0;var t=e(qt()),r=Bt();return Ct.default=(0,t.default)((0,r.jsx)("path",{d:"M16 17.01V10h-2v7.01h-3L15 21l4-3.99zM9 3 5 6.99h3V14h2V6.99h3z"}),"SwapVert"),Ct}var Ji=Xi();const Qi=gt(Ji);var Ot;(function(e){e.TOP="top",e.BOTTOM="bottom",e.CENTER="center"})(Ot||(Ot={}));var Et;(function(e){e.LEFT="left",e.RIGHT="right"})(Et||(Et={}));const es=Ve(zr)(({horizontalPosition:e=Ot.CENTER,verticalPosition:t=Et.RIGHT})=>({position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",...e===Ot.TOP?{justifyContent:"flex-start"}:e===Ot.BOTTOM?{justifyContent:"flex-end"}:{justifyContent:"center"},...t===Et.RIGHT?{justifyContent:"flex-end"}:{justifyContent:"flex-start"},pointerEvents:"none","& > *":{pointerEvents:"auto"}})),ts=Ve(zr)({display:"flex",alignItems:"center",flexDirection:"column"}),rs=Ve(zr)({display:"flex",alignItems:"center",color:"#736e7d"}),ns=Ve(si)(({theme:e})=>({height:256,color:"#736e7d","& .MuiSlider-rail":{width:2,opacity:1,backgroundColor:"#000000",paddingBottom:e.spacing(4)},"& .MuiSlider-track":{width:2,border:"none",backgroundColor:"#000000"},"& .MuiSlider-thumb":{height:32,width:8,borderRadius:4,backgroundColor:"#736e7d",translate:"0px 16px",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.16), inset 0px 1px 0px rgba(255, 255, 255, 0.16)","&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.16), inset 0px 1px 0px rgba(255, 255, 255, 0.16)"},"&::before":{display:"none"}}})),Ps=({wearablePreviewId:e,vertical:t,className:r,verticalPosition:a=Et.RIGHT,wearablePreviewController:n})=>{const{controllerRef:l}=Hr(e,n),s=R.useCallback((o,u)=>{var g;const f=Array.isArray(u)?u[0]:u;(g=l.current)==null||g.scene.panCamera({y:f*-1})},[l]);return B.jsx(es,{className:r,verticalPosition:a,children:t?B.jsxs(ts,{children:[B.jsx(rs,{children:B.jsx(Qi,{})}),B.jsx(ns,{orientation:"vertical",defaultValue:0,step:.1,min:-2,max:2,onChange:s})]}):null})};var It={},ea;function as(){if(ea)return It;ea=1;var e=Tt();Object.defineProperty(It,"__esModule",{value:!0}),It.default=void 0;var t=e(qt()),r=Bt();return It.default=(0,t.default)((0,r.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),It}var os=as();const is=gt(os);var Pt={},ta;function ss(){if(ta)return Pt;ta=1;var e=Tt();Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.default=void 0;var t=e(qt()),r=Bt();return Pt.default=(0,t.default)((0,r.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove"),Pt}var ls=ss();const us=gt(ls);var Gt;(function(e){e.LEFT="left",e.RIGHT="right"})(Gt||(Gt={}));const cs=Ve("div")(({position:e})=>({display:"flex",flexDirection:"column",position:"absolute",top:"12px",...e===Gt.LEFT?{left:"12px"}:{right:"12px"}})),ra=Ve(Ja)({width:"32px",height:"32px",minWidth:"unset",padding:0,backgroundColor:"rgba(0, 0, 0, 0.64) !important",borderRadius:0,display:"flex",justifyContent:"center",alignItems:"center","&:hover":{transform:"none"},"& i.icon":{margin:"0 !important"}}),fs=.1,Os=({wearablePreviewId:e,className:t,position:r=Gt.LEFT,wearablePreviewController:a,zoomDelta:n=fs})=>{const{controllerRef:l}=Hr(e,a),s=R.useCallback(async()=>{var u;await((u=l.current)==null?void 0:u.scene.changeZoom(n))},[n,l]),o=R.useCallback(async()=>{var u;await((u=l.current)==null?void 0:u.scene.changeZoom(-n))},[n,l]);return B.jsxs(cs,{className:t,position:r,children:[B.jsx(ra,{className:"ZoomIn",onClick:s,children:B.jsx(is,{})}),B.jsx(ra,{className:"ZoomOut",onClick:o,children:B.jsx(us,{})})]})};export{Is as AnimationControls,Bs as EmoteControls,Ps as TranslationControls,Wi as WearablePreview,Os as ZoomControls,Hr as useWearablePreviewController};
13
- //# sourceMappingURL=index-B8DDvD5C.js.map
13
+ //# sourceMappingURL=index-DSgEKZXj.js.map
@@ -1,2 +1,2 @@
1
- import{P as a,A as m,a as p}from"./index-DUzStg09.js";import{W as Ce,b as Ue,c as Ee}from"./index-DUzStg09.js";import"./lit-element-wjYUA6aF.js";import"./class-map-DopF_Eyi.js";import"./index-DjkvHGdg.js";import"./index-Dl4hrRT2.js";import"./react-D7nfuWd6.js";import"./dcl-schemas-CfMjyfZx.js";import"./sentry-CoTjVJfh.js";import"./ethers-Dv96XuWO.js";import"./intl-AKLEHPeO.js";import"./W3MFrameProviderSingleton-Coji1m5x.js";import"./index-DEMKJ56b.js";import"./index-X2m4MLDN.js";import"./events-BI-hNCIc.js";import"./browser-ponyfill-DuOHNKSs.js";import"./NetworkUtil-BclgfaOh.js";import"./index-DipEvVT9.js";import"./index-OpYIGLSa.js";import"./index-C94H9_tC.js";import"./index.es-BN_feL1z.js";import"./index-sPgW1Gyb.js";import"./index-DGyZchp-.js";import"./index-DpKuFVdi.js";import"./index-y8riFEF7.js";import"./index-C7Y7jomx.js";import"./index-ChJw9kFE.js";import"./index-CXukCjj1.js";import"./index-DT71XGP-.js";import"./index-BMnKJ7um.js";import"./index-BA0ecyfk.js";import"./MathUtil-BvP0JcjY.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]="099c030a-ecaf-4177-b24f-718f0e7b12e6",e._sentryDebugIdIdentifier="sentry-dbid-099c030a-ecaf-4177-b24f-718f0e7b12e6")}catch{}})();const S=3e5;async function C(e){return a.handleOpenPay(e)}async function X(e,t=S){if(t<=0)throw new m(p.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await C(e)}catch(s){throw s instanceof m?s:new m(p.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,l)=>{let o=!1;const c=setTimeout(()=>{o||(o=!0,i(),l(new m(p.GENERIC_PAYMENT_ERROR,"Payment timeout")))},t);function n(){if(o)return;const r=a.state.currentPayment,d=a.state.error,D=a.state.isPaymentInProgress;if((r==null?void 0:r.status)==="SUCCESS"){o=!0,i(),clearTimeout(c),s({success:!0,result:r.result});return}if((r==null?void 0:r.status)==="FAILED"){o=!0,i(),clearTimeout(c),s({success:!1,error:d||"Payment failed"});return}d&&!D&&!r&&(o=!0,i(),clearTimeout(c),s({success:!1,error:d}))}const b=u("currentPayment",n),y=u("error",n),f=u("isPaymentInProgress",n),i=U([b,y,f]);n()})}function $(){return a.getExchanges()}function ee(){var e;return(e=a.state.currentPayment)==null?void 0:e.result}function te(){return a.state.error}function ae(){return a.state.isPaymentInProgress}function u(e,t){return a.subscribeKey(e,t)}function U(e){return()=>{e.forEach(t=>{try{t()}catch{}})}}const se={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},re={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},oe={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},ne={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ie={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},me={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ce={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},de={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},pe={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ue={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},le={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},be={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ye={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},fe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{a as PayController,Ce as W3mPayLoadingView,Ue as W3mPayQuoteView,Ee as W3mPayView,me as arbitrumUSDC,le as arbitrumUSDT,se as baseETH,oe as baseSepoliaETH,re as baseUSDC,ne as ethereumUSDC,pe as ethereumUSDT,$ as getExchanges,ae as getIsPaymentInProgress,te as getPayError,ee as getPayResult,C as openPay,ie as optimismUSDC,ue as optimismUSDT,X as pay,ce as polygonUSDC,be as polygonUSDT,fe as solanaSOL,de as solanaUSDC,ye as solanaUSDT};
2
- //# sourceMappingURL=index-OvuTK60o.js.map
1
+ import{P as a,A as m,a as p}from"./index-ClMZ-b0_.js";import{W as Ce,b as Ue,c as Ee}from"./index-ClMZ-b0_.js";import"./lit-element-wjYUA6aF.js";import"./class-map-DopF_Eyi.js";import"./index-Dhv5AWGT.js";import"./index-CdL_T94r.js";import"./react-yelKzn1D.js";import"./dcl-schemas-DuJDHbQk.js";import"./sentry-AMrL76Mt.js";import"./ethers-Bd91seFi.js";import"./intl-AKLEHPeO.js";import"./W3MFrameProviderSingleton-Ct7CKy80.js";import"./index-3upqB-If.js";import"./index-BTnDNJop.js";import"./events-BNdgIchM.js";import"./browser-ponyfill-Bg_q9GLh.js";import"./NetworkUtil-CJdozShf.js";import"./index-BeiMLd_n.js";import"./index-OpYIGLSa.js";import"./index-DOEsJk5K.js";import"./index.es-CQ-Tex_U.js";import"./index-CdiyUHnb.js";import"./index-DQvDaUym.js";import"./index-wONggV0h.js";import"./index-DS0e1gUo.js";import"./index-cbxzhqoc.js";import"./index-7-Uj_d9m.js";import"./index-fqnIPJ67.js";import"./index-V71VGA83.js";import"./index-ebcT6-li.js";import"./index-CknpKgQS.js";import"./MathUtil-BvP0JcjY.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]="099c030a-ecaf-4177-b24f-718f0e7b12e6",e._sentryDebugIdIdentifier="sentry-dbid-099c030a-ecaf-4177-b24f-718f0e7b12e6")}catch{}})();const S=3e5;async function C(e){return a.handleOpenPay(e)}async function X(e,t=S){if(t<=0)throw new m(p.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await C(e)}catch(s){throw s instanceof m?s:new m(p.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,l)=>{let o=!1;const c=setTimeout(()=>{o||(o=!0,i(),l(new m(p.GENERIC_PAYMENT_ERROR,"Payment timeout")))},t);function n(){if(o)return;const r=a.state.currentPayment,d=a.state.error,D=a.state.isPaymentInProgress;if((r==null?void 0:r.status)==="SUCCESS"){o=!0,i(),clearTimeout(c),s({success:!0,result:r.result});return}if((r==null?void 0:r.status)==="FAILED"){o=!0,i(),clearTimeout(c),s({success:!1,error:d||"Payment failed"});return}d&&!D&&!r&&(o=!0,i(),clearTimeout(c),s({success:!1,error:d}))}const b=u("currentPayment",n),y=u("error",n),f=u("isPaymentInProgress",n),i=U([b,y,f]);n()})}function $(){return a.getExchanges()}function ee(){var e;return(e=a.state.currentPayment)==null?void 0:e.result}function te(){return a.state.error}function ae(){return a.state.isPaymentInProgress}function u(e,t){return a.subscribeKey(e,t)}function U(e){return()=>{e.forEach(t=>{try{t()}catch{}})}}const se={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},re={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},oe={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},ne={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ie={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},me={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ce={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},de={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},pe={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ue={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},le={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},be={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ye={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},fe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{a as PayController,Ce as W3mPayLoadingView,Ue as W3mPayQuoteView,Ee as W3mPayView,me as arbitrumUSDC,le as arbitrumUSDT,se as baseETH,oe as baseSepoliaETH,re as baseUSDC,ne as ethereumUSDC,pe as ethereumUSDT,$ as getExchanges,ae as getIsPaymentInProgress,te as getPayError,ee as getPayResult,C as openPay,ie as optimismUSDC,ue as optimismUSDT,X as pay,ce as polygonUSDC,be as polygonUSDT,fe as solanaSOL,de as solanaUSDC,ye as solanaUSDT};
2
+ //# sourceMappingURL=index-DVL9TVPR.js.map