@dcl/shop 1.8.3-32154045491.commit-34893e1 → 1.8.3-32154096449.commit-38d20cc

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 (230) hide show
  1. package/_assets/{Activity-CCJtzrQc.js → Activity-tjbS92vg.js} +4 -4
  2. package/_assets/{AnimatedBackground-ukgT2CaH.js → AnimatedBackground-ByD6MD8i.js} +2 -2
  3. package/_assets/{Assets-w_LlszNw.js → Assets-CjF9wpZI.js} +5 -5
  4. package/_assets/{Authorizations-GH433XBY.js → Authorizations-DByWP0tG.js} +2 -2
  5. package/_assets/{Cart-CKWZHEML.js → Cart-BgPvDutB.js} +2 -2
  6. package/_assets/{CircularProgress-B0_BaUcL.js → CircularProgress-CW6tqEfk.js} +2 -2
  7. package/_assets/{Collection-KhWGkBvB.js → Collection-NgNSDrqk.js} +10 -10
  8. package/_assets/{CollectionCarousel-BtLsDNw3.js → CollectionCarousel-C929qsob.js} +3 -3
  9. package/_assets/{Confetti-2Sj9qKy0.js → Confetti-D33d_Eo9.js} +4 -4
  10. package/_assets/{ConstantsUtil-BSdKEtHJ.js → ConstantsUtil-DO3ipPxC.js} +2 -2
  11. package/_assets/{ContentClient-BwEyfB1n.js → ContentClient-Fs_5bE9A.js} +2 -2
  12. package/_assets/{Creator-BlOGPY2p.js → Creator-Dzp29OQM.js} +7 -7
  13. package/_assets/{DeploymentBuilder-GfkUd9Va.js → DeploymentBuilder-B-QIMXUh.js} +2 -2
  14. package/_assets/{EmotePlaybackBar-OlXIXS5P.js → EmotePlaybackBar-DhFL4ZQe.js} +20 -20
  15. package/_assets/{ErrorNotice-DeCA9WAi.js → ErrorNotice-CaQ5OYmK.js} +2 -2
  16. package/_assets/{ExchangeController-DzeYJK1n.js → ExchangeController-DFBVngh1.js} +2 -2
  17. package/_assets/{Faq-C4tMHbo8.js → Faq-DpBFp9dz.js} +2 -2
  18. package/_assets/{GetCredits-DTwSuFdP.js → GetCredits-Bf85hnbs.js} +2 -2
  19. package/_assets/{Grow-yCQgowlE.js → Grow-DTPkLpBD.js} +2 -2
  20. package/_assets/{HelpersUtil-CurAEO_U.js → HelpersUtil-B2_4kLeq.js} +2 -2
  21. package/_assets/{ItemDetail-C7vkb0Ml.js → ItemDetail-HuOo4gat.js} +339 -323
  22. package/_assets/{LoadMore-B1f0RWLo.js → LoadMore-BO4tImn-.js} +2 -2
  23. package/_assets/{ManaPricingBanner.styles-d-P7obZp.js → ManaPricingBanner.styles-BSBybZiW.js} +2 -2
  24. package/_assets/{MyAssets-CkJ5I-QD.js → MyAssets-BJX3EIbC.js} +2 -2
  25. package/_assets/{MyFavorites-BfaQqtvo.js → MyFavorites-BLtUr-hj.js} +2 -2
  26. package/_assets/{NetworkUtil-D8uMaPVC.js → NetworkUtil-T6qNmKDs.js} +2 -2
  27. package/_assets/{NotFound-DCwBW6B2.js → NotFound-DWuZgLEu.js} +2 -2
  28. package/_assets/{NotificationsBell-DqIeobF-.js → NotificationsBell-DlVusYd_.js} +2 -2
  29. package/_assets/{OutfitDetail-DqZ-v5wg.js → OutfitDetail-DRYCd8RT.js} +2 -2
  30. package/_assets/{OutfitPreview-D2VKNko8.js → OutfitPreview-Bj71vNg4.js} +2 -2
  31. package/_assets/{OutfitStudio-IezdFS7-.js → OutfitStudio-D2jPg-M1.js} +2 -2
  32. package/_assets/{StoreSettings-cpllb8ti.js → StoreSettings-EZqh9aPC.js} +2 -2
  33. package/_assets/{Success-C-HoSOG2.js → Success-D_r2E9te.js} +2 -2
  34. package/_assets/{SwapController-CZi_Qtgp.js → SwapController-2gl_Nn2l.js} +2 -2
  35. package/_assets/{TradeService-ByxrRWys.js → TradeService-BDzGXgXx.js} +2 -2
  36. package/_assets/{W3MFrameProviderSingleton-DZIOTM7M.js → W3MFrameProviderSingleton-BRS1LeQ3.js} +4 -4
  37. package/_assets/{WebCryptoP256-D04swaA5.js → WebCryptoP256-DgEUwCIQ.js} +2 -2
  38. package/_assets/{authorizations-BLpX0ZKm.js → authorizations-f9Nw1S1T.js} +2 -2
  39. package/_assets/{basic-J9f4tY2r.js → basic-0jaNdLU5.js} +2 -2
  40. package/_assets/{biconomy-B5mOh6tz.js → biconomy-BZToFVWF.js} +2 -2
  41. package/_assets/{browseLayout.styles-C2jTKXjO.js → browseLayout.styles-CxaEW0uQ.js} +48 -48
  42. package/_assets/{browser-DZ4otMfr.js → browser-CzVOSg4c.js} +2 -2
  43. package/_assets/{browser-ponyfill-DC_Inqsl.js → browser-ponyfill-C2YVDQaM.js} +2 -2
  44. package/_assets/{builder-B7IERwDu.js → builder-DxwIPPJr.js} +2 -2
  45. package/_assets/{buy-Mx47WocZ.js → buy-R8jfFPpt.js} +2 -2
  46. package/_assets/{buy-gasless-4fC6L2nR.js → buy-gasless-BhHQTQv7.js} +2 -2
  47. package/_assets/categories-fz4WP-70.js +46 -0
  48. package/_assets/{ccip-BbLaVhzu.js → ccip-5sKqid0d.js} +2 -2
  49. package/_assets/{ccip-CIH5llvD.js → ccip-DMjYp4vP.js} +2 -2
  50. package/_assets/{chains-CnrqhoIs.js → chains-DUwVKytP.js} +2 -2
  51. package/_assets/{collectionPage.styles-CWlMF4Ql.js → collectionPage.styles-lBqFHbDg.js} +7 -7
  52. package/_assets/{common-BCWnjNFa.js → common-D4PSH4wu.js} +2 -2
  53. package/_assets/{controller-DN7I5H4l.js → controller-0wkScOnz.js} +3 -3
  54. package/_assets/{core-Deti64KR.js → core-AvGoXAIC.js} +5 -5
  55. package/_assets/{createSvgIcon-_2ODp_qR.js → createSvgIcon-C-lF3sHa.js} +2 -2
  56. package/_assets/{custom-DvCLeKAR.js → custom-CsdXI55c.js} +2 -2
  57. package/_assets/{data-capture-Cas0daXJ.js → data-capture-D0vHzQes.js} +2 -2
  58. package/_assets/{dcl-schemas-P0fzFvZQ.js → dcl-schemas-DbJRM3Q6.js} +2 -2
  59. package/_assets/{decimals-DfDCTeeZ.js → decimals-BapHfwAw.js} +2 -2
  60. package/_assets/{decimals-CnUhUm-t.js → decimals-DQPBxi3b.js} +2 -2
  61. package/_assets/{detectExtension-D_uH0pEy.js → detectExtension-Cxs1i1Jr.js} +2 -2
  62. package/_assets/{disposePreview-BoyQ02UX.js → disposePreview-DCGCwSDX.js} +2 -2
  63. package/_assets/{email-Cr13VNlX.js → email-CWE6jiVT.js} +2 -2
  64. package/_assets/{embedded-wallet-Cvu62s79.js → embedded-wallet-DHT5tufd.js} +2 -2
  65. package/_assets/{emotion-styled.browser.esm-CDE9Qk39.js → emotion-styled.browser.esm-De_VGcaK.js} +2 -2
  66. package/_assets/{engine-CpAtkklj.js → engine-BQjLaSbK.js} +2 -2
  67. package/_assets/{errors-CA7Z9VT8.js → errors-BLaFguq5.js} +2 -2
  68. package/_assets/{estimate-l1-fee-5IOr98Yw.js → estimate-l1-fee-wUbmcLKG.js} +2 -2
  69. package/_assets/{eth_estimateGas-Dl7cjUoK.js → eth_estimateGas-D0fOQATn.js} +2 -2
  70. package/_assets/{eth_getStorageAt-B7WsiHWC.js → eth_getStorageAt-5ynUWUCb.js} +2 -2
  71. package/_assets/{eth_getTransactionCount-DtroionU.js → eth_getTransactionCount-CuODDSFU.js} +2 -2
  72. package/_assets/{ethereum-BCh8D30F.js → ethereum-Dgdk8JY1.js} +2 -2
  73. package/_assets/{ethers-0uy3efbv.js → ethers-BxI-2j43.js} +2 -2
  74. package/_assets/{events-DpNYbKNp.js → events-RbOBqrwa.js} +2 -2
  75. package/_assets/{execute-DovYIGqy.js → execute-ViIW46Zs.js} +3 -3
  76. package/_assets/{extractIPFS-B7WWrmnw.js → extractIPFS-DyDb4-a9.js} +2 -2
  77. package/_assets/{features-BbA95kzm.js → features-T1YiWqI-.js} +2 -2
  78. package/_assets/{fetchTokenMetadata-kfqL3gJT.js → fetchTokenMetadata-pWcM4VRk.js} +3 -3
  79. package/_assets/{field.styles-DjTdslJh.js → field.styles-BWiu7ufq.js} +2 -2
  80. package/_assets/{fortmatic-DZHO0AeX.js → fortmatic-4NsBLR0y.js} +2 -2
  81. package/_assets/{get-bytecode-DvfIaoHD.js → get-bytecode-Bjxck0E4.js} +2 -2
  82. package/_assets/{get-ecosystem-wallet-info-BqO7cWf9.js → get-ecosystem-wallet-info-D9WtioTP.js} +2 -2
  83. package/_assets/{getBalance-BN9LzHt0.js → getBalance-Dli8yE_w.js} +3 -3
  84. package/_assets/{getInstalledModules-BfTMJX7z.js → getInstalledModules-COz_aiAx.js} +2 -2
  85. package/_assets/{getNFT-BSsnNjMS.js → getNFT-CDh8SWMx.js} +3 -3
  86. package/_assets/{getNFT-JooNVpXM.js → getNFT-DY3r97f4.js} +2 -2
  87. package/_assets/{grid.styles-B5RikSCd.js → grid.styles-DKtnsoGp.js} +2 -2
  88. package/_assets/{hashTypedData-CX_JUkes.js → hashTypedData-B936230J.js} +2 -2
  89. package/_assets/{hashTypedData-D70X66gt.js → hashTypedData-BJ6O92-5.js} +2 -2
  90. package/_assets/{in-app-DH7pZWVp.js → in-app-D6hK4b38.js} +2 -2
  91. package/_assets/{in-app-wallet-calls-QCK74YfX.js → in-app-wallet-calls-7IkaH4dz.js} +2 -2
  92. package/_assets/{index-Dt_pD9C6.js → index-B2V3tMrQ.js} +2 -2
  93. package/_assets/{index-COlCUyoK.js → index-B5y-GfYH.js} +2 -2
  94. package/_assets/{index-ltT-F-5v.js → index-B6wTKkKu.js} +2 -2
  95. package/_assets/{index-CFuqWNKc.js → index-B7gvl1i9.js} +2 -2
  96. package/_assets/{index-CGOOllvd.js → index-BJhCTZEm.js} +2 -2
  97. package/_assets/{index-B-YPIar3.js → index-BSAfeYwv.js} +2 -2
  98. package/_assets/{index-_KD3E0gb.js → index-Bc3JPqoF.js} +2 -2
  99. package/_assets/{index-DiIOdfyH.js → index-BgW7jLHI.js} +2 -2
  100. package/_assets/{index-B3KTsV8A.js → index-BqMg6yQz.js} +2 -2
  101. package/_assets/{index-BZNeoyeu.js → index-BuIlOMex.js} +2 -2
  102. package/_assets/{index-CUdTQHq5.js → index-ByQVENsz.js} +2 -2
  103. package/_assets/{index-CyV3Eqnk.js → index-C1KNcsnm.js} +3 -3
  104. package/_assets/{index-CWbJ_4Np.js → index-C5Y_13CD.js} +4 -4
  105. package/_assets/{index-Bf9wYDJX.js → index-CBex6sE_.js} +2 -2
  106. package/_assets/{index-B6xVrAUa.js → index-CDDm5a0z.js} +2 -2
  107. package/_assets/{index-BUsRd6iZ.js → index-CNnd_Ikd.js} +2 -2
  108. package/_assets/{index-Duu8ib-t.js → index-CPyDukKK.js} +2 -2
  109. package/_assets/{index-KzERoimz.js → index-CQ5n0lie.js} +2 -2
  110. package/_assets/{index-Ce0k8vtj.js → index-CRgUOffE.js} +2 -2
  111. package/_assets/{index-B1S2Aq9e.js → index-CS19I8UL.js} +2 -2
  112. package/_assets/{index-beNWS2qr.js → index-CS8vyqOi.js} +2 -2
  113. package/_assets/{index-C4hjpdGr.js → index-CSPCmw2f.js} +2 -2
  114. package/_assets/{index-BkLs0QPI.js → index-CT0dz0Tf.js} +2 -2
  115. package/_assets/{index-IoEvv0ac.js → index-CT6wl84W.js} +2 -2
  116. package/_assets/{index-CnEarX4s.js → index-CVwEay3k.js} +2 -2
  117. package/_assets/{index-BE5HOOU8.js → index-C_tukfMk.js} +2 -2
  118. package/_assets/{index-C8nUpddT.js → index-Cc3AyeHM.js} +2 -2
  119. package/_assets/{index-mUavNjJy.js → index-Ccurs9kB.js} +2 -2
  120. package/_assets/{index-W7iAq2gU.js → index-ChmjKDfl.js} +2 -2
  121. package/_assets/{index-DfpYwTkN.js → index-Cmi6_eig.js} +2 -2
  122. package/_assets/{index-BdrdyuRC.js → index-Co37ySRR.js} +2 -2
  123. package/_assets/{index-BkVmK8p5.js → index-CoPPEao3.js} +2 -2
  124. package/_assets/{index-CAIjP6FF.js → index-CpiXYAw_.js} +2 -2
  125. package/_assets/{index-Ca0D2-sN.js → index-CpqqzSTE.js} +2 -2
  126. package/_assets/{index-BeivSa2i.js → index-CuosuJu8.js} +2 -2
  127. package/_assets/{index-BjKRRIPi.js → index-Cy5NUo2f.js} +2 -2
  128. package/_assets/{index-B5_gtQVa.js → index-D-L4M6Nm.js} +2 -2
  129. package/_assets/{index-C2faTiXT.js → index-D0Y9CMOX.js} +2 -2
  130. package/_assets/{index--az8ODbr.js → index-D7dIFIxZ.js} +2 -2
  131. package/_assets/{index-BQBnW01s.js → index-D7e6bB2D.js} +3 -3
  132. package/_assets/{index-D8LEmpbD.js → index-DCHjqdSk.js} +2 -2
  133. package/_assets/{index-Be6fzITw.js → index-DE1eh1w0.js} +2 -2
  134. package/_assets/index-DQLJFnYh.js +3 -0
  135. package/_assets/{index-CgFhaMvz.js → index-DS9UAskd.js} +4 -4
  136. package/_assets/{index-CPW0VnGz.js → index-DTZQbTTx.js} +2 -2
  137. package/_assets/{index-BbokfIEE.js → index-D_eIeRIP.js} +2 -2
  138. package/_assets/{index-O_hnF5UB.js → index-DeN3ndCa.js} +2 -2
  139. package/_assets/{index-Dn1IaTTE.js → index-DhLruavS.js} +2 -2
  140. package/_assets/{index-CLTVqjlN.js → index-DkpL56_F.js} +3 -3
  141. package/_assets/{index-Cqeg0Z6J.js → index-DnTcKm-R.js} +2 -2
  142. package/_assets/{index-CpA8Q1TK.js → index-DoIgjreo.js} +2 -2
  143. package/_assets/{index-Cb-NKtKE.js → index-Dp8dRpfs.js} +13 -13
  144. package/_assets/{index-C7RXAKd9.js → index-DsJjHZPs.js} +2 -2
  145. package/_assets/{index-JjL36Foj.js → index-DtnIAj7-.js} +4 -4
  146. package/_assets/{index-CAPO7a_A.js → index-DxOV_DEx.js} +2 -2
  147. package/_assets/{index-IkebvHzo.js → index-IC3YtVD8.js} +2 -2
  148. package/_assets/{index-DnyH8DEn.js → index-OLwyGPPh.js} +2 -2
  149. package/_assets/{index-DsOUoAi6.js → index-UeokAE6n.js} +2 -2
  150. package/_assets/{index-Ck8LEOTZ.js → index-VP7CmW5S.js} +2 -2
  151. package/_assets/{index-Cu4HOgmZ.js → index-Z3a4083O.js} +2 -2
  152. package/_assets/{index-Du0Y9whD.js → index-eSwY5k6l.js} +2 -2
  153. package/_assets/{index-BTPYI1kl.js → index-ecTxCynf.js} +2 -2
  154. package/_assets/{index-tuBzRlzh.js → index-fFZ6w7g7.js} +2 -2
  155. package/_assets/{index-NxKAY8l7.js → index-kDx-6PCu.js} +2 -2
  156. package/_assets/{index-BnNeSWKI.js → index-kibkjcXN.js} +2 -2
  157. package/_assets/{index-Bry7Sg2p.js → index-shiBG10N.js} +2 -2
  158. package/_assets/{index-qOuZl5ud.js → index-u05Ss41m.js} +2 -2
  159. package/_assets/{index.es-Bk8M_scp.js → index.es-BT71I7Fm.js} +2 -2
  160. package/_assets/{index.es-DmSbMIP2.js → index.es-ChIX9UBp.js} +2 -2
  161. package/_assets/{index.es-CJrlzLhu.js → index.es-DNEpttfS.js} +2 -2
  162. package/_assets/{index.es-q02alTwB.js → index.es-DWYpoeaf.js} +5 -5
  163. package/_assets/{items-empty-BLjJgkYF.js → items-empty-DLOGWQOI.js} +2 -2
  164. package/_assets/{jump-BRiyQzZ3.js → jump-Cgs1ughc.js} +2 -2
  165. package/_assets/{linkAccount-BYdwy7kx.js → linkAccount-D7Dvx5wE.js} +2 -2
  166. package/_assets/{localBatchGatewayRequest-DKu3zbMe.js → localBatchGatewayRequest-CW2uUgN9.js} +2 -2
  167. package/_assets/{native-vUOrGx_e.js → native-DIoU1jlq.js} +2 -2
  168. package/_assets/{networks-BpnMZeNq.js → networks-DHFTiY9O.js} +2 -2
  169. package/_assets/{onramp-Rq0r3ld8.js → onramp-CVPIVkOM.js} +2 -2
  170. package/_assets/{openzeppelin-DeGwQNHR.js → openzeppelin-Ddz1EkMY.js} +2 -2
  171. package/_assets/{ownerOf-BryyG8uv.js → ownerOf-D1dpYD8B.js} +2 -2
  172. package/_assets/{parseNft-DoygpLSx.js → parseNft-BMaMBoir.js} +3 -3
  173. package/_assets/{parseSignature-BB9_hHMg.js → parseSignature-0qyGr19X.js} +2 -2
  174. package/_assets/{parseSignature-DwfE_Ter.js → parseSignature-CRuwswYh.js} +4 -4
  175. package/_assets/{passkeys-Dgcl6g_U.js → passkeys-D13LghwN.js} +2 -2
  176. package/_assets/{pay-with-exchange-BU0k4f4D.js → pay-with-exchange-DlLRuI0M.js} +2 -2
  177. package/_assets/{prepare-contract-call-DaKcBCPn.js → prepare-contract-call-Bm4AD8SC.js} +2 -2
  178. package/_assets/{qr-overlay-DXEiRFhE.js → qr-overlay-twipKXwE.js} +4 -4
  179. package/_assets/{react-DON_i6Bb.js → react-B7BPQex0.js} +3 -3
  180. package/_assets/{receive-CKAZsi4z.js → receive-DCEYU5Hw.js} +2 -2
  181. package/_assets/{resolveImplementation-BPyZkwom.js → resolveImplementation-BOtbueqY.js} +2 -2
  182. package/_assets/{resume-buy-DUfZnMdd.js → resume-buy-CYCnYlT4.js} +2 -2
  183. package/_assets/{rpc-DGApTOrm.js → rpc-DfjAuCxT.js} +2 -2
  184. package/_assets/{sales-empty-h_50Qg_n.js → sales-empty-Ce7SSReD.js} +2 -2
  185. package/_assets/{search-empty-sC5aFqYA.js → search-empty-Z8HYw8ir.js} +2 -2
  186. package/_assets/{secp256k1-CsYOg3Y3.js → secp256k1-CWzBUSLO.js} +2 -2
  187. package/_assets/{secp256k1-CO_f2MVG.js → secp256k1-CdWZk2PF.js} +2 -2
  188. package/_assets/{secp256k1-DJMW0sFK.js → secp256k1-WQqs3B2I.js} +2 -2
  189. package/_assets/{send-BuIiDrE2.js → send-B6VrDR4d.js} +2 -2
  190. package/_assets/{send-batch-transaction-BPiiwXrp.js → send-batch-transaction-DnfiFymU.js} +2 -2
  191. package/_assets/{send-eip712-transaction-DbkXW57t.js → send-eip712-transaction-BwiB9PNt.js} +3 -3
  192. package/_assets/{send-gasless-transaction-CDs10vZY.js → send-gasless-transaction-8q7jyFFT.js} +3 -3
  193. package/_assets/send-transaction-BQdpu0m3.js +3 -0
  194. package/_assets/{sendMetaTransaction-DAByHLHy.js → sendMetaTransaction-DQRBVW2h.js} +2 -2
  195. package/_assets/{sendRawTransaction-lvNGy6N8.js → sendRawTransaction-B8iTjnHc.js} +4 -4
  196. package/_assets/{sentry-x3TLOECc.js → sentry-BfKN1XTS.js} +3 -3
  197. package/_assets/{serializeTransaction-KNnoHhr0.js → serializeTransaction-BE4J-du2.js} +2 -2
  198. package/_assets/{session-proposal-aFWeTSAk.js → session-proposal-UjA8BOs2.js} +2 -2
  199. package/_assets/{session-request-DNmB7Lpy.js → session-request-zw_vJYc5.js} +3 -3
  200. package/_assets/{sha256-Cn50yOsx.js → sha256-CMfH1BZF.js} +2 -2
  201. package/_assets/{signing-BBTWL6J_.js → signing-DjU6G85m.js} +4 -4
  202. package/_assets/{skeleton.styles-9zQN90T8.js → skeleton.styles-oJ5AjtVf.js} +2 -2
  203. package/_assets/{socials-DOSF2aT8.js → socials-DwAdXWVC.js} +2 -2
  204. package/_assets/{styled-B78Va6ZU.js → styled-OWmjpiBk.js} +2 -2
  205. package/_assets/{swaps-C-Q7Vye8.js → swaps-CPTIGzL1.js} +2 -2
  206. package/_assets/{thirdweb-Bm6SkprK.js → thirdweb-BEadp3b4.js} +4 -4
  207. package/_assets/{to-serializable-transaction-BtSby0I2.js → to-serializable-transaction-BOuXP3W3.js} +3 -3
  208. package/_assets/{totalSupply-BK8Xx9zE.js → totalSupply-BJxwuHp7.js} +2 -2
  209. package/_assets/{transaction-B_3041QX.js → transaction-DcSbZ8L2.js} +2 -2
  210. package/_assets/{transactionReceipt-CKlxk7n9.js → transactionReceipt-18DvqB02.js} +2 -2
  211. package/_assets/{transactions-C2aaCrJy.js → transactions-CG3M09mV.js} +2 -2
  212. package/_assets/{useCreditPacks-C2tESCH-.js → useCreditPacks-CbtXErmX.js} +2 -2
  213. package/_assets/{useInfiniteGrid-CYa2FwSV.js → useInfiniteGrid-CJD3HQCz.js} +2 -2
  214. package/_assets/{useStore-DVvyyjTO.js → useStore-SgaHrA83.js} +3 -3
  215. package/_assets/{useTheme-C8T1l8PV.js → useTheme-LGH8cZZA.js} +2 -2
  216. package/_assets/{utils-C2fzyEch.js → utils-ChoYXDD5.js} +2 -2
  217. package/_assets/{verifyHash-CLw3ELHb.js → verifyHash-4mlkd-Q3.js} +2 -2
  218. package/_assets/{w3m-modal-CNLnZnvm.js → w3m-modal-9ws1UR_3.js} +2 -2
  219. package/_assets/{w3m-modal-C0PlS9ll.js → w3m-modal-D1cD6J8p.js} +2 -2
  220. package/_assets/{wait-for-tx-receipt-DCOVLzEl.js → wait-for-tx-receipt-DfmnQjse.js} +2 -2
  221. package/_assets/{wallets-BX2cjwli.js → wallets-CyJPKtt9.js} +6 -6
  222. package/_assets/{web-connector-Db9ZtMyg.js → web-connector-Bn9rK7Ji.js} +4 -4
  223. package/_assets/{writeContract-yDmZmiKI.js → writeContract-BHA5WLbP.js} +2 -2
  224. package/_assets/{zora-sepolia-B6sfzsnV.js → zora-sepolia-CvXWB1hn.js} +2 -2
  225. package/_assets/{zoraTestnet-CiDWV5iW.js → zoraTestnet-BnXXbzUF.js} +2 -2
  226. package/index.html +11 -11
  227. package/package.json +2 -2
  228. package/_assets/Tooltip-BrVkt-45.js +0 -46
  229. package/_assets/index-C3FsFNAq.js +0 -3
  230. package/_assets/send-transaction-D2GY8-vL.js +0 -3
@@ -1,2 +1,2 @@
1
- import{r as t,j as i,k as W,g as q}from"./react-DON_i6Bb.js";import{h as g}from"./dcl-schemas-P0fzFvZQ.js";import{c4 as pe,H as ve,J as ge,K as p,L as u,cI as w,cC as U,cL as fe}from"./index-Cb-NKtKE.js";import{B as be,r as D,e as me}from"./createSvgIcon-_2ODp_qR.js";import{n as R}from"./emotion-styled.browser.esm-CDE9Qk39.js";import{C as xe}from"./CircularProgress-B0_BaUcL.js";import{g as he,a as ye,c as re,b as Ce}from"./clsx-BEtG4eYu.js";import{s as X,a as Ie}from"./styled-B78Va6ZU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c6e248e7-b5a3-4bf8-a73d-edeacc26d6b1",e._sentryDebugIdIdentifier="sentry-dbid-c6e248e7-b5a3-4bf8-a73d-edeacc26d6b1")}catch{}})();function Ee(e){return he("MuiButton",e)}const V=ye("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Pe=t.createContext({}),ze=t.createContext(void 0),ke=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Re=e=>{const{color:o,disableElevation:n,fullWidth:s,size:c,variant:l,classes:v}=e,f={root:["root",l,`${l}${u(o)}`,`size${u(c)}`,`${l}Size${u(c)}`,`color${u(o)}`,n&&"disableElevation",s&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${u(c)}`],endIcon:["icon","endIcon",`iconSize${u(c)}`]},m=Ce(f,Ee,v);return p({},v,m)},ce=e=>p({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Se=X(be,{shouldForwardProp:e=>Ie(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`${n.variant}${u(n.color)}`],o[`size${u(n.size)}`],o[`${n.variant}Size${u(n.size)}`],n.color==="inherit"&&o.colorInherit,n.disableElevation&&o.disableElevation,n.fullWidth&&o.fullWidth]}})(({theme:e,ownerState:o})=>{var n,s;const c=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],l=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return p({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":p({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:w.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},o.variant==="text"&&o.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[o.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:w.alpha(e.palette[o.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},o.variant==="outlined"&&o.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[o.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[o.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:w.alpha(e.palette[o.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},o.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},o.variant==="contained"&&o.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[o.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[o.color].main}}),"&:active":p({},o.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${V.focusVisible}`]:p({},o.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${V.disabled}`]:p({color:(e.vars||e).palette.action.disabled},o.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},o.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},o.variant==="text"&&{padding:"6px 8px"},o.variant==="text"&&o.color!=="inherit"&&{color:(e.vars||e).palette[o.color].main},o.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},o.variant==="outlined"&&o.color!=="inherit"&&{color:(e.vars||e).palette[o.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[o.color].mainChannel} / 0.5)`:`1px solid ${w.alpha(e.palette[o.color].main,.5)}`},o.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(s=e.palette).getContrastText)==null?void 0:n.call(s,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:c,boxShadow:(e.vars||e).shadows[2]},o.variant==="contained"&&o.color!=="inherit"&&{color:(e.vars||e).palette[o.color].contrastText,backgroundColor:(e.vars||e).palette[o.color].main},o.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},o.size==="small"&&o.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},o.size==="large"&&o.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},o.size==="small"&&o.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},o.size==="large"&&o.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},o.size==="small"&&o.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},o.size==="large"&&o.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},o.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${V.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${V.disabled}`]:{boxShadow:"none"}}),_e=X("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.startIcon,o[`iconSize${u(n.size)}`]]}})(({ownerState:e})=>p({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},ce(e))),Me=X("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.endIcon,o[`iconSize${u(n.size)}`]]}})(({ownerState:e})=>p({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},ce(e))),Ne=t.forwardRef(function(o,n){const s=t.useContext(Pe),c=t.useContext(ze),l=pe(s,o),v=ve({props:l,name:"MuiButton"}),{children:f,color:m="primary",component:C="button",className:x,disabled:r=!1,disableElevation:T=!1,disableFocusRipple:I=!1,endIcon:E,focusVisibleClassName:h,fullWidth:S=!1,size:d="medium",startIcon:$,type:b,variant:F="text"}=v,k=ge(v,ke),P=p({},v,{color:m,component:C,disabled:r,disableElevation:T,disableFocusRipple:I,fullWidth:S,size:d,type:b,variant:F}),y=Re(P),j=$&&i.jsx(_e,{className:y.startIcon,ownerState:P,children:$}),O=E&&i.jsx(Me,{className:y.endIcon,ownerState:P,children:E}),B=c||"";return i.jsxs(Se,p({ownerState:P,className:re(s.className,y.root,x,B),component:C,disabled:r,focusRipple:!I,focusVisibleClassName:re(y.focusVisible,h),ref:n,type:b},k,{classes:y,children:[j,f,O]}))});var _={},te;function Ae(){if(te)return _;te=1;var e=U();Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var o=e(D()),n=W();return _.default=(0,o.default)((0,n.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause"),_}var Te=Ae();const $e=q(Te);var M={},ie;function je(){if(ie)return M;ie=1;var e=U();Object.defineProperty(M,"__esModule",{value:!0}),M.default=void 0;var o=e(D()),n=W();return M.default=(0,o.default)((0,n.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow"),M}var Oe=je();const Be=q(Oe);var N={},se;function Le(){if(se)return N;se=1;var e=U();Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var o=e(D()),n=W();return N.default=(0,o.default)((0,n.jsx)("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63m2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71M4.27 3 3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9zM12 4 9.91 6.09 12 8.18z"}),"VolumeOff"),N}var we=Le();const Ve=q(we);var A={},le;function We(){if(le)return A;le=1;var e=U();Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var o=e(D()),n=W();return A.default=(0,o.default)((0,n.jsx)("path",{d:"M3 9v6h4l5 5V4L7 9zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77"}),"VolumeUp"),A}var qe=We();const Ue=q(qe),De={small:16,medium:20,large:24},de=({children:e,startIcon:o,endIcon:n,loading:s=!1,loadingIcon:c,loadingPosition:l="center",disabled:v=!1,size:f="medium",...m})=>{const C=i.jsx(xe,{color:"inherit",size:De[f]}),x=c||C,r=s&&l==="center"?x:e;return i.jsx(Ne,{disabled:v||s,startIcon:s&&l==="start"?x:o,endIcon:s&&l==="end"?x:n,size:f,...m,children:r})},Fe=R(me)(({theme:e})=>({display:"flex",position:"absolute",width:"100%",bottom:0,margin:`${e.spacing(2)} 0`,padding:`0 ${e.spacing(3)}`,gap:e.spacing(2)})),He=R(de)(({theme:e})=>({width:56,height:44,padding:0,minWidth:"unset",background:"rgba(0, 0, 0, 0.64) !important","& svg":{marginLeft:e.spacing(.5)}})),Ge=R(de)(({theme:e,muted:o})=>({marginLeft:e.spacing(2.5),minWidth:25,background:"none",padding:0,opacity:o?.5:1})),Ye=R("input")(({theme:e})=>({flex:1,width:"100%",background:"none",WebkitAppearance:"none","&:focus":{outline:"none"},"&::-webkit-slider-thumb":{WebkitAppearance:"none",width:24,height:24,borderRadius:10,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer",paddingBottom:e.spacing(.625),marginTop:e.spacing(-.5)},"&::-moz-range-thumb":{width:24,height:24,borderRadius:20,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer",border:"none"},"&::-ms-thumb":{width:24,height:24,borderRadius:20,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer"},"&::-webkit-slider-runnable-track":{width:300,height:15,background:"rgba(115, 110, 125, 0.32)",border:"none",borderRadius:10},"&::-moz-range-track":{width:"100%",height:15,borderRadius:10,cursor:"pointer",background:"rgba(115, 110, 125, 0.32)"}})),Je=R("div")({display:"flex",alignItems:"center"}),Ke=R("input")({width:56,height:44,borderRadius:5,background:"transparent",border:"1px solid rgba(115, 110, 125, 0.4)",color:"white",textAlign:"center","&:focus-visible":{outline:"1px solid"}}),Ze=({wearablePreviewId:e,className:o,hideFrameInput:n,hideProgressInput:s,hidePlayButton:c,hideSoundButton:l,wearablePreviewController:v,renderPlayButton:f,renderSoundButton:m,renderProgressBar:C,renderFrameInput:x})=>{const{controllerRef:r,isReady:T}=fe(e,v),[I,E]=t.useState(0),[h,S]=t.useState(!1),[d,$]=t.useState(void 0),[b,F]=t.useState(!0),[k,P]=t.useState(void 0),[y,j]=t.useState(!1),[O,B]=t.useState(!1),H=t.useCallback(()=>{E(0)},[]),G=t.useCallback(()=>{S(!1),E(a=>a>=Math.floor((d??0)*100)?0:a)},[d]),Y=t.useCallback(()=>{S(!1)},[]),J=t.useCallback(async()=>{if(!O){let a=d;!d&&r.current&&(a=await r.current.emote.getLength()),S(!0),$(a)}},[d,O,r]),K=t.useCallback(({length:a})=>{E(Math.ceil((a??0)*100))},[]);t.useEffect(()=>{const a=r.current;if(a)return a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_PLAY,J),a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_PLAYING,K),a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_END,G),a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_PAUSE,Y),a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_LOOP,H),()=>{a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_PLAY,J),a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_PLAYING,K),a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_END,G),a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_PAUSE,Y),a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_LOOP,H)}},[r,J,K,G,Y,H]),t.useEffect(()=>{k===void 0&&T&&r.current&&r.current.emote.hasSound().then(a=>P(a)).catch(a=>{console.error("Error checking sound:",a),P(!1)})},[k,T,r]);const Z=t.useCallback(async()=>{if(r.current)try{await r.current.emote.play()}catch(a){console.error("Error playing emote:",a)}},[r]),Q=t.useCallback(async()=>{if(r.current)try{await r.current.emote.pause()}catch(a){console.error("Error pausing emote:",a)}},[r]),ee=t.useCallback(async()=>{h?await Q():await Z()},[h,Z,Q]),oe=t.useCallback(()=>{var a,z;b?(a=r.current)==null||a.emote.disableSound():(z=r.current)==null||z.emote.enableSound(),F(!b)},[b,r]),L=t.useCallback(async a=>{if(isNaN(a)||!r.current)return;let z=a;const ne=d??0;ne*100<a&&(z=ne*100),E(z),B(!0);try{h&&(await r.current.emote.pause(),j(!0)),await r.current.emote.goTo(z/100)}catch(ue){console.error("Error changing frame:",ue)}},[d,h,r]),ae=t.useCallback(async()=>{if(B(!1),y&&r.current){try{await r.current.emote.play()}catch(a){console.error("Error resuming play:",a)}j(!1)}},[y,r]);return i.jsxs(Fe,{className:o,children:[c?null:f?f({isPlaying:h,onPlay:Z,onPause:Q,onToggle:ee}):i.jsx(He,{onClick:ee,children:h?i.jsx($e,{}):i.jsx(Be,{})}),s?null:C?C({frame:I,length:d??0,onChange:L,onMouseUp:ae}):i.jsx(Ye,{type:"range",value:I,max:Math.ceil((d??0)*100),min:0,step:1,onChange:a=>L(Number(a.target.value)),onMouseUp:ae}),n?null:i.jsx(Je,{children:x?x({frame:Math.round(I/100),onChange:a=>L(a*100)}):i.jsx(Ke,{type:"number",value:Math.round(I/100),onChange:a=>L(Number(a.target.value)*100)})}),l||!k?null:m?m({isSoundEnabled:b,hasSound:k,onToggle:oe}):i.jsx(Ge,{muted:!b,onClick:oe,children:b?i.jsx(Ue,{}):i.jsx(Ve,{})})]})},io=Object.freeze(Object.defineProperty({__proto__:null,EmoteControls:Ze},Symbol.toStringTag,{value:"Module"}));export{Pe as B,Ze as E,ze as a,Ne as b,de as c,io as i};
2
- //# sourceMappingURL=index-BkVmK8p5.js.map
1
+ import{r as t,j as i,k as W,g as q}from"./react-B7BPQex0.js";import{h as g}from"./dcl-schemas-DbJRM3Q6.js";import{c4 as pe,H as ve,J as ge,K as p,L as u,cI as w,cC as U,cL as fe}from"./index-Dp8dRpfs.js";import{B as be,r as D,e as me}from"./createSvgIcon-C-lF3sHa.js";import{n as R}from"./emotion-styled.browser.esm-De_VGcaK.js";import{C as xe}from"./CircularProgress-CW6tqEfk.js";import{g as he,a as ye,c as re,b as Ce}from"./clsx-BEtG4eYu.js";import{s as X,a as Ie}from"./styled-OWmjpiBk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c6e248e7-b5a3-4bf8-a73d-edeacc26d6b1",e._sentryDebugIdIdentifier="sentry-dbid-c6e248e7-b5a3-4bf8-a73d-edeacc26d6b1")}catch{}})();function Ee(e){return he("MuiButton",e)}const V=ye("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Pe=t.createContext({}),ze=t.createContext(void 0),ke=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Re=e=>{const{color:o,disableElevation:n,fullWidth:s,size:c,variant:l,classes:v}=e,f={root:["root",l,`${l}${u(o)}`,`size${u(c)}`,`${l}Size${u(c)}`,`color${u(o)}`,n&&"disableElevation",s&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${u(c)}`],endIcon:["icon","endIcon",`iconSize${u(c)}`]},m=Ce(f,Ee,v);return p({},v,m)},ce=e=>p({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Se=X(be,{shouldForwardProp:e=>Ie(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`${n.variant}${u(n.color)}`],o[`size${u(n.size)}`],o[`${n.variant}Size${u(n.size)}`],n.color==="inherit"&&o.colorInherit,n.disableElevation&&o.disableElevation,n.fullWidth&&o.fullWidth]}})(({theme:e,ownerState:o})=>{var n,s;const c=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],l=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return p({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":p({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:w.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},o.variant==="text"&&o.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[o.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:w.alpha(e.palette[o.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},o.variant==="outlined"&&o.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[o.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[o.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:w.alpha(e.palette[o.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},o.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},o.variant==="contained"&&o.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[o.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[o.color].main}}),"&:active":p({},o.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${V.focusVisible}`]:p({},o.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${V.disabled}`]:p({color:(e.vars||e).palette.action.disabled},o.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},o.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},o.variant==="text"&&{padding:"6px 8px"},o.variant==="text"&&o.color!=="inherit"&&{color:(e.vars||e).palette[o.color].main},o.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},o.variant==="outlined"&&o.color!=="inherit"&&{color:(e.vars||e).palette[o.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[o.color].mainChannel} / 0.5)`:`1px solid ${w.alpha(e.palette[o.color].main,.5)}`},o.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(s=e.palette).getContrastText)==null?void 0:n.call(s,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:c,boxShadow:(e.vars||e).shadows[2]},o.variant==="contained"&&o.color!=="inherit"&&{color:(e.vars||e).palette[o.color].contrastText,backgroundColor:(e.vars||e).palette[o.color].main},o.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},o.size==="small"&&o.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},o.size==="large"&&o.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},o.size==="small"&&o.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},o.size==="large"&&o.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},o.size==="small"&&o.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},o.size==="large"&&o.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},o.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${V.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${V.disabled}`]:{boxShadow:"none"}}),_e=X("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.startIcon,o[`iconSize${u(n.size)}`]]}})(({ownerState:e})=>p({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},ce(e))),Me=X("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.endIcon,o[`iconSize${u(n.size)}`]]}})(({ownerState:e})=>p({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},ce(e))),Ne=t.forwardRef(function(o,n){const s=t.useContext(Pe),c=t.useContext(ze),l=pe(s,o),v=ve({props:l,name:"MuiButton"}),{children:f,color:m="primary",component:C="button",className:x,disabled:r=!1,disableElevation:T=!1,disableFocusRipple:I=!1,endIcon:E,focusVisibleClassName:h,fullWidth:S=!1,size:d="medium",startIcon:$,type:b,variant:F="text"}=v,k=ge(v,ke),P=p({},v,{color:m,component:C,disabled:r,disableElevation:T,disableFocusRipple:I,fullWidth:S,size:d,type:b,variant:F}),y=Re(P),j=$&&i.jsx(_e,{className:y.startIcon,ownerState:P,children:$}),O=E&&i.jsx(Me,{className:y.endIcon,ownerState:P,children:E}),B=c||"";return i.jsxs(Se,p({ownerState:P,className:re(s.className,y.root,x,B),component:C,disabled:r,focusRipple:!I,focusVisibleClassName:re(y.focusVisible,h),ref:n,type:b},k,{classes:y,children:[j,f,O]}))});var _={},te;function Ae(){if(te)return _;te=1;var e=U();Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var o=e(D()),n=W();return _.default=(0,o.default)((0,n.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause"),_}var Te=Ae();const $e=q(Te);var M={},ie;function je(){if(ie)return M;ie=1;var e=U();Object.defineProperty(M,"__esModule",{value:!0}),M.default=void 0;var o=e(D()),n=W();return M.default=(0,o.default)((0,n.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow"),M}var Oe=je();const Be=q(Oe);var N={},se;function Le(){if(se)return N;se=1;var e=U();Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var o=e(D()),n=W();return N.default=(0,o.default)((0,n.jsx)("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63m2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71M4.27 3 3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9zM12 4 9.91 6.09 12 8.18z"}),"VolumeOff"),N}var we=Le();const Ve=q(we);var A={},le;function We(){if(le)return A;le=1;var e=U();Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var o=e(D()),n=W();return A.default=(0,o.default)((0,n.jsx)("path",{d:"M3 9v6h4l5 5V4L7 9zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77"}),"VolumeUp"),A}var qe=We();const Ue=q(qe),De={small:16,medium:20,large:24},de=({children:e,startIcon:o,endIcon:n,loading:s=!1,loadingIcon:c,loadingPosition:l="center",disabled:v=!1,size:f="medium",...m})=>{const C=i.jsx(xe,{color:"inherit",size:De[f]}),x=c||C,r=s&&l==="center"?x:e;return i.jsx(Ne,{disabled:v||s,startIcon:s&&l==="start"?x:o,endIcon:s&&l==="end"?x:n,size:f,...m,children:r})},Fe=R(me)(({theme:e})=>({display:"flex",position:"absolute",width:"100%",bottom:0,margin:`${e.spacing(2)} 0`,padding:`0 ${e.spacing(3)}`,gap:e.spacing(2)})),He=R(de)(({theme:e})=>({width:56,height:44,padding:0,minWidth:"unset",background:"rgba(0, 0, 0, 0.64) !important","& svg":{marginLeft:e.spacing(.5)}})),Ge=R(de)(({theme:e,muted:o})=>({marginLeft:e.spacing(2.5),minWidth:25,background:"none",padding:0,opacity:o?.5:1})),Ye=R("input")(({theme:e})=>({flex:1,width:"100%",background:"none",WebkitAppearance:"none","&:focus":{outline:"none"},"&::-webkit-slider-thumb":{WebkitAppearance:"none",width:24,height:24,borderRadius:10,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer",paddingBottom:e.spacing(.625),marginTop:e.spacing(-.5)},"&::-moz-range-thumb":{width:24,height:24,borderRadius:20,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer",border:"none"},"&::-ms-thumb":{width:24,height:24,borderRadius:20,backgroundColor:"#736e7d",overflow:"visible",cursor:"pointer"},"&::-webkit-slider-runnable-track":{width:300,height:15,background:"rgba(115, 110, 125, 0.32)",border:"none",borderRadius:10},"&::-moz-range-track":{width:"100%",height:15,borderRadius:10,cursor:"pointer",background:"rgba(115, 110, 125, 0.32)"}})),Je=R("div")({display:"flex",alignItems:"center"}),Ke=R("input")({width:56,height:44,borderRadius:5,background:"transparent",border:"1px solid rgba(115, 110, 125, 0.4)",color:"white",textAlign:"center","&:focus-visible":{outline:"1px solid"}}),Ze=({wearablePreviewId:e,className:o,hideFrameInput:n,hideProgressInput:s,hidePlayButton:c,hideSoundButton:l,wearablePreviewController:v,renderPlayButton:f,renderSoundButton:m,renderProgressBar:C,renderFrameInput:x})=>{const{controllerRef:r,isReady:T}=fe(e,v),[I,E]=t.useState(0),[h,S]=t.useState(!1),[d,$]=t.useState(void 0),[b,F]=t.useState(!0),[k,P]=t.useState(void 0),[y,j]=t.useState(!1),[O,B]=t.useState(!1),H=t.useCallback(()=>{E(0)},[]),G=t.useCallback(()=>{S(!1),E(a=>a>=Math.floor((d??0)*100)?0:a)},[d]),Y=t.useCallback(()=>{S(!1)},[]),J=t.useCallback(async()=>{if(!O){let a=d;!d&&r.current&&(a=await r.current.emote.getLength()),S(!0),$(a)}},[d,O,r]),K=t.useCallback(({length:a})=>{E(Math.ceil((a??0)*100))},[]);t.useEffect(()=>{const a=r.current;if(a)return a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_PLAY,J),a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_PLAYING,K),a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_END,G),a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_PAUSE,Y),a.emote.events.on(g.PreviewEmoteEventType.ANIMATION_LOOP,H),()=>{a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_PLAY,J),a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_PLAYING,K),a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_END,G),a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_PAUSE,Y),a.emote.events.off(g.PreviewEmoteEventType.ANIMATION_LOOP,H)}},[r,J,K,G,Y,H]),t.useEffect(()=>{k===void 0&&T&&r.current&&r.current.emote.hasSound().then(a=>P(a)).catch(a=>{console.error("Error checking sound:",a),P(!1)})},[k,T,r]);const Z=t.useCallback(async()=>{if(r.current)try{await r.current.emote.play()}catch(a){console.error("Error playing emote:",a)}},[r]),Q=t.useCallback(async()=>{if(r.current)try{await r.current.emote.pause()}catch(a){console.error("Error pausing emote:",a)}},[r]),ee=t.useCallback(async()=>{h?await Q():await Z()},[h,Z,Q]),oe=t.useCallback(()=>{var a,z;b?(a=r.current)==null||a.emote.disableSound():(z=r.current)==null||z.emote.enableSound(),F(!b)},[b,r]),L=t.useCallback(async a=>{if(isNaN(a)||!r.current)return;let z=a;const ne=d??0;ne*100<a&&(z=ne*100),E(z),B(!0);try{h&&(await r.current.emote.pause(),j(!0)),await r.current.emote.goTo(z/100)}catch(ue){console.error("Error changing frame:",ue)}},[d,h,r]),ae=t.useCallback(async()=>{if(B(!1),y&&r.current){try{await r.current.emote.play()}catch(a){console.error("Error resuming play:",a)}j(!1)}},[y,r]);return i.jsxs(Fe,{className:o,children:[c?null:f?f({isPlaying:h,onPlay:Z,onPause:Q,onToggle:ee}):i.jsx(He,{onClick:ee,children:h?i.jsx($e,{}):i.jsx(Be,{})}),s?null:C?C({frame:I,length:d??0,onChange:L,onMouseUp:ae}):i.jsx(Ye,{type:"range",value:I,max:Math.ceil((d??0)*100),min:0,step:1,onChange:a=>L(Number(a.target.value)),onMouseUp:ae}),n?null:i.jsx(Je,{children:x?x({frame:Math.round(I/100),onChange:a=>L(a*100)}):i.jsx(Ke,{type:"number",value:Math.round(I/100),onChange:a=>L(Number(a.target.value)*100)})}),l||!k?null:m?m({isSoundEnabled:b,hasSound:k,onToggle:oe}):i.jsx(Ge,{muted:!b,onClick:oe,children:b?i.jsx(Ue,{}):i.jsx(Ve,{})})]})},io=Object.freeze(Object.defineProperty({__proto__:null,EmoteControls:Ze},Symbol.toStringTag,{value:"Module"}));export{Pe as B,Ze as E,ze as a,Ne as b,de as c,io as i};
2
+ //# sourceMappingURL=index-CoPPEao3.js.map
@@ -1,2 +1,2 @@
1
- import{c as s}from"./parseSignature-BB9_hHMg.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-BB9_hHMg.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-DvCLeKAR.js";import{h as n}from"./W3MFrameProviderSingleton-DZIOTM7M.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-DZIOTM7M.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-D8uMaPVC.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-lvNGy6N8.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-D70X66gt.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-DKu3zbMe.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-BbLaVhzu.js";import{d as c}from"./verifyHash-CLw3ELHb.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-CLw3ELHb.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-KNnoHhr0.js";import"./secp256k1-CsYOg3Y3.js";import"./dcl-schemas-P0fzFvZQ.js";import"./react-DON_i6Bb.js";import"./index-Cqeg0Z6J.js";import"./sentry-x3TLOECc.js";import"./index-CyV3Eqnk.js";import"./events-DpNYbKNp.js";import"./index-Cb-NKtKE.js";import"./ethers-0uy3efbv.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-DC_Inqsl.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
2
- //# sourceMappingURL=index-CAIjP6FF.js.map
1
+ import{c as s}from"./parseSignature-0qyGr19X.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-0qyGr19X.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-CsdXI55c.js";import{h as n}from"./W3MFrameProviderSingleton-BRS1LeQ3.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-BRS1LeQ3.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-T6qNmKDs.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-B8iTjnHc.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-BJ6O92-5.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-CW2uUgN9.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-5sKqid0d.js";import{d as c}from"./verifyHash-4mlkd-Q3.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-4mlkd-Q3.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-BE4J-du2.js";import"./secp256k1-CWzBUSLO.js";import"./dcl-schemas-DbJRM3Q6.js";import"./react-B7BPQex0.js";import"./index-DnTcKm-R.js";import"./sentry-BfKN1XTS.js";import"./index-C1KNcsnm.js";import"./events-RbOBqrwa.js";import"./index-Dp8dRpfs.js";import"./ethers-BxI-2j43.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-C2YVDQaM.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
2
+ //# sourceMappingURL=index-CpiXYAw_.js.map
@@ -1,4 +1,4 @@
1
- import{i as h,b as d}from"./lit-element-wjYUA6aF.js";import{n as o}from"./class-map-DopF_Eyi.js";import{e as f,n as m}from"./ref-Uk7bJ2Ii.js";import{d as c,r as v,e as y,v as b}from"./index-CWbJ_4Np.js";import{c as g,U as w}from"./index-CnEarX4s.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]="71318d83-ffe4-4042-b4c4-100e2a3a8ed8",t._sentryDebugIdIdentifier="sentry-dbid-71318d83-ffe4-4042-b4c4-100e2a3a8ed8")}catch{}})();const x=c`
1
+ import{i as h,b as d}from"./lit-element-wjYUA6aF.js";import{n as o}from"./class-map-DopF_Eyi.js";import{e as f,n as m}from"./ref-Uk7bJ2Ii.js";import{d as c,r as v,e as y,v as b}from"./index-C5Y_13CD.js";import{c as g,U as w}from"./index-CVwEay3k.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]="71318d83-ffe4-4042-b4c4-100e2a3a8ed8",t._sentryDebugIdIdentifier="sentry-dbid-71318d83-ffe4-4042-b4c4-100e2a3a8ed8")}catch{}})();const x=c`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;
@@ -76,4 +76,4 @@ import{i as h,b as d}from"./lit-element-wjYUA6aF.js";import{n as o}from"./class-
76
76
  value=${this.value??""}
77
77
  @input=${this.dispatchInputChangeEvent.bind(this)}
78
78
  />`}dispatchInputChangeEvent(){this.inputElementRef.value&&(this.inputElementRef.value.value=w.maskInput({value:this.inputElementRef.value.value,decimals:this.maxDecimals,integers:this.maxIntegers}),this.dispatchEvent(new CustomEvent("inputChange",{detail:this.inputElementRef.value.value,bubbles:!0,composed:!0})),this.resizeInput())}resizeInput(){if(this.widthVariant==="fit"){const e=this.inputElementRef.value;if(e){const n=e.previousElementSibling;n&&(n.textContent=e.value||"0",e.style.width=`${n.offsetWidth}px`)}}}};i.styles=[v,y,x];r([o({type:Boolean})],i.prototype,"disabled",void 0);r([o({type:String})],i.prototype,"value",void 0);r([o({type:String})],i.prototype,"placeholder",void 0);r([o({type:String})],i.prototype,"widthVariant",void 0);r([o({type:Number})],i.prototype,"maxDecimals",void 0);r([o({type:Number})],i.prototype,"maxIntegers",void 0);r([o({type:String})],i.prototype,"fontSize",void 0);r([o({type:Boolean})],i.prototype,"error",void 0);i=r([g("wui-input-amount")],i);
79
- //# sourceMappingURL=index-Ca0D2-sN.js.map
79
+ //# sourceMappingURL=index-CpqqzSTE.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,j as e,R as He}from"./react-DON_i6Bb.js";import{n as G}from"./dcl-schemas-P0fzFvZQ.js";import{c as y}from"./index-Bf9wYDJX.js";import{n as o,S as Fe}from"./emotion-styled.browser.esm-CDE9Qk39.js";import{m as ie,c2 as C,c3 as r}from"./index-Cb-NKtKE.js";import"./clsx-BEtG4eYu.js";import"./styled-B78Va6ZU.js";import"./sentry-x3TLOECc.js";import"./ethers-0uy3efbv.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="fb45e2a9-0d0c-40bf-97b5-a96c353d29b4",t._sentryDebugIdIdentifier="sentry-dbid-fb45e2a9-0d0c-40bf-97b5-a96c353d29b4")}catch{}})();function k(t){return Math.floor(t).toLocaleString("en-US")}const Ce=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),Re=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),We=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),re=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),De=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),be=i.memo(function(n){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ne=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),se=i.memo(function(n){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),Ue=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ze=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Oe=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ve=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(n){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"#FCFCFC"})})});const le=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Be=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),Te=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),ze=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),_e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),$e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),Pe=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),Ge=new Set([1,5,42,4,3,11155111]),Ke=new Set([137,80002,80001]),Ye={56:_e,10:ze,42161:Te,250:Pe,43114:$e};function ae({chainId:t,...n}){const s=Ye[t];return s?e.jsx(s,{...n}):Ge.has(t)?e.jsx(le,{...n}):Ke.has(t)?e.jsx(Be,{...n}):e.jsx(le,{...n})}const me=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),we=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"#FCFCFC"})})}),Xe=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),qe={signIn:"SIGN IN",signingIn:"SIGNING IN...",whatsOn:"Explore",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Je(){const t=y.get("SHOP_URL"),n=y.get("BUILDER_URL"),s=y.get("EVENTS_URL"),h=y.get("CREATE_URL"),f=y.get("BLOG_URL"),w=y.get("MARKETPLACE_LANDS_URL");return{whatsOn:{label:"whatsOn",url:s},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:w},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:h},{label:"publishWearablesEmotes",url:`${n}/collections`},{label:"publishLand",url:`${n}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:f}}}let ee=null;function ve(){return ee||(ee=Je()),ee}let te=null;function Qe(){return te||(te=[{label:"viewProfile",url:y.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:y.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:y.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:y.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),te}const Le=["shop","create"],je="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",x="@media (min-width: 992px)",et={navbar:1100},tt="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",K="rgba(38, 38, 38, 0.8)",ke="0.5px solid #5E5B67",Y="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",ye=ie({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),X=ie({from:{opacity:0},to:{opacity:1}}),ot=ie({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),nt=o("nav")({position:"fixed",top:0,left:0,right:0,zIndex:et.navbar,fontFamily:je,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:"rgba(22, 21, 24, 0.75)",boxShadow:tt,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[x]:{height:92,padding:"16px 54px","&::before":{background:"rgba(22, 21, 24, 0.4)"}}}),it=o("div")({display:"flex",alignItems:"center",[A]:{gap:12},[x]:{gap:48},"& .mobile-only":{display:"flex",[x]:{display:"none"}},"& .desktop-only":{display:"none",[x]:{display:"flex"}}}),rt=o("div")({display:"flex",alignItems:"center",gap:16,[x]:{gap:48}}),st=o("div")({display:"flex",alignItems:"center",gap:12,[x]:{gap:24}}),lt=o("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),at=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:"rgba(255, 255, 255, 0.1)",borderRadius:8,color:r.white,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.15)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.2)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},[x]:{display:"none"}}),dt=o("button")({all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${r.softWhite}`,borderRadius:6,fontFamily:je,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:r.softWhite,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.08)",borderColor:"rgba(255, 255, 255, 0.7)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.12)"},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}),ct=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[x]:{display:"none"}})),pt=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?Y:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[x]:{display:"none"}})),oe=o("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),de=o("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,textDecoration:"none","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2}}),ht=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,cursor:"pointer","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),ut=o("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),ft=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none","&:hover":{color:r.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Ie=i.memo(function({open:n,onClose:s,i18n:h}){const f=ve(),[w,m]=i.useState(null),l=i.useCallback(u=>{m(a=>a===u?null:u)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(ct,{open:n,onClick:s}),e.jsxs(pt,{open:n,role:"navigation","aria-label":"Mobile navigation",children:[e.jsx(oe,{children:e.jsx(de,{href:f.whatsOn.url,children:h[f.whatsOn.label]})}),Le.map(u=>{var d;const a=f[u],g=w===u;return e.jsxs(oe,{children:[e.jsxs(ht,{onClick:()=>l(u),"aria-expanded":g,children:[h[a.label],g?e.jsx(De,{}):e.jsx(re,{})]}),e.jsx(ut,{open:g,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(ft,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[h[c.label],c.isExternal&&e.jsx(be,{})]},c.label))})]},u)}),e.jsx(oe,{children:e.jsx(de,{href:f.learn.url,children:h[f.learn.label]})})]})]})});Ie.displayName="MobileMenu";const xt=o("div")({display:"none",[x]:{display:"flex",alignItems:"center",gap:24}}),gt=o("button")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}}),ce=o("a")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}),Ct=o(gt)({paddingRight:16}),bt=o("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),mt=o("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:Y,padding:12,animation:`${X} 0.15s ease forwards`}),wt=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:r.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Me=i.memo(function({desktopDropdown:n,onOpenDropdown:s,onScheduleCloseDropdown:h,activePage:f,i18n:w}){const m=ve();return e.jsxs(xt,{children:[e.jsx(ce,{href:m.whatsOn.url,className:f==="whatsOn"?"active":void 0,children:w[m.whatsOn.label]}),Le.map(l=>{var u;return e.jsxs(bt,{onMouseEnter:()=>s(l),onMouseLeave:h,children:[e.jsxs(Ct,{className:f===l?"active":void 0,"aria-expanded":n===l,"aria-haspopup":"true",onClick:()=>{var g;const a=(g=m[l].items)==null?void 0:g[0];a&&window.open(a.url,"_self")},children:[w[m[l].label],e.jsx(re,{style:{transform:n===l?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),n===l&&e.jsx(mt,{children:(u=m[l].items)==null?void 0:u.map(a=>e.jsxs(wt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[w[a.label],a.isExternal&&e.jsx(be,{})]},a.label))})]},l)}),e.jsx(ce,{href:m.learn.url,className:f==="learn"?"active":void 0,children:w[m.learn.label]})]})});Me.displayName="NavLinks";const vt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[x]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Lt=o("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),jt=o("div")({position:"relative"}),kt=o("div")({position:"fixed",top:92,right:54,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:Y,display:"none",padding:12,gap:24,animation:`${X} 0.15s ease forwards`,minWidth:484,[x]:{display:"flex"}}),yt=o("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),It=o("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=o("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Mt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),St=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),At=o("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Et=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ht=o("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),ne=o("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Ft=o("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:C.primary},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Rt=o("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Wt=o("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:Y,padding:"24px 12px",animation:`${X} 0.15s ease forwards`,[x]:{display:"none"}}),Dt=o("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Nt=o("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Ut=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Zt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ot=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),Vt=o("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Bt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),Tt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:r.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),zt=o("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),_t=o("div")({display:"flex",alignItems:"center",gap:6}),he=o("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),ue=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),$t=o("div")({position:"relative"}),Pt=o("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:r.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Gt=o("div")({width:16,height:16,display:"flex",flexShrink:0}),Kt=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Yt={account:Ue,wearable:Ze,settings:Oe,shopping:Ve},Xt="https://peer.decentraland.org/content/contents/";function fe(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Xt}${t}`}}const qt={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(t){return qt[t]??`Chain ${t}`}const Se=i.memo(function({isLoadingProfile:n,address:s,avatar:h,userCardOpen:f,onToggleUserCard:w,onClickSignOut:m,selectedChain:l,chains:u,onSelectChain:a,manaBalances:g,onClickBalance:d,i18n:c}){var V,$,P,S;const L=fe(($=(V=h==null?void 0:h.avatar)==null?void 0:V.snapshots)==null?void 0:$.face256),[H,q]=i.useState(),[N,B]=i.useState(!1);i.useEffect(()=>{B(!1)},[L]);const J=L?H===L:!1,F=fe((S=(P=h==null?void 0:h.avatar)==null?void 0:P.snapshots)==null?void 0:S.body),U=(h==null?void 0:h.name)||(s?`${s.slice(0,6)}...${s.slice(-4)}`:""),T=s?`${s.slice(0,6)}...${s.slice(-4)}`:"",[j,I]=i.useState(!1),[Z,z]=i.useState(!1),M=i.useCallback(()=>{s&&navigator.clipboard.writeText(s).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[s]),Q=i.useCallback(p=>{p!==l&&(a==null||a(p)),z(!1)},[l,a]),R=l!==void 0&&u&&u.length>0||g&&Object.keys(g).length>0,O=()=>R?e.jsxs(zt,{children:[g&&e.jsxs(_t,{children:[g.ETHEREUM!==void 0&&e.jsxs(he,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.ETHEREUM),children:[e.jsx(me,{}),e.jsx(ue,{children:k(g.ETHEREUM)})]}),g.MATIC!==void 0&&e.jsxs(he,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.MATIC),children:[e.jsx(we,{}),e.jsx(ue,{children:k(g.MATIC)})]})]}),l!==void 0&&u&&u.length>0&&e.jsxs($t,{children:[e.jsxs(Pt,{onClick:()=>z(p=>!p),children:[e.jsx(Gt,{children:e.jsx(ae,{chainId:l})}),e.jsx(Kt,{children:xe(l)}),e.jsx(re,{style:{width:20,height:20,flexShrink:0,color:"white",transform:Z?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),Z&&e.jsx(Tt,{role:"listbox","aria-label":"Select chain",children:u.map(p=>{const v=p===l;return e.jsxs(Rt,{selected:v,role:"option","aria-selected":v,onClick:()=>Q(p),children:[e.jsx(ae,{chainId:p}),xe(p)]},p)})})]})]}):null,W=()=>!L||N?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(Ce,{style:{width:"100%",height:"100%"}})}):e.jsx(Lt,{src:L,alt:"",onLoad:()=>q(L),onError:()=>B(!0),style:{opacity:J?1:0}}),_=()=>e.jsxs(e.Fragment,{children:[Qe().map(p=>{const v=Yt[p.icon];return e.jsxs(Ht,{href:p.url,children:[v&&e.jsx(v,{}),c[p.label]]},p.label)}),e.jsx(ne,{}),e.jsxs(Ft,{onClick:m,children:[e.jsx(Ne,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(jt,{children:[e.jsx(vt,{onClick:w,"aria-label":"User menu","aria-expanded":f,"aria-haspopup":"true",className:n?"loading":void 0,children:!n&&W()}),f&&e.jsxs(kt,{onClick:p=>p.stopPropagation(),children:[e.jsx(yt,{children:F?e.jsx(It,{src:F,alt:""}):null}),e.jsxs(pe,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Mt,{title:U,children:U}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(St,{children:c.walletAddress}),e.jsxs(At,{children:[j?c.addressCopied:T,e.jsx(Et,{onClick:M,"aria-label":"Copy address",children:e.jsx(se,{})})]})]}),O()]}),e.jsx(ne,{}),_()]})]})]}),f&&e.jsxs(Wt,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Dt,{children:[e.jsx(Nt,{className:n?"loading":void 0,children:!n&&W()}),e.jsxs(Ut,{children:[e.jsx(Zt,{title:U,children:U}),e.jsx(Ot,{children:c.walletAddress}),e.jsxs(Vt,{children:[j?c.addressCopied:T,e.jsx(Bt,{onClick:M,"aria-label":"Copy address",children:e.jsx(se,{})})]}),O()]})]}),e.jsx(ne,{}),e.jsx(pe,{children:_()})]})]})});Se.displayName="UserCardPanel";const Jt=He.memo(t=>e.jsxs(Fe,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Ae=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:"#A0ABFF",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[x]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}}),Qt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),eo=o(Ae)({color:r.softWhite}),to=o("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[x]:{gap:12}}),ge=o("button")(({clickable:t})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:r.softWhite,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[x]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),oo=o("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[x]:{flexDirection:"row",alignItems:"center",gap:24}});function no(t){const n=t-Date.now();return Math.max(0,Math.ceil(n/(1e3*60*60*24)))}const io=i.memo(function({isSignedIn:n,isSigningIn:s,isLoadingProfile:h=!1,address:f,avatar:w,i18n:m,notificationSlot:l,selectedChain:u,chains:a,onSelectChain:g,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:H,onClickCredits:q,shopCreditsBalance:N,onClickShopCredits:B,activePage:J,onToggleUserCard:F,onClickSignIn:U,onClickSignOut:T}){const j={...qe,...m},[I,Z]=i.useState(!1),[z,M]=i.useState(null),[Q,R]=i.useState(!1),O=i.useRef(null),W=i.useRef(null),_=i.useCallback(()=>{Z(b=>(b||(M(null),R(!1)),!b))},[]),V=i.useCallback(()=>{Z(!1)},[]),$=i.useCallback(b=>{W.current&&(clearTimeout(W.current),W.current=null),M(b),R(!1)},[]),P=i.useCallback(()=>{W.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{R(b=>{const D=!b;return D&&(M(null),Z(!1)),F==null||F(D),D})},[F]),v=i.useCallback(()=>{R(!1)},[]);return i.useEffect(()=>{function b(D){const Ee=D.target;O.current&&!O.current.contains(Ee)&&(S(),v())}return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[S,v]),i.useEffect(()=>{const b=()=>{v(),S()};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[v,S]),i.useEffect(()=>{function b(D){D.key==="Escape"&&(S(),v(),V())}return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[S,v,V]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(nt,{ref:O,children:[e.jsxs(it,{children:[e.jsx(lt,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(Ce,{})}),e.jsx(Me,{desktopDropdown:z,onOpenDropdown:$,onScheduleCloseDropdown:P,activePage:J,i18n:j})]}),e.jsxs(rt,{children:[n&&e.jsxs(st,{children:[(H||N!==void 0||L&&d)&&e.jsxs(oo,{children:[H&&e.jsxs(Ae,{onClick:q,"aria-label":`${k(H.balance)} credits`,children:[e.jsx(Jt,{}),k(H.balance),e.jsxs(Qt,{className:"credits-tooltip",children:[j.creditsExpiringIn.replace("{days}",String(no(H.expiresAt))),e.jsx("br",{}),j.creditsValueNote]})]}),L&&d&&e.jsxs(to,{children:[d.ETHEREUM!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(G.Network.ETHEREUM):void 0,"aria-label":`${k(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(me,{}),k(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(G.Network.MATIC):void 0,"aria-label":`${k(d.MATIC)} MANA on Polygon`,children:[e.jsx(we,{}),k(d.MATIC)]})]}),N!==void 0&&e.jsxs(eo,{onClick:B,"aria-label":`${k(N)} shop credits`,children:[e.jsx(Xe,{}),k(N)]})]}),l&&e.jsx("div",{onClick:()=>{R(!1),M(null)},children:l}),e.jsx(Se,{isLoadingProfile:h,address:f,avatar:w,userCardOpen:Q,onToggleUserCard:p,onClickSignOut:T,selectedChain:u,chains:a,onSelectChain:g,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:j})]}),!n&&e.jsx(dt,{onClick:U,disabled:s,children:s?j.signingIn:j.signIn}),e.jsx(at,{onClick:_,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(We,{}):e.jsx(Re,{})})]})]}),e.jsx(Ie,{open:I,onClose:V,i18n:j})]})});io.displayName="Navbar";const go=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:r.white,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${ot} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:24,height:24}}),Co=o("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:C.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),bo=o("div")({position:"relative"}),mo=o("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${X} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),wo=o("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),vo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),Lo=o("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),jo=o("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),ko=o("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),yo=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),Io=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Mo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),So=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ao=o("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Eo=o("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:r.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{go as BellButton,io as Navbar,Co as NotificationBadge,Ao as NotificationDot,Eo as NotificationEmpty,wo as NotificationHeader,yo as NotificationItemContent,Mo as NotificationItemDescription,ko as NotificationItemImage,So as NotificationItemTime,Io as NotificationItemTitle,Lo as NotificationList,jo as NotificationListItem,mo as NotificationPanel,vo as NotificationTitle,bo as NotificationWrapper};
2
- //# sourceMappingURL=index-BeivSa2i.js.map
1
+ import{r as i,j as e,R as He}from"./react-B7BPQex0.js";import{n as G}from"./dcl-schemas-DbJRM3Q6.js";import{c as y}from"./index-CBex6sE_.js";import{n as o,S as Fe}from"./emotion-styled.browser.esm-De_VGcaK.js";import{m as ie,c2 as C,c3 as r}from"./index-Dp8dRpfs.js";import"./clsx-BEtG4eYu.js";import"./styled-OWmjpiBk.js";import"./sentry-BfKN1XTS.js";import"./ethers-BxI-2j43.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="fb45e2a9-0d0c-40bf-97b5-a96c353d29b4",t._sentryDebugIdIdentifier="sentry-dbid-fb45e2a9-0d0c-40bf-97b5-a96c353d29b4")}catch{}})();function k(t){return Math.floor(t).toLocaleString("en-US")}const Ce=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),Re=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),We=i.memo(function(n){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),re=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),De=i.memo(function(n){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),be=i.memo(function(n){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ne=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),se=i.memo(function(n){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),Ue=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ze=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Oe=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ve=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(n){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"#FCFCFC"})})});const le=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Be=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),Te=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),ze=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),_e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),$e=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),Pe=i.memo(function(n){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),Ge=new Set([1,5,42,4,3,11155111]),Ke=new Set([137,80002,80001]),Ye={56:_e,10:ze,42161:Te,250:Pe,43114:$e};function ae({chainId:t,...n}){const s=Ye[t];return s?e.jsx(s,{...n}):Ge.has(t)?e.jsx(le,{...n}):Ke.has(t)?e.jsx(Be,{...n}):e.jsx(le,{...n})}const me=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),we=i.memo(function(n){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"#FCFCFC"})})}),Xe=i.memo(function(n){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),qe={signIn:"SIGN IN",signingIn:"SIGNING IN...",whatsOn:"Explore",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Je(){const t=y.get("SHOP_URL"),n=y.get("BUILDER_URL"),s=y.get("EVENTS_URL"),h=y.get("CREATE_URL"),f=y.get("BLOG_URL"),w=y.get("MARKETPLACE_LANDS_URL");return{whatsOn:{label:"whatsOn",url:s},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:w},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:h},{label:"publishWearablesEmotes",url:`${n}/collections`},{label:"publishLand",url:`${n}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:f}}}let ee=null;function ve(){return ee||(ee=Je()),ee}let te=null;function Qe(){return te||(te=[{label:"viewProfile",url:y.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:y.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:y.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:y.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),te}const Le=["shop","create"],je="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",x="@media (min-width: 992px)",et={navbar:1100},tt="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",K="rgba(38, 38, 38, 0.8)",ke="0.5px solid #5E5B67",Y="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",ye=ie({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),X=ie({from:{opacity:0},to:{opacity:1}}),ot=ie({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),nt=o("nav")({position:"fixed",top:0,left:0,right:0,zIndex:et.navbar,fontFamily:je,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:"rgba(22, 21, 24, 0.75)",boxShadow:tt,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[x]:{height:92,padding:"16px 54px","&::before":{background:"rgba(22, 21, 24, 0.4)"}}}),it=o("div")({display:"flex",alignItems:"center",[A]:{gap:12},[x]:{gap:48},"& .mobile-only":{display:"flex",[x]:{display:"none"}},"& .desktop-only":{display:"none",[x]:{display:"flex"}}}),rt=o("div")({display:"flex",alignItems:"center",gap:16,[x]:{gap:48}}),st=o("div")({display:"flex",alignItems:"center",gap:12,[x]:{gap:24}}),lt=o("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),at=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:"rgba(255, 255, 255, 0.1)",borderRadius:8,color:r.white,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.15)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.2)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},[x]:{display:"none"}}),dt=o("button")({all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${r.softWhite}`,borderRadius:6,fontFamily:je,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:r.softWhite,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.08)",borderColor:"rgba(255, 255, 255, 0.7)"},"&:active":{backgroundColor:"rgba(255, 255, 255, 0.12)"},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}),ct=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[x]:{display:"none"}})),pt=o("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?Y:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[x]:{display:"none"}})),oe=o("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),de=o("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,textDecoration:"none","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2}}),ht=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:r.white,cursor:"pointer","&:hover":{color:r.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),ut=o("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),ft=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none","&:hover":{color:r.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Ie=i.memo(function({open:n,onClose:s,i18n:h}){const f=ve(),[w,m]=i.useState(null),l=i.useCallback(u=>{m(a=>a===u?null:u)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(ct,{open:n,onClick:s}),e.jsxs(pt,{open:n,role:"navigation","aria-label":"Mobile navigation",children:[e.jsx(oe,{children:e.jsx(de,{href:f.whatsOn.url,children:h[f.whatsOn.label]})}),Le.map(u=>{var d;const a=f[u],g=w===u;return e.jsxs(oe,{children:[e.jsxs(ht,{onClick:()=>l(u),"aria-expanded":g,children:[h[a.label],g?e.jsx(De,{}):e.jsx(re,{})]}),e.jsx(ut,{open:g,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(ft,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[h[c.label],c.isExternal&&e.jsx(be,{})]},c.label))})]},u)}),e.jsx(oe,{children:e.jsx(de,{href:f.learn.url,children:h[f.learn.label]})})]})]})});Ie.displayName="MobileMenu";const xt=o("div")({display:"none",[x]:{display:"flex",alignItems:"center",gap:24}}),gt=o("button")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}}),ce=o("a")({all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray5,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.08)",textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:r.white,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}),Ct=o(gt)({paddingRight:16}),bt=o("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),mt=o("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:Y,padding:12,animation:`${X} 0.15s ease forwards`}),wt=o("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:r.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:r.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Me=i.memo(function({desktopDropdown:n,onOpenDropdown:s,onScheduleCloseDropdown:h,activePage:f,i18n:w}){const m=ve();return e.jsxs(xt,{children:[e.jsx(ce,{href:m.whatsOn.url,className:f==="whatsOn"?"active":void 0,children:w[m.whatsOn.label]}),Le.map(l=>{var u;return e.jsxs(bt,{onMouseEnter:()=>s(l),onMouseLeave:h,children:[e.jsxs(Ct,{className:f===l?"active":void 0,"aria-expanded":n===l,"aria-haspopup":"true",onClick:()=>{var g;const a=(g=m[l].items)==null?void 0:g[0];a&&window.open(a.url,"_self")},children:[w[m[l].label],e.jsx(re,{style:{transform:n===l?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),n===l&&e.jsx(mt,{children:(u=m[l].items)==null?void 0:u.map(a=>e.jsxs(wt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[w[a.label],a.isExternal&&e.jsx(be,{})]},a.label))})]},l)}),e.jsx(ce,{href:m.learn.url,className:f==="learn"?"active":void 0,children:w[m.learn.label]})]})});Me.displayName="NavLinks";const vt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[x]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Lt=o("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),jt=o("div")({position:"relative"}),kt=o("div")({position:"fixed",top:92,right:54,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:Y,display:"none",padding:12,gap:24,animation:`${X} 0.15s ease forwards`,minWidth:484,[x]:{display:"flex"}}),yt=o("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),It=o("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=o("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Mt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),St=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),At=o("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Et=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ht=o("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:r.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),ne=o("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Ft=o("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:r.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:C.primary},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Rt=o("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Wt=o("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:K,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:Y,padding:"24px 12px",animation:`${X} 0.15s ease forwards`,[x]:{display:"none"}}),Dt=o("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Nt=o("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Ut=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Zt=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:r.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ot=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.gray4}),Vt=o("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:r.softWhite,lineHeight:1.75}),Bt=o("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:r.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),Tt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:r.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),zt=o("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),_t=o("div")({display:"flex",alignItems:"center",gap:6}),he=o("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),ue=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),$t=o("div")({position:"relative"}),Pt=o("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:r.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Gt=o("div")({width:16,height:16,display:"flex",flexShrink:0}),Kt=o("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Yt={account:Ue,wearable:Ze,settings:Oe,shopping:Ve},Xt="https://peer.decentraland.org/content/contents/";function fe(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Xt}${t}`}}const qt={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(t){return qt[t]??`Chain ${t}`}const Se=i.memo(function({isLoadingProfile:n,address:s,avatar:h,userCardOpen:f,onToggleUserCard:w,onClickSignOut:m,selectedChain:l,chains:u,onSelectChain:a,manaBalances:g,onClickBalance:d,i18n:c}){var V,$,P,S;const L=fe(($=(V=h==null?void 0:h.avatar)==null?void 0:V.snapshots)==null?void 0:$.face256),[H,q]=i.useState(),[N,B]=i.useState(!1);i.useEffect(()=>{B(!1)},[L]);const J=L?H===L:!1,F=fe((S=(P=h==null?void 0:h.avatar)==null?void 0:P.snapshots)==null?void 0:S.body),U=(h==null?void 0:h.name)||(s?`${s.slice(0,6)}...${s.slice(-4)}`:""),T=s?`${s.slice(0,6)}...${s.slice(-4)}`:"",[j,I]=i.useState(!1),[Z,z]=i.useState(!1),M=i.useCallback(()=>{s&&navigator.clipboard.writeText(s).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[s]),Q=i.useCallback(p=>{p!==l&&(a==null||a(p)),z(!1)},[l,a]),R=l!==void 0&&u&&u.length>0||g&&Object.keys(g).length>0,O=()=>R?e.jsxs(zt,{children:[g&&e.jsxs(_t,{children:[g.ETHEREUM!==void 0&&e.jsxs(he,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.ETHEREUM),children:[e.jsx(me,{}),e.jsx(ue,{children:k(g.ETHEREUM)})]}),g.MATIC!==void 0&&e.jsxs(he,{clickable:!!d,onClick:()=>d==null?void 0:d(G.Network.MATIC),children:[e.jsx(we,{}),e.jsx(ue,{children:k(g.MATIC)})]})]}),l!==void 0&&u&&u.length>0&&e.jsxs($t,{children:[e.jsxs(Pt,{onClick:()=>z(p=>!p),children:[e.jsx(Gt,{children:e.jsx(ae,{chainId:l})}),e.jsx(Kt,{children:xe(l)}),e.jsx(re,{style:{width:20,height:20,flexShrink:0,color:"white",transform:Z?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),Z&&e.jsx(Tt,{role:"listbox","aria-label":"Select chain",children:u.map(p=>{const v=p===l;return e.jsxs(Rt,{selected:v,role:"option","aria-selected":v,onClick:()=>Q(p),children:[e.jsx(ae,{chainId:p}),xe(p)]},p)})})]})]}):null,W=()=>!L||N?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(Ce,{style:{width:"100%",height:"100%"}})}):e.jsx(Lt,{src:L,alt:"",onLoad:()=>q(L),onError:()=>B(!0),style:{opacity:J?1:0}}),_=()=>e.jsxs(e.Fragment,{children:[Qe().map(p=>{const v=Yt[p.icon];return e.jsxs(Ht,{href:p.url,children:[v&&e.jsx(v,{}),c[p.label]]},p.label)}),e.jsx(ne,{}),e.jsxs(Ft,{onClick:m,children:[e.jsx(Ne,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(jt,{children:[e.jsx(vt,{onClick:w,"aria-label":"User menu","aria-expanded":f,"aria-haspopup":"true",className:n?"loading":void 0,children:!n&&W()}),f&&e.jsxs(kt,{onClick:p=>p.stopPropagation(),children:[e.jsx(yt,{children:F?e.jsx(It,{src:F,alt:""}):null}),e.jsxs(pe,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Mt,{title:U,children:U}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(St,{children:c.walletAddress}),e.jsxs(At,{children:[j?c.addressCopied:T,e.jsx(Et,{onClick:M,"aria-label":"Copy address",children:e.jsx(se,{})})]})]}),O()]}),e.jsx(ne,{}),_()]})]})]}),f&&e.jsxs(Wt,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Dt,{children:[e.jsx(Nt,{className:n?"loading":void 0,children:!n&&W()}),e.jsxs(Ut,{children:[e.jsx(Zt,{title:U,children:U}),e.jsx(Ot,{children:c.walletAddress}),e.jsxs(Vt,{children:[j?c.addressCopied:T,e.jsx(Bt,{onClick:M,"aria-label":"Copy address",children:e.jsx(se,{})})]}),O()]})]}),e.jsx(ne,{}),e.jsx(pe,{children:_()})]})]})});Se.displayName="UserCardPanel";const Jt=He.memo(t=>e.jsxs(Fe,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Ae=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:"#A0ABFF",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[x]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}}),Qt=o("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),eo=o(Ae)({color:r.softWhite}),to=o("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[x]:{gap:12}}),ge=o("button")(({clickable:t})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:r.softWhite,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[x]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),oo=o("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[x]:{flexDirection:"row",alignItems:"center",gap:24}});function no(t){const n=t-Date.now();return Math.max(0,Math.ceil(n/(1e3*60*60*24)))}const io=i.memo(function({isSignedIn:n,isSigningIn:s,isLoadingProfile:h=!1,address:f,avatar:w,i18n:m,notificationSlot:l,selectedChain:u,chains:a,onSelectChain:g,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:H,onClickCredits:q,shopCreditsBalance:N,onClickShopCredits:B,activePage:J,onToggleUserCard:F,onClickSignIn:U,onClickSignOut:T}){const j={...qe,...m},[I,Z]=i.useState(!1),[z,M]=i.useState(null),[Q,R]=i.useState(!1),O=i.useRef(null),W=i.useRef(null),_=i.useCallback(()=>{Z(b=>(b||(M(null),R(!1)),!b))},[]),V=i.useCallback(()=>{Z(!1)},[]),$=i.useCallback(b=>{W.current&&(clearTimeout(W.current),W.current=null),M(b),R(!1)},[]),P=i.useCallback(()=>{W.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{R(b=>{const D=!b;return D&&(M(null),Z(!1)),F==null||F(D),D})},[F]),v=i.useCallback(()=>{R(!1)},[]);return i.useEffect(()=>{function b(D){const Ee=D.target;O.current&&!O.current.contains(Ee)&&(S(),v())}return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[S,v]),i.useEffect(()=>{const b=()=>{v(),S()};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[v,S]),i.useEffect(()=>{function b(D){D.key==="Escape"&&(S(),v(),V())}return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[S,v,V]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(nt,{ref:O,children:[e.jsxs(it,{children:[e.jsx(lt,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(Ce,{})}),e.jsx(Me,{desktopDropdown:z,onOpenDropdown:$,onScheduleCloseDropdown:P,activePage:J,i18n:j})]}),e.jsxs(rt,{children:[n&&e.jsxs(st,{children:[(H||N!==void 0||L&&d)&&e.jsxs(oo,{children:[H&&e.jsxs(Ae,{onClick:q,"aria-label":`${k(H.balance)} credits`,children:[e.jsx(Jt,{}),k(H.balance),e.jsxs(Qt,{className:"credits-tooltip",children:[j.creditsExpiringIn.replace("{days}",String(no(H.expiresAt))),e.jsx("br",{}),j.creditsValueNote]})]}),L&&d&&e.jsxs(to,{children:[d.ETHEREUM!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(G.Network.ETHEREUM):void 0,"aria-label":`${k(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(me,{}),k(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(G.Network.MATIC):void 0,"aria-label":`${k(d.MATIC)} MANA on Polygon`,children:[e.jsx(we,{}),k(d.MATIC)]})]}),N!==void 0&&e.jsxs(eo,{onClick:B,"aria-label":`${k(N)} shop credits`,children:[e.jsx(Xe,{}),k(N)]})]}),l&&e.jsx("div",{onClick:()=>{R(!1),M(null)},children:l}),e.jsx(Se,{isLoadingProfile:h,address:f,avatar:w,userCardOpen:Q,onToggleUserCard:p,onClickSignOut:T,selectedChain:u,chains:a,onSelectChain:g,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:j})]}),!n&&e.jsx(dt,{onClick:U,disabled:s,children:s?j.signingIn:j.signIn}),e.jsx(at,{onClick:_,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(We,{}):e.jsx(Re,{})})]})]}),e.jsx(Ie,{open:I,onClose:V,i18n:j})]})});io.displayName="Navbar";const go=o("button")({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:r.white,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${ot} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:24,height:24}}),Co=o("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:C.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),bo=o("div")({position:"relative"}),mo=o("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${X} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),wo=o("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),vo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),Lo=o("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),jo=o("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),ko=o("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),yo=o("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),Io=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Mo=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),So=o("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ao=o("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Eo=o("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:r.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{go as BellButton,io as Navbar,Co as NotificationBadge,Ao as NotificationDot,Eo as NotificationEmpty,wo as NotificationHeader,yo as NotificationItemContent,Mo as NotificationItemDescription,ko as NotificationItemImage,So as NotificationItemTime,Io as NotificationItemTitle,Lo as NotificationList,jo as NotificationListItem,mo as NotificationPanel,vo as NotificationTitle,bo as NotificationWrapper};
2
+ //# sourceMappingURL=index-CuosuJu8.js.map