@dcl/shop 1.8.1 → 1.8.2-32065757879.commit-402c54f

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 (229) hide show
  1. package/_assets/{Activity-6BzGUlCi.js → Activity-C0E7nfkI.js} +6 -6
  2. package/_assets/{AnimatedBackground-C8bq5eBx.js → AnimatedBackground-CckKd4it.js} +2 -2
  3. package/_assets/{Assets-DLTDz2PW.js → Assets-B0ZpDEWR.js} +3 -3
  4. package/_assets/{Authorizations-BxRZ9ls0.js → Authorizations-DvFc7cH4.js} +2 -2
  5. package/_assets/{Cart-BCJu36d1.js → Cart-D4mB8sPu.js} +2 -2
  6. package/_assets/{CircularProgress-CerePt48.js → CircularProgress-B1ZIWCTb.js} +2 -2
  7. package/_assets/{Collection-CbNOQygf.js → Collection-B0SVXD0V.js} +2 -2
  8. package/_assets/{CollectionCarousel-CxArmMAb.js → CollectionCarousel-DgyS-LUU.js} +3 -3
  9. package/_assets/{Confetti-DAVYq4-X.js → Confetti-1rP9L7SK.js} +4 -4
  10. package/_assets/{ConstantsUtil-TKkDE4Tl.js → ConstantsUtil-D1CVjk_F.js} +2 -2
  11. package/_assets/{ContentClient-BPgTCCh3.js → ContentClient-BtFjbPQE.js} +2 -2
  12. package/_assets/{Creator-h1a4-xt1.js → Creator-BW1J9TAr.js} +2 -2
  13. package/_assets/{DeploymentBuilder-B3TCKvvy.js → DeploymentBuilder-AwBuuAQf.js} +2 -2
  14. package/_assets/{EmotePlaybackBar-CLXevE7b.js → EmotePlaybackBar-Bgcrj89b.js} +3 -3
  15. package/_assets/{ErrorNotice-5udCD-qu.js → ErrorNotice-BvF7TyTn.js} +2 -2
  16. package/_assets/{ExchangeController-B9eAUdFU.js → ExchangeController-Bh8zLasr.js} +2 -2
  17. package/_assets/{Faq-DEyQH4XB.js → Faq-ZZ87oi3X.js} +2 -2
  18. package/_assets/{GetCredits-BePRuFFU.js → GetCredits-CHIIe2qR.js} +8 -8
  19. package/_assets/{Grow-DP_DW0Ey.js → Grow-Ds7kIQqA.js} +2 -2
  20. package/_assets/{HelpersUtil-Qmn639y0.js → HelpersUtil-B_Srswn3.js} +2 -2
  21. package/_assets/{ItemDetail-C_qJkvEA.js → ItemDetail-Bx1-oBZu.js} +3 -3
  22. package/_assets/{LoadMore-DjdBz6rd.js → LoadMore-C-vD5t3S.js} +2 -2
  23. package/_assets/{ManaPricingBanner.styles-DUvRBIrX.js → ManaPricingBanner.styles-BMxcGlED.js} +2 -2
  24. package/_assets/{MyAssets-Cv0pyrE0.js → MyAssets-DxLYTN6w.js} +2 -2
  25. package/_assets/{MyFavorites-BqvIKXTy.js → MyFavorites-DFCuj39X.js} +2 -2
  26. package/_assets/{NetworkUtil-BJCvMaNA.js → NetworkUtil-BAWYpb3T.js} +2 -2
  27. package/_assets/{NotFound-Cl9y1nVu.js → NotFound-BmjjlQSI.js} +2 -2
  28. package/_assets/{NotificationsBell-M9AwrpdF.js → NotificationsBell-BFmZAI1F.js} +2 -2
  29. package/_assets/{OutfitDetail-afX1Ww1J.js → OutfitDetail-Th4IJ58h.js} +2 -2
  30. package/_assets/{OutfitPreview-DLrxztVC.js → OutfitPreview-CvuTVrDR.js} +2 -2
  31. package/_assets/{OutfitStudio-BcbisaGW.js → OutfitStudio-DTtSJGI5.js} +2 -2
  32. package/_assets/{StoreSettings-CARfIxa1.js → StoreSettings-uI8WdT0a.js} +22 -22
  33. package/_assets/{Success-BbkG7Vmi.js → Success-BBifHUJv.js} +2 -2
  34. package/_assets/{SwapController-B5Ly1xHG.js → SwapController-C0KHPQwj.js} +2 -2
  35. package/_assets/{Tooltip-C10W8ZTR.js → Tooltip-CQssdwZh.js} +2 -2
  36. package/_assets/{TradeService-C3XyO2l3.js → TradeService-1Of3IwPH.js} +2 -2
  37. package/_assets/{W3MFrameProviderSingleton-B9gL5lwa.js → W3MFrameProviderSingleton-CRQuEX3F.js} +4 -4
  38. package/_assets/{WebCryptoP256-T5zFrzxZ.js → WebCryptoP256-DKsDYJhU.js} +2 -2
  39. package/_assets/{authorizations-F1sOIWbf.js → authorizations-CH8avvIg.js} +2 -2
  40. package/_assets/{basic-tpj-sVFD.js → basic-Dtsl7UVo.js} +2 -2
  41. package/_assets/{biconomy-_svGhdMO.js → biconomy-BDIgT08Q.js} +2 -2
  42. package/_assets/{browseLayout.styles-vShvuXOM.js → browseLayout.styles-DfyqLqdu.js} +2 -2
  43. package/_assets/{browser-DDCrIqsh.js → browser-By6mTGCB.js} +2 -2
  44. package/_assets/{browser-ponyfill-DIlwYxxD.js → browser-ponyfill-x1VeIfyP.js} +2 -2
  45. package/_assets/{builder-BqE8a7zG.js → builder-Dwr4uVYf.js} +2 -2
  46. package/_assets/{buy-BENhKlBs.js → buy-DHFUWTFY.js} +2 -2
  47. package/_assets/{buy-gasless-Bx2m-RG9.js → buy-gasless-D0lQ-Pm8.js} +2 -2
  48. package/_assets/{ccip-Bxnr3R9L.js → ccip-BZYnwX3e.js} +2 -2
  49. package/_assets/{ccip-BvjFsyIi.js → ccip-BnqSWp0k.js} +2 -2
  50. package/_assets/{chains-C6314Cb1.js → chains-_vDkVeOo.js} +2 -2
  51. package/_assets/collectionPage.styles-CN5vGWEm.js +40 -0
  52. package/_assets/{common-9dlVl9tS.js → common-88mKLUzo.js} +2 -2
  53. package/_assets/{controller-TCZk8Y4x.js → controller-DJFU2DTU.js} +3 -3
  54. package/_assets/{core-DYofYs9u.js → core-BCu2eo5n.js} +5 -5
  55. package/_assets/{createSvgIcon-DCqrS8d1.js → createSvgIcon-CzAdLU5y.js} +2 -2
  56. package/_assets/{custom-DCqgGNh4.js → custom-Cjs29LNy.js} +2 -2
  57. package/_assets/{data-capture-DbZ1tdru.js → data-capture-B5UZUJaD.js} +2 -2
  58. package/_assets/{dcl-schemas-CCxb9kL2.js → dcl-schemas-C5hQYDFL.js} +2 -2
  59. package/_assets/{decimals-BI7yEUGF.js → decimals-DjMj1nly.js} +2 -2
  60. package/_assets/{decimals-CM0qUgJf.js → decimals-DtsFQlaY.js} +2 -2
  61. package/_assets/{detectExtension-XNdWHaUC.js → detectExtension-DVhuD7DF.js} +2 -2
  62. package/_assets/{disposePreview-RlJluQSq.js → disposePreview-CFl8UnPZ.js} +2 -2
  63. package/_assets/{email-DGBhY8QT.js → email-CvD3TdAI.js} +2 -2
  64. package/_assets/{embedded-wallet-CpbKRjxv.js → embedded-wallet-avESJk62.js} +2 -2
  65. package/_assets/{emotion-styled.browser.esm-Dr_sMq9M.js → emotion-styled.browser.esm-DhTwacdb.js} +2 -2
  66. package/_assets/{engine-BLLsgbZ1.js → engine-utdAqYZY.js} +2 -2
  67. package/_assets/{errors-DuW8ir6-.js → errors-BFSduh1F.js} +2 -2
  68. package/_assets/{estimate-l1-fee-mx8khiNI.js → estimate-l1-fee-D8S9dAhg.js} +2 -2
  69. package/_assets/{eth_estimateGas-CrBRnlRe.js → eth_estimateGas-p775eQOh.js} +2 -2
  70. package/_assets/{eth_getStorageAt-BqnvnFs4.js → eth_getStorageAt-B4VbgL8D.js} +2 -2
  71. package/_assets/{eth_getTransactionCount-DUsHovsg.js → eth_getTransactionCount-CepcBaJh.js} +2 -2
  72. package/_assets/{ethereum-C5lgwO_8.js → ethereum--vz2n3sf.js} +2 -2
  73. package/_assets/{ethers-BuJw1RVW.js → ethers-C43IeBLw.js} +2 -2
  74. package/_assets/{events-Bepm6i8Y.js → events-BjSqgOgl.js} +2 -2
  75. package/_assets/{execute-DmPAKqaF.js → execute-Ccu7do40.js} +3 -3
  76. package/_assets/{extractIPFS-DzdOF2Pv.js → extractIPFS-CSLH5epH.js} +2 -2
  77. package/_assets/{features-BwgJdRHG.js → features-snXIh1F1.js} +2 -2
  78. package/_assets/{fetchTokenMetadata-mHiQ0Y_7.js → fetchTokenMetadata-W3u8irNW.js} +3 -3
  79. package/_assets/{field.styles-B_XPeYjH.js → field.styles-5SDPIZsm.js} +2 -2
  80. package/_assets/{fortmatic-Dh2kpb3X.js → fortmatic-BWoKi2UW.js} +2 -2
  81. package/_assets/{get-bytecode-BLHMuY_a.js → get-bytecode-BiWxhW65.js} +2 -2
  82. package/_assets/{get-ecosystem-wallet-info-DmiQMxZJ.js → get-ecosystem-wallet-info-C57ceN_v.js} +2 -2
  83. package/_assets/{getBalance-CI1BDfUD.js → getBalance-ByFUz2jK.js} +3 -3
  84. package/_assets/{getInstalledModules-xg6IvIrE.js → getInstalledModules-CEa2Samq.js} +2 -2
  85. package/_assets/{getNFT-CrK26U7i.js → getNFT-CEy9r48x.js} +2 -2
  86. package/_assets/{getNFT-DNBNVV72.js → getNFT-Ct3jEjLA.js} +3 -3
  87. package/_assets/{grid.styles-2JbhlBxZ.js → grid.styles-n8jZjaZZ.js} +2 -2
  88. package/_assets/{hashTypedData-Cndkq3z1.js → hashTypedData-1b7HD26l.js} +2 -2
  89. package/_assets/{hashTypedData-BrOa2lOS.js → hashTypedData-DXF07gRn.js} +2 -2
  90. package/_assets/{in-app-BmsTyb7B.js → in-app-CkMZQhTA.js} +2 -2
  91. package/_assets/{in-app-wallet-calls-DYOAYEZk.js → in-app-wallet-calls-Dgsz3blX.js} +2 -2
  92. package/_assets/{index-B-Yyuwxz.js → index--ff51QYb.js} +2 -2
  93. package/_assets/{index-yopd7Zam.js → index-AKm9wf4k.js} +2 -2
  94. package/_assets/{index-Yh3BoCJG.js → index-B1H-gX_P.js} +2 -2
  95. package/_assets/{index-D9VzIza_.js → index-B1K_ZyV3.js} +2 -2
  96. package/_assets/{index-CjByXhiA.js → index-B1k2x8wK.js} +2 -2
  97. package/_assets/{index-BlzkQkm2.js → index-B6CTmSAZ.js} +2 -2
  98. package/_assets/{index-CQqyNBin.js → index-BGGYh01S.js} +2 -2
  99. package/_assets/{index-HpMVU6de.js → index-BIlgQJxR.js} +2 -2
  100. package/_assets/{index-ClzFEc1y.js → index-BNhW6rRy.js} +4 -4
  101. package/_assets/{index-CMF9_cB-.js → index-BP7qpFp0.js} +3 -3
  102. package/_assets/{index-B56yuWYN.js → index-BP9odeWP.js} +2 -2
  103. package/_assets/{index-DI5AL9j1.js → index-BQyPdEtp.js} +2 -2
  104. package/_assets/{index-DafVSAGL.js → index-BS_nXuBr.js} +2 -2
  105. package/_assets/{index-B_5_acYB.js → index-BSqD29GM.js} +4 -4
  106. package/_assets/{index-DyYycPsd.js → index-B_lvpkeE.js} +2 -2
  107. package/_assets/{index-DHHmMw_L.js → index-BbDGcbiu.js} +2 -2
  108. package/_assets/{index-BynE7DJ2.js → index-Bdm6ieKZ.js} +2 -2
  109. package/_assets/{index-DA7wtwb4.js → index-BgP0i8vw.js} +2 -2
  110. package/_assets/{index-Dvd2C2w9.js → index-BglFl6Fm.js} +13 -13
  111. package/_assets/{index-DQbF114u.js → index-BhPr-v9U.js} +2 -2
  112. package/_assets/{index-BEKg8B7u.js → index-BhQCm9Ni.js} +2 -2
  113. package/_assets/{index-CHnNyD-T.js → index-BlslI3rj.js} +3 -3
  114. package/_assets/{index-B4AV4BzD.js → index-BqsDru6q.js} +2 -2
  115. package/_assets/{index-DXK8_srY.js → index-BtLPWAaK.js} +3 -3
  116. package/_assets/{index-wMcktQs9.js → index-BymIeNq5.js} +2 -2
  117. package/_assets/{index-C_1gNHK2.js → index-C1vczUb-.js} +2 -2
  118. package/_assets/{index-CGux0MBz.js → index-CJDxcq3x.js} +2 -2
  119. package/_assets/{index-BCHzA8hG.js → index-CTgccz-0.js} +2 -2
  120. package/_assets/{index-BxOCuFkp.js → index-CTwAikTr.js} +2 -2
  121. package/_assets/{index-Bgw4y_br.js → index-CUqXSDaL.js} +2 -2
  122. package/_assets/{index-2Uuulwbj.js → index-CWYRG6ZT.js} +2 -2
  123. package/_assets/{index-LdS3dzNO.js → index-CXX-XLif.js} +2 -2
  124. package/_assets/{index-DIqQCc3q.js → index-CXaBgBWn.js} +2 -2
  125. package/_assets/{index-CNNB46In.js → index-CdtyzYjl.js} +2 -2
  126. package/_assets/{index-EYC70YYV.js → index-Cl2UU8zI.js} +2 -2
  127. package/_assets/{index-CQymoPD_.js → index-CszH-Id0.js} +2 -2
  128. package/_assets/{index-CNrvfrP2.js → index-Cti8apxc.js} +2 -2
  129. package/_assets/{index-fBZGzl9B.js → index-Ctz4dl1e.js} +3 -3
  130. package/_assets/{index-DS6aghJM.js → index-Cw3itTLo.js} +2 -2
  131. package/_assets/{index-BEuc49hW.js → index-CwO560pE.js} +2 -2
  132. package/_assets/{index-DO1Heu30.js → index-D-ewRyDy.js} +2 -2
  133. package/_assets/{index-guJ4Ze_P.js → index-D36dJ_ih.js} +2 -2
  134. package/_assets/{index-V5oz5yD3.js → index-D3o48t7X.js} +2 -2
  135. package/_assets/{index-qn1eHCg6.js → index-DBmpYJZb.js} +2 -2
  136. package/_assets/{index-CSnJ6SKi.js → index-DExdOHNj.js} +2 -2
  137. package/_assets/{index-eCY9YQpJ.js → index-DFt-dJpm.js} +2 -2
  138. package/_assets/{index-EgdL1NRJ.js → index-DQ0RS7s8.js} +2 -2
  139. package/_assets/{index-j3hDC8eM.js → index-DV1WyWpz.js} +2 -2
  140. package/_assets/{index-Bwa85f47.js → index-DV4fZgFp.js} +2 -2
  141. package/_assets/{index-BQUUh4_r.js → index-DYtgYyB2.js} +2 -2
  142. package/_assets/{index-BgW8HNin.js → index-Fz-kxBvK.js} +2 -2
  143. package/_assets/{index-DoBORr0s.js → index-JtRct6fx.js} +2 -2
  144. package/_assets/{index-DgryauRl.js → index-NEoueLyg.js} +2 -2
  145. package/_assets/{index-vBHhN_G6.js → index-Q16cGzE2.js} +2 -2
  146. package/_assets/{index-DlwXNjvA.js → index-QKqNlH6r.js} +2 -2
  147. package/_assets/{index-BJ-o7lXQ.js → index-RQ53xviw.js} +2 -2
  148. package/_assets/{index-DID01i0N.js → index-SUL5ePoz.js} +2 -2
  149. package/_assets/{index-DxBUkw9l.js → index-WgrJnKjo.js} +2 -2
  150. package/_assets/{index-pOFubDzP.js → index-_nehv_nt.js} +2 -2
  151. package/_assets/{index-OXyJbkc5.js → index-_t77Blge.js} +2 -2
  152. package/_assets/{index-DxM_xZEM.js → index-cD2an3Df.js} +2 -2
  153. package/_assets/{index-jG_Kbxy3.js → index-iksLuCHX.js} +2 -2
  154. package/_assets/{index-iOfheCne.js → index-qG-cLCaL.js} +4 -4
  155. package/_assets/{index-1KC5SvxZ.js → index-sARheoqc.js} +2 -2
  156. package/_assets/{index-CytapTZ3.js → index-t0xkqnz_.js} +2 -2
  157. package/_assets/{index-7J5XBVmv.js → index-tWKq_o9R.js} +2 -2
  158. package/_assets/{index-CqaGwYnn.js → index-vB-YW25h.js} +2 -2
  159. package/_assets/{index.es-CjI-Bu2O.js → index.es-CidrYwfw.js} +5 -5
  160. package/_assets/{index.es-fBkIpF_t.js → index.es-DlwqTLe3.js} +2 -2
  161. package/_assets/{index.es-0WENEJIU.js → index.es-UJa_hg8L.js} +2 -2
  162. package/_assets/{index.es-Bua0WxJT.js → index.es-pEyycktv.js} +2 -2
  163. package/_assets/items-empty-obXsw3sQ.js +2 -0
  164. package/_assets/{jump-D046gljb.js → jump-8EDjo3Ld.js} +2 -2
  165. package/_assets/{linkAccount-DTebrbFP.js → linkAccount-BZTdi94Z.js} +2 -2
  166. package/_assets/{localBatchGatewayRequest-Buzjfu2d.js → localBatchGatewayRequest-CYy2Aznn.js} +2 -2
  167. package/_assets/{native-MLpY1vhl.js → native-B_cKi4OL.js} +2 -2
  168. package/_assets/{networks-BFA6ubxc.js → networks-Cw9HsolN.js} +2 -2
  169. package/_assets/{onramp-CUkH8Bwx.js → onramp-mZECMwsu.js} +2 -2
  170. package/_assets/{openzeppelin-CFTLHVds.js → openzeppelin-Di8LC916.js} +2 -2
  171. package/_assets/{ownerOf-RLLFUqs-.js → ownerOf-CphOe5YE.js} +2 -2
  172. package/_assets/{parseNft-ClVU5E1O.js → parseNft-DPV8gH3x.js} +3 -3
  173. package/_assets/{parseSignature-DnlZsLgH.js → parseSignature-BcE3zydK.js} +2 -2
  174. package/_assets/{parseSignature-DUveRM9W.js → parseSignature-DbbvLtLm.js} +4 -4
  175. package/_assets/{passkeys-D655jM2Y.js → passkeys-CXvp08ww.js} +2 -2
  176. package/_assets/{pay-with-exchange-CkF82Ie2.js → pay-with-exchange-B4q8XIIn.js} +2 -2
  177. package/_assets/{prepare-contract-call-UKDPpdCV.js → prepare-contract-call-BmibM75B.js} +2 -2
  178. package/_assets/{qr-overlay-CLTekMUW.js → qr-overlay-DYb0_7AF.js} +4 -4
  179. package/_assets/{react-CwVEKwPT.js → react-DIVsY3Yf.js} +2 -2
  180. package/_assets/{receive-XjSpFXWu.js → receive-BHNGK0bN.js} +2 -2
  181. package/_assets/{resolveImplementation-DDMe-KD8.js → resolveImplementation-BZWWvlr_.js} +2 -2
  182. package/_assets/{resume-buy-O9fhCR4s.js → resume-buy-De1qsYMw.js} +2 -2
  183. package/_assets/{rpc-CjPNWa-J.js → rpc-ITbgJaCS.js} +2 -2
  184. package/_assets/{sales-empty-DCI4SXQM.js → sales-empty-B9vjnL_D.js} +2 -2
  185. package/_assets/{search-empty-a0y7ifkA.js → search-empty-C_5HxdAt.js} +2 -2
  186. package/_assets/{secp256k1-Cp1BJwJp.js → secp256k1-BuLBt2uX.js} +2 -2
  187. package/_assets/{secp256k1-BUCxcW2E.js → secp256k1-ComBnQu4.js} +2 -2
  188. package/_assets/{secp256k1-B37ukQuo.js → secp256k1-Dy7ngPgG.js} +2 -2
  189. package/_assets/{send-DUsbTAiG.js → send-BixPZ99S.js} +2 -2
  190. package/_assets/{send-batch-transaction-DkhIfgFg.js → send-batch-transaction-B-VaOp0y.js} +2 -2
  191. package/_assets/{send-eip712-transaction-CQpyr66o.js → send-eip712-transaction-DyLo-P5B.js} +3 -3
  192. package/_assets/{send-gasless-transaction-CkLoySYF.js → send-gasless-transaction-BItcZm1M.js} +3 -3
  193. package/_assets/{send-transaction-Bp33tu23.js → send-transaction-C5F89a85.js} +3 -3
  194. package/_assets/{sendMetaTransaction-CiOAr9Wp.js → sendMetaTransaction-Dfz4IfSr.js} +2 -2
  195. package/_assets/{sendRawTransaction-DVh6mfqB.js → sendRawTransaction-p3tJn5vA.js} +4 -4
  196. package/_assets/{sentry-B9ecaEoF.js → sentry-B-8ANyrx.js} +3 -3
  197. package/_assets/{serializeTransaction-CCukN_TE.js → serializeTransaction-D-xOiOuI.js} +2 -2
  198. package/_assets/{session-proposal-Dlyalmzv.js → session-proposal-C55dcG8-.js} +2 -2
  199. package/_assets/{session-request-B5HxyHOg.js → session-request-BG_JV7Yl.js} +3 -3
  200. package/_assets/{sha256-DLGwQY2W.js → sha256-DXJ5blgb.js} +2 -2
  201. package/_assets/{signing-j76SbPV9.js → signing-DIYWFjNX.js} +4 -4
  202. package/_assets/{skeleton.styles-tlw8HMFs.js → skeleton.styles-CUNjHJx9.js} +2 -2
  203. package/_assets/{socials-I1x-WraP.js → socials-D2yDTKSz.js} +2 -2
  204. package/_assets/{styled-DWKlm0Ir.js → styled-CxZVVYBL.js} +2 -2
  205. package/_assets/{swaps-B3h-Cnit.js → swaps-BzQHCGzo.js} +2 -2
  206. package/_assets/{thirdweb-CqnLJ475.js → thirdweb-Chti_dcW.js} +4 -4
  207. package/_assets/{to-serializable-transaction-DbWSmxTC.js → to-serializable-transaction-C8hUOUoQ.js} +3 -3
  208. package/_assets/{totalSupply-BBob6nVz.js → totalSupply-BiTdt_eI.js} +2 -2
  209. package/_assets/{transaction-CJYRozzw.js → transaction-COsfHLHc.js} +2 -2
  210. package/_assets/{transactionReceipt-TqTgwqw5.js → transactionReceipt-B5Cya5PS.js} +2 -2
  211. package/_assets/{transactions-DrUv4Da4.js → transactions-D3u6oQJP.js} +2 -2
  212. package/_assets/{useCreditPacks-CQN0jPTR.js → useCreditPacks-BDuKg21H.js} +2 -2
  213. package/_assets/{useInfiniteGrid-_skSYttC.js → useInfiniteGrid-BupR2ViN.js} +2 -2
  214. package/_assets/{useStore-D-YYK-ya.js → useStore-tmVtBhlA.js} +3 -3
  215. package/_assets/{useTheme-D-K4_IKy.js → useTheme-D6qFmuYT.js} +2 -2
  216. package/_assets/{utils-C2LSbY4z.js → utils-CKE2Cym2.js} +2 -2
  217. package/_assets/{verifyHash-D_hEXrJX.js → verifyHash-9YfgOH7y.js} +2 -2
  218. package/_assets/{w3m-modal-DkHzFZ4I.js → w3m-modal-72locxTx.js} +2 -2
  219. package/_assets/{w3m-modal-nFWxHriK.js → w3m-modal-Dt1XLFkS.js} +2 -2
  220. package/_assets/{wait-for-tx-receipt-BX_PTygr.js → wait-for-tx-receipt-BsKqViuR.js} +2 -2
  221. package/_assets/{wallets-CS06fL7I.js → wallets-Drivtzkl.js} +6 -6
  222. package/_assets/{web-connector-Cz4nT4pN.js → web-connector-BgDydsFh.js} +4 -4
  223. package/_assets/{writeContract-CwGaaW2l.js → writeContract-OswpgLWb.js} +2 -2
  224. package/_assets/{zora-sepolia-DNN3rIXA.js → zora-sepolia-DMTjKkWp.js} +2 -2
  225. package/_assets/{zoraTestnet-DSii44xG.js → zoraTestnet-BJBhPpx_.js} +2 -2
  226. package/index.html +11 -11
  227. package/package.json +2 -2
  228. package/_assets/collectionPage.styles-BJgX5wHT.js +0 -40
  229. package/_assets/items-empty-D3xOYQgf.js +0 -2
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/decimals-BI7yEUGF.js","_assets/utils-C2LSbY4z.js","_assets/sentry-B9ecaEoF.js","_assets/react-CwVEKwPT.js","_assets/decimals-CM0qUgJf.js","_assets/prepare-contract-call-UKDPpdCV.js","_assets/signing-j76SbPV9.js","_assets/index-Dvd2C2w9.js","_assets/dcl-schemas-CCxb9kL2.js","_assets/ethers-BuJw1RVW.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/to-serializable-transaction-DbWSmxTC.js","_assets/transaction-CJYRozzw.js","_assets/get-bytecode-BLHMuY_a.js","_assets/in-app-wallet-calls-DYOAYEZk.js","_assets/wait-for-tx-receipt-BX_PTygr.js","_assets/transactionReceipt-TqTgwqw5.js","_assets/sleep-fBr8OToA.js","_assets/send-batch-transaction-DkhIfgFg.js","_assets/send-transaction-Bp33tu23.js","_assets/execute-DmPAKqaF.js","_assets/detectExtension-XNdWHaUC.js"])))=>i.map(i=>d[i]);
2
- import{_ as T}from"./index-Dvd2C2w9.js";import{t as F,i as ct,a as ot}from"./transaction-CJYRozzw.js";import{e as dt,i as pt,a as b}from"./utils-C2LSbY4z.js";import{f as mt,h as q,e as $,i as ut,g as L,j as yt,t as lt}from"./to-serializable-transaction-DbWSmxTC.js";import{r as C,a5 as B,w as E,S as O,G as x,s as z,h as _,l as D,H as ft,k as wt,e as At,T as gt,g as K}from"./prepare-contract-call-UKDPpdCV.js";import{o as j,r as Gt}from"./execute-DmPAKqaF.js";import{Z,a as Y,p as Q,m as ht,b as Tt,d as J,e as Pt}from"./signing-j76SbPV9.js";import{t as vt,p as Lt,s as Dt}from"./send-eip712-transaction-CQpyr66o.js";import{s as Ot}from"./send-transaction-Bp33tu23.js";import{p as xt}from"./linkAccount-DTebrbFP.js";import{g as X,E as S,h as St,a as k,b as Ct,c as _t,d as Et,e as V,D as tt,f as et,i as bt,j as Ft,k as Vt,l as It}from"./index-ClzFEc1y.js";import{M as Aa}from"./wallets-CS06fL7I.js";import"./react-CwVEKwPT.js";import"./dcl-schemas-CCxb9kL2.js";import"./sentry-B9ecaEoF.js";import"./ethers-BuJw1RVW.js";import"./intl-AKLEHPeO.js";import"./detectExtension-XNdWHaUC.js";import"./get-bytecode-BLHMuY_a.js";import"./eth_sendRawTransaction-DYAsy3sS.js";import"./sha256-DLGwQY2W.js";import"./ethereum-C5lgwO_8.js";import"./types-BeDU9GfL.js";import"./store-80QKZ2rN.js";import"./hashTypedData-BrOa2lOS.js";import"./index-CMF9_cB-.js";import"./events-Bepm6i8Y.js";import"./index-guJ4Ze_P.js";import"./index-V5oz5yD3.js";import"./index-OpYIGLSa.js";import"./index-DafVSAGL.js";import"./index-DID01i0N.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="b85b466b-b092-418e-848f-92be1ee6a5be",t._sentryDebugIdIdentifier="sentry-dbid-b85b466b-b092-418e-848f-92be1ee6a5be")}catch{}})();const Ut="0xdd62ed3e",Rt=[{name:"owner",type:"address"},{name:"spender",type:"address"}],Nt=[{type:"uint256"}];async function $t(t){return C({contract:t.contract,method:[Ut,Rt,Nt],params:[t.owner,t.spender]})}const kt="0x095ea7b3",Ht=[{name:"spender",type:"address"},{name:"value",type:"uint256"}],Mt=[{type:"bool"}];function Wt(t){const a=j(async()=>"asyncParams"in t?await t.asyncParams():t);return B({accessList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.accessList},authorizationList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.authorizationList},contract:t.contract,erc20Value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.erc20Value},extraGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.extraGas},gas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gas},gasPrice:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gasPrice},maxFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxFeePerGas},maxPriorityFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxPriorityFeePerGas},method:[kt,Ht,Mt],nonce:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.nonce},params:async()=>{const e=await a();return[e.spender,e.value]},value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.value}})}function qt(t){return Wt({asyncParams:async()=>{let a;if("amount"in t){const{decimals:e}=await T(async()=>{const{decimals:r}=await import("./decimals-BI7yEUGF.js");return{decimals:r}},__vite__mapDeps([0,1,2,3,4,5])),i=await e(t).catch(()=>18);a=mt(t.amount.toString(),i)}else a=t.amountWei;return{overrides:{erc20Value:{amountWei:a,tokenAddress:t.contract.address},...t.overrides},spender:t.spender,value:a}},contract:t.contract})}const Bt="0xf15d424e",zt=[{name:"signer",type:"address"}],Kt=[{components:[{name:"signer",type:"address"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"startTimestamp",type:"uint128"},{name:"endTimestamp",type:"uint128"}],name:"permissions",type:"tuple"}];async function jt(t){return C({contract:t.contract,method:[Bt,zt,Kt],params:[t.signer]})}const Zt="0x5892e236",Yt=[{components:[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],name:"req",type:"tuple"},{name:"signature",type:"bytes"}],Qt=[];function Jt(t){const a=j(async()=>"asyncParams"in t?await t.asyncParams():t);return B({accessList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.accessList},authorizationList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.authorizationList},contract:t.contract,erc20Value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.erc20Value},extraGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.extraGas},gas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gas},gasPrice:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gasPrice},maxFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxFeePerGas},maxPriorityFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxPriorityFeePerGas},method:[Zt,Yt,Qt],nonce:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.nonce},params:async()=>{const e=await a();return[e.req,e.signature]},value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.value}})}function W(){return new Date(Date.now()+1e3*60*60*24*365*10)}function U(t){return vt(Math.floor(t.getTime()/1e3))}const Xt=[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}];async function te(t){const{account:a,contract:e,req:i}=t,r=await a.signTypedData({domain:{chainId:e.chain.id,name:"Account",verifyingContract:e.address,version:"1"},message:i,primaryType:"SignerPermissionRequest",types:{SignerPermissionRequest:Xt}});return{req:i,signature:r}}async function ee(t){var i;const{target:a,permissions:e}=t;return{approvedTargets:e.approvedTargets==="*"?[Z]:e.approvedTargets,isAdmin:0,nativeTokenLimitPerTransaction:q(((i=e.nativeTokenLimitPerTransaction)==null?void 0:i.toString())||"0"),permissionEndTimestamp:U(e.permissionEndTimestamp||W()),permissionStartTimestamp:U(e.permissionStartTimestamp||new Date(0)),reqValidityEndTimestamp:U(W()),reqValidityStartTimestamp:0n,signer:a,uid:await Gt()}}function ae(t){const{contract:a,sessionKeyAddress:e,account:i,permissions:r}=t;return Jt({async asyncParams(){const{req:n,signature:c}=await te({account:i,contract:a,req:await ee({permissions:r,target:e})});return{req:n,signature:c}},contract:a})}async function se(t){var c;const{accountContract:a,sessionKeyAddress:e,newPermissions:i}=t;if(!await Y(a))return!0;const n=await jt({contract:a,signer:e});return!!(n.endTimestamp&&n.endTimestamp<Math.floor(Date.now()/1e3)||!ne(n.approvedTargets,i.approvedTargets)||q(((c=i.nativeTokenLimitPerTransaction)==null?void 0:c.toString())??"0")>n.nativeTokenLimitPerTransaction)}function ne(t,a){return a==="*"&&t.length===1&&t[0]===Z?!0:a!=="*"?a.map(e=>e.toLowerCase()).every(e=>t.map(i=>i.toLowerCase()).includes(e)):!1}const re=2n**96n-1n,ie="0x35567e1a",ce=[{name:"sender",type:"address"},{name:"key",type:"uint192"}],oe=[{name:"nonce",type:"uint256"}];async function de(t){return C({contract:t.contract,method:[ie,ce,oe],params:[t.sender,t.key]})}const pe="0xa6193531",me=[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],ue=[{type:"bytes32"}];async function ye(t){return C({contract:t.contract,method:[pe,me,ue],params:[t.userOp]})}const le="0x22cdde4c",fe=[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"accountGasLimits",type:"bytes32"},{name:"preVerificationGas",type:"uint256"},{name:"gasFees",type:"bytes32"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],we=[{type:"bytes32"}];async function Ae(t){return C({contract:t.contract,method:[le,fe,we],params:[t.userOp]})}function ge(t){return t.factory?E([t.factory,t.factoryData||"0x"]):"0x"}function Ge(t){return E([O(x(BigInt(t.verificationGasLimit)),{size:16}),O(x(BigInt(t.callGasLimit)),{size:16})])}function he(t){return E([O(x(BigInt(t.maxPriorityFeePerGas)),{size:16}),O(x(BigInt(t.maxFeePerGas)),{size:16})])}function Te(t){return t.paymaster?E([t.paymaster,O(x(BigInt(t.paymasterVerificationGasLimit||0)),{size:16}),O(x(BigInt(t.paymasterPostOpGasLimit||0)),{size:16}),t.paymasterData||"0x"]):"0x"}const Pe=t=>({accountGasLimits:Ge(t),callData:t.callData,gasFees:he(t),initCode:ge(t),nonce:BigInt(t.nonce),paymasterAndData:Te(t),preVerificationGas:BigInt(t.preVerificationGas),sender:t.sender,signature:t.signature});async function I(t){var A;const{userOp:a,paymasterOverride:e,client:i,chain:r,entrypointAddress:n}=t;if(e)return e(a);const c={"Content-Type":"application/json"},s=n??S,o=X(r),d={id:1,jsonrpc:"2.0",method:"pm_sponsorUserOperation",params:[St(a),s]},l=await dt(i)(o,{body:z(d),headers:c,method:"POST"});if(!l.ok){const g=await l.text()||l.statusText;throw new Error(`Paymaster error: ${l.status} - ${g}`)}const m=await l.json();if(m.result)return typeof m.result=="string"?{paymasterAndData:m.result}:(m.result.reason&&console.warn(`Paymaster policy rejected this transaction with reason: ${m.result.reason} ${m.result.policyId?`(policyId: ${m.result.policyId})`:""}`),{callGasLimit:m.result.callGasLimit?_(m.result.callGasLimit):void 0,paymaster:m.result.paymaster,paymasterAndData:m.result.paymasterAndData,paymasterData:m.result.paymasterData,paymasterPostOpGasLimit:m.result.paymasterPostOpGasLimit?_(m.result.paymasterPostOpGasLimit):void 0,paymasterVerificationGasLimit:m.result.paymasterVerificationGasLimit?_(m.result.paymasterVerificationGasLimit):void 0,preVerificationGas:m.result.preVerificationGas?_(m.result.preVerificationGas):void 0,verificationGasLimit:m.result.verificationGasLimit?_(m.result.verificationGasLimit):void 0});const w=((A=m.error)==null?void 0:A.message)||m.error||l.statusText||"unknown error";throw new Error(`Paymaster error from ${o}: ${w}`)}const H=new Set,M=t=>`${t.chain.id}:${t.address}`,at=t=>{H.add(M(t))},st=t=>{H.delete(M(t))},nt=t=>H.has(M(t));async function ve(t){const a=t.timeoutMs||12e4,e=t.intervalMs||1e3,i=Date.now()+a;for(;Date.now()<i;){const r=await Ct(t);if(r)return r;await new Promise(n=>setTimeout(n,e))}throw new Error(`Timeout waiting for userOp to be mined on chain ${t.chain.id} with UserOp hash: ${t.userOpHash}`)}async function Le(t){var P;const{transaction:a,accountContract:e,factoryContract:i,adminAddress:r,overrides:n,sponsorGas:c,waitForDeployment:s=!0,isDeployedOverride:o}=t,d=a.chain,y=a.client,l={bundlerUrl:n==null?void 0:n.bundlerUrl,chain:d,client:y,entrypointAddress:n==null?void 0:n.entrypointAddress},m=k(((P=t.overrides)==null?void 0:P.entrypointAddress)||S),[w,A,g,G,f]=await Promise.all([typeof o=="boolean"?o:Y(e).then(h=>h||nt(e)),$(a),D(a.gas),De({bundlerOptions:l,chain:d,client:y,executeTx:a}),Ee({accountContract:e,chain:d,client:y,entrypointAddress:n==null?void 0:n.entrypointAddress,getNonceOverride:n==null?void 0:n.getAccountNonce})]),{maxFeePerGas:p,maxPriorityFeePerGas:u}=G;return m==="v0.7"?Oe({accountContract:e,adminAddress:r,bundlerOptions:l,callData:A,callGasLimit:g,factoryContract:i,isDeployed:w,maxFeePerGas:p,maxPriorityFeePerGas:u,nonce:f,overrides:n,sponsorGas:c,waitForDeployment:s}):xe({accountContract:e,adminAddress:r,bundlerOptions:l,callData:A,callGasLimit:g,factoryContract:i,isDeployed:w,maxFeePerGas:p,maxPriorityFeePerGas:u,nonce:f,overrides:n,sponsorGas:c,waitForDeployment:s})}async function De(t){const{executeTx:a,bundlerOptions:e,chain:i,client:r}=t;let{maxFeePerGas:n,maxPriorityFeePerGas:c}=a;const s=(e==null?void 0:e.bundlerUrl)??X(i);if(pt(s)){const o=await _t({options:e});n=o.maxFeePerGas,c=o.maxPriorityFeePerGas}else{const[o,d]=await Promise.all([D(n),D(c)]);if(o&&d)n=o,c=d;else{const y=await ut(r,i);c=d??y.maxPriorityFeePerGas??0n,n=o??y.maxFeePerGas??0n}}return{maxFeePerGas:n,maxPriorityFeePerGas:c}}async function Oe(t){const{bundlerOptions:a,isDeployed:e,factoryContract:i,accountContract:r,adminAddress:n,sponsorGas:c,overrides:s,nonce:o,callData:d,callGasLimit:y,maxFeePerGas:l,maxPriorityFeePerGas:m,waitForDeployment:w}=t,{chain:A,client:g}=a;let G,f;e?(f="0x",w&&await rt(r)):(G=i.address,f=await $(Q({accountSalt:s==null?void 0:s.accountSalt,adminAddress:n,createAccountOverride:s==null?void 0:s.createAccount,factoryContract:i})),w&&at(r));const p={callData:d,callGasLimit:y??0n,factory:G,factoryData:f,maxFeePerGas:l,maxPriorityFeePerGas:m,nonce:o,paymaster:void 0,paymasterData:"0x",paymasterPostOpGasLimit:0n,paymasterVerificationGasLimit:0n,preVerificationGas:0n,sender:r.address,signature:tt,verificationGasLimit:0n};if(c){const u=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:p});if(u.paymaster&&u.paymasterData&&(p.paymaster=u.paymaster,p.paymasterData=u.paymasterData),u.callGasLimit&&u.verificationGasLimit&&u.preVerificationGas&&u.paymasterPostOpGasLimit&&u.paymasterVerificationGasLimit)p.callGasLimit=u.callGasLimit,p.verificationGasLimit=u.verificationGasLimit,p.preVerificationGas=u.preVerificationGas,p.paymasterPostOpGasLimit=u.paymasterPostOpGasLimit,p.paymasterVerificationGasLimit=u.paymasterVerificationGasLimit;else{const P=s!=null&&s.tokenPaymaster?{[s.tokenPaymaster.tokenAddress]:{stateDiff:{[wt(At([{type:"address"},{type:"uint256"}],[r.address,s.tokenPaymaster.balanceStorageSlot]))]:gt(ht,{size:32})}}}:void 0,h=await V({options:a,userOp:p},P);p.callGasLimit=h.callGasLimit,p.verificationGasLimit=h.verificationGasLimit,p.preVerificationGas=h.preVerificationGas,p.paymasterPostOpGasLimit=s!=null&&s.tokenPaymaster?500000n:h.paymasterPostOpGasLimit||0n,p.paymasterVerificationGasLimit=h.paymasterVerificationGasLimit||0n;const v=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:p});v.paymaster&&v.paymasterData&&(p.paymaster=v.paymaster,p.paymasterData=v.paymasterData)}}else{const u=await V({options:a,userOp:p});p.callGasLimit=u.callGasLimit,p.verificationGasLimit=u.verificationGasLimit,p.preVerificationGas=u.preVerificationGas,p.paymasterPostOpGasLimit=u.paymasterPostOpGasLimit||0n,p.paymasterVerificationGasLimit=u.paymasterVerificationGasLimit||0n}return{...p,signature:"0x"}}async function xe(t){const{bundlerOptions:a,isDeployed:e,factoryContract:i,accountContract:r,adminAddress:n,sponsorGas:c,overrides:s,nonce:o,callData:d,callGasLimit:y,maxFeePerGas:l,maxPriorityFeePerGas:m,waitForDeployment:w}=t,{chain:A,client:g}=a;let G;e?(G="0x",w&&await rt(r)):(G=await _e({accountSalt:s==null?void 0:s.accountSalt,adminAddress:n,createAccountOverride:s==null?void 0:s.createAccount,factoryContract:i}),w&&at(r));const f={callData:d,callGasLimit:y??0n,initCode:G,maxFeePerGas:l,maxPriorityFeePerGas:m,nonce:o,paymasterAndData:"0x",preVerificationGas:0n,sender:r.address,signature:tt,verificationGasLimit:0n};if(c){const p=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:f}),u="paymasterAndData"in p?p.paymasterAndData:"0x";if(u&&u!=="0x"&&(f.paymasterAndData=u),p.callGasLimit&&p.verificationGasLimit&&p.preVerificationGas)f.callGasLimit=p.callGasLimit,f.verificationGasLimit=p.verificationGasLimit,f.preVerificationGas=p.preVerificationGas;else{const P=await V({options:a,userOp:f});if(f.callGasLimit=P.callGasLimit,f.verificationGasLimit=P.verificationGasLimit,f.preVerificationGas=P.preVerificationGas,u&&u!=="0x"){const h=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:f}),v="paymasterAndData"in h?h.paymasterAndData:"0x";v&&v!=="0x"&&(f.paymasterAndData=v)}}}else{const p=await V({options:a,userOp:f});f.callGasLimit=p.callGasLimit,f.verificationGasLimit=p.verificationGasLimit,f.preVerificationGas=p.preVerificationGas}return{...f,signature:"0x"}}async function Se(t){const{userOp:a,chain:e,entrypointAddress:i,adminAccount:r}=t,n=await Ce({chain:e,client:t.client,entrypointAddress:i,userOp:a});if(r.signMessage){const c=await r.signMessage({chainId:e.id,message:{raw:ft(n)},originalMessage:z(a)});return{...a,signature:c}}throw new Error("signMessage not implemented in signingAccount")}async function Ce(t){const{userOp:a,chain:e,entrypointAddress:i}=t,r=k(i||S);let n;if(r==="v0.7"){const c=Pe(a);n=await Ae({contract:L({address:i||et,chain:e,client:t.client}),userOp:c})}else n=await ye({contract:L({address:i||S,chain:e,client:t.client}),userOp:a});return n}async function _e(t){const{factoryContract:a,adminAddress:e,accountSalt:i,createAccountOverride:r}=t,n=Q({accountSalt:i,adminAddress:e,createAccountOverride:r,factoryContract:a});return E([a.address,await $(n)])}async function Ee(t){const{accountContract:a,chain:e,client:i,entrypointAddress:r,getNonceOverride:n}=t;return n?n(a):await de({contract:L({address:r||S,chain:e,client:i}),key:Et(),sender:a.address})}async function rt(t){const a=Date.now();for(;nt(t);){if(Date.now()-a>6e4)throw st(t),new Error("Account deployment is taking too long (over 1 minute). Please try again.");await new Promise(e=>setTimeout(e,500))}}const it=new WeakMap,R=new WeakMap;async function ya(t,a){var m,w,A,g,G,f,p;const{personalAccount:e,client:i}=t;if(!e)throw new Error("No personal account provided for smart account connection");const r=a,n=a.chain,c="gasless"in r?r.gasless:r.sponsorGas;if(await yt(n))return[Ve({chain:n,connectionOptions:t,creationOptions:a,sponsorGas:c}),n];if(r.factoryAddress&&!((m=r.overrides)!=null&&m.entrypointAddress)){const u=await Ie(r.factoryAddress,i,n);u&&(r.overrides={...r.overrides,entrypointAddress:u})}(w=r.overrides)!=null&&w.tokenPaymaster&&!((A=r.overrides)!=null&&A.entrypointAddress)&&(r.overrides={...r.overrides,entrypointAddress:et});const s=r.factoryAddress??bt((g=r.overrides)==null?void 0:g.entrypointAddress),o=L({address:s,chain:n,client:i}),d=await Tt({accountAddress:(G=r.overrides)==null?void 0:G.accountAddress,accountSalt:(f=r.overrides)==null?void 0:f.accountSalt,adminAddress:e.address,factoryContract:o,predictAddressOverride:(p=r.overrides)==null?void 0:p.predictAddress}).then(u=>u).catch(u=>{throw new Error(`Failed to get account address with factory contract ${o.address} on chain ID ${n.id}: ${(u==null?void 0:u.message)||"unknown error"}`,{cause:u})}),y=L({address:d,chain:n,client:i}),l=await be({...r,accountContract:y,chain:n,client:i,factoryContract:o,personalAccount:e,sponsorGas:c});if(it.set(e,l),R.set(l,e),r.sessionKey&&await se({accountContract:y,newPermissions:r.sessionKey.permissions,sessionKeyAddress:r.sessionKey.address})){const u=ae({account:e,contract:y,permissions:r.sessionKey.permissions,sessionKeyAddress:r.sessionKey.address});await Ot({account:l,transaction:u})}return[l,n]}async function la(t){const a=R.get(t);a&&(it.delete(a),R.delete(t))}async function be(t){var n,c;const a=(n=t.overrides)==null?void 0:n.tokenPaymaster;if(a&&k(((c=t.overrides)==null?void 0:c.entrypointAddress)||S)!=="v0.7")throw new Error("Token paymaster is only supported for entrypoint version v0.7");const e=t.sponsorGas;let i=t.accountContract;const r={address:K(i.address),async onTransactionRequested(s){var o,d;return(d=(o=t.personalAccount).onTransactionRequested)==null?void 0:d.call(o,s)},async sendBatchTransaction(s){var m,w;const o=Pt({accountContract:i,executeBatchOverride:(m=t.overrides)==null?void 0:m.executeBatch,transactions:s});if(s.length===0)throw new Error("No transactions to send");const d=s[0];if(!d)throw new Error("No transactions to send");const y=b(d.chainId),l=await N({executeTx:o,options:{...t,accountContract:i,chain:y}});return F({chainId:y.id,client:t.client,contractAddress:((w=s[0])==null?void 0:w.to)??void 0,transactionHash:l.transactionHash,walletAddress:t.accountContract.address,walletType:"smart"}),l},async sendTransaction(s){var m,w,A;let o;if(a){await Fe({accountContract:i,erc20Paymaster:a,options:t});const g=async()=>({paymaster:a.paymasterAddress,paymasterData:"0x"});o=((m=t.overrides)==null?void 0:m.paymaster)||g}else o=(w=t.overrides)==null?void 0:w.paymaster;s.chainId!==i.chain.id&&(i=L({address:r.address,chain:b(s.chainId),client:t.client}));const d=J({accountContract:i,executeOverride:(A=t.overrides)==null?void 0:A.execute,transaction:s}),y=b(s.chainId),l=await N({executeTx:d,options:{...t,accountContract:i,chain:y,overrides:{...t.overrides,paymaster:o}}});return F({chainId:y.id,client:t.client,contractAddress:s.to??void 0,transactionHash:l.transactionHash,walletAddress:t.accountContract.address,walletType:"smart"}),l},async signMessage({message:s}){var d;if((d=t.overrides)!=null&&d.signMessage)return t.overrides.signMessage({accountContract:i,adminAccount:t.personalAccount,factoryContract:t.factoryContract,message:s});const{smartAccountSignMessage:o}=await T(async()=>{const{smartAccountSignMessage:y}=await import("./signing-j76SbPV9.js").then(l=>l.Q);return{smartAccountSignMessage:y}},__vite__mapDeps([6,5,1,2,3,7,8,9,10,11,12,13,14]));return o({accountContract:i,factoryContract:t.factoryContract,message:s,options:t})},async signTypedData(s){var d;if((d=t.overrides)!=null&&d.signTypedData)return t.overrides.signTypedData({accountContract:i,adminAccount:t.personalAccount,factoryContract:t.factoryContract,typedData:s});const{smartAccountSignTypedData:o}=await T(async()=>{const{smartAccountSignTypedData:y}=await import("./signing-j76SbPV9.js").then(l=>l.Q);return{smartAccountSignTypedData:y}},__vite__mapDeps([6,5,1,2,3,7,8,9,10,11,12,13,14]));return o({accountContract:i,factoryContract:t.factoryContract,options:t,typedData:s})},sendCalls:async s=>{const{inAppWalletSendCalls:o}=await T(async()=>{const{inAppWalletSendCalls:w}=await import("./in-app-wallet-calls-DYOAYEZk.js");return{inAppWalletSendCalls:w}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22])),d=s.calls[0];if(!d)throw new Error("No calls to send");const y=d.client,l=d.chain||s.chain,m=await o({account:r,calls:s.calls,chain:l});return{chain:l,client:y,id:m}},getCallsStatus:async s=>{const{inAppWalletGetCallsStatus:o}=await T(async()=>{const{inAppWalletGetCallsStatus:d}=await import("./in-app-wallet-calls-DYOAYEZk.js");return{inAppWalletGetCallsStatus:d}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return o(s)},getCallsStatusRaw:async s=>{const{inAppWalletGetCallsStatusRaw:o}=await T(async()=>{const{inAppWalletGetCallsStatusRaw:d}=await import("./in-app-wallet-calls-DYOAYEZk.js");return{inAppWalletGetCallsStatusRaw:d}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return o(s)},getCapabilities:async s=>({[s.chainId??1]:{atomic:{status:"supported"},paymasterService:{supported:e??!1}}})};return r}async function Fe(t){var y;const{accountContract:a,erc20Paymaster:e,options:i}=t,r=e.tokenAddress,n=L({address:r,chain:a.chain,client:a.client});if(await $t({contract:n,owner:a.address,spender:e.paymasterAddress})>0n)return;const s=qt({amountWei:re-1n,contract:n,spender:e.paymasterAddress}),o=await lt({from:a.address,transaction:s}),d=J({accountContract:a,executeOverride:(y=i.overrides)==null?void 0:y.execute,transaction:o});await N({executeTx:d,options:{...i,overrides:{...i.overrides,tokenPaymaster:void 0}}})}function Ve(t){const{creationOptions:a,connectionOptions:e,chain:i}=t,r={address:K(e.personalAccount.address),async onTransactionRequested(n){var c,s;return(s=(c=e.personalAccount).onTransactionRequested)==null?void 0:s.call(c,n)},async sendTransaction(n){var y,l,m,w;const c={chain:b(n.chainId),client:e.client,data:n.data,eip712:n.eip712,to:n.to??void 0,value:n.value??0n};let s=await Lt({account:r,transaction:c});if(t.sponsorGas&&!s.paymaster){const A=await Ft({options:{bundlerUrl:(y=a.overrides)==null?void 0:y.bundlerUrl,chain:i,client:e.client,entrypointAddress:(l=a.overrides)==null?void 0:l.entrypointAddress},transaction:s});s={...s,...A}}const o=await Dt({account:r,chainId:i.id,eip712Transaction:s}),d=await Vt({options:{bundlerUrl:(m=a.overrides)==null?void 0:m.bundlerUrl,chain:i,client:e.client,entrypointAddress:(w=a.overrides)==null?void 0:w.entrypointAddress},signedTransaction:o,transaction:s});return F({chainId:i.id,client:e.client,contractAddress:n.to??void 0,transactionHash:d.transactionHash,walletAddress:r.address,walletType:"smart"}),{chain:i,client:e.client,transactionHash:d.transactionHash}},async signMessage({message:n}){return e.personalAccount.signMessage({message:n})},async signTypedData(n){const c=xt(n);return e.personalAccount.signTypedData(c)},sendCalls:async n=>{const{inAppWalletSendCalls:c}=await T(async()=>{const{inAppWalletSendCalls:l}=await import("./in-app-wallet-calls-DYOAYEZk.js");return{inAppWalletSendCalls:l}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22])),s=n.calls[0];if(!s)throw new Error("No calls to send");const o=s.client,d=s.chain||n.chain,y=await c({account:r,calls:n.calls,chain:d});return{chain:d,client:o,id:y}},getCallsStatus:async n=>{const{inAppWalletGetCallsStatus:c}=await T(async()=>{const{inAppWalletGetCallsStatus:s}=await import("./in-app-wallet-calls-DYOAYEZk.js");return{inAppWalletGetCallsStatus:s}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return c(n)},getCallsStatusRaw:async n=>{const{inAppWalletGetCallsStatusRaw:c}=await T(async()=>{const{inAppWalletGetCallsStatusRaw:s}=await import("./in-app-wallet-calls-DYOAYEZk.js");return{inAppWalletGetCallsStatusRaw:s}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return c(n)},getCapabilities:async n=>({[n.chainId??1]:{atomic:{status:"unsupported"},paymasterService:{supported:t.sponsorGas??!1}}})};return r}async function N(t){var i,r,n;const{executeTx:a,options:e}=t;try{const c=await Le({accountContract:e.accountContract,adminAddress:e.personalAccount.address,factoryContract:e.factoryContract,overrides:e.overrides,sponsorGas:e.sponsorGas,transaction:a}),s=await Se({adminAccount:e.personalAccount,chain:e.chain,client:e.client,entrypointAddress:(i=e.overrides)==null?void 0:i.entrypointAddress,userOp:c}),o={bundlerUrl:(r=e.overrides)==null?void 0:r.bundlerUrl,chain:e.chain,client:e.client,entrypointAddress:(n=e.overrides)==null?void 0:n.entrypointAddress},d=await It({options:o,userOp:s}),y=await ve({...o,userOpHash:d});return F({chainId:e.chain.id,client:e.client,contractAddress:await D(a.to??void 0),transactionHash:y.transactionHash,walletAddress:e.accountContract.address,walletType:"smart"}),{chain:e.chain,client:e.client,transactionHash:y.transactionHash}}catch(c){throw ct(c)&&ot({chainId:e.chain.id,client:e.client,contractAddress:await D(a.to??void 0),error:c,transactionValue:await D(a.value),walletAddress:e.accountContract.address}),c}finally{st(e.accountContract)}}async function Ie(t,a,e){const i=L({address:t,chain:e,client:a});try{return await C({contract:i,method:"function entrypoint() public view returns (address)"})}catch{return}}export{ya as connectSmartAccount,la as disconnectSmartAccount,Ie as getEntrypointFromFactory,Aa as isSmartWallet};
3
- //# sourceMappingURL=index-DXK8_srY.js.map
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/decimals-DjMj1nly.js","_assets/utils-CKE2Cym2.js","_assets/sentry-B-8ANyrx.js","_assets/react-DIVsY3Yf.js","_assets/decimals-DtsFQlaY.js","_assets/prepare-contract-call-BmibM75B.js","_assets/signing-DIYWFjNX.js","_assets/index-BglFl6Fm.js","_assets/dcl-schemas-C5hQYDFL.js","_assets/ethers-C43IeBLw.js","_assets/intl-AKLEHPeO.js","_assets/index-l2QjlKjX.css","_assets/to-serializable-transaction-C8hUOUoQ.js","_assets/transaction-COsfHLHc.js","_assets/get-bytecode-BiWxhW65.js","_assets/in-app-wallet-calls-Dgsz3blX.js","_assets/wait-for-tx-receipt-BsKqViuR.js","_assets/transactionReceipt-B5Cya5PS.js","_assets/sleep-fBr8OToA.js","_assets/send-batch-transaction-B-VaOp0y.js","_assets/send-transaction-C5F89a85.js","_assets/execute-Ccu7do40.js","_assets/detectExtension-DVhuD7DF.js"])))=>i.map(i=>d[i]);
2
+ import{_ as T}from"./index-BglFl6Fm.js";import{t as F,i as ct,a as ot}from"./transaction-COsfHLHc.js";import{e as dt,i as pt,a as b}from"./utils-CKE2Cym2.js";import{f as mt,h as q,e as $,i as ut,g as L,j as yt,t as lt}from"./to-serializable-transaction-C8hUOUoQ.js";import{r as C,a5 as B,w as E,S as O,G as x,s as z,h as _,l as D,H as ft,k as wt,e as At,T as gt,g as K}from"./prepare-contract-call-BmibM75B.js";import{o as j,r as Gt}from"./execute-Ccu7do40.js";import{Z,a as Y,p as Q,m as ht,b as Tt,d as J,e as Pt}from"./signing-DIYWFjNX.js";import{t as vt,p as Lt,s as Dt}from"./send-eip712-transaction-DyLo-P5B.js";import{s as Ot}from"./send-transaction-C5F89a85.js";import{p as xt}from"./linkAccount-BZTdi94Z.js";import{g as X,E as S,h as St,a as k,b as Ct,c as _t,d as Et,e as V,D as tt,f as et,i as bt,j as Ft,k as Vt,l as It}from"./index-BNhW6rRy.js";import{M as Aa}from"./wallets-Drivtzkl.js";import"./react-DIVsY3Yf.js";import"./dcl-schemas-C5hQYDFL.js";import"./sentry-B-8ANyrx.js";import"./ethers-C43IeBLw.js";import"./intl-AKLEHPeO.js";import"./detectExtension-DVhuD7DF.js";import"./get-bytecode-BiWxhW65.js";import"./eth_sendRawTransaction-DYAsy3sS.js";import"./sha256-DXJ5blgb.js";import"./ethereum--vz2n3sf.js";import"./types-BeDU9GfL.js";import"./store-80QKZ2rN.js";import"./hashTypedData-DXF07gRn.js";import"./index-BP7qpFp0.js";import"./events-BjSqgOgl.js";import"./index-D36dJ_ih.js";import"./index-D3o48t7X.js";import"./index-OpYIGLSa.js";import"./index-BS_nXuBr.js";import"./index-SUL5ePoz.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="b85b466b-b092-418e-848f-92be1ee6a5be",t._sentryDebugIdIdentifier="sentry-dbid-b85b466b-b092-418e-848f-92be1ee6a5be")}catch{}})();const Ut="0xdd62ed3e",Rt=[{name:"owner",type:"address"},{name:"spender",type:"address"}],Nt=[{type:"uint256"}];async function $t(t){return C({contract:t.contract,method:[Ut,Rt,Nt],params:[t.owner,t.spender]})}const kt="0x095ea7b3",Ht=[{name:"spender",type:"address"},{name:"value",type:"uint256"}],Mt=[{type:"bool"}];function Wt(t){const a=j(async()=>"asyncParams"in t?await t.asyncParams():t);return B({accessList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.accessList},authorizationList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.authorizationList},contract:t.contract,erc20Value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.erc20Value},extraGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.extraGas},gas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gas},gasPrice:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gasPrice},maxFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxFeePerGas},maxPriorityFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxPriorityFeePerGas},method:[kt,Ht,Mt],nonce:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.nonce},params:async()=>{const e=await a();return[e.spender,e.value]},value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.value}})}function qt(t){return Wt({asyncParams:async()=>{let a;if("amount"in t){const{decimals:e}=await T(async()=>{const{decimals:r}=await import("./decimals-DjMj1nly.js");return{decimals:r}},__vite__mapDeps([0,1,2,3,4,5])),i=await e(t).catch(()=>18);a=mt(t.amount.toString(),i)}else a=t.amountWei;return{overrides:{erc20Value:{amountWei:a,tokenAddress:t.contract.address},...t.overrides},spender:t.spender,value:a}},contract:t.contract})}const Bt="0xf15d424e",zt=[{name:"signer",type:"address"}],Kt=[{components:[{name:"signer",type:"address"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"startTimestamp",type:"uint128"},{name:"endTimestamp",type:"uint128"}],name:"permissions",type:"tuple"}];async function jt(t){return C({contract:t.contract,method:[Bt,zt,Kt],params:[t.signer]})}const Zt="0x5892e236",Yt=[{components:[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],name:"req",type:"tuple"},{name:"signature",type:"bytes"}],Qt=[];function Jt(t){const a=j(async()=>"asyncParams"in t?await t.asyncParams():t);return B({accessList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.accessList},authorizationList:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.authorizationList},contract:t.contract,erc20Value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.erc20Value},extraGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.extraGas},gas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gas},gasPrice:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.gasPrice},maxFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxFeePerGas},maxPriorityFeePerGas:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.maxPriorityFeePerGas},method:[Zt,Yt,Qt],nonce:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.nonce},params:async()=>{const e=await a();return[e.req,e.signature]},value:async()=>{var e;return(e=(await a()).overrides)==null?void 0:e.value}})}function W(){return new Date(Date.now()+1e3*60*60*24*365*10)}function U(t){return vt(Math.floor(t.getTime()/1e3))}const Xt=[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}];async function te(t){const{account:a,contract:e,req:i}=t,r=await a.signTypedData({domain:{chainId:e.chain.id,name:"Account",verifyingContract:e.address,version:"1"},message:i,primaryType:"SignerPermissionRequest",types:{SignerPermissionRequest:Xt}});return{req:i,signature:r}}async function ee(t){var i;const{target:a,permissions:e}=t;return{approvedTargets:e.approvedTargets==="*"?[Z]:e.approvedTargets,isAdmin:0,nativeTokenLimitPerTransaction:q(((i=e.nativeTokenLimitPerTransaction)==null?void 0:i.toString())||"0"),permissionEndTimestamp:U(e.permissionEndTimestamp||W()),permissionStartTimestamp:U(e.permissionStartTimestamp||new Date(0)),reqValidityEndTimestamp:U(W()),reqValidityStartTimestamp:0n,signer:a,uid:await Gt()}}function ae(t){const{contract:a,sessionKeyAddress:e,account:i,permissions:r}=t;return Jt({async asyncParams(){const{req:n,signature:c}=await te({account:i,contract:a,req:await ee({permissions:r,target:e})});return{req:n,signature:c}},contract:a})}async function se(t){var c;const{accountContract:a,sessionKeyAddress:e,newPermissions:i}=t;if(!await Y(a))return!0;const n=await jt({contract:a,signer:e});return!!(n.endTimestamp&&n.endTimestamp<Math.floor(Date.now()/1e3)||!ne(n.approvedTargets,i.approvedTargets)||q(((c=i.nativeTokenLimitPerTransaction)==null?void 0:c.toString())??"0")>n.nativeTokenLimitPerTransaction)}function ne(t,a){return a==="*"&&t.length===1&&t[0]===Z?!0:a!=="*"?a.map(e=>e.toLowerCase()).every(e=>t.map(i=>i.toLowerCase()).includes(e)):!1}const re=2n**96n-1n,ie="0x35567e1a",ce=[{name:"sender",type:"address"},{name:"key",type:"uint192"}],oe=[{name:"nonce",type:"uint256"}];async function de(t){return C({contract:t.contract,method:[ie,ce,oe],params:[t.sender,t.key]})}const pe="0xa6193531",me=[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],ue=[{type:"bytes32"}];async function ye(t){return C({contract:t.contract,method:[pe,me,ue],params:[t.userOp]})}const le="0x22cdde4c",fe=[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"accountGasLimits",type:"bytes32"},{name:"preVerificationGas",type:"uint256"},{name:"gasFees",type:"bytes32"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],we=[{type:"bytes32"}];async function Ae(t){return C({contract:t.contract,method:[le,fe,we],params:[t.userOp]})}function ge(t){return t.factory?E([t.factory,t.factoryData||"0x"]):"0x"}function Ge(t){return E([O(x(BigInt(t.verificationGasLimit)),{size:16}),O(x(BigInt(t.callGasLimit)),{size:16})])}function he(t){return E([O(x(BigInt(t.maxPriorityFeePerGas)),{size:16}),O(x(BigInt(t.maxFeePerGas)),{size:16})])}function Te(t){return t.paymaster?E([t.paymaster,O(x(BigInt(t.paymasterVerificationGasLimit||0)),{size:16}),O(x(BigInt(t.paymasterPostOpGasLimit||0)),{size:16}),t.paymasterData||"0x"]):"0x"}const Pe=t=>({accountGasLimits:Ge(t),callData:t.callData,gasFees:he(t),initCode:ge(t),nonce:BigInt(t.nonce),paymasterAndData:Te(t),preVerificationGas:BigInt(t.preVerificationGas),sender:t.sender,signature:t.signature});async function I(t){var A;const{userOp:a,paymasterOverride:e,client:i,chain:r,entrypointAddress:n}=t;if(e)return e(a);const c={"Content-Type":"application/json"},s=n??S,o=X(r),d={id:1,jsonrpc:"2.0",method:"pm_sponsorUserOperation",params:[St(a),s]},l=await dt(i)(o,{body:z(d),headers:c,method:"POST"});if(!l.ok){const g=await l.text()||l.statusText;throw new Error(`Paymaster error: ${l.status} - ${g}`)}const m=await l.json();if(m.result)return typeof m.result=="string"?{paymasterAndData:m.result}:(m.result.reason&&console.warn(`Paymaster policy rejected this transaction with reason: ${m.result.reason} ${m.result.policyId?`(policyId: ${m.result.policyId})`:""}`),{callGasLimit:m.result.callGasLimit?_(m.result.callGasLimit):void 0,paymaster:m.result.paymaster,paymasterAndData:m.result.paymasterAndData,paymasterData:m.result.paymasterData,paymasterPostOpGasLimit:m.result.paymasterPostOpGasLimit?_(m.result.paymasterPostOpGasLimit):void 0,paymasterVerificationGasLimit:m.result.paymasterVerificationGasLimit?_(m.result.paymasterVerificationGasLimit):void 0,preVerificationGas:m.result.preVerificationGas?_(m.result.preVerificationGas):void 0,verificationGasLimit:m.result.verificationGasLimit?_(m.result.verificationGasLimit):void 0});const w=((A=m.error)==null?void 0:A.message)||m.error||l.statusText||"unknown error";throw new Error(`Paymaster error from ${o}: ${w}`)}const H=new Set,M=t=>`${t.chain.id}:${t.address}`,at=t=>{H.add(M(t))},st=t=>{H.delete(M(t))},nt=t=>H.has(M(t));async function ve(t){const a=t.timeoutMs||12e4,e=t.intervalMs||1e3,i=Date.now()+a;for(;Date.now()<i;){const r=await Ct(t);if(r)return r;await new Promise(n=>setTimeout(n,e))}throw new Error(`Timeout waiting for userOp to be mined on chain ${t.chain.id} with UserOp hash: ${t.userOpHash}`)}async function Le(t){var P;const{transaction:a,accountContract:e,factoryContract:i,adminAddress:r,overrides:n,sponsorGas:c,waitForDeployment:s=!0,isDeployedOverride:o}=t,d=a.chain,y=a.client,l={bundlerUrl:n==null?void 0:n.bundlerUrl,chain:d,client:y,entrypointAddress:n==null?void 0:n.entrypointAddress},m=k(((P=t.overrides)==null?void 0:P.entrypointAddress)||S),[w,A,g,G,f]=await Promise.all([typeof o=="boolean"?o:Y(e).then(h=>h||nt(e)),$(a),D(a.gas),De({bundlerOptions:l,chain:d,client:y,executeTx:a}),Ee({accountContract:e,chain:d,client:y,entrypointAddress:n==null?void 0:n.entrypointAddress,getNonceOverride:n==null?void 0:n.getAccountNonce})]),{maxFeePerGas:p,maxPriorityFeePerGas:u}=G;return m==="v0.7"?Oe({accountContract:e,adminAddress:r,bundlerOptions:l,callData:A,callGasLimit:g,factoryContract:i,isDeployed:w,maxFeePerGas:p,maxPriorityFeePerGas:u,nonce:f,overrides:n,sponsorGas:c,waitForDeployment:s}):xe({accountContract:e,adminAddress:r,bundlerOptions:l,callData:A,callGasLimit:g,factoryContract:i,isDeployed:w,maxFeePerGas:p,maxPriorityFeePerGas:u,nonce:f,overrides:n,sponsorGas:c,waitForDeployment:s})}async function De(t){const{executeTx:a,bundlerOptions:e,chain:i,client:r}=t;let{maxFeePerGas:n,maxPriorityFeePerGas:c}=a;const s=(e==null?void 0:e.bundlerUrl)??X(i);if(pt(s)){const o=await _t({options:e});n=o.maxFeePerGas,c=o.maxPriorityFeePerGas}else{const[o,d]=await Promise.all([D(n),D(c)]);if(o&&d)n=o,c=d;else{const y=await ut(r,i);c=d??y.maxPriorityFeePerGas??0n,n=o??y.maxFeePerGas??0n}}return{maxFeePerGas:n,maxPriorityFeePerGas:c}}async function Oe(t){const{bundlerOptions:a,isDeployed:e,factoryContract:i,accountContract:r,adminAddress:n,sponsorGas:c,overrides:s,nonce:o,callData:d,callGasLimit:y,maxFeePerGas:l,maxPriorityFeePerGas:m,waitForDeployment:w}=t,{chain:A,client:g}=a;let G,f;e?(f="0x",w&&await rt(r)):(G=i.address,f=await $(Q({accountSalt:s==null?void 0:s.accountSalt,adminAddress:n,createAccountOverride:s==null?void 0:s.createAccount,factoryContract:i})),w&&at(r));const p={callData:d,callGasLimit:y??0n,factory:G,factoryData:f,maxFeePerGas:l,maxPriorityFeePerGas:m,nonce:o,paymaster:void 0,paymasterData:"0x",paymasterPostOpGasLimit:0n,paymasterVerificationGasLimit:0n,preVerificationGas:0n,sender:r.address,signature:tt,verificationGasLimit:0n};if(c){const u=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:p});if(u.paymaster&&u.paymasterData&&(p.paymaster=u.paymaster,p.paymasterData=u.paymasterData),u.callGasLimit&&u.verificationGasLimit&&u.preVerificationGas&&u.paymasterPostOpGasLimit&&u.paymasterVerificationGasLimit)p.callGasLimit=u.callGasLimit,p.verificationGasLimit=u.verificationGasLimit,p.preVerificationGas=u.preVerificationGas,p.paymasterPostOpGasLimit=u.paymasterPostOpGasLimit,p.paymasterVerificationGasLimit=u.paymasterVerificationGasLimit;else{const P=s!=null&&s.tokenPaymaster?{[s.tokenPaymaster.tokenAddress]:{stateDiff:{[wt(At([{type:"address"},{type:"uint256"}],[r.address,s.tokenPaymaster.balanceStorageSlot]))]:gt(ht,{size:32})}}}:void 0,h=await V({options:a,userOp:p},P);p.callGasLimit=h.callGasLimit,p.verificationGasLimit=h.verificationGasLimit,p.preVerificationGas=h.preVerificationGas,p.paymasterPostOpGasLimit=s!=null&&s.tokenPaymaster?500000n:h.paymasterPostOpGasLimit||0n,p.paymasterVerificationGasLimit=h.paymasterVerificationGasLimit||0n;const v=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:p});v.paymaster&&v.paymasterData&&(p.paymaster=v.paymaster,p.paymasterData=v.paymasterData)}}else{const u=await V({options:a,userOp:p});p.callGasLimit=u.callGasLimit,p.verificationGasLimit=u.verificationGasLimit,p.preVerificationGas=u.preVerificationGas,p.paymasterPostOpGasLimit=u.paymasterPostOpGasLimit||0n,p.paymasterVerificationGasLimit=u.paymasterVerificationGasLimit||0n}return{...p,signature:"0x"}}async function xe(t){const{bundlerOptions:a,isDeployed:e,factoryContract:i,accountContract:r,adminAddress:n,sponsorGas:c,overrides:s,nonce:o,callData:d,callGasLimit:y,maxFeePerGas:l,maxPriorityFeePerGas:m,waitForDeployment:w}=t,{chain:A,client:g}=a;let G;e?(G="0x",w&&await rt(r)):(G=await _e({accountSalt:s==null?void 0:s.accountSalt,adminAddress:n,createAccountOverride:s==null?void 0:s.createAccount,factoryContract:i}),w&&at(r));const f={callData:d,callGasLimit:y??0n,initCode:G,maxFeePerGas:l,maxPriorityFeePerGas:m,nonce:o,paymasterAndData:"0x",preVerificationGas:0n,sender:r.address,signature:tt,verificationGasLimit:0n};if(c){const p=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:f}),u="paymasterAndData"in p?p.paymasterAndData:"0x";if(u&&u!=="0x"&&(f.paymasterAndData=u),p.callGasLimit&&p.verificationGasLimit&&p.preVerificationGas)f.callGasLimit=p.callGasLimit,f.verificationGasLimit=p.verificationGasLimit,f.preVerificationGas=p.preVerificationGas;else{const P=await V({options:a,userOp:f});if(f.callGasLimit=P.callGasLimit,f.verificationGasLimit=P.verificationGasLimit,f.preVerificationGas=P.preVerificationGas,u&&u!=="0x"){const h=await I({chain:A,client:g,entrypointAddress:s==null?void 0:s.entrypointAddress,paymasterOverride:s==null?void 0:s.paymaster,userOp:f}),v="paymasterAndData"in h?h.paymasterAndData:"0x";v&&v!=="0x"&&(f.paymasterAndData=v)}}}else{const p=await V({options:a,userOp:f});f.callGasLimit=p.callGasLimit,f.verificationGasLimit=p.verificationGasLimit,f.preVerificationGas=p.preVerificationGas}return{...f,signature:"0x"}}async function Se(t){const{userOp:a,chain:e,entrypointAddress:i,adminAccount:r}=t,n=await Ce({chain:e,client:t.client,entrypointAddress:i,userOp:a});if(r.signMessage){const c=await r.signMessage({chainId:e.id,message:{raw:ft(n)},originalMessage:z(a)});return{...a,signature:c}}throw new Error("signMessage not implemented in signingAccount")}async function Ce(t){const{userOp:a,chain:e,entrypointAddress:i}=t,r=k(i||S);let n;if(r==="v0.7"){const c=Pe(a);n=await Ae({contract:L({address:i||et,chain:e,client:t.client}),userOp:c})}else n=await ye({contract:L({address:i||S,chain:e,client:t.client}),userOp:a});return n}async function _e(t){const{factoryContract:a,adminAddress:e,accountSalt:i,createAccountOverride:r}=t,n=Q({accountSalt:i,adminAddress:e,createAccountOverride:r,factoryContract:a});return E([a.address,await $(n)])}async function Ee(t){const{accountContract:a,chain:e,client:i,entrypointAddress:r,getNonceOverride:n}=t;return n?n(a):await de({contract:L({address:r||S,chain:e,client:i}),key:Et(),sender:a.address})}async function rt(t){const a=Date.now();for(;nt(t);){if(Date.now()-a>6e4)throw st(t),new Error("Account deployment is taking too long (over 1 minute). Please try again.");await new Promise(e=>setTimeout(e,500))}}const it=new WeakMap,R=new WeakMap;async function ya(t,a){var m,w,A,g,G,f,p;const{personalAccount:e,client:i}=t;if(!e)throw new Error("No personal account provided for smart account connection");const r=a,n=a.chain,c="gasless"in r?r.gasless:r.sponsorGas;if(await yt(n))return[Ve({chain:n,connectionOptions:t,creationOptions:a,sponsorGas:c}),n];if(r.factoryAddress&&!((m=r.overrides)!=null&&m.entrypointAddress)){const u=await Ie(r.factoryAddress,i,n);u&&(r.overrides={...r.overrides,entrypointAddress:u})}(w=r.overrides)!=null&&w.tokenPaymaster&&!((A=r.overrides)!=null&&A.entrypointAddress)&&(r.overrides={...r.overrides,entrypointAddress:et});const s=r.factoryAddress??bt((g=r.overrides)==null?void 0:g.entrypointAddress),o=L({address:s,chain:n,client:i}),d=await Tt({accountAddress:(G=r.overrides)==null?void 0:G.accountAddress,accountSalt:(f=r.overrides)==null?void 0:f.accountSalt,adminAddress:e.address,factoryContract:o,predictAddressOverride:(p=r.overrides)==null?void 0:p.predictAddress}).then(u=>u).catch(u=>{throw new Error(`Failed to get account address with factory contract ${o.address} on chain ID ${n.id}: ${(u==null?void 0:u.message)||"unknown error"}`,{cause:u})}),y=L({address:d,chain:n,client:i}),l=await be({...r,accountContract:y,chain:n,client:i,factoryContract:o,personalAccount:e,sponsorGas:c});if(it.set(e,l),R.set(l,e),r.sessionKey&&await se({accountContract:y,newPermissions:r.sessionKey.permissions,sessionKeyAddress:r.sessionKey.address})){const u=ae({account:e,contract:y,permissions:r.sessionKey.permissions,sessionKeyAddress:r.sessionKey.address});await Ot({account:l,transaction:u})}return[l,n]}async function la(t){const a=R.get(t);a&&(it.delete(a),R.delete(t))}async function be(t){var n,c;const a=(n=t.overrides)==null?void 0:n.tokenPaymaster;if(a&&k(((c=t.overrides)==null?void 0:c.entrypointAddress)||S)!=="v0.7")throw new Error("Token paymaster is only supported for entrypoint version v0.7");const e=t.sponsorGas;let i=t.accountContract;const r={address:K(i.address),async onTransactionRequested(s){var o,d;return(d=(o=t.personalAccount).onTransactionRequested)==null?void 0:d.call(o,s)},async sendBatchTransaction(s){var m,w;const o=Pt({accountContract:i,executeBatchOverride:(m=t.overrides)==null?void 0:m.executeBatch,transactions:s});if(s.length===0)throw new Error("No transactions to send");const d=s[0];if(!d)throw new Error("No transactions to send");const y=b(d.chainId),l=await N({executeTx:o,options:{...t,accountContract:i,chain:y}});return F({chainId:y.id,client:t.client,contractAddress:((w=s[0])==null?void 0:w.to)??void 0,transactionHash:l.transactionHash,walletAddress:t.accountContract.address,walletType:"smart"}),l},async sendTransaction(s){var m,w,A;let o;if(a){await Fe({accountContract:i,erc20Paymaster:a,options:t});const g=async()=>({paymaster:a.paymasterAddress,paymasterData:"0x"});o=((m=t.overrides)==null?void 0:m.paymaster)||g}else o=(w=t.overrides)==null?void 0:w.paymaster;s.chainId!==i.chain.id&&(i=L({address:r.address,chain:b(s.chainId),client:t.client}));const d=J({accountContract:i,executeOverride:(A=t.overrides)==null?void 0:A.execute,transaction:s}),y=b(s.chainId),l=await N({executeTx:d,options:{...t,accountContract:i,chain:y,overrides:{...t.overrides,paymaster:o}}});return F({chainId:y.id,client:t.client,contractAddress:s.to??void 0,transactionHash:l.transactionHash,walletAddress:t.accountContract.address,walletType:"smart"}),l},async signMessage({message:s}){var d;if((d=t.overrides)!=null&&d.signMessage)return t.overrides.signMessage({accountContract:i,adminAccount:t.personalAccount,factoryContract:t.factoryContract,message:s});const{smartAccountSignMessage:o}=await T(async()=>{const{smartAccountSignMessage:y}=await import("./signing-DIYWFjNX.js").then(l=>l.Q);return{smartAccountSignMessage:y}},__vite__mapDeps([6,5,1,2,3,7,8,9,10,11,12,13,14]));return o({accountContract:i,factoryContract:t.factoryContract,message:s,options:t})},async signTypedData(s){var d;if((d=t.overrides)!=null&&d.signTypedData)return t.overrides.signTypedData({accountContract:i,adminAccount:t.personalAccount,factoryContract:t.factoryContract,typedData:s});const{smartAccountSignTypedData:o}=await T(async()=>{const{smartAccountSignTypedData:y}=await import("./signing-DIYWFjNX.js").then(l=>l.Q);return{smartAccountSignTypedData:y}},__vite__mapDeps([6,5,1,2,3,7,8,9,10,11,12,13,14]));return o({accountContract:i,factoryContract:t.factoryContract,options:t,typedData:s})},sendCalls:async s=>{const{inAppWalletSendCalls:o}=await T(async()=>{const{inAppWalletSendCalls:w}=await import("./in-app-wallet-calls-Dgsz3blX.js");return{inAppWalletSendCalls:w}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22])),d=s.calls[0];if(!d)throw new Error("No calls to send");const y=d.client,l=d.chain||s.chain,m=await o({account:r,calls:s.calls,chain:l});return{chain:l,client:y,id:m}},getCallsStatus:async s=>{const{inAppWalletGetCallsStatus:o}=await T(async()=>{const{inAppWalletGetCallsStatus:d}=await import("./in-app-wallet-calls-Dgsz3blX.js");return{inAppWalletGetCallsStatus:d}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return o(s)},getCallsStatusRaw:async s=>{const{inAppWalletGetCallsStatusRaw:o}=await T(async()=>{const{inAppWalletGetCallsStatusRaw:d}=await import("./in-app-wallet-calls-Dgsz3blX.js");return{inAppWalletGetCallsStatusRaw:d}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return o(s)},getCapabilities:async s=>({[s.chainId??1]:{atomic:{status:"supported"},paymasterService:{supported:e??!1}}})};return r}async function Fe(t){var y;const{accountContract:a,erc20Paymaster:e,options:i}=t,r=e.tokenAddress,n=L({address:r,chain:a.chain,client:a.client});if(await $t({contract:n,owner:a.address,spender:e.paymasterAddress})>0n)return;const s=qt({amountWei:re-1n,contract:n,spender:e.paymasterAddress}),o=await lt({from:a.address,transaction:s}),d=J({accountContract:a,executeOverride:(y=i.overrides)==null?void 0:y.execute,transaction:o});await N({executeTx:d,options:{...i,overrides:{...i.overrides,tokenPaymaster:void 0}}})}function Ve(t){const{creationOptions:a,connectionOptions:e,chain:i}=t,r={address:K(e.personalAccount.address),async onTransactionRequested(n){var c,s;return(s=(c=e.personalAccount).onTransactionRequested)==null?void 0:s.call(c,n)},async sendTransaction(n){var y,l,m,w;const c={chain:b(n.chainId),client:e.client,data:n.data,eip712:n.eip712,to:n.to??void 0,value:n.value??0n};let s=await Lt({account:r,transaction:c});if(t.sponsorGas&&!s.paymaster){const A=await Ft({options:{bundlerUrl:(y=a.overrides)==null?void 0:y.bundlerUrl,chain:i,client:e.client,entrypointAddress:(l=a.overrides)==null?void 0:l.entrypointAddress},transaction:s});s={...s,...A}}const o=await Dt({account:r,chainId:i.id,eip712Transaction:s}),d=await Vt({options:{bundlerUrl:(m=a.overrides)==null?void 0:m.bundlerUrl,chain:i,client:e.client,entrypointAddress:(w=a.overrides)==null?void 0:w.entrypointAddress},signedTransaction:o,transaction:s});return F({chainId:i.id,client:e.client,contractAddress:n.to??void 0,transactionHash:d.transactionHash,walletAddress:r.address,walletType:"smart"}),{chain:i,client:e.client,transactionHash:d.transactionHash}},async signMessage({message:n}){return e.personalAccount.signMessage({message:n})},async signTypedData(n){const c=xt(n);return e.personalAccount.signTypedData(c)},sendCalls:async n=>{const{inAppWalletSendCalls:c}=await T(async()=>{const{inAppWalletSendCalls:l}=await import("./in-app-wallet-calls-Dgsz3blX.js");return{inAppWalletSendCalls:l}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22])),s=n.calls[0];if(!s)throw new Error("No calls to send");const o=s.client,d=s.chain||n.chain,y=await c({account:r,calls:n.calls,chain:d});return{chain:d,client:o,id:y}},getCallsStatus:async n=>{const{inAppWalletGetCallsStatus:c}=await T(async()=>{const{inAppWalletGetCallsStatus:s}=await import("./in-app-wallet-calls-Dgsz3blX.js");return{inAppWalletGetCallsStatus:s}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return c(n)},getCallsStatusRaw:async n=>{const{inAppWalletGetCallsStatusRaw:c}=await T(async()=>{const{inAppWalletGetCallsStatusRaw:s}=await import("./in-app-wallet-calls-Dgsz3blX.js");return{inAppWalletGetCallsStatusRaw:s}},__vite__mapDeps([15,16,17,5,1,2,3,12,7,8,9,10,11,13,18,19,20,21,22]));return c(n)},getCapabilities:async n=>({[n.chainId??1]:{atomic:{status:"unsupported"},paymasterService:{supported:t.sponsorGas??!1}}})};return r}async function N(t){var i,r,n;const{executeTx:a,options:e}=t;try{const c=await Le({accountContract:e.accountContract,adminAddress:e.personalAccount.address,factoryContract:e.factoryContract,overrides:e.overrides,sponsorGas:e.sponsorGas,transaction:a}),s=await Se({adminAccount:e.personalAccount,chain:e.chain,client:e.client,entrypointAddress:(i=e.overrides)==null?void 0:i.entrypointAddress,userOp:c}),o={bundlerUrl:(r=e.overrides)==null?void 0:r.bundlerUrl,chain:e.chain,client:e.client,entrypointAddress:(n=e.overrides)==null?void 0:n.entrypointAddress},d=await It({options:o,userOp:s}),y=await ve({...o,userOpHash:d});return F({chainId:e.chain.id,client:e.client,contractAddress:await D(a.to??void 0),transactionHash:y.transactionHash,walletAddress:e.accountContract.address,walletType:"smart"}),{chain:e.chain,client:e.client,transactionHash:y.transactionHash}}catch(c){throw ct(c)&&ot({chainId:e.chain.id,client:e.client,contractAddress:await D(a.to??void 0),error:c,transactionValue:await D(a.value),walletAddress:e.accountContract.address}),c}finally{st(e.accountContract)}}async function Ie(t,a,e){const i=L({address:t,chain:e,client:a});try{return await C({contract:i,method:"function entrypoint() public view returns (address)"})}catch{return}}export{ya as connectSmartAccount,la as disconnectSmartAccount,Ie as getEntrypointFromFactory,Aa as isSmartWallet};
3
+ //# sourceMappingURL=index-BtLPWAaK.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,j as e,R as He}from"./react-CwVEKwPT.js";import{n as G}from"./dcl-schemas-CCxb9kL2.js";import{c as y}from"./index-C_1gNHK2.js";import{n as o,S as Fe}from"./emotion-styled.browser.esm-Dr_sMq9M.js";import{m as ie,c2 as C,c3 as r}from"./index-Dvd2C2w9.js";import"./clsx-BEtG4eYu.js";import"./styled-DWKlm0Ir.js";import"./sentry-B9ecaEoF.js";import"./ethers-BuJw1RVW.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-wMcktQs9.js.map
1
+ import{r as i,j as e,R as He}from"./react-DIVsY3Yf.js";import{n as G}from"./dcl-schemas-C5hQYDFL.js";import{c as y}from"./index-C1vczUb-.js";import{n as o,S as Fe}from"./emotion-styled.browser.esm-DhTwacdb.js";import{m as ie,c2 as C,c3 as r}from"./index-BglFl6Fm.js";import"./clsx-BEtG4eYu.js";import"./styled-CxZVVYBL.js";import"./sentry-B-8ANyrx.js";import"./ethers-C43IeBLw.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-BymIeNq5.js.map
@@ -1,2 +1,2 @@
1
- import{bo as a,bp as n}from"./index-Dvd2C2w9.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]="0817c8d5-4db3-4b9d-bfb0-e74c52fcb151",t._sentryDebugIdIdentifier="sentry-dbid-0817c8d5-4db3-4b9d-bfb0-e74c52fcb151")}catch{}})();const o="https://wearable-preview.decentraland.zone",_="https://decentraland.zone/account",c="https://decentraland.zone/profile",R="https://decentraland.zone/marketplace",d="https://decentraland.zone/shop",s="https://decentraland.zone/builder",L="https://decentraland.zone/dao",r="https://decentraland.zone/governance",U="https://decentraland.zone/events",E="https://decentraland.zone/places",l="https://decentraland.org/create/",O="https://docs.decentraland.org/player/",A="https://decentraland.zone/download/creator-hub/",T="https://decentraland.zone/download/",p="https://decentraland.zone/download_success/",N="ea2ybdmmn1kv",S="master",C="18g1DzIyBxvu0steSwKyQr",h="https://cms.decentraland.org",I="https://decentraland.zone/marketplace/names/claim",D="https://decentraland.zone/marketplace/lands",g="https://decentraland.zone/marketplace/account",$="https://decentraland.zone/create/",i="https://studios.decentraland.zone/",P="https://decentraland.zone/builder/collections",m="https://decentraland.zone/builder/names",B="https://decentraland.zone/builder/worlds?tab=dcl",y="https://decentraland.zone/builder/land",M="https://decentraland.zone/events/me/",b="https://decentraland.zone/places/favorites/",V="https://docs.decentraland.org/player/",u="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",F="https://docs.decentraland.org/contributor/",f="https://decentraland.zone/governance/transparency/",K="https://decentraland.zone/governance/proposals/",v="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",z="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",w="https://decentraland.zone/marketplace/settings",H="https://dcl.gg/discord",W="https://reddit.com/r/decentraland",k="https://github.com/decentraland",x="https://x.com/decentraland",j="https://instagram.com/decentraland_foundation/",Q="https://youtube.com/@decentraland_foundation",J="https://tiktok.com/@decentraland_fdn",X="https://linkedin.com/company/decentralandorg",q="https://decentraland.zone/privacy",Z="https://decentraland.zone/terms",tt="https://decentraland.zone/content",nt="https://decentraland.zone/ethics",et="https://decentraland.org/help",at="mailto:hello@decentraland.org",ot="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",ct="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Rt="https://download-gateway.decentraland.zone",dt="https://decentraland.zone/top-scenes",st="https://testflight.apple.com/join/KF4r3jlU",Lt="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",rt={WEARABLE_PREVIEW_URL:o,ACCOUNT_URL:_,PROFILE_URL:c,MARKETPLACE_URL:R,SHOP_URL:d,BUILDER_URL:s,DAO_URL:L,GOVERNANCE_URL:r,EVENTS_URL:U,PLACES_URL:E,CREATE_URL:l,LEARN_URL:O,CREATOR_HUB_URL:A,DOWNLOAD_URL:T,DOWNLOAD_SUCCESS_URL:p,CONTENTFUL_SPACE_ID:N,CONTENTFUL_ENV:S,CONTENTFUL_NAVBAR_ENTRY_ID:C,CONTENTFUL_CONTENTFUL_CDN_URL:h,MARKETPLACE_NAMES_URL:I,MARKETPLACE_LANDS_URL:D,MARKETPLACE_MY_ASSETS_URL:g,LANDING_CREATORS_URL:$,STUDIOS_URL:i,BUILDER_WEARABLE_EMOTES_URL:P,BUILDER_NAMES_URL:m,BUILDER_WORLDS_URL:B,BUILDER_LAND_URL:y,EVENTS_MY_EVENTS:M,PLACES_MY_FAVORITE_URL:b,DOCS_ABOUT_URL:V,DOCS_CREATORS_URL:u,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:F,GOVERNANCE_TRANSPARENCY_URL:f,GOVERNANCE_PROPOSALS_URL:K,DAO_GRANTS_URL:v,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:z,MARKETPLACE_SETTINGS_URL:w,DISCORD_URL:H,REDDIT_URL:W,GITHUB_URL:k,X_URL:x,INSTAGRAM_URL:j,YOUTUBE_URL:Q,TIKTOK_URL:J,LINKEDIN_URL:X,PRIVACY_POLICY_URL:q,TERMS_OF_USE_URL:Z,CONTENT_POLICY_URL:tt,CODE_OF_ETHICS_URL:nt,SUPPORT_URL:et,EMAIL_HELLO_URL:at,FAQ_URL:ot,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:ct,AUTO_SIGNING_BASE_URL:Rt,TOP_SCENES_URL:dt,IOS_STORE_URL:st,ANDROID_STORE_URL:Lt},Ut="https://wearable-preview.decentraland.org",Et="https://decentraland.org/account",lt="https://decentraland.org/profile",Ot="https://decentraland.org/marketplace",At="https://decentraland.org/shop",Tt="https://decentraland.org/builder",pt="https://decentraland.org/dao",Nt="https://decentraland.org/governance",St="https://decentraland.org/events",Ct="https://decentraland.org/places",ht="https://decentraland.org/create/",It="https://docs.decentraland.org/player/",Dt="https://decentraland.org/download/creator-hub/",gt="https://decentraland.org/download/",$t="https://decentraland.org/download_success/",it="ea2ybdmmn1kv",Pt="master",mt="18g1DzIyBxvu0steSwKyQr",Bt="https://cms.decentraland.org",yt="https://decentraland.org/marketplace/names/claim",Mt="https://decentraland.org/marketplace/lands",bt="https://decentraland.org/marketplace/account",Vt="https://decentraland.org/create/",ut="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",Ft="https://decentraland.org/builder/names",ft="https://decentraland.org/builder/worlds?tab=dcl",Kt="https://decentraland.org/builder/land",vt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",zt="https://docs.decentraland.org/player/",wt="https://docs.decentraland.org/creator/",Ht="https://decentraland.org/blog/",Wt="https://docs.decentraland.org/contributor/",kt="https://decentraland.org/governance/transparency/",xt="https://decentraland.org/governance/proposals/",jt="https://decentraland.org/dao/grants/",Qt="https://decentraland.org/governance/projects/",Jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xt="https://decentraland.org/marketplace/settings",qt="https://dcl.gg/discord",Zt="https://reddit.com/r/decentraland",tn="https://github.com/decentraland",nn="https://x.com/decentraland",en="https://instagram.com/decentraland_foundation/",an="https://youtube.com/@decentraland_foundation",on="https://tiktok.com/@decentraland_fdn",_n="https://linkedin.com/company/decentralandorg",cn="https://decentraland.org/privacy",Rn="https://decentraland.org/terms",dn="https://decentraland.org/content",sn="https://decentraland.org/ethics",Ln="https://decentraland.org/help",rn="mailto:hello@decentraland.org",Un="https://docs.decentraland.org/faqs/decentraland-101",En="https://docs.decentraland.org",ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",On="https://download-gateway.decentraland.org",An="https://decentraland.org/top-scenes",Tn="https://testflight.apple.com/join/KF4r3jlU",pn="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Nn={WEARABLE_PREVIEW_URL:Ut,ACCOUNT_URL:Et,PROFILE_URL:lt,MARKETPLACE_URL:Ot,SHOP_URL:At,BUILDER_URL:Tt,DAO_URL:pt,GOVERNANCE_URL:Nt,EVENTS_URL:St,PLACES_URL:Ct,CREATE_URL:ht,LEARN_URL:It,CREATOR_HUB_URL:Dt,DOWNLOAD_URL:gt,DOWNLOAD_SUCCESS_URL:$t,CONTENTFUL_SPACE_ID:it,CONTENTFUL_ENV:Pt,CONTENTFUL_NAVBAR_ENTRY_ID:mt,CONTENTFUL_CONTENTFUL_CDN_URL:Bt,MARKETPLACE_NAMES_URL:yt,MARKETPLACE_LANDS_URL:Mt,MARKETPLACE_MY_ASSETS_URL:bt,LANDING_CREATORS_URL:Vt,STUDIOS_URL:ut,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:Ft,BUILDER_WORLDS_URL:ft,BUILDER_LAND_URL:Kt,EVENTS_MY_EVENTS:vt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:zt,DOCS_CREATORS_URL:wt,BLOG_URL:Ht,DOCS_CONTRIBUTOR_URL:Wt,GOVERNANCE_TRANSPARENCY_URL:kt,GOVERNANCE_PROPOSALS_URL:xt,DAO_GRANTS_URL:jt,GOVERNANCE_PROJECTS_URL:Qt,DOCS_DAO_URL:Jt,MARKETPLACE_SETTINGS_URL:Xt,DISCORD_URL:qt,REDDIT_URL:Zt,GITHUB_URL:tn,X_URL:nn,INSTAGRAM_URL:en,YOUTUBE_URL:an,TIKTOK_URL:on,LINKEDIN_URL:_n,PRIVACY_POLICY_URL:cn,TERMS_OF_USE_URL:Rn,CONTENT_POLICY_URL:dn,CODE_OF_ETHICS_URL:sn,SUPPORT_URL:Ln,EMAIL_HELLO_URL:rn,FAQ_URL:Un,DOCS_URL:En,BEEHIV_SUBSCRIPTION_URL:ln,AUTO_SIGNING_BASE_URL:On,TOP_SCENES_URL:An,IOS_STORE_URL:Tn,ANDROID_STORE_URL:pn},Sn="https://wearable-preview.decentraland.today",Cn="https://decentraland.today/account",hn="https://decentraland.today/profile",In="https://decentraland.today/marketplace",Dn="https://decentraland.today/shop",gn="https://decentraland.today/builder",$n="https://decentraland.today/dao",Pn="https://decentraland.today/governance",mn="https://decentraland.zone/events",Bn="https://decentraland.zone/places",yn="https://decentraland.today/create/",Mn="https://docs.decentraland.org/player/",bn="https://decentraland.today/download/creator-hub/",Vn="https://decentraland.today/download/",un="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",Fn="master",fn="18g1DzIyBxvu0steSwKyQr",Kn="https://cms.decentraland.org",vn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",zn="https://decentraland.today/marketplace/account",wn="https://decentraland.today/create/",Hn="https://studios.decentraland.today/",Wn="https://decentraland.today/builder/collections",kn="https://decentraland.today/builder/names",xn="https://decentraland.today/builder/worlds?tab=dcl",jn="https://decentraland.today/builder/land",Qn="https://decentraland.today/events/me/",Jn="https://decentraland.today/places/favorites/",Xn="https://docs.decentraland.org/player/",qn="https://docs.decentraland.org/creator/",Zn="https://decentraland.today/blog/",te="https://docs.decentraland.org/contributor/",ne="https://decentraland.today/governance/transparency/",ee="https://decentraland.today/governance/proposals/",ae="https://decentraland.today/dao/grants/",oe="https://decentraland.today/governance/projects/",_e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ce="https://decentraland.today/marketplace/settings",Re="https://dcl.gg/discord",de="https://reddit.com/r/decentraland",se="https://github.com/decentraland",Le="https://x.com/decentraland",re="https://instagram.com/decentraland_foundation/",Ue="https://youtube.com/@decentraland_foundation",Ee="https://tiktok.com/@decentraland_fdn",le="https://linkedin.com/company/decentralandorg",Oe="https://decentraland.org/privacy",Ae="https://decentraland.org/terms",Te="https://decentraland.org/content",pe="https://decentraland.org/ethics",Ne="https://decentraland.org/help",Se="mailto:hello@decentraland.org",Ce="https://docs.decentraland.org/faqs/decentraland-101",he="https://docs.decentraland.org",Ie="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",De="https://download-gateway.decentraland.zone",ge="https://decentraland.zone/top-scenes",$e="https://testflight.apple.com/join/KF4r3jlU",ie="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Pe={WEARABLE_PREVIEW_URL:Sn,ACCOUNT_URL:Cn,PROFILE_URL:hn,MARKETPLACE_URL:In,SHOP_URL:Dn,BUILDER_URL:gn,DAO_URL:$n,GOVERNANCE_URL:Pn,EVENTS_URL:mn,PLACES_URL:Bn,CREATE_URL:yn,LEARN_URL:Mn,CREATOR_HUB_URL:bn,DOWNLOAD_URL:Vn,DOWNLOAD_SUCCESS_URL:un,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:Fn,CONTENTFUL_NAVBAR_ENTRY_ID:fn,CONTENTFUL_CONTENTFUL_CDN_URL:Kn,MARKETPLACE_NAMES_URL:vn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:zn,LANDING_CREATORS_URL:wn,STUDIOS_URL:Hn,BUILDER_WEARABLE_EMOTES_URL:Wn,BUILDER_NAMES_URL:kn,BUILDER_WORLDS_URL:xn,BUILDER_LAND_URL:jn,EVENTS_MY_EVENTS:Qn,PLACES_MY_FAVORITE_URL:Jn,DOCS_ABOUT_URL:Xn,DOCS_CREATORS_URL:qn,BLOG_URL:Zn,DOCS_CONTRIBUTOR_URL:te,GOVERNANCE_TRANSPARENCY_URL:ne,GOVERNANCE_PROPOSALS_URL:ee,DAO_GRANTS_URL:ae,GOVERNANCE_PROJECTS_URL:oe,DOCS_DAO_URL:_e,MARKETPLACE_SETTINGS_URL:ce,DISCORD_URL:Re,REDDIT_URL:de,GITHUB_URL:se,X_URL:Le,INSTAGRAM_URL:re,YOUTUBE_URL:Ue,TIKTOK_URL:Ee,LINKEDIN_URL:le,PRIVACY_POLICY_URL:Oe,TERMS_OF_USE_URL:Ae,CONTENT_POLICY_URL:Te,CODE_OF_ETHICS_URL:pe,SUPPORT_URL:Ne,EMAIL_HELLO_URL:Se,FAQ_URL:Ce,DOCS_URL:he,BEEHIV_SUBSCRIPTION_URL:Ie,AUTO_SIGNING_BASE_URL:De,TOP_SCENES_URL:ge,IOS_STORE_URL:$e,ANDROID_STORE_URL:ie},ye=a({[n.DEVELOPMENT]:rt,[n.STAGING]:Pe,[n.PRODUCTION]:Nn});export{ye as c};
2
- //# sourceMappingURL=index-C_1gNHK2.js.map
1
+ import{bo as a,bp as n}from"./index-BglFl6Fm.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]="0817c8d5-4db3-4b9d-bfb0-e74c52fcb151",t._sentryDebugIdIdentifier="sentry-dbid-0817c8d5-4db3-4b9d-bfb0-e74c52fcb151")}catch{}})();const o="https://wearable-preview.decentraland.zone",_="https://decentraland.zone/account",c="https://decentraland.zone/profile",R="https://decentraland.zone/marketplace",d="https://decentraland.zone/shop",s="https://decentraland.zone/builder",L="https://decentraland.zone/dao",r="https://decentraland.zone/governance",U="https://decentraland.zone/events",E="https://decentraland.zone/places",l="https://decentraland.org/create/",O="https://docs.decentraland.org/player/",A="https://decentraland.zone/download/creator-hub/",T="https://decentraland.zone/download/",p="https://decentraland.zone/download_success/",N="ea2ybdmmn1kv",S="master",C="18g1DzIyBxvu0steSwKyQr",h="https://cms.decentraland.org",I="https://decentraland.zone/marketplace/names/claim",D="https://decentraland.zone/marketplace/lands",g="https://decentraland.zone/marketplace/account",$="https://decentraland.zone/create/",i="https://studios.decentraland.zone/",P="https://decentraland.zone/builder/collections",m="https://decentraland.zone/builder/names",B="https://decentraland.zone/builder/worlds?tab=dcl",y="https://decentraland.zone/builder/land",M="https://decentraland.zone/events/me/",b="https://decentraland.zone/places/favorites/",V="https://docs.decentraland.org/player/",u="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",F="https://docs.decentraland.org/contributor/",f="https://decentraland.zone/governance/transparency/",K="https://decentraland.zone/governance/proposals/",v="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",z="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",w="https://decentraland.zone/marketplace/settings",H="https://dcl.gg/discord",W="https://reddit.com/r/decentraland",k="https://github.com/decentraland",x="https://x.com/decentraland",j="https://instagram.com/decentraland_foundation/",Q="https://youtube.com/@decentraland_foundation",J="https://tiktok.com/@decentraland_fdn",X="https://linkedin.com/company/decentralandorg",q="https://decentraland.zone/privacy",Z="https://decentraland.zone/terms",tt="https://decentraland.zone/content",nt="https://decentraland.zone/ethics",et="https://decentraland.org/help",at="mailto:hello@decentraland.org",ot="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",ct="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Rt="https://download-gateway.decentraland.zone",dt="https://decentraland.zone/top-scenes",st="https://testflight.apple.com/join/KF4r3jlU",Lt="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",rt={WEARABLE_PREVIEW_URL:o,ACCOUNT_URL:_,PROFILE_URL:c,MARKETPLACE_URL:R,SHOP_URL:d,BUILDER_URL:s,DAO_URL:L,GOVERNANCE_URL:r,EVENTS_URL:U,PLACES_URL:E,CREATE_URL:l,LEARN_URL:O,CREATOR_HUB_URL:A,DOWNLOAD_URL:T,DOWNLOAD_SUCCESS_URL:p,CONTENTFUL_SPACE_ID:N,CONTENTFUL_ENV:S,CONTENTFUL_NAVBAR_ENTRY_ID:C,CONTENTFUL_CONTENTFUL_CDN_URL:h,MARKETPLACE_NAMES_URL:I,MARKETPLACE_LANDS_URL:D,MARKETPLACE_MY_ASSETS_URL:g,LANDING_CREATORS_URL:$,STUDIOS_URL:i,BUILDER_WEARABLE_EMOTES_URL:P,BUILDER_NAMES_URL:m,BUILDER_WORLDS_URL:B,BUILDER_LAND_URL:y,EVENTS_MY_EVENTS:M,PLACES_MY_FAVORITE_URL:b,DOCS_ABOUT_URL:V,DOCS_CREATORS_URL:u,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:F,GOVERNANCE_TRANSPARENCY_URL:f,GOVERNANCE_PROPOSALS_URL:K,DAO_GRANTS_URL:v,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:z,MARKETPLACE_SETTINGS_URL:w,DISCORD_URL:H,REDDIT_URL:W,GITHUB_URL:k,X_URL:x,INSTAGRAM_URL:j,YOUTUBE_URL:Q,TIKTOK_URL:J,LINKEDIN_URL:X,PRIVACY_POLICY_URL:q,TERMS_OF_USE_URL:Z,CONTENT_POLICY_URL:tt,CODE_OF_ETHICS_URL:nt,SUPPORT_URL:et,EMAIL_HELLO_URL:at,FAQ_URL:ot,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:ct,AUTO_SIGNING_BASE_URL:Rt,TOP_SCENES_URL:dt,IOS_STORE_URL:st,ANDROID_STORE_URL:Lt},Ut="https://wearable-preview.decentraland.org",Et="https://decentraland.org/account",lt="https://decentraland.org/profile",Ot="https://decentraland.org/marketplace",At="https://decentraland.org/shop",Tt="https://decentraland.org/builder",pt="https://decentraland.org/dao",Nt="https://decentraland.org/governance",St="https://decentraland.org/events",Ct="https://decentraland.org/places",ht="https://decentraland.org/create/",It="https://docs.decentraland.org/player/",Dt="https://decentraland.org/download/creator-hub/",gt="https://decentraland.org/download/",$t="https://decentraland.org/download_success/",it="ea2ybdmmn1kv",Pt="master",mt="18g1DzIyBxvu0steSwKyQr",Bt="https://cms.decentraland.org",yt="https://decentraland.org/marketplace/names/claim",Mt="https://decentraland.org/marketplace/lands",bt="https://decentraland.org/marketplace/account",Vt="https://decentraland.org/create/",ut="https://studios.decentraland.org/",Gt="https://decentraland.org/builder/collections",Ft="https://decentraland.org/builder/names",ft="https://decentraland.org/builder/worlds?tab=dcl",Kt="https://decentraland.org/builder/land",vt="https://decentraland.org/events/me/",Yt="https://decentraland.org/places/favorites/",zt="https://docs.decentraland.org/player/",wt="https://docs.decentraland.org/creator/",Ht="https://decentraland.org/blog/",Wt="https://docs.decentraland.org/contributor/",kt="https://decentraland.org/governance/transparency/",xt="https://decentraland.org/governance/proposals/",jt="https://decentraland.org/dao/grants/",Qt="https://decentraland.org/governance/projects/",Jt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xt="https://decentraland.org/marketplace/settings",qt="https://dcl.gg/discord",Zt="https://reddit.com/r/decentraland",tn="https://github.com/decentraland",nn="https://x.com/decentraland",en="https://instagram.com/decentraland_foundation/",an="https://youtube.com/@decentraland_foundation",on="https://tiktok.com/@decentraland_fdn",_n="https://linkedin.com/company/decentralandorg",cn="https://decentraland.org/privacy",Rn="https://decentraland.org/terms",dn="https://decentraland.org/content",sn="https://decentraland.org/ethics",Ln="https://decentraland.org/help",rn="mailto:hello@decentraland.org",Un="https://docs.decentraland.org/faqs/decentraland-101",En="https://docs.decentraland.org",ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",On="https://download-gateway.decentraland.org",An="https://decentraland.org/top-scenes",Tn="https://testflight.apple.com/join/KF4r3jlU",pn="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Nn={WEARABLE_PREVIEW_URL:Ut,ACCOUNT_URL:Et,PROFILE_URL:lt,MARKETPLACE_URL:Ot,SHOP_URL:At,BUILDER_URL:Tt,DAO_URL:pt,GOVERNANCE_URL:Nt,EVENTS_URL:St,PLACES_URL:Ct,CREATE_URL:ht,LEARN_URL:It,CREATOR_HUB_URL:Dt,DOWNLOAD_URL:gt,DOWNLOAD_SUCCESS_URL:$t,CONTENTFUL_SPACE_ID:it,CONTENTFUL_ENV:Pt,CONTENTFUL_NAVBAR_ENTRY_ID:mt,CONTENTFUL_CONTENTFUL_CDN_URL:Bt,MARKETPLACE_NAMES_URL:yt,MARKETPLACE_LANDS_URL:Mt,MARKETPLACE_MY_ASSETS_URL:bt,LANDING_CREATORS_URL:Vt,STUDIOS_URL:ut,BUILDER_WEARABLE_EMOTES_URL:Gt,BUILDER_NAMES_URL:Ft,BUILDER_WORLDS_URL:ft,BUILDER_LAND_URL:Kt,EVENTS_MY_EVENTS:vt,PLACES_MY_FAVORITE_URL:Yt,DOCS_ABOUT_URL:zt,DOCS_CREATORS_URL:wt,BLOG_URL:Ht,DOCS_CONTRIBUTOR_URL:Wt,GOVERNANCE_TRANSPARENCY_URL:kt,GOVERNANCE_PROPOSALS_URL:xt,DAO_GRANTS_URL:jt,GOVERNANCE_PROJECTS_URL:Qt,DOCS_DAO_URL:Jt,MARKETPLACE_SETTINGS_URL:Xt,DISCORD_URL:qt,REDDIT_URL:Zt,GITHUB_URL:tn,X_URL:nn,INSTAGRAM_URL:en,YOUTUBE_URL:an,TIKTOK_URL:on,LINKEDIN_URL:_n,PRIVACY_POLICY_URL:cn,TERMS_OF_USE_URL:Rn,CONTENT_POLICY_URL:dn,CODE_OF_ETHICS_URL:sn,SUPPORT_URL:Ln,EMAIL_HELLO_URL:rn,FAQ_URL:Un,DOCS_URL:En,BEEHIV_SUBSCRIPTION_URL:ln,AUTO_SIGNING_BASE_URL:On,TOP_SCENES_URL:An,IOS_STORE_URL:Tn,ANDROID_STORE_URL:pn},Sn="https://wearable-preview.decentraland.today",Cn="https://decentraland.today/account",hn="https://decentraland.today/profile",In="https://decentraland.today/marketplace",Dn="https://decentraland.today/shop",gn="https://decentraland.today/builder",$n="https://decentraland.today/dao",Pn="https://decentraland.today/governance",mn="https://decentraland.zone/events",Bn="https://decentraland.zone/places",yn="https://decentraland.today/create/",Mn="https://docs.decentraland.org/player/",bn="https://decentraland.today/download/creator-hub/",Vn="https://decentraland.today/download/",un="https://decentraland.today/download_success/",Gn="ea2ybdmmn1kv",Fn="master",fn="18g1DzIyBxvu0steSwKyQr",Kn="https://cms.decentraland.org",vn="https://decentraland.today/marketplace/names/claim",Yn="https://decentraland.today/marketplace/lands",zn="https://decentraland.today/marketplace/account",wn="https://decentraland.today/create/",Hn="https://studios.decentraland.today/",Wn="https://decentraland.today/builder/collections",kn="https://decentraland.today/builder/names",xn="https://decentraland.today/builder/worlds?tab=dcl",jn="https://decentraland.today/builder/land",Qn="https://decentraland.today/events/me/",Jn="https://decentraland.today/places/favorites/",Xn="https://docs.decentraland.org/player/",qn="https://docs.decentraland.org/creator/",Zn="https://decentraland.today/blog/",te="https://docs.decentraland.org/contributor/",ne="https://decentraland.today/governance/transparency/",ee="https://decentraland.today/governance/proposals/",ae="https://decentraland.today/dao/grants/",oe="https://decentraland.today/governance/projects/",_e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ce="https://decentraland.today/marketplace/settings",Re="https://dcl.gg/discord",de="https://reddit.com/r/decentraland",se="https://github.com/decentraland",Le="https://x.com/decentraland",re="https://instagram.com/decentraland_foundation/",Ue="https://youtube.com/@decentraland_foundation",Ee="https://tiktok.com/@decentraland_fdn",le="https://linkedin.com/company/decentralandorg",Oe="https://decentraland.org/privacy",Ae="https://decentraland.org/terms",Te="https://decentraland.org/content",pe="https://decentraland.org/ethics",Ne="https://decentraland.org/help",Se="mailto:hello@decentraland.org",Ce="https://docs.decentraland.org/faqs/decentraland-101",he="https://docs.decentraland.org",Ie="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",De="https://download-gateway.decentraland.zone",ge="https://decentraland.zone/top-scenes",$e="https://testflight.apple.com/join/KF4r3jlU",ie="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Pe={WEARABLE_PREVIEW_URL:Sn,ACCOUNT_URL:Cn,PROFILE_URL:hn,MARKETPLACE_URL:In,SHOP_URL:Dn,BUILDER_URL:gn,DAO_URL:$n,GOVERNANCE_URL:Pn,EVENTS_URL:mn,PLACES_URL:Bn,CREATE_URL:yn,LEARN_URL:Mn,CREATOR_HUB_URL:bn,DOWNLOAD_URL:Vn,DOWNLOAD_SUCCESS_URL:un,CONTENTFUL_SPACE_ID:Gn,CONTENTFUL_ENV:Fn,CONTENTFUL_NAVBAR_ENTRY_ID:fn,CONTENTFUL_CONTENTFUL_CDN_URL:Kn,MARKETPLACE_NAMES_URL:vn,MARKETPLACE_LANDS_URL:Yn,MARKETPLACE_MY_ASSETS_URL:zn,LANDING_CREATORS_URL:wn,STUDIOS_URL:Hn,BUILDER_WEARABLE_EMOTES_URL:Wn,BUILDER_NAMES_URL:kn,BUILDER_WORLDS_URL:xn,BUILDER_LAND_URL:jn,EVENTS_MY_EVENTS:Qn,PLACES_MY_FAVORITE_URL:Jn,DOCS_ABOUT_URL:Xn,DOCS_CREATORS_URL:qn,BLOG_URL:Zn,DOCS_CONTRIBUTOR_URL:te,GOVERNANCE_TRANSPARENCY_URL:ne,GOVERNANCE_PROPOSALS_URL:ee,DAO_GRANTS_URL:ae,GOVERNANCE_PROJECTS_URL:oe,DOCS_DAO_URL:_e,MARKETPLACE_SETTINGS_URL:ce,DISCORD_URL:Re,REDDIT_URL:de,GITHUB_URL:se,X_URL:Le,INSTAGRAM_URL:re,YOUTUBE_URL:Ue,TIKTOK_URL:Ee,LINKEDIN_URL:le,PRIVACY_POLICY_URL:Oe,TERMS_OF_USE_URL:Ae,CONTENT_POLICY_URL:Te,CODE_OF_ETHICS_URL:pe,SUPPORT_URL:Ne,EMAIL_HELLO_URL:Se,FAQ_URL:Ce,DOCS_URL:he,BEEHIV_SUBSCRIPTION_URL:Ie,AUTO_SIGNING_BASE_URL:De,TOP_SCENES_URL:ge,IOS_STORE_URL:$e,ANDROID_STORE_URL:ie},ye=a({[n.DEVELOPMENT]:rt,[n.STAGING]:Pe,[n.PRODUCTION]:Nn});export{ye as c};
2
+ //# sourceMappingURL=index-C1vczUb-.js.map
@@ -1,4 +1,4 @@
1
- import{w as k,i as C,b as v}from"./lit-element-wjYUA6aF.js";import{n as y}from"./class-map-DopF_Eyi.js";import{c as W}from"./index-DyYycPsd.js";import"./index-DxBUkw9l.js";import{Q as M}from"./browser-DDCrIqsh.js";import{d as O,r as D}from"./index-B_5_acYB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="3713ab9e-290c-4ebb-b9d2-29e006ad6c21",e._sentryDebugIdIdentifier="sentry-dbid-3713ab9e-290c-4ebb-b9d2-29e006ad6c21")}catch{}})();const N=.1,z=2.5,b=7;function x(e,s,l){return e===s?!1:(e-s<0?s-e:e-s)<=l+N}function Q(e,s){const l=Array.prototype.slice.call(M.create(e,{errorCorrectionLevel:s}).modules.data,0),h=Math.sqrt(l.length);return l.reduce((d,f,p)=>(p%h===0?d.push([f]):d[d.length-1].push(f))&&d,[])}const A={generate({uri:e,size:s,logoSize:l,padding:h=8,dotColor:d="var(--apkt-colors-black)"}){const p=[],u=Q(e,"Q"),a=(s-2*h)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:t})=>{const n=(u.length-b)*a*i+h,r=(u.length-b)*a*t+h,c=.45;for(let o=0;o<E.length;o+=1){const m=a*(b-o*2);p.push(k`
1
+ import{w as k,i as C,b as v}from"./lit-element-wjYUA6aF.js";import{n as y}from"./class-map-DopF_Eyi.js";import{c as W}from"./index-B_lvpkeE.js";import"./index-WgrJnKjo.js";import{Q as M}from"./browser-By6mTGCB.js";import{d as O,r as D}from"./index-BSqD29GM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="3713ab9e-290c-4ebb-b9d2-29e006ad6c21",e._sentryDebugIdIdentifier="sentry-dbid-3713ab9e-290c-4ebb-b9d2-29e006ad6c21")}catch{}})();const N=.1,z=2.5,b=7;function x(e,s,l){return e===s?!1:(e-s<0?s-e:e-s)<=l+N}function Q(e,s){const l=Array.prototype.slice.call(M.create(e,{errorCorrectionLevel:s}).modules.data,0),h=Math.sqrt(l.length);return l.reduce((d,f,p)=>(p%h===0?d.push([f]):d[d.length-1].push(f))&&d,[])}const A={generate({uri:e,size:s,logoSize:l,padding:h=8,dotColor:d="var(--apkt-colors-black)"}){const p=[],u=Q(e,"Q"),a=(s-2*h)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:t})=>{const n=(u.length-b)*a*i+h,r=(u.length-b)*a*t+h,c=.45;for(let o=0;o<E.length;o+=1){const m=a*(b-o*2);p.push(k`
2
2
  <rect
3
3
  fill=${o===2?"var(--apkt-colors-black)":"var(--apkt-colors-white)"}
4
4
  width=${o===0?m-10:m}
@@ -93,4 +93,4 @@ import{w as k,i as C,b as v}from"./lit-element-wjYUA6aF.js";import{n as y}from".
93
93
  color="inherit"
94
94
  name="farcaster"
95
95
  ></wui-icon>`:v`<wui-icon size="inherit" color="inherit" name="walletConnect"></wui-icon>`}};g.styles=[D,q];w([y()],g.prototype,"uri",void 0);w([y({type:Number})],g.prototype,"size",void 0);w([y()],g.prototype,"theme",void 0);w([y()],g.prototype,"imageSrc",void 0);w([y()],g.prototype,"alt",void 0);w([y({type:Boolean})],g.prototype,"arenaClear",void 0);w([y({type:Boolean})],g.prototype,"farcaster",void 0);g=w([W("wui-qr-code")],g);
96
- //# sourceMappingURL=index-CGux0MBz.js.map
96
+ //# sourceMappingURL=index-CJDxcq3x.js.map